Foundation Changes for Objective-C
Foundation
FoundationErrors.h
Added NSBundleErrorMaximum
Added NSBundleErrorMinimum
Added NSCoderErrorMaximum
Added NSCoderErrorMinimum
Added NSCoderReadCorruptError
NSArray.h
Modified -[NSArray arrayByAddingObject:]
Declaration | |
---|---|
From | - (NSArray *)arrayByAddingObject:(id)anObject |
To | - (NSArray<ObjectType> * _Nonnull)arrayByAddingObject:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (NSArray *)arrayByAddingObjectsFromArray:(NSArray *)otherArray |
To | - (NSArray<ObjectType> * _Nonnull)arrayByAddingObjectsFromArray:(NSArray<ObjectType> * _Nonnull)otherArray |
Modified +[NSArray arrayWithArray:]
Declaration | |
---|---|
From | + (instancetype)arrayWithArray:(NSArray *)array |
To | + (instancetype _Nonnull)arrayWithArray:(NSArray<ObjectType> * _Nonnull)array |
Modified +[NSArray arrayWithContentsOfFile:]
Declaration | |
---|---|
From | + (NSArray *)arrayWithContentsOfFile:(NSString *)path |
To | + (NSArray<ObjectType> * _Nullable)arrayWithContentsOfFile:(NSString * _Nonnull)path |
Modified +[NSArray arrayWithContentsOfURL:]
Declaration | |
---|---|
From | + (NSArray *)arrayWithContentsOfURL:(NSURL *)url |
To | + (NSArray<ObjectType> * _Nullable)arrayWithContentsOfURL:(NSURL * _Nonnull)url |
Modified +[NSArray arrayWithObject:]
Declaration | |
---|---|
From | + (instancetype)arrayWithObject:(id)anObject |
To | + (instancetype _Nonnull)arrayWithObject:(ObjectType _Nonnull)anObject |
Modified +[NSArray arrayWithObjects:]
Declaration | |
---|---|
From | + (instancetype)arrayWithObjects:(id)firstObj, ... |
To | + (instancetype _Nonnull)arrayWithObjects:(ObjectType _Nonnull)firstObj, ... |
Modified +[NSArray arrayWithObjects:count:]
Declaration | |
---|---|
From | + (instancetype)arrayWithObjects:(const id [])objects count:(NSUInteger)cnt |
To | + (instancetype _Nonnull)arrayWithObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)cnt |
Modified -[NSArray containsObject:]
Declaration | |
---|---|
From | - (BOOL)containsObject:(id)anObject |
To | - (BOOL)containsObject:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (void)enumerateObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block |
To | - (void)enumerateObjectsAtIndexes:(NSIndexSet * _Nonnull)s options:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))block |
Declaration | |
---|---|
From | - (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block |
To | - (void)enumerateObjectsUsingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))block |
Declaration | |
---|---|
From | - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block |
To | - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))block |
Modified NSArray.firstObject
Declaration | |
---|---|
From | @property(nonatomic, readonly) id firstObject |
To | @property(nonatomic, readonly, nullable) ObjectType firstObject |
Declaration | |
---|---|
From | - (id)firstObjectCommonWithArray:(NSArray *)otherArray |
To | - (ObjectType _Nullable)firstObjectCommonWithArray:(NSArray<ObjectType> * _Nonnull)otherArray |
Modified -[NSArray getObjects:]
Declaration | |
---|---|
From | - (void)getObjects:(id [])objects |
To | - (void)getObjects:(ObjectType _Nonnull [])objects |
Modified -[NSArray getObjects:range:]
Declaration | |
---|---|
From | - (void)getObjects:(id [])objects range:(NSRange)range |
To | - (void)getObjects:(ObjectType _Nonnull [])objects range:(NSRange)range |
Declaration | |
---|---|
From | - (NSIndexSet *)indexesOfObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSIndexSet * _Nonnull)indexesOfObjectsAtIndexes:(NSIndexSet * _Nonnull)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSIndexSet *)indexesOfObjectsPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSIndexSet * _Nonnull)indexesOfObjectsPassingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSIndexSet *)indexesOfObjectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSIndexSet * _Nonnull)indexesOfObjectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSArray indexOfObject:]
Declaration | |
---|---|
From | - (NSUInteger)indexOfObject:(id)anObject |
To | - (NSUInteger)indexOfObject:(ObjectType _Nonnull)anObject |
Modified -[NSArray indexOfObject:inRange:]
Declaration | |
---|---|
From | - (NSUInteger)indexOfObject:(id)anObject inRange:(NSRange)range |
To | - (NSUInteger)indexOfObject:(ObjectType _Nonnull)anObject inRange:(NSRange)range |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObject:(id)obj inSortedRange:(NSRange)r options:(NSBinarySearchingOptions)opts usingComparator:(NSComparator)cmp |
To | - (NSUInteger)indexOfObject:(ObjectType _Nonnull)obj inSortedRange:(NSRange)r options:(NSBinarySearchingOptions)opts usingComparator:(NSComparator _Nonnull)cmp |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSUInteger)indexOfObjectAtIndexes:(NSIndexSet * _Nonnull)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSArray indexOfObjectIdenticalTo:]
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectIdenticalTo:(id)anObject |
To | - (NSUInteger)indexOfObjectIdenticalTo:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectIdenticalTo:(id)anObject inRange:(NSRange)range |
To | - (NSUInteger)indexOfObjectIdenticalTo:(ObjectType _Nonnull)anObject inRange:(NSRange)range |
Modified -[NSArray indexOfObjectPassingTest:]
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSUInteger)indexOfObjectPassingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSUInteger)indexOfObjectWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSArray initWithArray:]
Declaration | |
---|---|
From | - (instancetype)initWithArray:(NSArray *)array |
To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)array |
Modified -[NSArray initWithArray:copyItems:]
Declaration | |
---|---|
From | - (instancetype)initWithArray:(NSArray *)array copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)array copyItems:(BOOL)flag |
Modified -[NSArray initWithContentsOfFile:]
Declaration | |
---|---|
From | - (NSArray *)initWithContentsOfFile:(NSString *)path |
To | - (NSArray<ObjectType> * _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path |
Modified -[NSArray initWithContentsOfURL:]
Declaration | |
---|---|
From | - (NSArray *)initWithContentsOfURL:(NSURL *)url |
To | - (NSArray<ObjectType> * _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
Modified -[NSArray initWithObjects:]
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(id)firstObj, ... |
To | - (instancetype _Nonnull)initWithObjects:(ObjectType _Nonnull)firstObj, ... |
Modified -[NSArray initWithObjects:count:]
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt |
To | - (instancetype _Nonnull)initWithObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)cnt |
Modified -[NSArray isEqualToArray:]
Declaration | |
---|---|
From | - (BOOL)isEqualToArray:(NSArray *)otherArray |
To | - (BOOL)isEqualToArray:(NSArray<ObjectType> * _Nonnull)otherArray |
Modified NSArray.lastObject
Declaration | |
---|---|
From | @property(nonatomic, readonly) id lastObject |
To | @property(nonatomic, readonly, nullable) ObjectType lastObject |
Modified -[NSArray objectAtIndex:]
Declaration | |
---|---|
From | - (id)objectAtIndex:(NSUInteger)index |
To | - (ObjectType _Nonnull)objectAtIndex:(NSUInteger)index |
Modified -[NSArray objectAtIndexedSubscript:]
Declaration | |
---|---|
From | - (id)objectAtIndexedSubscript:(NSUInteger)idx |
To | - (ObjectType _Nonnull)objectAtIndexedSubscript:(NSUInteger)idx |
Modified -[NSArray objectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)objectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)objectEnumerator |
Modified -[NSArray objectsAtIndexes:]
Declaration | |
---|---|
From | - (NSArray *)objectsAtIndexes:(NSIndexSet *)indexes |
To | - (NSArray<ObjectType> * _Nonnull)objectsAtIndexes:(NSIndexSet * _Nonnull)indexes |
Modified -[NSArray reverseObjectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)reverseObjectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)reverseObjectEnumerator |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingComparator:(NSComparator)cmptr |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingComparator:(NSComparator _Nonnull)cmptr |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingFunction:(NSInteger (*)(id, id, void *))comparator context:(void *)context |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingFunction:(NSInteger (* _Nonnull)(ObjectType _Nonnull, ObjectType _Nonnull, void * _Nullable))comparator context:(void * _Nullable)context |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingFunction:(NSInteger (*)(id, id, void *))comparator context:(void *)context hint:(NSData *)hint |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingFunction:(NSInteger (* _Nonnull)(ObjectType _Nonnull, ObjectType _Nonnull, void * _Nullable))comparator context:(void * _Nullable)context hint:(NSData * _Nullable)hint |
Modified -[NSArray sortedArrayUsingSelector:]
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingSelector:(SEL)comparator |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingSelector:(SEL _Nonnull)comparator |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayWithOptions:(NSSortOptions)opts usingComparator:(NSComparator _Nonnull)cmptr |
Modified -[NSArray subarrayWithRange:]
Declaration | |
---|---|
From | - (NSArray *)subarrayWithRange:(NSRange)range |
To | - (NSArray<ObjectType> * _Nonnull)subarrayWithRange:(NSRange)range |
Modified -[NSMutableArray addObject:]
Declaration | |
---|---|
From | - (void)addObject:(id)anObject |
To | - (void)addObject:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (void)addObjectsFromArray:(NSArray *)otherArray |
To | - (void)addObjectsFromArray:(NSArray<ObjectType> * _Nonnull)otherArray |
Declaration | |
---|---|
From | + (NSMutableArray *)arrayWithContentsOfFile:(NSString *)path |
To | + (NSMutableArray<ObjectType> * _Nullable)arrayWithContentsOfFile:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | + (NSMutableArray *)arrayWithContentsOfURL:(NSURL *)url |
To | + (NSMutableArray<ObjectType> * _Nullable)arrayWithContentsOfURL:(NSURL * _Nonnull)url |
Declaration | |
---|---|
From | - (NSMutableArray *)initWithContentsOfFile:(NSString *)path |
To | - (NSMutableArray<ObjectType> * _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | - (NSMutableArray *)initWithContentsOfURL:(NSURL *)url |
To | - (NSMutableArray<ObjectType> * _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
Declaration | |
---|---|
From | - (void)insertObject:(id)anObject atIndex:(NSUInteger)index |
To | - (void)insertObject:(ObjectType _Nonnull)anObject atIndex:(NSUInteger)index |
Declaration | |
---|---|
From | - (void)insertObjects:(NSArray *)objects atIndexes:(NSIndexSet *)indexes |
To | - (void)insertObjects:(NSArray<ObjectType> * _Nonnull)objects atIndexes:(NSIndexSet * _Nonnull)indexes |
Modified -[NSMutableArray removeObject:]
Declaration | |
---|---|
From | - (void)removeObject:(id)anObject |
To | - (void)removeObject:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (void)removeObject:(id)anObject inRange:(NSRange)range |
To | - (void)removeObject:(ObjectType _Nonnull)anObject inRange:(NSRange)range |
Declaration | |
---|---|
From | - (void)removeObjectIdenticalTo:(id)anObject |
To | - (void)removeObjectIdenticalTo:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (void)removeObjectIdenticalTo:(id)anObject inRange:(NSRange)range |
To | - (void)removeObjectIdenticalTo:(ObjectType _Nonnull)anObject inRange:(NSRange)range |
Declaration | |
---|---|
From | - (void)removeObjectsInArray:(NSArray *)otherArray |
To | - (void)removeObjectsInArray:(NSArray<ObjectType> * _Nonnull)otherArray |
Declaration | |
---|---|
From | - (void)replaceObjectAtIndex:(NSUInteger)index withObject:(id)anObject |
To | - (void)replaceObjectAtIndex:(NSUInteger)index withObject:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (void)replaceObjectsAtIndexes:(NSIndexSet *)indexes withObjects:(NSArray *)objects |
To | - (void)replaceObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes withObjects:(NSArray<ObjectType> * _Nonnull)objects |
Declaration | |
---|---|
From | - (void)replaceObjectsInRange:(NSRange)range withObjectsFromArray:(NSArray *)otherArray |
To | - (void)replaceObjectsInRange:(NSRange)range withObjectsFromArray:(NSArray<ObjectType> * _Nonnull)otherArray |
Declaration | |
---|---|
From | - (void)replaceObjectsInRange:(NSRange)range withObjectsFromArray:(NSArray *)otherArray range:(NSRange)otherRange |
To | - (void)replaceObjectsInRange:(NSRange)range withObjectsFromArray:(NSArray<ObjectType> * _Nonnull)otherArray range:(NSRange)otherRange |
Modified -[NSMutableArray setArray:]
Declaration | |
---|---|
From | - (void)setArray:(NSArray *)otherArray |
To | - (void)setArray:(NSArray<ObjectType> * _Nonnull)otherArray |
Declaration | |
---|---|
From | - (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx |
To | - (void)setObject:(ObjectType _Nonnull)obj atIndexedSubscript:(NSUInteger)idx |
Declaration | |
---|---|
From | - (void)sortUsingFunction:(NSInteger (*)(id, id, void *))compare context:(void *)context |
To | - (void)sortUsingFunction:(NSInteger (* _Nonnull)(ObjectType _Nonnull, ObjectType _Nonnull, void * _Nullable))compare context:(void * _Nullable)context |
NSAttributedString.h
Declaration | |
---|---|
From | - (NSDictionary *)attributesAtIndex:(NSUInteger)location effectiveRange:(NSRangePointer)range |
To | - (NSDictionary<NSString *,id> * _Nonnull)attributesAtIndex:(NSUInteger)location effectiveRange:(NSRangePointer _Nullable)range |
Declaration | |
---|---|
From | - (NSDictionary *)attributesAtIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer)range inRange:(NSRange)rangeLimit |
To | - (NSDictionary<NSString *,id> * _Nonnull)attributesAtIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer _Nullable)range inRange:(NSRange)rangeLimit |
Declaration | |
---|---|
From | - (void)enumerateAttributesInRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(void (^)(NSDictionary *attrs, NSRange range, BOOL *stop))block |
To | - (void)enumerateAttributesInRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(NSDictionary<NSString *,id> * _Nonnull attrs, NSRange range, BOOL * _Nonnull stop))block |
Declaration | |
---|---|
From | - (instancetype)initWithString:(NSString *)str attributes:(NSDictionary *)attrs |
To | - (instancetype _Nonnull)initWithString:(NSString * _Nonnull)str attributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
Declaration | |
---|---|
From | - (void)addAttributes:(NSDictionary *)attrs range:(NSRange)range |
To | - (void)addAttributes:(NSDictionary<NSString *,id> * _Nonnull)attrs range:(NSRange)range |
Declaration | |
---|---|
From | - (void)setAttributes:(NSDictionary *)attrs range:(NSRange)range |
To | - (void)setAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs range:(NSRange)range |
NSBundle.h
Added NSBundleResourceRequest
Added NSBundle(NSBundleResourceRequestAdditions)
Added NSString(NSBundleExtensionMethods)
Modified +[NSBundle allBundles]
Declaration | |
---|---|
From | + (NSArray *)allBundles |
To | + (NSArray<NSBundle *> * _Nonnull)allBundles |
Modified +[NSBundle allFrameworks]
Declaration | |
---|---|
From | + (NSArray *)allFrameworks |
To | + (NSArray<NSBundle *> * _Nonnull)allFrameworks |
Modified NSBundle.executableArchitectures
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *executableArchitectures |
To | @property(readonly, copy, nullable) NSArray<NSNumber *> *executableArchitectures |
Modified NSBundle.infoDictionary
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *infoDictionary |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *infoDictionary |
Modified NSBundle.localizations
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *localizations |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *localizations |
Modified NSBundle.localizedInfoDictionary
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *localizedInfoDictionary |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *localizedInfoDictionary |
Declaration | |
---|---|
From | + (NSArray *)pathsForResourcesOfType:(NSString *)ext inDirectory:(NSString *)bundlePath |
To | + (NSArray<NSString *> * _Nonnull)pathsForResourcesOfType:(NSString * _Nullable)ext inDirectory:(NSString * _Nonnull)bundlePath |
Declaration | |
---|---|
From | - (NSArray *)pathsForResourcesOfType:(NSString *)ext inDirectory:(NSString *)subpath |
To | - (NSArray<NSString *> * _Nonnull)pathsForResourcesOfType:(NSString * _Nullable)ext inDirectory:(NSString * _Nullable)subpath |
Declaration | |
---|---|
From | - (NSArray *)pathsForResourcesOfType:(NSString *)ext inDirectory:(NSString *)subpath forLocalization:(NSString *)localizationName |
To | - (NSArray<NSString *> * _Nonnull)pathsForResourcesOfType:(NSString * _Nullable)ext inDirectory:(NSString * _Nullable)subpath forLocalization:(NSString * _Nullable)localizationName |
Modified NSBundle.preferredLocalizations
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *preferredLocalizations |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *preferredLocalizations |
Declaration | |
---|---|
From | + (NSArray *)preferredLocalizationsFromArray:(NSArray *)localizationsArray |
To | + (NSArray<NSString *> * _Nonnull)preferredLocalizationsFromArray:(NSArray<NSString *> * _Nonnull)localizationsArray |
Declaration | |
---|---|
From | + (NSArray *)preferredLocalizationsFromArray:(NSArray *)localizationsArray forPreferences:(NSArray *)preferencesArray |
To | + (NSArray<NSString *> * _Nonnull)preferredLocalizationsFromArray:(NSArray<NSString *> * _Nonnull)localizationsArray forPreferences:(NSArray<NSString *> * _Nullable)preferencesArray |
Declaration | |
---|---|
From | - (NSArray *)URLsForResourcesWithExtension:(NSString *)ext subdirectory:(NSString *)subpath |
To | - (NSArray<NSURL *> * _Nullable)URLsForResourcesWithExtension:(NSString * _Nullable)ext subdirectory:(NSString * _Nullable)subpath |
Declaration | |
---|---|
From | + (NSArray *)URLsForResourcesWithExtension:(NSString *)ext subdirectory:(NSString *)subpath inBundleWithURL:(NSURL *)bundleURL |
To | + (NSArray<NSURL *> * _Nullable)URLsForResourcesWithExtension:(NSString * _Nullable)ext subdirectory:(NSString * _Nullable)subpath inBundleWithURL:(NSURL * _Nonnull)bundleURL |
Declaration | |
---|---|
From | - (NSArray *)URLsForResourcesWithExtension:(NSString *)ext subdirectory:(NSString *)subpath localization:(NSString *)localizationName |
To | - (NSArray<NSURL *> * _Nullable)URLsForResourcesWithExtension:(NSString * _Nullable)ext subdirectory:(NSString * _Nullable)subpath localization:(NSString * _Nullable)localizationName |
NSCache.h
Modified -[NSCache objectForKey:]
Declaration | |
---|---|
From | - (id)objectForKey:(id)key |
To | - (ObjectType _Nullable)objectForKey:(KeyType _Nonnull)key |
Modified -[NSCache removeObjectForKey:]
Declaration | |
---|---|
From | - (void)removeObjectForKey:(id)key |
To | - (void)removeObjectForKey:(KeyType _Nonnull)key |
Modified -[NSCache setObject:forKey:]
Declaration | |
---|---|
From | - (void)setObject:(id)obj forKey:(id)key |
To | - (void)setObject:(ObjectType _Nonnull)obj forKey:(KeyType _Nonnull)key |
Modified -[NSCache setObject:forKey:cost:]
Declaration | |
---|---|
From | - (void)setObject:(id)obj forKey:(id)key cost:(NSUInteger)g |
To | - (void)setObject:(ObjectType _Nonnull)obj forKey:(KeyType _Nonnull)key cost:(NSUInteger)g |
NSCalendar.h
Modified NSCalendar.eraSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *eraSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *eraSymbols |
Modified NSCalendar.longEraSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *longEraSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *longEraSymbols |
Modified NSCalendar.monthSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *monthSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *monthSymbols |
Modified NSCalendar.quarterSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *quarterSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *quarterSymbols |
Modified NSCalendar.shortMonthSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *shortMonthSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *shortMonthSymbols |
Modified NSCalendar.shortQuarterSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *shortQuarterSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *shortQuarterSymbols |
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *shortStandaloneMonthSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *shortStandaloneMonthSymbols |
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *shortStandaloneQuarterSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *shortStandaloneQuarterSymbols |
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *shortStandaloneWeekdaySymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *shortStandaloneWeekdaySymbols |
Modified NSCalendar.shortWeekdaySymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *shortWeekdaySymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *shortWeekdaySymbols |
Modified NSCalendar.standaloneMonthSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *standaloneMonthSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *standaloneMonthSymbols |
Modified NSCalendar.standaloneQuarterSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *standaloneQuarterSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *standaloneQuarterSymbols |
Modified NSCalendar.standaloneWeekdaySymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *standaloneWeekdaySymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *standaloneWeekdaySymbols |
Modified NSCalendar.veryShortMonthSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *veryShortMonthSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *veryShortMonthSymbols |
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *veryShortStandaloneMonthSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *veryShortStandaloneMonthSymbols |
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *veryShortStandaloneWeekdaySymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *veryShortStandaloneWeekdaySymbols |
Modified NSCalendar.veryShortWeekdaySymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *veryShortWeekdaySymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *veryShortWeekdaySymbols |
Modified NSCalendar.weekdaySymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *weekdaySymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *weekdaySymbols |
NSCoder.h
Modified NSCoder.allowedClasses
Declaration | |
---|---|
From | @property(readonly, copy) NSSet *allowedClasses |
To | @property(readonly, copy, nullable) NSSet<Class> *allowedClasses |
Declaration | |
---|---|
From | - (id)decodeObjectOfClasses:(NSSet *)classes forKey:(NSString *)key |
To | - (id _Nullable)decodeObjectOfClasses:(NSSet<Class> * _Nullable)classes forKey:(NSString * _Nonnull)key |
NSComparisonPredicate.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
Designated Initializer | |
---|---|
From | -- |
To | yes |
NSCompoundPredicate.h
Declaration | |
---|---|
From | + (NSCompoundPredicate *)andPredicateWithSubpredicates:(NSArray *)subpredicates |
To | + (NSCompoundPredicate * _Nonnull)andPredicateWithSubpredicates:(NSArray<NSPredicate *> * _Nonnull)subpredicates |
Declaration | Designated Initializer | |
---|---|---|
From | - (instancetype)initWithType:(NSCompoundPredicateType)type subpredicates:(NSArray *)subpredicates | -- |
To | - (instancetype _Nonnull)initWithType:(NSCompoundPredicateType)type subpredicates:(NSArray<NSPredicate *> * _Nonnull)subpredicates | yes |
Declaration | |
---|---|
From | + (NSCompoundPredicate *)orPredicateWithSubpredicates:(NSArray *)subpredicates |
To | + (NSCompoundPredicate * _Nonnull)orPredicateWithSubpredicates:(NSArray<NSPredicate *> * _Nonnull)subpredicates |
NSDate.h
Modified +[NSDate distantFuture]
Declaration | |
---|---|
From | + (id)distantFuture |
To | + (NSDate * _Nonnull)distantFuture |
Modified +[NSDate distantPast]
Declaration | |
---|---|
From | + (id)distantPast |
To | + (NSDate * _Nonnull)distantPast |
NSDateFormatter.h
Modified NSDateFormatter.eraSymbols
Declaration | |
---|---|
From | @property(copy) NSArray *eraSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified eraSymbols |
Modified NSDateFormatter.longEraSymbols
Declaration | |
---|---|
From | @property(copy) NSArray *longEraSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified longEraSymbols |
Modified NSDateFormatter.monthSymbols
Declaration | |
---|---|
From | @property(copy) NSArray *monthSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified monthSymbols |
Modified NSDateFormatter.quarterSymbols
Declaration | |
---|---|
From | @property(copy) NSArray *quarterSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified quarterSymbols |
Modified NSDateFormatter.shortMonthSymbols
Declaration | |
---|---|
From | @property(copy) NSArray *shortMonthSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified shortMonthSymbols |
Modified NSDateFormatter.shortQuarterSymbols
Declaration | |
---|---|
From | @property(copy) NSArray *shortQuarterSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified shortQuarterSymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *shortStandaloneMonthSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified shortStandaloneMonthSymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *shortStandaloneQuarterSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified shortStandaloneQuarterSymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *shortStandaloneWeekdaySymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified shortStandaloneWeekdaySymbols |
Modified NSDateFormatter.shortWeekdaySymbols
Declaration | |
---|---|
From | @property(copy) NSArray *shortWeekdaySymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified shortWeekdaySymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *standaloneMonthSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified standaloneMonthSymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *standaloneQuarterSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified standaloneQuarterSymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *standaloneWeekdaySymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified standaloneWeekdaySymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *veryShortMonthSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified veryShortMonthSymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *veryShortStandaloneMonthSymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified veryShortStandaloneMonthSymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *veryShortStandaloneWeekdaySymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified veryShortStandaloneWeekdaySymbols |
Declaration | |
---|---|
From | @property(copy) NSArray *veryShortWeekdaySymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified veryShortWeekdaySymbols |
Modified NSDateFormatter.weekdaySymbols
Declaration | |
---|---|
From | @property(copy) NSArray *weekdaySymbols |
To | @property(copy) NSArray<NSString *> * _Null_unspecified weekdaySymbols |
NSDictionary.h
Added NSDictionary(NSDeprecated)
Modified NSDictionary.allKeys
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *allKeys |
To | @property(readonly, copy, nonnull) NSArray<KeyType> *allKeys |
Modified -[NSDictionary allKeysForObject:]
Declaration | |
---|---|
From | - (NSArray *)allKeysForObject:(id)anObject |
To | - (NSArray<KeyType> * _Nonnull)allKeysForObject:(ObjectType _Nonnull)anObject |
Modified NSDictionary.allValues
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *allValues |
To | @property(readonly, copy, nonnull) NSArray<ObjectType> *allValues |
Declaration | |
---|---|
From | + (NSDictionary *)dictionaryWithContentsOfFile:(NSString *)path |
To | + (NSDictionary<KeyType,ObjectType> * _Nullable)dictionaryWithContentsOfFile:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | + (NSDictionary *)dictionaryWithContentsOfURL:(NSURL *)url |
To | + (NSDictionary<KeyType,ObjectType> * _Nullable)dictionaryWithContentsOfURL:(NSURL * _Nonnull)url |
Declaration | |
---|---|
From | + (instancetype)dictionaryWithDictionary:(NSDictionary *)dict |
To | + (instancetype _Nonnull)dictionaryWithDictionary:(NSDictionary<KeyType,ObjectType> * _Nonnull)dict |
Declaration | |
---|---|
From | + (instancetype)dictionaryWithObject:(id)object forKey:(id<NSCopying>)key |
To | + (instancetype _Nonnull)dictionaryWithObject:(ObjectType _Nonnull)object forKey:(id<NSCopying> _Nonnull)key |
Declaration | |
---|---|
From | + (instancetype)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys |
To | + (instancetype _Nonnull)dictionaryWithObjects:(NSArray<ObjectType> * _Nonnull)objects forKeys:(NSArray<id<NSCopying>> * _Nonnull)keys |
Declaration | |
---|---|
From | + (instancetype)dictionaryWithObjects:(const id [])objects forKeys:(const id<NSCopying> [])keys count:(NSUInteger)cnt |
To | + (instancetype _Nonnull)dictionaryWithObjects:(const ObjectType _Nonnull [])objects forKeys:(const id<NSCopying> _Nonnull [])keys count:(NSUInteger)cnt |
Declaration | |
---|---|
From | - (void)enumerateKeysAndObjectsUsingBlock:(void (^)(id key, id obj, BOOL *stop))block |
To | - (void)enumerateKeysAndObjectsUsingBlock:(void (^ _Nonnull)(KeyType _Nonnull key, ObjectType _Nonnull obj, BOOL * _Nonnull stop))block |
Declaration | |
---|---|
From | - (void)enumerateKeysAndObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id key, id obj, BOOL *stop))block |
To | - (void)enumerateKeysAndObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(KeyType _Nonnull key, ObjectType _Nonnull obj, BOOL * _Nonnull stop))block |
Modified -[NSDictionary getObjects:andKeys:]
Declaration | Deprecation | |
---|---|---|
From | - (void)getObjects:(id [])objects andKeys:(id [])keys | -- |
To | - (void)getObjects:(ObjectType _Nonnull [])objects andKeys:(KeyType _Nonnull [])keys | iOS 9.0 |
Declaration | |
---|---|
From | - (NSDictionary *)initWithContentsOfFile:(NSString *)path |
To | - (NSDictionary<KeyType,ObjectType> * _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | - (NSDictionary *)initWithContentsOfURL:(NSURL *)url |
To | - (NSDictionary<KeyType,ObjectType> * _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
Modified -[NSDictionary initWithDictionary:]
Declaration | |
---|---|
From | - (instancetype)initWithDictionary:(NSDictionary *)otherDictionary |
To | - (instancetype _Nonnull)initWithDictionary:(NSDictionary<KeyType,ObjectType> * _Nonnull)otherDictionary |
Declaration | |
---|---|
From | - (instancetype)initWithDictionary:(NSDictionary *)otherDictionary copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithDictionary:(NSDictionary<KeyType,ObjectType> * _Nonnull)otherDictionary copyItems:(BOOL)flag |
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys |
To | - (instancetype _Nonnull)initWithObjects:(NSArray<ObjectType> * _Nonnull)objects forKeys:(NSArray<id<NSCopying>> * _Nonnull)keys |
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(const id [])objects forKeys:(const id<NSCopying> [])keys count:(NSUInteger)cnt |
To | - (instancetype _Nonnull)initWithObjects:(const ObjectType _Nonnull [])objects forKeys:(const id<NSCopying> _Nonnull [])keys count:(NSUInteger)cnt |
Modified -[NSDictionary isEqualToDictionary:]
Declaration | |
---|---|
From | - (BOOL)isEqualToDictionary:(NSDictionary *)otherDictionary |
To | - (BOOL)isEqualToDictionary:(NSDictionary<KeyType,ObjectType> * _Nonnull)otherDictionary |
Modified -[NSDictionary keyEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)keyEnumerator |
To | - (NSEnumerator<KeyType> * _Nonnull)keyEnumerator |
Declaration | |
---|---|
From | - (NSSet *)keysOfEntriesPassingTest:(BOOL (^)(id key, id obj, BOOL *stop))predicate |
To | - (NSSet<KeyType> * _Nonnull)keysOfEntriesPassingTest:(BOOL (^ _Nonnull)(KeyType _Nonnull key, ObjectType _Nonnull obj, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSSet *)keysOfEntriesWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id key, id obj, BOOL *stop))predicate |
To | - (NSSet<KeyType> * _Nonnull)keysOfEntriesWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(KeyType _Nonnull key, ObjectType _Nonnull obj, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSArray *)keysSortedByValueUsingComparator:(NSComparator)cmptr |
To | - (NSArray<KeyType> * _Nonnull)keysSortedByValueUsingComparator:(NSComparator _Nonnull)cmptr |
Declaration | |
---|---|
From | - (NSArray *)keysSortedByValueUsingSelector:(SEL)comparator |
To | - (NSArray<KeyType> * _Nonnull)keysSortedByValueUsingSelector:(SEL _Nonnull)comparator |
Declaration | |
---|---|
From | - (NSArray *)keysSortedByValueWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr |
To | - (NSArray<KeyType> * _Nonnull)keysSortedByValueWithOptions:(NSSortOptions)opts usingComparator:(NSComparator _Nonnull)cmptr |
Modified -[NSDictionary objectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)objectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)objectEnumerator |
Modified -[NSDictionary objectForKey:]
Declaration | |
---|---|
From | - (id)objectForKey:(id)aKey |
To | - (ObjectType _Nullable)objectForKey:(KeyType _Nonnull)aKey |
Declaration | |
---|---|
From | - (id)objectForKeyedSubscript:(id)key |
To | - (ObjectType _Nullable)objectForKeyedSubscript:(KeyType _Nonnull)key |
Declaration | |
---|---|
From | - (NSArray *)objectsForKeys:(NSArray *)keys notFoundMarker:(id)marker |
To | - (NSArray<ObjectType> * _Nonnull)objectsForKeys:(NSArray<KeyType> * _Nonnull)keys notFoundMarker:(ObjectType _Nonnull)marker |
Modified +[NSDictionary sharedKeySetForKeys:]
Declaration | |
---|---|
From | + (id)sharedKeySetForKeys:(NSArray *)keys |
To | + (id _Nonnull)sharedKeySetForKeys:(NSArray<id<NSCopying>> * _Nonnull)keys |
Declaration | |
---|---|
From | - (void)addEntriesFromDictionary:(NSDictionary *)otherDictionary |
To | - (void)addEntriesFromDictionary:(NSDictionary<KeyType,ObjectType> * _Nonnull)otherDictionary |
Declaration | |
---|---|
From | + (NSMutableDictionary *)dictionaryWithContentsOfFile:(NSString *)path |
To | + (NSMutableDictionary<KeyType,ObjectType> * _Nullable)dictionaryWithContentsOfFile:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | + (NSMutableDictionary *)dictionaryWithContentsOfURL:(NSURL *)url |
To | + (NSMutableDictionary<KeyType,ObjectType> * _Nullable)dictionaryWithContentsOfURL:(NSURL * _Nonnull)url |
Declaration | |
---|---|
From | + (NSMutableDictionary *)dictionaryWithSharedKeySet:(id)keyset |
To | + (NSMutableDictionary<KeyType,ObjectType> * _Nonnull)dictionaryWithSharedKeySet:(id _Nonnull)keyset |
Declaration | |
---|---|
From | - (NSMutableDictionary *)initWithContentsOfFile:(NSString *)path |
To | - (NSMutableDictionary<KeyType,ObjectType> * _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | - (NSMutableDictionary *)initWithContentsOfURL:(NSURL *)url |
To | - (NSMutableDictionary<KeyType,ObjectType> * _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
Declaration | |
---|---|
From | - (void)removeObjectForKey:(id)aKey |
To | - (void)removeObjectForKey:(KeyType _Nonnull)aKey |
Declaration | |
---|---|
From | - (void)removeObjectsForKeys:(NSArray *)keyArray |
To | - (void)removeObjectsForKeys:(NSArray<KeyType> * _Nonnull)keyArray |
Declaration | |
---|---|
From | - (void)setDictionary:(NSDictionary *)otherDictionary |
To | - (void)setDictionary:(NSDictionary<KeyType,ObjectType> * _Nonnull)otherDictionary |
Declaration | |
---|---|
From | - (void)setObject:(id)anObject forKey:(id<NSCopying>)aKey |
To | - (void)setObject:(ObjectType _Nonnull)anObject forKey:(id<NSCopying> _Nonnull)aKey |
Declaration | |
---|---|
From | - (void)setObject:(id)obj forKeyedSubscript:(id<NSCopying>)key |
To | - (void)setObject:(ObjectType _Nullable)obj forKeyedSubscript:(id<NSCopying> _Nonnull)key |
NSEnumerator.h
Modified NSEnumerator.allObjects
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *allObjects |
To | @property(readonly, copy, nonnull) NSArray<ObjectType> *allObjects |
Modified -[NSEnumerator nextObject]
Declaration | |
---|---|
From | - (id)nextObject |
To | - (ObjectType _Nullable)nextObject |
NSError.h
Modified NSError.localizedRecoveryOptions
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *localizedRecoveryOptions |
To | @property(readonly, copy, nullable) NSArray<NSString *> *localizedRecoveryOptions |
Modified NSError.recoveryAttempter
Declaration | |
---|---|
From | @property(readonly, retain) id recoveryAttempter |
To | @property(readonly, strong, nullable) id recoveryAttempter |
NSException.h
Modified NSException.callStackReturnAddresses
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *callStackReturnAddresses |
To | @property(readonly, copy, nonnull) NSArray<NSNumber *> *callStackReturnAddresses |
Modified NSException.callStackSymbols
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *callStackSymbols |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *callStackSymbols |
NSExpression.h
Modified NSExpression.arguments
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *arguments |
To | @property(readonly, copy, nullable) NSArray<NSExpression *> *arguments |
Modified NSExpression.expressionBlock
Declaration | |
---|---|
From | @property(readonly, copy) id (^expressionBlock)(id, NSArray *, NSMutableDictionary *) |
To | @property(readonly, copy, nonnull) id (^ _Nonnull)(id _Nullable, NSArray * _Nonnull, NSMutableDictionary * _Nullable) expressionBlock |
Declaration | |
---|---|
From | + (NSExpression *)expressionForBlock:(id (^)(id evaluatedObject, NSArray *expressions, NSMutableDictionary *context))block arguments:(NSArray *)arguments |
To | + (NSExpression * _Nonnull)expressionForBlock:(id _Nonnull (^ _Nonnull)(id _Nullable evaluatedObject, NSArray * _Nonnull expressions, NSMutableDictionary * _Nullable context))block arguments:(NSArray<NSExpression *> * _Nullable)arguments |
Designated Initializer | |
---|---|
From | -- |
To | yes |
NSFileCoordinator.h
Declaration | |
---|---|
From | - (void)coordinateAccessWithIntents:(NSArray *)intents queue:(NSOperationQueue *)queue byAccessor:(void (^)(NSError *error))accessor |
To | - (void)coordinateAccessWithIntents:(NSArray<NSFileAccessIntent *> * _Nonnull)intents queue:(NSOperationQueue * _Nonnull)queue byAccessor:(void (^ _Nonnull)(NSError * _Nullable error))accessor |
Modified +[NSFileCoordinator filePresenters]
Declaration | |
---|---|
From | + (NSArray *)filePresenters |
To | + (NSArray<id<NSFilePresenter>> * _Nonnull)filePresenters |
Declaration | |
---|---|
From | - (void)prepareForReadingItemsAtURLs:(NSArray *)readingURLs options:(NSFileCoordinatorReadingOptions)readingOptions writingItemsAtURLs:(NSArray *)writingURLs options:(NSFileCoordinatorWritingOptions)writingOptions error:(NSError **)outError byAccessor:(void (^)(void (^completionHandler)(void)))batchAccessor |
To | - (void)prepareForReadingItemsAtURLs:(NSArray<NSURL *> * _Nonnull)readingURLs options:(NSFileCoordinatorReadingOptions)readingOptions writingItemsAtURLs:(NSArray<NSURL *> * _Nonnull)writingURLs options:(NSFileCoordinatorWritingOptions)writingOptions error:(NSError * _Nullable * _Nullable)outError byAccessor:(void (^ _Nonnull)(void (^ _Nonnull)(void) completionHandler))batchAccessor |
NSFileHandle.h
Declaration | |
---|---|
From | - (void)acceptConnectionInBackgroundAndNotifyForModes:(NSArray *)modes |
To | - (void)acceptConnectionInBackgroundAndNotifyForModes:(NSArray<NSString *> * _Nullable)modes |
Declaration | |
---|---|
From | - (void)readInBackgroundAndNotifyForModes:(NSArray *)modes |
To | - (void)readInBackgroundAndNotifyForModes:(NSArray<NSString *> * _Nullable)modes |
Declaration | |
---|---|
From | - (void)readToEndOfFileInBackgroundAndNotifyForModes:(NSArray *)modes |
To | - (void)readToEndOfFileInBackgroundAndNotifyForModes:(NSArray<NSString *> * _Nullable)modes |
Declaration | |
---|---|
From | - (void)waitForDataInBackgroundAndNotifyForModes:(NSArray *)modes |
To | - (void)waitForDataInBackgroundAndNotifyForModes:(NSArray<NSString *> * _Nullable)modes |
NSFileManager.h
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *directoryAttributes |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *directoryAttributes |
Modified NSDirectoryEnumerator.fileAttributes
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *fileAttributes |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *fileAttributes |
Declaration | |
---|---|
From | - (NSDictionary *)attributesOfFileSystemForPath:(NSString *)path error:(NSError **)error |
To | - (NSDictionary<NSString *,id> * _Nullable)attributesOfFileSystemForPath:(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (NSDictionary *)attributesOfItemAtPath:(NSString *)path error:(NSError **)error |
To | - (NSDictionary<NSString *,id> * _Nullable)attributesOfItemAtPath:(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (NSArray *)componentsToDisplayForPath:(NSString *)path |
To | - (NSArray<NSString *> * _Nullable)componentsToDisplayForPath:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | - (NSArray *)contentsOfDirectoryAtPath:(NSString *)path error:(NSError **)error |
To | - (NSArray<NSString *> * _Nullable)contentsOfDirectoryAtPath:(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (NSArray *)contentsOfDirectoryAtURL:(NSURL *)url includingPropertiesForKeys:(NSArray *)keys options:(NSDirectoryEnumerationOptions)mask error:(NSError **)error |
To | - (NSArray<NSURL *> * _Nullable)contentsOfDirectoryAtURL:(NSURL * _Nonnull)url includingPropertiesForKeys:(NSArray<NSString *> * _Nullable)keys options:(NSDirectoryEnumerationOptions)mask error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)createDirectoryAtPath:(NSString *)path withIntermediateDirectories:(BOOL)createIntermediates attributes:(NSDictionary *)attributes error:(NSError **)error |
To | - (BOOL)createDirectoryAtPath:(NSString * _Nonnull)path withIntermediateDirectories:(BOOL)createIntermediates attributes:(NSDictionary<NSString *,id> * _Nullable)attributes error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)createDirectoryAtURL:(NSURL *)url withIntermediateDirectories:(BOOL)createIntermediates attributes:(NSDictionary *)attributes error:(NSError **)error |
To | - (BOOL)createDirectoryAtURL:(NSURL * _Nonnull)url withIntermediateDirectories:(BOOL)createIntermediates attributes:(NSDictionary<NSString *,id> * _Nullable)attributes error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (BOOL)createFileAtPath:(NSString *)path contents:(NSData *)data attributes:(NSDictionary *)attr |
To | - (BOOL)createFileAtPath:(NSString * _Nonnull)path contents:(NSData * _Nullable)data attributes:(NSDictionary<NSString *,id> * _Nullable)attr |
Modified -[NSFileManager enumeratorAtPath:]
Declaration | |
---|---|
From | - (NSDirectoryEnumerator *)enumeratorAtPath:(NSString *)path |
To | - (NSDirectoryEnumerator<NSString *> * _Nullable)enumeratorAtPath:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | - (NSDirectoryEnumerator *)enumeratorAtURL:(NSURL *)url includingPropertiesForKeys:(NSArray *)keys options:(NSDirectoryEnumerationOptions)mask errorHandler:(BOOL (^)(NSURL *url, NSError *error))handler |
To | - (NSDirectoryEnumerator<NSURL *> * _Nullable)enumeratorAtURL:(NSURL * _Nonnull)url includingPropertiesForKeys:(NSArray<NSString *> * _Nullable)keys options:(NSDirectoryEnumerationOptions)mask errorHandler:(BOOL (^ _Nullable)(NSURL * _Nonnull url, NSError * _Nonnull error))handler |
Declaration | |
---|---|
From | - (NSArray *)mountedVolumeURLsIncludingResourceValuesForKeys:(NSArray *)propertyKeys options:(NSVolumeEnumerationOptions)options |
To | - (NSArray<NSURL *> * _Nullable)mountedVolumeURLsIncludingResourceValuesForKeys:(NSArray<NSString *> * _Nullable)propertyKeys options:(NSVolumeEnumerationOptions)options |
Declaration | |
---|---|
From | - (BOOL)setAttributes:(NSDictionary *)attributes ofItemAtPath:(NSString *)path error:(NSError **)error |
To | - (BOOL)setAttributes:(NSDictionary<NSString *,id> * _Nonnull)attributes ofItemAtPath:(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error |
Modified -[NSFileManager subpathsAtPath:]
Declaration | |
---|---|
From | - (NSArray *)subpathsAtPath:(NSString *)path |
To | - (NSArray<NSString *> * _Nullable)subpathsAtPath:(NSString * _Nonnull)path |
Declaration | |
---|---|
From | - (NSArray *)subpathsOfDirectoryAtPath:(NSString *)path error:(NSError **)error |
To | - (NSArray<NSString *> * _Nullable)subpathsOfDirectoryAtPath:(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (NSArray *)URLsForDirectory:(NSSearchPathDirectory)directory inDomains:(NSSearchPathDomainMask)domainMask |
To | - (NSArray<NSURL *> * _Nonnull)URLsForDirectory:(NSSearchPathDirectory)directory inDomains:(NSSearchPathDomainMask)domainMask |
NSFilePresenter.h
Declaration | |
---|---|
From | - (void)relinquishPresentedItemToReader:(void (^)(void (^reacquirer)(void)))reader |
To | - (void)relinquishPresentedItemToReader:(void (^ _Nonnull)(void (^ _Nullable)(void) reacquirer))reader |
Declaration | |
---|---|
From | - (void)relinquishPresentedItemToWriter:(void (^)(void (^reacquirer)(void)))writer |
To | - (void)relinquishPresentedItemToWriter:(void (^ _Nonnull)(void (^ _Nullable)(void) reacquirer))writer |
NSFileVersion.h
Declaration | |
---|---|
From | + (void)getNonlocalVersionsOfItemAtURL:(NSURL *)url completionHandler:(void (^)(NSArray *nonlocalFileVersions, NSError *error))completionHandler |
To | + (void)getNonlocalVersionsOfItemAtURL:(NSURL * _Nonnull)url completionHandler:(void (^ _Nonnull)(NSArray<NSFileVersion *> * _Nullable nonlocalFileVersions, NSError * _Nullable error))completionHandler |
Declaration | |
---|---|
From | + (NSArray *)otherVersionsOfItemAtURL:(NSURL *)url |
To | + (NSArray<NSFileVersion *> * _Nullable)otherVersionsOfItemAtURL:(NSURL * _Nonnull)url |
Declaration | |
---|---|
From | + (NSArray *)unresolvedConflictVersionsOfItemAtURL:(NSURL *)url |
To | + (NSArray<NSFileVersion *> * _Nullable)unresolvedConflictVersionsOfItemAtURL:(NSURL * _Nonnull)url |
NSFileWrapper.h
Modified NSFileWrapper.fileAttributes
Declaration | |
---|---|
From | @property(copy) NSDictionary *fileAttributes |
To | @property(copy, nonnull) NSDictionary<NSString *,id> *fileAttributes |
Modified NSFileWrapper.fileWrappers
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *fileWrappers |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,NSFileWrapper *> *fileWrappers |
Declaration | |
---|---|
From | - (instancetype)initDirectoryWithFileWrappers:(NSDictionary *)childrenByPreferredName |
To | - (instancetype _Nonnull)initDirectoryWithFileWrappers:(NSDictionary<NSString *,NSFileWrapper *> * _Nonnull)childrenByPreferredName |
NSFormatter.h
Declaration | |
---|---|
From | - (NSAttributedString *)attributedStringForObjectValue:(id)obj withDefaultAttributes:(NSDictionary *)attrs |
To | - (NSAttributedString * _Nullable)attributedStringForObjectValue:(id _Nonnull)obj withDefaultAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
NSHashTable.h
Modified -[NSHashTable addObject:]
Declaration | |
---|---|
From | - (void)addObject:(id)object |
To | - (void)addObject:(ObjectType _Nullable)object |
Modified NSHashTable.allObjects
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *allObjects |
To | @property(readonly, copy, nonnull) NSArray<ObjectType> *allObjects |
Modified NSHashTable.anyObject
Declaration | |
---|---|
From | @property(nonatomic, readonly) id anyObject |
To | @property(nonatomic, readonly, nullable) ObjectType anyObject |
Modified -[NSHashTable containsObject:]
Declaration | |
---|---|
From | - (BOOL)containsObject:(id)anObject |
To | - (BOOL)containsObject:(ObjectType _Nullable)anObject |
Modified +[NSHashTable hashTableWithOptions:]
Declaration | |
---|---|
From | + (NSHashTable *)hashTableWithOptions:(NSPointerFunctionsOptions)options |
To | + (NSHashTable<ObjectType> * _Nonnull)hashTableWithOptions:(NSPointerFunctionsOptions)options |
Modified -[NSHashTable intersectHashTable:]
Declaration | |
---|---|
From | - (void)intersectHashTable:(NSHashTable *)other |
To | - (void)intersectHashTable:(NSHashTable<ObjectType> * _Nonnull)other |
Modified -[NSHashTable intersectsHashTable:]
Declaration | |
---|---|
From | - (BOOL)intersectsHashTable:(NSHashTable *)other |
To | - (BOOL)intersectsHashTable:(NSHashTable<ObjectType> * _Nonnull)other |
Modified -[NSHashTable isEqualToHashTable:]
Declaration | |
---|---|
From | - (BOOL)isEqualToHashTable:(NSHashTable *)other |
To | - (BOOL)isEqualToHashTable:(NSHashTable<ObjectType> * _Nonnull)other |
Modified -[NSHashTable isSubsetOfHashTable:]
Declaration | |
---|---|
From | - (BOOL)isSubsetOfHashTable:(NSHashTable *)other |
To | - (BOOL)isSubsetOfHashTable:(NSHashTable<ObjectType> * _Nonnull)other |
Modified -[NSHashTable member:]
Declaration | |
---|---|
From | - (id)member:(id)object |
To | - (ObjectType _Nullable)member:(ObjectType _Nullable)object |
Modified -[NSHashTable minusHashTable:]
Declaration | |
---|---|
From | - (void)minusHashTable:(NSHashTable *)other |
To | - (void)minusHashTable:(NSHashTable<ObjectType> * _Nonnull)other |
Modified -[NSHashTable objectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)objectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)objectEnumerator |
Modified -[NSHashTable removeObject:]
Declaration | |
---|---|
From | - (void)removeObject:(id)object |
To | - (void)removeObject:(ObjectType _Nullable)object |
Modified NSHashTable.setRepresentation
Declaration | |
---|---|
From | @property(readonly, copy) NSSet *setRepresentation |
To | @property(readonly, copy, nonnull) NSSet<ObjectType> *setRepresentation |
Modified -[NSHashTable unionHashTable:]
Declaration | |
---|---|
From | - (void)unionHashTable:(NSHashTable *)other |
To | - (void)unionHashTable:(NSHashTable<ObjectType> * _Nonnull)other |
Modified +[NSHashTable weakObjectsHashTable]
Declaration | |
---|---|
From | + (NSHashTable *)weakObjectsHashTable |
To | + (NSHashTable<ObjectType> * _Nonnull)weakObjectsHashTable |
NSHTTPCookie.h
Declaration | |
---|---|
From | + (NSArray *)cookiesWithResponseHeaderFields:(NSDictionary *)headerFields forURL:(NSURL *)URL |
To | + (NSArray<NSHTTPCookie *> * _Nonnull)cookiesWithResponseHeaderFields:(NSDictionary<NSString *,NSString *> * _Nonnull)headerFields forURL:(NSURL * _Nonnull)URL |
Declaration | |
---|---|
From | + (NSHTTPCookie *)cookieWithProperties:(NSDictionary *)properties |
To | + (NSHTTPCookie * _Nullable)cookieWithProperties:(NSDictionary<NSString *,id> * _Nonnull)properties |
Modified -[NSHTTPCookie initWithProperties:]
Declaration | |
---|---|
From | - (instancetype)initWithProperties:(NSDictionary *)properties |
To | - (instancetype _Nullable)initWithProperties:(NSDictionary<NSString *,id> * _Nonnull)properties |
Modified NSHTTPCookie.portList
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *portList |
To | @property(readonly, copy, nullable) NSArray<NSNumber *> *portList |
Modified NSHTTPCookie.properties
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *properties |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *properties |
Declaration | |
---|---|
From | + (NSDictionary *)requestHeaderFieldsWithCookies:(NSArray *)cookies |
To | + (NSDictionary<NSString *,NSString *> * _Nonnull)requestHeaderFieldsWithCookies:(NSArray<NSHTTPCookie *> * _Nonnull)cookies |
NSHTTPCookieStorage.h
Modified NSHTTPCookieStorage.cookies
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *cookies |
To | @property(readonly, copy, nullable) NSArray<NSHTTPCookie *> *cookies |
Declaration | |
---|---|
From | - (NSArray *)cookiesForURL:(NSURL *)URL |
To | - (NSArray<NSHTTPCookie *> * _Nullable)cookiesForURL:(NSURL * _Nonnull)URL |
Declaration | |
---|---|
From | - (void)getCookiesForTask:(NSURLSessionTask *)task completionHandler:(void (^)(NSArray *cookies))completionHandler |
To | - (void)getCookiesForTask:(NSURLSessionTask * _Nonnull)task completionHandler:(void (^ _Nonnull)(NSArray<NSHTTPCookie *> * _Nullable cookies))completionHandler |
Declaration | |
---|---|
From | - (void)setCookies:(NSArray *)cookies forURL:(NSURL *)URL mainDocumentURL:(NSURL *)mainDocumentURL |
To | - (void)setCookies:(NSArray<NSHTTPCookie *> * _Nonnull)cookies forURL:(NSURL * _Nullable)URL mainDocumentURL:(NSURL * _Nullable)mainDocumentURL |
Declaration | |
---|---|
From | - (NSArray *)sortedCookiesUsingDescriptors:(NSArray *)sortOrder |
To | - (NSArray<NSHTTPCookie *> * _Nonnull)sortedCookiesUsingDescriptors:(NSArray<NSSortDescriptor *> * _Nonnull)sortOrder |
Declaration | |
---|---|
From | - (void)storeCookies:(NSArray *)cookies forTask:(NSURLSessionTask *)task |
To | - (void)storeCookies:(NSArray<NSHTTPCookie *> * _Nonnull)cookies forTask:(NSURLSessionTask * _Nonnull)task |
NSIndexPath.h
Added NSIndexPath(NSDeprecated)
NSItemProvider.h
NSKeyedArchiver.h
Declaration | |
---|---|
From | - (Class)unarchiver:(NSKeyedUnarchiver *)unarchiver cannotDecodeObjectOfClassName:(NSString *)name originalClasses:(NSArray *)classNames |
To | - (Class _Nullable)unarchiver:(NSKeyedUnarchiver * _Nonnull)unarchiver cannotDecodeObjectOfClassName:(NSString * _Nonnull)name originalClasses:(NSArray<NSString *> * _Nonnull)classNames |
Declaration | |
---|---|
From | + (NSArray *)classFallbacksForKeyedArchiver |
To | + (NSArray<NSString *> * _Nonnull)classFallbacksForKeyedArchiver |
NSKeyValueCoding.h
Modified -[NSDictionary valueForKey:]
Declaration | |
---|---|
From | - (id)valueForKey:(NSString *)key |
To | - (ObjectType _Nullable)valueForKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (void)setValue:(id)value forKey:(NSString *)key |
To | - (void)setValue:(ObjectType _Nullable)value forKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (NSDictionary *)dictionaryWithValuesForKeys:(NSArray *)keys |
To | - (NSDictionary<NSString *,id> * _Nonnull)dictionaryWithValuesForKeys:(NSArray<NSString *> * _Nonnull)keys |
Declaration | |
---|---|
From | - (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValues |
To | - (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> * _Nonnull)keyedValues |
NSKeyValueObserving.h
Declaration | |
---|---|
From | + (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key |
To | + (NSSet<NSString *> * _Nonnull)keyPathsForValuesAffectingValueForKey:(NSString * _Nonnull)key |
Declaration | |
---|---|
From | - (void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context |
To | - (void)observeValueForKeyPath:(NSString * _Nullable)keyPath ofObject:(id _Nullable)object change:(NSDictionary<NSString *,id> * _Nullable)change context:(void * _Nullable)context |
NSLinguisticTagger.h
Declaration | |
---|---|
From | + (NSArray *)availableTagSchemesForLanguage:(NSString *)language |
To | + (NSArray<NSString *> * _Nonnull)availableTagSchemesForLanguage:(NSString * _Nonnull)language |
Declaration | |
---|---|
From | - (instancetype)initWithTagSchemes:(NSArray *)tagSchemes options:(NSUInteger)opts |
To | - (instancetype _Nonnull)initWithTagSchemes:(NSArray<NSString *> * _Nonnull)tagSchemes options:(NSUInteger)opts |
Declaration | |
---|---|
From | - (NSArray *)possibleTagsAtIndex:(NSUInteger)charIndex scheme:(NSString *)tagScheme tokenRange:(NSRangePointer)tokenRange sentenceRange:(NSRangePointer)sentenceRange scores:(NSArray **)scores |
To | - (NSArray<NSString *> * _Nullable)possibleTagsAtIndex:(NSUInteger)charIndex scheme:(NSString * _Nonnull)tagScheme tokenRange:(NSRangePointer _Nullable)tokenRange sentenceRange:(NSRangePointer _Nullable)sentenceRange scores:(NSArray<NSValue *> * _Nullable * _Nullable)scores |
Modified NSLinguisticTagger.tagSchemes
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *tagSchemes |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *tagSchemes |
Declaration | |
---|---|
From | - (NSArray *)tagsInRange:(NSRange)range scheme:(NSString *)tagScheme options:(NSLinguisticTaggerOptions)opts tokenRanges:(NSArray **)tokenRanges |
To | - (NSArray<NSString *> * _Nonnull)tagsInRange:(NSRange)range scheme:(NSString * _Nonnull)tagScheme options:(NSLinguisticTaggerOptions)opts tokenRanges:(NSArray<NSValue *> * _Nullable * _Nullable)tokenRanges |
Declaration | |
---|---|
From | - (NSArray *)linguisticTagsInRange:(NSRange)range scheme:(NSString *)tagScheme options:(NSLinguisticTaggerOptions)opts orthography:(NSOrthography *)orthography tokenRanges:(NSArray **)tokenRanges |
To | - (NSArray<NSString *> * _Nonnull)linguisticTagsInRange:(NSRange)range scheme:(NSString * _Nonnull)tagScheme options:(NSLinguisticTaggerOptions)opts orthography:(NSOrthography * _Nullable)orthography tokenRanges:(NSArray<NSValue *> * _Nullable * _Nullable)tokenRanges |
NSLocale.h
Declaration | |
---|---|
From | + (NSArray *)availableLocaleIdentifiers |
To | + (NSArray<NSString *> * _Nonnull)availableLocaleIdentifiers |
Modified +[NSLocale commonISOCurrencyCodes]
Declaration | |
---|---|
From | + (NSArray *)commonISOCurrencyCodes |
To | + (NSArray<NSString *> * _Nonnull)commonISOCurrencyCodes |
Declaration | |
---|---|
From | + (NSDictionary *)componentsFromLocaleIdentifier:(NSString *)string |
To | + (NSDictionary<NSString *,NSString *> * _Nonnull)componentsFromLocaleIdentifier:(NSString * _Nonnull)string |
Modified +[NSLocale ISOCountryCodes]
Declaration | |
---|---|
From | + (NSArray *)ISOCountryCodes |
To | + (NSArray<NSString *> * _Nonnull)ISOCountryCodes |
Modified +[NSLocale ISOCurrencyCodes]
Declaration | |
---|---|
From | + (NSArray *)ISOCurrencyCodes |
To | + (NSArray<NSString *> * _Nonnull)ISOCurrencyCodes |
Modified +[NSLocale ISOLanguageCodes]
Declaration | |
---|---|
From | + (NSArray *)ISOLanguageCodes |
To | + (NSArray<NSString *> * _Nonnull)ISOLanguageCodes |
Declaration | |
---|---|
From | + (NSString *)localeIdentifierFromComponents:(NSDictionary *)dict |
To | + (NSString * _Nonnull)localeIdentifierFromComponents:(NSDictionary<NSString *,NSString *> * _Nonnull)dict |
Modified +[NSLocale preferredLanguages]
Declaration | |
---|---|
From | + (NSArray *)preferredLanguages |
To | + (NSArray<NSString *> * _Nonnull)preferredLanguages |
NSMapTable.h
Declaration | |
---|---|
From | - (NSDictionary *)dictionaryRepresentation |
To | - (NSDictionary<KeyType,ObjectType> * _Nonnull)dictionaryRepresentation |
Modified -[NSMapTable keyEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)keyEnumerator |
To | - (NSEnumerator<KeyType> * _Nonnull)keyEnumerator |
Declaration | |
---|---|
From | + (NSMapTable *)mapTableWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions |
To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)mapTableWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions |
Modified -[NSMapTable objectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)objectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nullable)objectEnumerator |
Modified -[NSMapTable objectForKey:]
Declaration | |
---|---|
From | - (id)objectForKey:(id)aKey |
To | - (ObjectType _Nullable)objectForKey:(KeyType _Nullable)aKey |
Modified -[NSMapTable removeObjectForKey:]
Declaration | |
---|---|
From | - (void)removeObjectForKey:(id)aKey |
To | - (void)removeObjectForKey:(KeyType _Nullable)aKey |
Modified -[NSMapTable setObject:forKey:]
Declaration | |
---|---|
From | - (void)setObject:(id)anObject forKey:(id)aKey |
To | - (void)setObject:(ObjectType _Nullable)anObject forKey:(KeyType _Nullable)aKey |
Declaration | |
---|---|
From | + (NSMapTable *)strongToStrongObjectsMapTable |
To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)strongToStrongObjectsMapTable |
Declaration | |
---|---|
From | + (NSMapTable *)strongToWeakObjectsMapTable |
To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)strongToWeakObjectsMapTable |
Declaration | |
---|---|
From | + (NSMapTable *)weakToStrongObjectsMapTable |
To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)weakToStrongObjectsMapTable |
Declaration | |
---|---|
From | + (NSMapTable *)weakToWeakObjectsMapTable |
To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)weakToWeakObjectsMapTable |
NSMetadata.h
Modified NSMetadataItem.attributes
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *attributes |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *attributes |
Declaration | |
---|---|
From | - (NSDictionary *)valuesForAttributes:(NSArray *)keys |
To | - (NSDictionary<NSString *,id> * _Nullable)valuesForAttributes:(NSArray<NSString *> * _Nonnull)keys |
Modified NSMetadataQuery.groupedResults
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *groupedResults |
To | @property(readonly, copy, nonnull) NSArray<NSMetadataQueryResultGroup *> *groupedResults |
Modified NSMetadataQuery.groupingAttributes
Declaration | |
---|---|
From | @property(copy) NSArray *groupingAttributes |
To | @property(copy, nullable) NSArray<NSString *> *groupingAttributes |
Modified NSMetadataQuery.sortDescriptors
Declaration | |
---|---|
From | @property(copy) NSArray *sortDescriptors |
To | @property(copy, nonnull) NSArray<NSSortDescriptor *> *sortDescriptors |
Modified NSMetadataQuery.valueListAttributes
Declaration | |
---|---|
From | @property(copy) NSArray *valueListAttributes |
To | @property(copy, nonnull) NSArray<NSString *> *valueListAttributes |
Modified NSMetadataQuery.valueLists
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *valueLists |
To | @property(readonly, copy, nonnull) NSDictionary<NSString *,NSArray<NSMetadataQueryAttributeValueTuple *> *> *valueLists |
Modified NSMetadataQueryResultGroup.subgroups
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *subgroups |
To | @property(readonly, copy, nullable) NSArray<NSMetadataQueryResultGroup *> *subgroups |
NSNetServices.h
Modified NSNetService.addresses
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *addresses |
To | @property(readonly, copy, nullable) NSArray<NSData *> *addresses |
Declaration | |
---|---|
From | + (NSData *)dataFromTXTRecordDictionary:(NSDictionary *)txtDictionary |
To | + (NSData * _Nonnull)dataFromTXTRecordDictionary:(NSDictionary<NSString *,NSData *> * _Nonnull)txtDictionary |
Declaration | |
---|---|
From | + (NSDictionary *)dictionaryFromTXTRecordData:(NSData *)txtData |
To | + (NSDictionary<NSString *,NSData *> * _Nonnull)dictionaryFromTXTRecordData:(NSData * _Nonnull)txtData |
Designated Initializer | |
---|---|
From | -- |
To | yes |
Declaration | |
---|---|
From | - (void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser didFindDomain:(NSString *)domainString moreComing:(BOOL)moreComing |
To | - (void)netServiceBrowser:(NSNetServiceBrowser * _Nonnull)browser didFindDomain:(NSString * _Nonnull)domainString moreComing:(BOOL)moreComing |
Declaration | |
---|---|
From | - (void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser didFindService:(NSNetService *)aNetService moreComing:(BOOL)moreComing |
To | - (void)netServiceBrowser:(NSNetServiceBrowser * _Nonnull)browser didFindService:(NSNetService * _Nonnull)service moreComing:(BOOL)moreComing |
Declaration | |
---|---|
From | - (void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser didNotSearch:(NSDictionary *)errorDict |
To | - (void)netServiceBrowser:(NSNetServiceBrowser * _Nonnull)browser didNotSearch:(NSDictionary<NSString *,NSNumber *> * _Nonnull)errorDict |
Declaration | |
---|---|
From | - (void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser didRemoveDomain:(NSString *)domainString moreComing:(BOOL)moreComing |
To | - (void)netServiceBrowser:(NSNetServiceBrowser * _Nonnull)browser didRemoveDomain:(NSString * _Nonnull)domainString moreComing:(BOOL)moreComing |
Declaration | |
---|---|
From | - (void)netServiceBrowser:(NSNetServiceBrowser *)aNetServiceBrowser didRemoveService:(NSNetService *)aNetService moreComing:(BOOL)moreComing |
To | - (void)netServiceBrowser:(NSNetServiceBrowser * _Nonnull)browser didRemoveService:(NSNetService * _Nonnull)service moreComing:(BOOL)moreComing |
Declaration | |
---|---|
From | - (void)netServiceBrowserDidStopSearch:(NSNetServiceBrowser *)aNetServiceBrowser |
To | - (void)netServiceBrowserDidStopSearch:(NSNetServiceBrowser * _Nonnull)browser |
Declaration | |
---|---|
From | - (void)netServiceBrowserWillSearch:(NSNetServiceBrowser *)aNetServiceBrowser |
To | - (void)netServiceBrowserWillSearch:(NSNetServiceBrowser * _Nonnull)browser |
Declaration | |
---|---|
From | - (void)netService:(NSNetService *)sender didNotPublish:(NSDictionary *)errorDict |
To | - (void)netService:(NSNetService * _Nonnull)sender didNotPublish:(NSDictionary<NSString *,NSNumber *> * _Nonnull)errorDict |
Declaration | |
---|---|
From | - (void)netService:(NSNetService *)sender didNotResolve:(NSDictionary *)errorDict |
To | - (void)netService:(NSNetService * _Nonnull)sender didNotResolve:(NSDictionary<NSString *,NSNumber *> * _Nonnull)errorDict |
NSNotificationQueue.h
Declaration | |
---|---|
From | - (void)enqueueNotification:(NSNotification *)notification postingStyle:(NSPostingStyle)postingStyle coalesceMask:(NSUInteger)coalesceMask forModes:(NSArray *)modes |
To | - (void)enqueueNotification:(NSNotification * _Nonnull)notification postingStyle:(NSPostingStyle)postingStyle coalesceMask:(NSNotificationCoalescing)coalesceMask forModes:(NSArray<NSString *> * _Nullable)modes |
NSNumberFormatter.h
Declaration | |
---|---|
From | @property(copy) NSDictionary *textAttributesForNegativeInfinity |
To | @property(copy, nullable) NSDictionary<NSString *,id> *textAttributesForNegativeInfinity |
Declaration | |
---|---|
From | @property(copy) NSDictionary *textAttributesForNegativeValues |
To | @property(copy, nullable) NSDictionary<NSString *,id> *textAttributesForNegativeValues |
Declaration | |
---|---|
From | @property(copy) NSDictionary *textAttributesForNil |
To | @property(copy, nullable) NSDictionary<NSString *,id> *textAttributesForNil |
Declaration | |
---|---|
From | @property(copy) NSDictionary *textAttributesForNotANumber |
To | @property(copy, nullable) NSDictionary<NSString *,id> *textAttributesForNotANumber |
Declaration | |
---|---|
From | @property(copy) NSDictionary *textAttributesForPositiveInfinity |
To | @property(copy, nullable) NSDictionary<NSString *,id> *textAttributesForPositiveInfinity |
Declaration | |
---|---|
From | @property(copy) NSDictionary *textAttributesForPositiveValues |
To | @property(copy, nullable) NSDictionary<NSString *,id> *textAttributesForPositiveValues |
Declaration | |
---|---|
From | @property(copy) NSDictionary *textAttributesForZero |
To | @property(copy, nullable) NSDictionary<NSString *,id> *textAttributesForZero |
NSObjCRuntime.h
Removed NSNotFound
Added #def NS_REFINED_FOR_SWIFT
Added #def NS_SWIFT_NAME
Added #def NS_SWIFT_NOTHROW
Added #def NS_SWIFT_UNAVAILABLE
Added NSNotFound
Modified #def NS_DESIGNATED_INITIALIZER
Header | |
---|---|
From | Foundation/NSObjCRuntime.h |
To | objc/NSObjCRuntime.h |
NSObject.h
Modified -[NSCoding initWithCoder:]
Declaration | |
---|---|
From | - (id)initWithCoder:(NSCoder *)aDecoder |
To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
NSOperation.h
Removed NSOperationQueueDefaultMaxConcurrentOperationCount
Modified NSBlockOperation.executionBlocks
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *executionBlocks |
To | @property(readonly, copy, nonnull) NSArray<void (^executionBlocks)(void)> * |
Modified NSOperation.dependencies
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *dependencies |
To | @property(readonly, copy, nonnull) NSArray<NSOperation *> *dependencies |
Declaration | |
---|---|
From | - (void)addOperations:(NSArray *)ops waitUntilFinished:(BOOL)wait |
To | - (void)addOperations:(NSArray<NSOperation *> * _Nonnull)ops waitUntilFinished:(BOOL)wait |
Modified NSOperationQueue.operations
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *operations |
To | @property(readonly, copy, nonnull) NSArray<__kindof NSOperation *> *operations |
NSOrderedSet.h
Modified -[NSMutableOrderedSet addObject:]
Declaration | |
---|---|
From | - (void)addObject:(id)object |
To | - (void)addObject:(ObjectType _Nonnull)object |
Declaration | |
---|---|
From | - (void)addObjects:(const id [])objects count:(NSUInteger)count |
To | - (void)addObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)count |
Declaration | |
---|---|
From | - (void)addObjectsFromArray:(NSArray *)array |
To | - (void)addObjectsFromArray:(NSArray<ObjectType> * _Nonnull)array |
Declaration | |
---|---|
From | - (void)insertObject:(id)object atIndex:(NSUInteger)idx |
To | - (void)insertObject:(ObjectType _Nonnull)object atIndex:(NSUInteger)idx |
Declaration | |
---|---|
From | - (void)insertObjects:(NSArray *)objects atIndexes:(NSIndexSet *)indexes |
To | - (void)insertObjects:(NSArray<ObjectType> * _Nonnull)objects atIndexes:(NSIndexSet * _Nonnull)indexes |
Declaration | |
---|---|
From | - (void)intersectOrderedSet:(NSOrderedSet *)other |
To | - (void)intersectOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)other |
Modified -[NSMutableOrderedSet intersectSet:]
Declaration | |
---|---|
From | - (void)intersectSet:(NSSet *)other |
To | - (void)intersectSet:(NSSet<ObjectType> * _Nonnull)other |
Declaration | |
---|---|
From | - (void)minusOrderedSet:(NSOrderedSet *)other |
To | - (void)minusOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)other |
Modified -[NSMutableOrderedSet minusSet:]
Declaration | |
---|---|
From | - (void)minusSet:(NSSet *)other |
To | - (void)minusSet:(NSSet<ObjectType> * _Nonnull)other |
Modified -[NSMutableOrderedSet removeObject:]
Declaration | |
---|---|
From | - (void)removeObject:(id)object |
To | - (void)removeObject:(ObjectType _Nonnull)object |
Declaration | |
---|---|
From | - (void)removeObjectsInArray:(NSArray *)array |
To | - (void)removeObjectsInArray:(NSArray<ObjectType> * _Nonnull)array |
Declaration | |
---|---|
From | - (void)replaceObjectAtIndex:(NSUInteger)idx withObject:(id)object |
To | - (void)replaceObjectAtIndex:(NSUInteger)idx withObject:(ObjectType _Nonnull)object |
Declaration | |
---|---|
From | - (void)replaceObjectsAtIndexes:(NSIndexSet *)indexes withObjects:(NSArray *)objects |
To | - (void)replaceObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes withObjects:(NSArray<ObjectType> * _Nonnull)objects |
Declaration | |
---|---|
From | - (void)replaceObjectsInRange:(NSRange)range withObjects:(const id [])objects count:(NSUInteger)count |
To | - (void)replaceObjectsInRange:(NSRange)range withObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)count |
Declaration | |
---|---|
From | - (void)setObject:(id)obj atIndex:(NSUInteger)idx |
To | - (void)setObject:(ObjectType _Nonnull)obj atIndex:(NSUInteger)idx |
Declaration | |
---|---|
From | - (void)setObject:(id)obj atIndexedSubscript:(NSUInteger)idx |
To | - (void)setObject:(ObjectType _Nonnull)obj atIndexedSubscript:(NSUInteger)idx |
Declaration | |
---|---|
From | - (void)unionOrderedSet:(NSOrderedSet *)other |
To | - (void)unionOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)other |
Modified -[NSMutableOrderedSet unionSet:]
Declaration | |
---|---|
From | - (void)unionSet:(NSSet *)other |
To | - (void)unionSet:(NSSet<ObjectType> * _Nonnull)other |
Modified NSOrderedSet.array
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *array |
To | @property(readonly, strong, nonnull) NSArray<ObjectType> *array |
Modified -[NSOrderedSet containsObject:]
Declaration | |
---|---|
From | - (BOOL)containsObject:(id)object |
To | - (BOOL)containsObject:(ObjectType _Nonnull)object |
Declaration | |
---|---|
From | - (void)enumerateObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block |
To | - (void)enumerateObjectsAtIndexes:(NSIndexSet * _Nonnull)s options:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))block |
Declaration | |
---|---|
From | - (void)enumerateObjectsUsingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block |
To | - (void)enumerateObjectsUsingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))block |
Declaration | |
---|---|
From | - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, NSUInteger idx, BOOL *stop))block |
To | - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))block |
Modified NSOrderedSet.firstObject
Declaration | |
---|---|
From | @property(nonatomic, readonly) id firstObject |
To | @property(nonatomic, readonly, nullable) ObjectType firstObject |
Modified -[NSOrderedSet getObjects:range:]
Declaration | |
---|---|
From | - (void)getObjects:(id [])objects range:(NSRange)range |
To | - (void)getObjects:(ObjectType _Nonnull [])objects range:(NSRange)range |
Declaration | |
---|---|
From | - (NSIndexSet *)indexesOfObjectsAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSIndexSet * _Nonnull)indexesOfObjectsAtIndexes:(NSIndexSet * _Nonnull)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSIndexSet *)indexesOfObjectsPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSIndexSet * _Nonnull)indexesOfObjectsPassingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSIndexSet *)indexesOfObjectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSIndexSet * _Nonnull)indexesOfObjectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSOrderedSet indexOfObject:]
Declaration | |
---|---|
From | - (NSUInteger)indexOfObject:(id)object |
To | - (NSUInteger)indexOfObject:(ObjectType _Nonnull)object |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObject:(id)object inSortedRange:(NSRange)range options:(NSBinarySearchingOptions)opts usingComparator:(NSComparator)cmp |
To | - (NSUInteger)indexOfObject:(ObjectType _Nonnull)object inSortedRange:(NSRange)range options:(NSBinarySearchingOptions)opts usingComparator:(NSComparator _Nonnull)cmp |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectAtIndexes:(NSIndexSet *)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSUInteger)indexOfObjectAtIndexes:(NSIndexSet * _Nonnull)s options:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectPassingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSUInteger)indexOfObjectPassingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSUInteger)indexOfObjectWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, NSUInteger idx, BOOL *stop))predicate |
To | - (NSUInteger)indexOfObjectWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSOrderedSet initWithArray:]
Declaration | |
---|---|
From | - (instancetype)initWithArray:(NSArray *)array |
To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)array |
Declaration | |
---|---|
From | - (instancetype)initWithArray:(NSArray *)set copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)set copyItems:(BOOL)flag |
Declaration | |
---|---|
From | - (instancetype)initWithArray:(NSArray *)set range:(NSRange)range copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)set range:(NSRange)range copyItems:(BOOL)flag |
Modified -[NSOrderedSet initWithObject:]
Declaration | |
---|---|
From | - (instancetype)initWithObject:(id)object |
To | - (instancetype _Nonnull)initWithObject:(ObjectType _Nonnull)object |
Modified -[NSOrderedSet initWithObjects:]
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(id)firstObj, ... |
To | - (instancetype _Nonnull)initWithObjects:(ObjectType _Nonnull)firstObj, ... |
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt |
To | - (instancetype _Nonnull)initWithObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)cnt |
Modified -[NSOrderedSet initWithOrderedSet:]
Declaration | |
---|---|
From | - (instancetype)initWithOrderedSet:(NSOrderedSet *)set |
To | - (instancetype _Nonnull)initWithOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)set |
Declaration | |
---|---|
From | - (instancetype)initWithOrderedSet:(NSOrderedSet *)set copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)set copyItems:(BOOL)flag |
Declaration | |
---|---|
From | - (instancetype)initWithOrderedSet:(NSOrderedSet *)set range:(NSRange)range copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)set range:(NSRange)range copyItems:(BOOL)flag |
Modified -[NSOrderedSet initWithSet:]
Declaration | |
---|---|
From | - (instancetype)initWithSet:(NSSet *)set |
To | - (instancetype _Nonnull)initWithSet:(NSSet<ObjectType> * _Nonnull)set |
Declaration | |
---|---|
From | - (instancetype)initWithSet:(NSSet *)set copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithSet:(NSSet<ObjectType> * _Nonnull)set copyItems:(BOOL)flag |
Declaration | |
---|---|
From | - (BOOL)intersectsOrderedSet:(NSOrderedSet *)other |
To | - (BOOL)intersectsOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)other |
Modified -[NSOrderedSet intersectsSet:]
Declaration | |
---|---|
From | - (BOOL)intersectsSet:(NSSet *)set |
To | - (BOOL)intersectsSet:(NSSet<ObjectType> * _Nonnull)set |
Modified -[NSOrderedSet isEqualToOrderedSet:]
Declaration | |
---|---|
From | - (BOOL)isEqualToOrderedSet:(NSOrderedSet *)other |
To | - (BOOL)isEqualToOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)other |
Declaration | |
---|---|
From | - (BOOL)isSubsetOfOrderedSet:(NSOrderedSet *)other |
To | - (BOOL)isSubsetOfOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)other |
Modified -[NSOrderedSet isSubsetOfSet:]
Declaration | |
---|---|
From | - (BOOL)isSubsetOfSet:(NSSet *)set |
To | - (BOOL)isSubsetOfSet:(NSSet<ObjectType> * _Nonnull)set |
Modified NSOrderedSet.lastObject
Declaration | |
---|---|
From | @property(nonatomic, readonly) id lastObject |
To | @property(nonatomic, readonly, nullable) ObjectType lastObject |
Modified -[NSOrderedSet objectAtIndex:]
Declaration | |
---|---|
From | - (id)objectAtIndex:(NSUInteger)idx |
To | - (ObjectType _Nonnull)objectAtIndex:(NSUInteger)idx |
Declaration | |
---|---|
From | - (id)objectAtIndexedSubscript:(NSUInteger)idx |
To | - (ObjectType _Nonnull)objectAtIndexedSubscript:(NSUInteger)idx |
Modified -[NSOrderedSet objectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)objectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)objectEnumerator |
Modified -[NSOrderedSet objectsAtIndexes:]
Declaration | |
---|---|
From | - (NSArray *)objectsAtIndexes:(NSIndexSet *)indexes |
To | - (NSArray<ObjectType> * _Nonnull)objectsAtIndexes:(NSIndexSet * _Nonnull)indexes |
Modified +[NSOrderedSet orderedSetWithArray:]
Declaration | |
---|---|
From | + (instancetype)orderedSetWithArray:(NSArray *)array |
To | + (instancetype _Nonnull)orderedSetWithArray:(NSArray<ObjectType> * _Nonnull)array |
Declaration | |
---|---|
From | + (instancetype)orderedSetWithArray:(NSArray *)array range:(NSRange)range copyItems:(BOOL)flag |
To | + (instancetype _Nonnull)orderedSetWithArray:(NSArray<ObjectType> * _Nonnull)array range:(NSRange)range copyItems:(BOOL)flag |
Declaration | |
---|---|
From | + (instancetype)orderedSetWithObject:(id)object |
To | + (instancetype _Nonnull)orderedSetWithObject:(ObjectType _Nonnull)object |
Declaration | |
---|---|
From | + (instancetype)orderedSetWithObjects:(id)firstObj, ... |
To | + (instancetype _Nonnull)orderedSetWithObjects:(ObjectType _Nonnull)firstObj, ... |
Declaration | |
---|---|
From | + (instancetype)orderedSetWithObjects:(const id [])objects count:(NSUInteger)cnt |
To | + (instancetype _Nonnull)orderedSetWithObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)cnt |
Declaration | |
---|---|
From | + (instancetype)orderedSetWithOrderedSet:(NSOrderedSet *)set |
To | + (instancetype _Nonnull)orderedSetWithOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)set |
Declaration | |
---|---|
From | + (instancetype)orderedSetWithOrderedSet:(NSOrderedSet *)set range:(NSRange)range copyItems:(BOOL)flag |
To | + (instancetype _Nonnull)orderedSetWithOrderedSet:(NSOrderedSet<ObjectType> * _Nonnull)set range:(NSRange)range copyItems:(BOOL)flag |
Modified +[NSOrderedSet orderedSetWithSet:]
Declaration | |
---|---|
From | + (instancetype)orderedSetWithSet:(NSSet *)set |
To | + (instancetype _Nonnull)orderedSetWithSet:(NSSet<ObjectType> * _Nonnull)set |
Declaration | |
---|---|
From | + (instancetype)orderedSetWithSet:(NSSet *)set copyItems:(BOOL)flag |
To | + (instancetype _Nonnull)orderedSetWithSet:(NSSet<ObjectType> * _Nonnull)set copyItems:(BOOL)flag |
Modified NSOrderedSet.reversedOrderedSet
Declaration | |
---|---|
From | @property(readonly, copy) NSOrderedSet *reversedOrderedSet |
To | @property(readonly, copy, nonnull) NSOrderedSet<ObjectType> *reversedOrderedSet |
Declaration | |
---|---|
From | - (NSEnumerator *)reverseObjectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)reverseObjectEnumerator |
Modified NSOrderedSet.set
Declaration | |
---|---|
From | @property(readonly, copy) NSSet *set |
To | @property(readonly, strong, nonnull) NSSet<ObjectType> *set |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingComparator:(NSComparator)cmptr |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingComparator:(NSComparator _Nonnull)cmptr |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayWithOptions:(NSSortOptions)opts usingComparator:(NSComparator _Nonnull)cmptr |
NSOrthography.h
Modified NSOrthography.allLanguages
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *allLanguages |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *allLanguages |
Modified NSOrthography.allScripts
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *allScripts |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *allScripts |
Declaration | |
---|---|
From | - (instancetype)initWithDominantScript:(NSString *)script languageMap:(NSDictionary *)map |
To | - (instancetype _Nonnull)initWithDominantScript:(NSString * _Nonnull)script languageMap:(NSDictionary<NSString *,NSArray<NSString *> *> * _Nonnull)map |
Modified NSOrthography.languageMap
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *languageMap |
To | @property(readonly, copy, nonnull) NSDictionary<NSString *,NSArray<NSString *> *> *languageMap |
Modified -[NSOrthography languagesForScript:]
Declaration | |
---|---|
From | - (NSArray *)languagesForScript:(NSString *)script |
To | - (NSArray<NSString *> * _Nullable)languagesForScript:(NSString * _Nonnull)script |
Declaration | |
---|---|
From | + (instancetype)orthographyWithDominantScript:(NSString *)script languageMap:(NSDictionary *)map |
To | + (instancetype _Nonnull)orthographyWithDominantScript:(NSString * _Nonnull)script languageMap:(NSDictionary<NSString *,NSArray<NSString *> *> * _Nonnull)map |
NSPathUtilities.h
Modified -[NSArray pathsMatchingExtensions:]
Declaration | |
---|---|
From | - (NSArray *)pathsMatchingExtensions:(NSArray *)filterTypes |
To | - (NSArray<NSString *> * _Nonnull)pathsMatchingExtensions:(NSArray<NSString *> * _Nonnull)filterTypes |
Declaration | |
---|---|
From | - (NSUInteger)completePathIntoString:(NSString **)outputName caseSensitive:(BOOL)flag matchesIntoArray:(NSArray **)outputArray filterTypes:(NSArray *)filterTypes |
To | - (NSUInteger)completePathIntoString:(NSString * _Nonnull * _Nullable)outputName caseSensitive:(BOOL)flag matchesIntoArray:(NSArray<NSString *> * _Nonnull * _Nullable)outputArray filterTypes:(NSArray<NSString *> * _Nullable)filterTypes |
Modified NSString.pathComponents
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *pathComponents |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *pathComponents |
Modified +[NSString pathWithComponents:]
Declaration | |
---|---|
From | + (NSString *)pathWithComponents:(NSArray *)components |
To | + (NSString * _Nonnull)pathWithComponents:(NSArray<NSString *> * _Nonnull)components |
Modified -[NSString stringsByAppendingPaths:]
Declaration | |
---|---|
From | - (NSArray *)stringsByAppendingPaths:(NSArray *)paths |
To | - (NSArray<NSString *> * _Nonnull)stringsByAppendingPaths:(NSArray<NSString *> * _Nonnull)paths |
Declaration | |
---|---|
From | NSArray * NSSearchPathForDirectoriesInDomains ( NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, BOOL expandTilde ); |
To | NSArray<NSString *> * _Nonnull NSSearchPathForDirectoriesInDomains ( NSSearchPathDirectory directory, NSSearchPathDomainMask domainMask, BOOL expandTilde ); |
NSPersonNameComponents.h (Added)
Added NSPersonNameComponents
NSPersonNameComponentsFormatter.h (Added)
Added NSPersonNameComponentKey
NSPointerFunctions.h
Modified NSPointerFunctions.acquireFunction
Declaration | |
---|---|
From | @property void *(*acquireFunction)(const void *src, NSUInteger (*size)(const void *item), BOOL shouldCopy) |
To | @property(nonnull) void * (* _Nullable)(const void * _Nonnull src, NSUInteger (* _Nullablesize)(const void * _Nonnull item), BOOL shouldCopy) acquireFunction |
Declaration | |
---|---|
From | @property NSString *(*descriptionFunction)(const void *item) |
To | @property(nullable) NSString * (* _Nullable)(const void * _Nonnull item) descriptionFunction |
NSPort.h
Added NSMachPortOptions
Modified -[NSMachPort initWithMachPort:]
Designated Initializer | |
---|---|
From | -- |
To | yes |
Declaration | |
---|---|
From | - (instancetype)initWithMachPort:(uint32_t)machPort options:(NSUInteger)f |
To | - (instancetype _Nonnull)initWithMachPort:(uint32_t)machPort options:(NSMachPortOptions)f |
Declaration | |
---|---|
From | + (NSPort *)portWithMachPort:(uint32_t)machPort options:(NSUInteger)f |
To | + (NSPort * _Nonnull)portWithMachPort:(uint32_t)machPort options:(NSMachPortOptions)f |
NSPredicate.h
Declaration | |
---|---|
From | - (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate |
To | - (NSArray<ObjectType> * _Nonnull)filteredArrayUsingPredicate:(NSPredicate * _Nonnull)predicate |
Declaration | |
---|---|
From | - (NSOrderedSet *)filteredOrderedSetUsingPredicate:(NSPredicate *)p |
To | - (NSOrderedSet<ObjectType> * _Nonnull)filteredOrderedSetUsingPredicate:(NSPredicate * _Nonnull)p |
Declaration | |
---|---|
From | - (BOOL)evaluateWithObject:(id)object substitutionVariables:(NSDictionary *)bindings |
To | - (BOOL)evaluateWithObject:(id _Nullable)object substitutionVariables:(NSDictionary<NSString *,id> * _Nullable)bindings |
Modified +[NSPredicate predicateWithBlock:]
Declaration | |
---|---|
From | + (NSPredicate *)predicateWithBlock:(BOOL (^)(id evaluatedObject, NSDictionary *bindings))block |
To | + (NSPredicate * _Nonnull)predicateWithBlock:(BOOL (^ _Nonnull)(id _Nonnull evaluatedObject, NSDictionary<NSString *,id> * _Nullable bindings))block |
Declaration | |
---|---|
From | - (instancetype)predicateWithSubstitutionVariables:(NSDictionary *)variables |
To | - (instancetype _Nonnull)predicateWithSubstitutionVariables:(NSDictionary<NSString *,id> * _Nonnull)variables |
Modified -[NSSet filteredSetUsingPredicate:]
Declaration | |
---|---|
From | - (NSSet *)filteredSetUsingPredicate:(NSPredicate *)predicate |
To | - (NSSet<ObjectType> * _Nonnull)filteredSetUsingPredicate:(NSPredicate * _Nonnull)predicate |
NSProcessInfo.h
Removed NSProcessInfo()
Added NSProcessInfo(NSProcessInfoActivity)
Added NSProcessInfo(NSProcessInfoPowerState)
Added NSProcessInfo(NSProcessInfoThermalState)
Modified NSProcessInfo.arguments
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *arguments |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *arguments |
Modified NSProcessInfo.environment
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *environment |
To | @property(readonly, copy, nonnull) NSDictionary<NSString *,NSString *> *environment |
NSProgress.h
NSRegularExpression.h
Declaration | |
---|---|
From | - (NSArray *)matchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range |
To | - (NSArray<NSTextCheckingResult *> * _Nonnull)matchesInString:(NSString * _Nonnull)string options:(NSMatchingOptions)options range:(NSRange)range |
NSRunLoop.h
Declaration | |
---|---|
From | - (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay inModes:(NSArray *)modes |
To | - (void)performSelector:(SEL _Nonnull)aSelector withObject:(id _Nullable)anArgument afterDelay:(NSTimeInterval)delay inModes:(NSArray<NSString *> * _Nonnull)modes |
Declaration | |
---|---|
From | - (void)performSelector:(SEL)aSelector target:(id)target argument:(id)arg order:(NSUInteger)order modes:(NSArray *)modes |
To | - (void)performSelector:(SEL _Nonnull)aSelector target:(id _Nonnull)target argument:(id _Nullable)arg order:(NSUInteger)order modes:(NSArray<NSString *> * _Nonnull)modes |
NSSet.h
Modified -[NSCountedSet addObject:]
Declaration | |
---|---|
From | - (void)addObject:(id)object |
To | - (void)addObject:(ObjectType _Nonnull)object |
Modified -[NSCountedSet countForObject:]
Declaration | |
---|---|
From | - (NSUInteger)countForObject:(id)object |
To | - (NSUInteger)countForObject:(ObjectType _Nonnull)object |
Modified -[NSCountedSet initWithArray:]
Declaration | |
---|---|
From | - (instancetype)initWithArray:(NSArray *)array |
To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)array |
Modified -[NSCountedSet initWithCapacity:]
Designated Initializer | |
---|---|
From | -- |
To | yes |
Modified -[NSCountedSet initWithSet:]
Declaration | |
---|---|
From | - (instancetype)initWithSet:(NSSet *)set |
To | - (instancetype _Nonnull)initWithSet:(NSSet<ObjectType> * _Nonnull)set |
Modified -[NSCountedSet objectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)objectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)objectEnumerator |
Modified -[NSCountedSet removeObject:]
Declaration | |
---|---|
From | - (void)removeObject:(id)object |
To | - (void)removeObject:(ObjectType _Nonnull)object |
Modified -[NSMutableSet addObject:]
Declaration | |
---|---|
From | - (void)addObject:(id)object |
To | - (void)addObject:(ObjectType _Nonnull)object |
Modified -[NSMutableSet addObjectsFromArray:]
Declaration | |
---|---|
From | - (void)addObjectsFromArray:(NSArray *)array |
To | - (void)addObjectsFromArray:(NSArray<ObjectType> * _Nonnull)array |
Modified -[NSMutableSet intersectSet:]
Declaration | |
---|---|
From | - (void)intersectSet:(NSSet *)otherSet |
To | - (void)intersectSet:(NSSet<ObjectType> * _Nonnull)otherSet |
Modified -[NSMutableSet minusSet:]
Declaration | |
---|---|
From | - (void)minusSet:(NSSet *)otherSet |
To | - (void)minusSet:(NSSet<ObjectType> * _Nonnull)otherSet |
Modified -[NSMutableSet removeObject:]
Declaration | |
---|---|
From | - (void)removeObject:(id)object |
To | - (void)removeObject:(ObjectType _Nonnull)object |
Modified -[NSMutableSet setSet:]
Declaration | |
---|---|
From | - (void)setSet:(NSSet *)otherSet |
To | - (void)setSet:(NSSet<ObjectType> * _Nonnull)otherSet |
Modified -[NSMutableSet unionSet:]
Declaration | |
---|---|
From | - (void)unionSet:(NSSet *)otherSet |
To | - (void)unionSet:(NSSet<ObjectType> * _Nonnull)otherSet |
Modified NSSet.allObjects
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *allObjects |
To | @property(readonly, copy, nonnull) NSArray<ObjectType> *allObjects |
Modified -[NSSet anyObject]
Declaration | |
---|---|
From | - (id)anyObject |
To | - (ObjectType _Nullable)anyObject |
Modified -[NSSet containsObject:]
Declaration | |
---|---|
From | - (BOOL)containsObject:(id)anObject |
To | - (BOOL)containsObject:(ObjectType _Nonnull)anObject |
Modified -[NSSet enumerateObjectsUsingBlock:]
Declaration | |
---|---|
From | - (void)enumerateObjectsUsingBlock:(void (^)(id obj, BOOL *stop))block |
To | - (void)enumerateObjectsUsingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, BOOL * _Nonnull stop))block |
Declaration | |
---|---|
From | - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id obj, BOOL *stop))block |
To | - (void)enumerateObjectsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(ObjectType _Nonnull obj, BOOL * _Nonnull stop))block |
Modified -[NSSet initWithArray:]
Declaration | |
---|---|
From | - (instancetype)initWithArray:(NSArray *)array |
To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)array |
Modified -[NSSet initWithObjects:]
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(id)firstObj, ... |
To | - (instancetype _Nonnull)initWithObjects:(ObjectType _Nonnull)firstObj, ... |
Modified -[NSSet initWithObjects:count:]
Declaration | |
---|---|
From | - (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt |
To | - (instancetype _Nonnull)initWithObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)cnt |
Modified -[NSSet initWithSet:]
Declaration | |
---|---|
From | - (instancetype)initWithSet:(NSSet *)set |
To | - (instancetype _Nonnull)initWithSet:(NSSet<ObjectType> * _Nonnull)set |
Modified -[NSSet initWithSet:copyItems:]
Declaration | |
---|---|
From | - (instancetype)initWithSet:(NSSet *)set copyItems:(BOOL)flag |
To | - (instancetype _Nonnull)initWithSet:(NSSet<ObjectType> * _Nonnull)set copyItems:(BOOL)flag |
Modified -[NSSet intersectsSet:]
Declaration | |
---|---|
From | - (BOOL)intersectsSet:(NSSet *)otherSet |
To | - (BOOL)intersectsSet:(NSSet<ObjectType> * _Nonnull)otherSet |
Modified -[NSSet isEqualToSet:]
Declaration | |
---|---|
From | - (BOOL)isEqualToSet:(NSSet *)otherSet |
To | - (BOOL)isEqualToSet:(NSSet<ObjectType> * _Nonnull)otherSet |
Modified -[NSSet isSubsetOfSet:]
Declaration | |
---|---|
From | - (BOOL)isSubsetOfSet:(NSSet *)otherSet |
To | - (BOOL)isSubsetOfSet:(NSSet<ObjectType> * _Nonnull)otherSet |
Modified -[NSSet member:]
Declaration | |
---|---|
From | - (id)member:(id)object |
To | - (ObjectType _Nullable)member:(ObjectType _Nonnull)object |
Modified -[NSSet objectEnumerator]
Declaration | |
---|---|
From | - (NSEnumerator *)objectEnumerator |
To | - (NSEnumerator<ObjectType> * _Nonnull)objectEnumerator |
Modified -[NSSet objectsPassingTest:]
Declaration | |
---|---|
From | - (NSSet *)objectsPassingTest:(BOOL (^)(id obj, BOOL *stop))predicate |
To | - (NSSet<ObjectType> * _Nonnull)objectsPassingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, BOOL * _Nonnull stop))predicate |
Declaration | |
---|---|
From | - (NSSet *)objectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(id obj, BOOL *stop))predicate |
To | - (NSSet<ObjectType> * _Nonnull)objectsWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(ObjectType _Nonnull obj, BOOL * _Nonnull stop))predicate |
Modified -[NSSet setByAddingObject:]
Declaration | |
---|---|
From | - (NSSet *)setByAddingObject:(id)anObject |
To | - (NSSet<ObjectType> * _Nonnull)setByAddingObject:(ObjectType _Nonnull)anObject |
Declaration | |
---|---|
From | - (NSSet *)setByAddingObjectsFromArray:(NSArray *)other |
To | - (NSSet<ObjectType> * _Nonnull)setByAddingObjectsFromArray:(NSArray<ObjectType> * _Nonnull)other |
Modified -[NSSet setByAddingObjectsFromSet:]
Declaration | |
---|---|
From | - (NSSet *)setByAddingObjectsFromSet:(NSSet *)other |
To | - (NSSet<ObjectType> * _Nonnull)setByAddingObjectsFromSet:(NSSet<ObjectType> * _Nonnull)other |
Modified +[NSSet setWithArray:]
Declaration | |
---|---|
From | + (instancetype)setWithArray:(NSArray *)array |
To | + (instancetype _Nonnull)setWithArray:(NSArray<ObjectType> * _Nonnull)array |
Modified +[NSSet setWithObject:]
Declaration | |
---|---|
From | + (instancetype)setWithObject:(id)object |
To | + (instancetype _Nonnull)setWithObject:(ObjectType _Nonnull)object |
Modified +[NSSet setWithObjects:]
Declaration | |
---|---|
From | + (instancetype)setWithObjects:(id)firstObj, ... |
To | + (instancetype _Nonnull)setWithObjects:(ObjectType _Nonnull)firstObj, ... |
Modified +[NSSet setWithObjects:count:]
Declaration | |
---|---|
From | + (instancetype)setWithObjects:(const id [])objects count:(NSUInteger)cnt |
To | + (instancetype _Nonnull)setWithObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)cnt |
Modified +[NSSet setWithSet:]
Declaration | |
---|---|
From | + (instancetype)setWithSet:(NSSet *)set |
To | + (instancetype _Nonnull)setWithSet:(NSSet<ObjectType> * _Nonnull)set |
NSSortDescriptor.h
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingDescriptors:(NSArray *)sortDescriptors |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingDescriptors:(NSArray<NSSortDescriptor *> * _Nonnull)sortDescriptors |
Declaration | |
---|---|
From | - (void)sortUsingDescriptors:(NSArray *)sortDescriptors |
To | - (void)sortUsingDescriptors:(NSArray<NSSortDescriptor *> * _Nonnull)sortDescriptors |
Declaration | |
---|---|
From | - (void)sortUsingDescriptors:(NSArray *)sortDescriptors |
To | - (void)sortUsingDescriptors:(NSArray<NSSortDescriptor *> * _Nonnull)sortDescriptors |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingDescriptors:(NSArray *)sortDescriptors |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingDescriptors:(NSArray<NSSortDescriptor *> * _Nonnull)sortDescriptors |
Declaration | |
---|---|
From | - (NSArray *)sortedArrayUsingDescriptors:(NSArray *)sortDescriptors |
To | - (NSArray<ObjectType> * _Nonnull)sortedArrayUsingDescriptors:(NSArray<NSSortDescriptor *> * _Nonnull)sortDescriptors |
NSString.h
Added NSStringTransformToLatin
Declaration | |
---|---|
From | - (NSString *)commonPrefixWithString:(NSString *)aString options:(NSStringCompareOptions)mask |
To | - (NSString * _Nonnull)commonPrefixWithString:(NSString * _Nonnull)str options:(NSStringCompareOptions)mask |
Declaration | |
---|---|
From | - (NSArray *)componentsSeparatedByCharactersInSet:(NSCharacterSet *)separator |
To | - (NSArray<NSString *> * _Nonnull)componentsSeparatedByCharactersInSet:(NSCharacterSet * _Nonnull)separator |
Declaration | |
---|---|
From | - (NSArray *)componentsSeparatedByString:(NSString *)separator |
To | - (NSArray<NSString *> * _Nonnull)componentsSeparatedByString:(NSString * _Nonnull)separator |
Modified -[NSString containsString:]
Declaration | |
---|---|
From | - (BOOL)containsString:(NSString *)aString |
To | - (BOOL)containsString:(NSString * _Nonnull)str |
Modified -[NSString getCharacters:range:]
Declaration | |
---|---|
From | - (void)getCharacters:(unichar *)buffer range:(NSRange)aRange |
To | - (void)getCharacters:(unichar * _Nonnull)buffer range:(NSRange)range |
Modified -[NSString hasPrefix:]
Declaration | |
---|---|
From | - (BOOL)hasPrefix:(NSString *)aString |
To | - (BOOL)hasPrefix:(NSString * _Nonnull)str |
Modified -[NSString hasSuffix:]
Declaration | |
---|---|
From | - (BOOL)hasSuffix:(NSString *)aString |
To | - (BOOL)hasSuffix:(NSString * _Nonnull)str |
Declaration | |
---|---|
From | - (BOOL)localizedCaseInsensitiveContainsString:(NSString *)aString |
To | - (BOOL)localizedCaseInsensitiveContainsString:(NSString * _Nonnull)str |
Modified -[NSString rangeOfCharacterFromSet:]
Declaration | |
---|---|
From | - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)aSet |
To | - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet * _Nonnull)searchSet |
Declaration | |
---|---|
From | - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)aSet options:(NSStringCompareOptions)mask |
To | - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet * _Nonnull)searchSet options:(NSStringCompareOptions)mask |
Declaration | |
---|---|
From | - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet *)aSet options:(NSStringCompareOptions)mask range:(NSRange)searchRange |
To | - (NSRange)rangeOfCharacterFromSet:(NSCharacterSet * _Nonnull)searchSet options:(NSStringCompareOptions)mask range:(NSRange)searchRange |
Modified -[NSString rangeOfString:]
Declaration | |
---|---|
From | - (NSRange)rangeOfString:(NSString *)aString |
To | - (NSRange)rangeOfString:(NSString * _Nonnull)searchString |
Modified -[NSString rangeOfString:options:]
Declaration | |
---|---|
From | - (NSRange)rangeOfString:(NSString *)aString options:(NSStringCompareOptions)mask |
To | - (NSRange)rangeOfString:(NSString * _Nonnull)searchString options:(NSStringCompareOptions)mask |
Declaration | |
---|---|
From | - (NSRange)rangeOfString:(NSString *)aString options:(NSStringCompareOptions)mask range:(NSRange)searchRange |
To | - (NSRange)rangeOfString:(NSString * _Nonnull)searchString options:(NSStringCompareOptions)mask range:(NSRange)searchRange |
Declaration | |
---|---|
From | - (NSRange)rangeOfString:(NSString *)aString options:(NSStringCompareOptions)mask range:(NSRange)searchRange locale:(NSLocale *)locale |
To | - (NSRange)rangeOfString:(NSString * _Nonnull)searchString options:(NSStringCompareOptions)mask range:(NSRange)searchRange locale:(NSLocale * _Nullable)locale |
Declaration | |
---|---|
From | + (NSStringEncoding)stringEncodingForData:(NSData *)data encodingOptions:(NSDictionary *)opts convertedString:(NSString **)string usedLossyConversion:(BOOL *)usedLossyConversion |
To | + (NSStringEncoding)stringEncodingForData:(NSData * _Nonnull)data encodingOptions:(NSDictionary<NSString *,id> * _Nullable)opts convertedString:(NSString * _Nullable * _Nullable)string usedLossyConversion:(BOOL * _Nullable)usedLossyConversion |
NSTextCheckingResult.h
Declaration | |
---|---|
From | + (NSTextCheckingResult *)addressCheckingResultWithRange:(NSRange)range components:(NSDictionary *)components |
To | + (NSTextCheckingResult * _Nonnull)addressCheckingResultWithRange:(NSRange)range components:(NSDictionary<NSString *,NSString *> * _Nonnull)components |
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *addressComponents |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,NSString *> *addressComponents |
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *alternativeStrings |
To | @property(readonly, copy, nullable) NSArray<NSString *> *alternativeStrings |
Modified NSTextCheckingResult.components
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *components |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,NSString *> *components |
Modified +[NSTextCheckingResult correctionCheckingResultWithRange:replacementString:alternativeStrings:]
Declaration | |
---|---|
From | + (NSTextCheckingResult *)correctionCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacementString alternativeStrings:(NSArray *)alternativeStrings |
To | + (NSTextCheckingResult * _Nonnull)correctionCheckingResultWithRange:(NSRange)range replacementString:(NSString * _Nonnull)replacementString alternativeStrings:(NSArray<NSString *> * _Nonnull)alternativeStrings |
Declaration | |
---|---|
From | + (NSTextCheckingResult *)grammarCheckingResultWithRange:(NSRange)range details:(NSArray *)details |
To | + (NSTextCheckingResult * _Nonnull)grammarCheckingResultWithRange:(NSRange)range details:(NSArray<NSString *> * _Nonnull)details |
Modified NSTextCheckingResult.grammarDetails
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *grammarDetails |
To | @property(readonly, copy, nullable) NSArray<NSString *> *grammarDetails |
Declaration | |
---|---|
From | + (NSTextCheckingResult *)transitInformationCheckingResultWithRange:(NSRange)range components:(NSDictionary *)components |
To | + (NSTextCheckingResult * _Nonnull)transitInformationCheckingResultWithRange:(NSRange)range components:(NSDictionary<NSString *,NSString *> * _Nonnull)components |
NSThread.h
Declaration | |
---|---|
From | - (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array |
To | - (void)performSelector:(SEL _Nonnull)aSelector onThread:(NSThread * _Nonnull)thr withObject:(id _Nullable)arg waitUntilDone:(BOOL)wait modes:(NSArray<NSString *> * _Nullable)array |
Declaration | |
---|---|
From | - (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait modes:(NSArray *)array |
To | - (void)performSelectorOnMainThread:(SEL _Nonnull)aSelector withObject:(id _Nullable)arg waitUntilDone:(BOOL)wait modes:(NSArray<NSString *> * _Nullable)array |
Modified +[NSThread callStackReturnAddresses]
Declaration | |
---|---|
From | + (NSArray *)callStackReturnAddresses |
To | + (NSArray<NSNumber *> * _Nonnull)callStackReturnAddresses |
Modified +[NSThread callStackSymbols]
Declaration | |
---|---|
From | + (NSArray *)callStackSymbols |
To | + (NSArray<NSString *> * _Nonnull)callStackSymbols |
NSTimeZone.h
Modified +[NSTimeZone abbreviationDictionary]
Declaration | |
---|---|
From | + (NSDictionary *)abbreviationDictionary |
To | + (NSDictionary<NSString *,NSString *> * _Nonnull)abbreviationDictionary |
Modified +[NSTimeZone knownTimeZoneNames]
Declaration | |
---|---|
From | + (NSArray *)knownTimeZoneNames |
To | + (NSArray<NSString *> * _Nonnull)knownTimeZoneNames |
Modified +[NSTimeZone setAbbreviationDictionary:]
Declaration | |
---|---|
From | + (void)setAbbreviationDictionary:(NSDictionary *)dict |
To | + (void)setAbbreviationDictionary:(NSDictionary<NSString *,NSString *> * _Nonnull)dict |
NSUbiquitousKeyValueStore.h
Declaration | |
---|---|
From | - (NSDictionary *)dictionaryForKey:(NSString *)aKey |
To | - (NSDictionary<NSString *,id> * _Nullable)dictionaryForKey:(NSString * _Nonnull)aKey |
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *dictionaryRepresentation |
To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *dictionaryRepresentation |
Declaration | |
---|---|
From | - (void)setDictionary:(NSDictionary *)aDictionary forKey:(NSString *)aKey |
To | - (void)setDictionary:(NSDictionary<NSString *,id> * _Nullable)aDictionary forKey:(NSString * _Nonnull)aKey |
NSUndoManager.h
Removed NSUndoCloseGroupingRunLoopOrdering
Modified NSUndoManager.runLoopModes
Declaration | |
---|---|
From | @property(copy) NSArray *runLoopModes |
To | @property(copy, nonnull) NSArray<NSString *> *runLoopModes |
NSURL.h
Added NSURL.dataRepresentation
Added NSURL.hasDirectoryPath
Added NSURLFileProtectionKey
Added NSURLFileProtectionNone
Added NSURLIsApplicationKey
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Declaration | |
---|---|
From | - (NSData *)bookmarkDataWithOptions:(NSURLBookmarkCreationOptions)options includingResourceValuesForKeys:(NSArray *)keys relativeToURL:(NSURL *)relativeURL error:(NSError **)error |
To | - (NSData * _Nullable)bookmarkDataWithOptions:(NSURLBookmarkCreationOptions)options includingResourceValuesForKeys:(NSArray<NSString *> * _Nullable)keys relativeToURL:(NSURL * _Nullable)relativeURL error:(NSError * _Nullable * _Nullable)error |
Modified +[NSURL fileURLWithPathComponents:]
Declaration | |
---|---|
From | + (NSURL *)fileURLWithPathComponents:(NSArray *)components |
To | + (NSURL * _Nullable)fileURLWithPathComponents:(NSArray<NSString *> * _Nonnull)components |
Modified -[NSURL initWithScheme:host:path:]
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Modified NSURL.pathComponents
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *pathComponents |
To | @property(readonly, copy, nullable) NSArray<NSString *> *pathComponents |
Declaration | |
---|---|
From | - (NSDictionary *)promisedItemResourceValuesForKeys:(NSArray *)keys error:(NSError **)error |
To | - (NSDictionary<NSString *,id> * _Nullable)promisedItemResourceValuesForKeys:(NSArray<NSString *> * _Nonnull)keys error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | - (NSDictionary *)resourceValuesForKeys:(NSArray *)keys error:(NSError **)error |
To | - (NSDictionary<NSString *,id> * _Nullable)resourceValuesForKeys:(NSArray<NSString *> * _Nonnull)keys error:(NSError * _Nullable * _Nullable)error |
Declaration | |
---|---|
From | + (NSDictionary *)resourceValuesForKeys:(NSArray *)keys fromBookmarkData:(NSData *)bookmarkData |
To | + (NSDictionary<NSString *,id> * _Nullable)resourceValuesForKeys:(NSArray<NSString *> * _Nonnull)keys fromBookmarkData:(NSData * _Nonnull)bookmarkData |
Modified -[NSURL setResourceValues:error:]
Declaration | |
---|---|
From | - (BOOL)setResourceValues:(NSDictionary *)keyedValues error:(NSError **)error |
To | - (BOOL)setResourceValues:(NSDictionary<NSString *,id> * _Nonnull)keyedValues error:(NSError * _Nullable * _Nullable)error |
Modified NSURLComponents.queryItems
Declaration | |
---|---|
From | @property(copy) NSArray *queryItems |
To | @property(copy, nullable) NSArray<NSURLQueryItem *> *queryItems |
NSURLConnection.h
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
Deprecation | |
---|---|
From | -- |
To | iOS 9.0 |
NSURLCredentialStorage.h
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *allCredentials |
To | @property(readonly, copy, nonnull) NSDictionary<NSURLProtectionSpace *,NSDictionary<NSString *,NSURLCredential *> *> *allCredentials |
Declaration | |
---|---|
From | - (NSDictionary *)credentialsForProtectionSpace:(NSURLProtectionSpace *)space |
To | - (NSDictionary<NSString *,NSURLCredential *> * _Nullable)credentialsForProtectionSpace:(NSURLProtectionSpace * _Nonnull)space |
Declaration | |
---|---|
From | - (void)getCredentialsForProtectionSpace:(NSURLProtectionSpace *)protectionSpace task:(NSURLSessionTask *)task completionHandler:(void (^)(NSDictionary *credentials))completionHandler |
To | - (void)getCredentialsForProtectionSpace:(NSURLProtectionSpace * _Nonnull)protectionSpace task:(NSURLSessionTask * _Nonnull)task completionHandler:(void (^ _Nonnull)(NSDictionary<NSString *,NSURLCredential *> * _Nullable credentials))completionHandler |
Declaration | |
---|---|
From | - (void)removeCredential:(NSURLCredential *)credential forProtectionSpace:(NSURLProtectionSpace *)space options:(NSDictionary *)options |
To | - (void)removeCredential:(NSURLCredential * _Nonnull)credential forProtectionSpace:(NSURLProtectionSpace * _Nonnull)space options:(NSDictionary<NSString *,id> * _Nullable)options |
Declaration | |
---|---|
From | - (void)removeCredential:(NSURLCredential *)credential forProtectionSpace:(NSURLProtectionSpace *)protectionSpace options:(NSDictionary *)options task:(NSURLSessionTask *)task |
To | - (void)removeCredential:(NSURLCredential * _Nonnull)credential forProtectionSpace:(NSURLProtectionSpace * _Nonnull)protectionSpace options:(NSDictionary<NSString *,id> * _Nullable)options task:(NSURLSessionTask * _Nonnull)task |
NSURLError.h
NSURLProtectionSpace.h
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *distinguishedNames |
To | @property(readonly, copy, nullable) NSArray<NSData *> *distinguishedNames |
NSURLProtocol.h
Designated Initializer | |
---|---|
From | -- |
To | yes |
NSURLRequest.h
Declaration | |
---|---|
From | @property(copy) NSDictionary *allHTTPHeaderFields |
To | @property(copy, nullable) NSDictionary<NSString *,NSString *> *allHTTPHeaderFields |
Modified NSURLRequest.allHTTPHeaderFields
Declaration | |
---|---|
From | @property(readonly, copy) NSDictionary *allHTTPHeaderFields |
To | @property(readonly, copy, nullable) NSDictionary<NSString *,NSString *> *allHTTPHeaderFields |
Designated Initializer | |
---|---|
From | -- |
To | yes |
NSURLResponse.h
Declaration | |
---|---|
From | - (instancetype)initWithURL:(NSURL *)url statusCode:(NSInteger)statusCode HTTPVersion:(NSString *)HTTPVersion headerFields:(NSDictionary *)headerFields |
To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url statusCode:(NSInteger)statusCode HTTPVersion:(NSString * _Nullable)HTTPVersion headerFields:(NSDictionary<NSString *,NSString *> * _Nullable)headerFields |
Designated Initializer | |
---|---|
From | -- |
To | yes |
NSURLSession.h
Removed -[NSURLSession dataTaskWithHTTPGetRequest:]
Removed -[NSURLSession dataTaskWithHTTPGetRequest:completionHandler:]
Removed NSURLSession(NSURLSessionDeprecated)
Added NSURLSessionStreamTask
Declaration | |
---|---|
From | - (void)getTasksWithCompletionHandler:(void (^)(NSArray *dataTasks, NSArray *uploadTasks, NSArray *downloadTasks))completionHandler |
To | - (void)getTasksWithCompletionHandler:(void (^ _Nonnull)(NSArray<NSURLSessionDataTask *> * _Nonnull dataTasks, NSArray<NSURLSessionUploadTask *> * _Nonnull uploadTasks, NSArray<NSURLSessionDownloadTask *> * _Nonnull downloadTasks))completionHandler |
Declaration | |
---|---|
From | @property(copy) NSArray *protocolClasses |
To | @property(copy, nullable) NSArray<Class> *protocolClasses |
NSUserActivity.h
NSUserDefaults.h
Modified -[NSUserDefaults dictionaryForKey:]
Declaration | |
---|---|
From | - (NSDictionary *)dictionaryForKey:(NSString *)defaultName |
To | - (NSDictionary<NSString *,id> * _Nullable)dictionaryForKey:(NSString * _Nonnull)defaultName |
Declaration | |
---|---|
From | - (NSDictionary *)dictionaryRepresentation |
To | - (NSDictionary<NSString *,id> * _Nonnull)dictionaryRepresentation |
Declaration | |
---|---|
From | - (NSDictionary *)persistentDomainForName:(NSString *)domainName |
To | - (NSDictionary<NSString *,id> * _Nullable)persistentDomainForName:(NSString * _Nonnull)domainName |
Modified -[NSUserDefaults registerDefaults:]
Declaration | |
---|---|
From | - (void)registerDefaults:(NSDictionary *)registrationDictionary |
To | - (void)registerDefaults:(NSDictionary<NSString *,id> * _Nonnull)registrationDictionary |
Declaration | |
---|---|
From | - (void)setPersistentDomain:(NSDictionary *)domain forName:(NSString *)domainName |
To | - (void)setPersistentDomain:(NSDictionary<NSString *,id> * _Nonnull)domain forName:(NSString * _Nonnull)domainName |
Declaration | |
---|---|
From | - (void)setVolatileDomain:(NSDictionary *)domain forName:(NSString *)domainName |
To | - (void)setVolatileDomain:(NSDictionary<NSString *,id> * _Nonnull)domain forName:(NSString * _Nonnull)domainName |
Modified -[NSUserDefaults stringArrayForKey:]
Declaration | |
---|---|
From | - (NSArray *)stringArrayForKey:(NSString *)defaultName |
To | - (NSArray<NSString *> * _Nullable)stringArrayForKey:(NSString * _Nonnull)defaultName |
Declaration | |
---|---|
From | - (NSDictionary *)volatileDomainForName:(NSString *)domainName |
To | - (NSDictionary<NSString *,id> * _Nonnull)volatileDomainForName:(NSString * _Nonnull)domainName |
Modified NSUserDefaults.volatileDomainNames
Declaration | |
---|---|
From | @property(readonly, copy) NSArray *volatileDomainNames |
To | @property(readonly, copy, nonnull) NSArray<NSString *> *volatileDomainNames |
NSValue.h
Modified NSValue.nonretainedObjectValue
Declaration | |
---|---|
From | @property(nonatomic, readonly) id nonretainedObjectValue |
To | @property(readonly, nullable) id nonretainedObjectValue |
Modified NSValue.pointerValue
Declaration | |
---|---|
From | - (void *)pointerValue |
To | @property(readonly, nullable) void *pointerValue |
NSValueTransformer.h
Declaration | |
---|---|
From | + (NSArray *)valueTransformerNames |
To | + (NSArray<NSString *> * _Nonnull)valueTransformerNames |
NSXMLParser.h
Declaration | |
---|---|
From | @property(copy) NSSet *allowedExternalEntityURLs |
To | @property(copy, nullable) NSSet<NSURL *> *allowedExternalEntityURLs |
Modified -[NSXMLParser initWithData:]
Designated Initializer | |
---|---|
From | -- |
To | yes |
Declaration | |
---|---|
From | - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict |
To | - (void)parser:(NSXMLParser * _Nonnull)parser didStartElement:(NSString * _Nonnull)elementName namespaceURI:(NSString * _Nullable)namespaceURI qualifiedName:(NSString * _Nullable)qName attributes:(NSDictionary<NSString *,NSString *> * _Nonnull)attributeDict |