Foundation Changes for Objective-C
Foundation
FoundationErrors.h
Added NSBundleErrorMaximum
Added NSBundleErrorMinimum
Added NSCoderErrorMaximum
Added NSCoderErrorMinimum
Added NSCoderReadCorruptError
NSAffineTransform.h
Modified NSAffineTransform
| Protocols | |
|---|---|
| From | NSCoding, NSCopying |
| To | NSCopying, NSSecureCoding |
| Declaration | |
|---|---|
| From | - (void)appendTransform:(NSAffineTransform *)transform |
| To | - (void)appendTransform:(NSAffineTransform * _Nonnull)transform |
Modified -[NSAffineTransform init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTransform:(NSAffineTransform *)transform |
| To | - (instancetype _Nonnull)initWithTransform:(NSAffineTransform * _Nonnull)transform |
| Declaration | |
|---|---|
| From | - (void)prependTransform:(NSAffineTransform *)transform |
| To | - (void)prependTransform:(NSAffineTransform * _Nonnull)transform |
Modified +[NSAffineTransform transform]
| Declaration | |
|---|---|
| From | + (NSAffineTransform *)transform |
| To | + (NSAffineTransform * _Nonnull)transform |
NSAppleEventDescriptor.h
Added NSAppleEventSendNoReply
Added NSAppleEventSendOptions
Modified NSAppleEventDescriptor.aeDesc
| Declaration | |
|---|---|
| From | @property(readonly) const AEDesc *aeDesc |
| To | @property(readonly, nullable) const AEDesc *aeDesc |
Modified +[NSAppleEventDescriptor appleEventWithEventClass:eventID:targetDescriptor:returnID:transactionID:]
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)appleEventWithEventClass:(AEEventClass)eventClass eventID:(AEEventID)eventID targetDescriptor:(NSAppleEventDescriptor *)targetDescriptor returnID:(AEReturnID)returnID transactionID:(AETransactionID)transactionID |
| To | + (NSAppleEventDescriptor * _Nonnull)appleEventWithEventClass:(AEEventClass)eventClass eventID:(AEEventID)eventID targetDescriptor:(NSAppleEventDescriptor * _Nullable)targetDescriptor returnID:(AEReturnID)returnID transactionID:(AETransactionID)transactionID |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)attributeDescriptorForKeyword:(AEKeyword)keyword |
| To | - (NSAppleEventDescriptor * _Nullable)attributeDescriptorForKeyword:(AEKeyword)keyword |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)coerceToDescriptorType:(DescType)descriptorType |
| To | - (NSAppleEventDescriptor * _Nullable)coerceToDescriptorType:(DescType)descriptorType |
Modified NSAppleEventDescriptor.data
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *data |
| To | @property(readonly, copy, nonnull) NSData *data |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)descriptorAtIndex:(NSInteger)index |
| To | - (NSAppleEventDescriptor * _Nullable)descriptorAtIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)descriptorForKeyword:(AEKeyword)keyword |
| To | - (NSAppleEventDescriptor * _Nullable)descriptorForKeyword:(AEKeyword)keyword |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)descriptorWithBoolean:(Boolean)boolean |
| To | + (NSAppleEventDescriptor * _Nonnull)descriptorWithBoolean:(Boolean)boolean |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)descriptorWithDescriptorType:(DescType)descriptorType bytes:(const void *)bytes length:(NSUInteger)byteCount |
| To | + (NSAppleEventDescriptor * _Nullable)descriptorWithDescriptorType:(DescType)descriptorType bytes:(const void * _Nullable)bytes length:(NSUInteger)byteCount |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)descriptorWithDescriptorType:(DescType)descriptorType data:(NSData *)data |
| To | + (NSAppleEventDescriptor * _Nullable)descriptorWithDescriptorType:(DescType)descriptorType data:(NSData * _Nullable)data |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)descriptorWithEnumCode:(OSType)enumerator |
| To | + (NSAppleEventDescriptor * _Nonnull)descriptorWithEnumCode:(OSType)enumerator |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)descriptorWithInt32:(SInt32)signedInt |
| To | + (NSAppleEventDescriptor * _Nonnull)descriptorWithInt32:(SInt32)signedInt |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)descriptorWithString:(NSString *)string |
| To | + (NSAppleEventDescriptor * _Nonnull)descriptorWithString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)descriptorWithTypeCode:(OSType)typeCode |
| To | + (NSAppleEventDescriptor * _Nonnull)descriptorWithTypeCode:(OSType)typeCode |
| Declaration | |
|---|---|
| From | - (instancetype)initListDescriptor |
| To | - (instancetype _Nonnull)initListDescriptor |
| Declaration | |
|---|---|
| From | - (instancetype)initRecordDescriptor |
| To | - (instancetype _Nonnull)initRecordDescriptor |
| Declaration | |
|---|---|
| From | - (instancetype)initWithAEDescNoCopy:(const AEDesc *)aeDesc |
| To | - (instancetype _Nonnull)initWithAEDescNoCopy:(const AEDesc * _Nonnull)aeDesc |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDescriptorType:(DescType)descriptorType bytes:(const void *)bytes length:(NSUInteger)byteCount |
| To | - (instancetype _Nullable)initWithDescriptorType:(DescType)descriptorType bytes:(const void * _Nullable)bytes length:(NSUInteger)byteCount |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDescriptorType:(DescType)descriptorType data:(NSData *)data |
| To | - (instancetype _Nullable)initWithDescriptorType:(DescType)descriptorType data:(NSData * _Nullable)data |
Modified -[NSAppleEventDescriptor initWithEventClass:eventID:targetDescriptor:returnID:transactionID:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithEventClass:(AEEventClass)eventClass eventID:(AEEventID)eventID targetDescriptor:(NSAppleEventDescriptor *)targetDescriptor returnID:(AEReturnID)returnID transactionID:(AETransactionID)transactionID |
| To | - (instancetype _Nonnull)initWithEventClass:(AEEventClass)eventClass eventID:(AEEventID)eventID targetDescriptor:(NSAppleEventDescriptor * _Nullable)targetDescriptor returnID:(AEReturnID)returnID transactionID:(AETransactionID)transactionID |
| Declaration | |
|---|---|
| From | - (void)insertDescriptor:(NSAppleEventDescriptor *)descriptor atIndex:(NSInteger)index |
| To | - (void)insertDescriptor:(NSAppleEventDescriptor * _Nonnull)descriptor atIndex:(NSInteger)index |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)listDescriptor |
| To | + (NSAppleEventDescriptor * _Nonnull)listDescriptor |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)nullDescriptor |
| To | + (NSAppleEventDescriptor * _Nonnull)nullDescriptor |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)paramDescriptorForKeyword:(AEKeyword)keyword |
| To | - (NSAppleEventDescriptor * _Nullable)paramDescriptorForKeyword:(AEKeyword)keyword |
| Declaration | |
|---|---|
| From | + (NSAppleEventDescriptor *)recordDescriptor |
| To | + (NSAppleEventDescriptor * _Nonnull)recordDescriptor |
| Declaration | |
|---|---|
| From | - (void)setAttributeDescriptor:(NSAppleEventDescriptor *)descriptor forKeyword:(AEKeyword)keyword |
| To | - (void)setAttributeDescriptor:(NSAppleEventDescriptor * _Nonnull)descriptor forKeyword:(AEKeyword)keyword |
| Declaration | |
|---|---|
| From | - (void)setDescriptor:(NSAppleEventDescriptor *)descriptor forKeyword:(AEKeyword)keyword |
| To | - (void)setDescriptor:(NSAppleEventDescriptor * _Nonnull)descriptor forKeyword:(AEKeyword)keyword |
| Declaration | |
|---|---|
| From | - (void)setParamDescriptor:(NSAppleEventDescriptor *)descriptor forKeyword:(AEKeyword)keyword |
| To | - (void)setParamDescriptor:(NSAppleEventDescriptor * _Nonnull)descriptor forKeyword:(AEKeyword)keyword |
Modified NSAppleEventDescriptor.stringValue
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringValue |
| To | @property(readonly, copy, nullable) NSString *stringValue |
NSAppleEventManager.h
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)appleEventForSuspensionID:(NSAppleEventManagerSuspensionID)suspensionID |
| To | - (NSAppleEventDescriptor * _Nonnull)appleEventForSuspensionID:(NSAppleEventManagerSuspensionID _Nonnull)suspensionID |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSAppleEventDescriptor *currentAppleEvent |
| To | @property(readonly, retain, nullable) NSAppleEventDescriptor *currentAppleEvent |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSAppleEventDescriptor *currentReplyAppleEvent |
| To | @property(readonly, retain, nullable) NSAppleEventDescriptor *currentReplyAppleEvent |
| Declaration | |
|---|---|
| From | - (OSErr)dispatchRawAppleEvent:(const AppleEvent *)theAppleEvent withRawReply:(AppleEvent *)theReply handlerRefCon:(SRefCon)handlerRefCon |
| To | - (OSErr)dispatchRawAppleEvent:(const AppleEvent * _Nonnull)theAppleEvent withRawReply:(AppleEvent * _Nonnull)theReply handlerRefCon:(SRefCon)handlerRefCon |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)replyAppleEventForSuspensionID:(NSAppleEventManagerSuspensionID)suspensionID |
| To | - (NSAppleEventDescriptor * _Nonnull)replyAppleEventForSuspensionID:(NSAppleEventManagerSuspensionID _Nonnull)suspensionID |
| Declaration | |
|---|---|
| From | - (void)resumeWithSuspensionID:(NSAppleEventManagerSuspensionID)suspensionID |
| To | - (void)resumeWithSuspensionID:(NSAppleEventManagerSuspensionID _Nonnull)suspensionID |
| Declaration | |
|---|---|
| From | - (void)setCurrentAppleEventAndReplyEventWithSuspensionID:(NSAppleEventManagerSuspensionID)suspensionID |
| To | - (void)setCurrentAppleEventAndReplyEventWithSuspensionID:(NSAppleEventManagerSuspensionID _Nonnull)suspensionID |
| Declaration | |
|---|---|
| From | - (void)setEventHandler:(id)handler andSelector:(SEL)handleEventSelector forEventClass:(AEEventClass)eventClass andEventID:(AEEventID)eventID |
| To | - (void)setEventHandler:(id _Nonnull)handler andSelector:(SEL _Nonnull)handleEventSelector forEventClass:(AEEventClass)eventClass andEventID:(AEEventID)eventID |
| Declaration | |
|---|---|
| From | + (NSAppleEventManager *)sharedAppleEventManager |
| To | + (NSAppleEventManager * _Nonnull)sharedAppleEventManager |
| Declaration | |
|---|---|
| From | - (NSAppleEventManagerSuspensionID)suspendCurrentAppleEvent |
| To | - (NSAppleEventManagerSuspensionID _Nullable)suspendCurrentAppleEvent |
NSAppleScript.h
| Declaration | |
|---|---|
| From | - (BOOL)compileAndReturnError:(NSDictionary **)errorInfo |
| To | - (BOOL)compileAndReturnError:(NSDictionary<NSString *,id> * _Nullable * _Nullable)errorInfo |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)executeAndReturnError:(NSDictionary **)errorInfo |
| To | - (NSAppleEventDescriptor * _Nonnull)executeAndReturnError:(NSDictionary<NSString *,id> * _Nullable * _Nullable)errorInfo |
| Declaration | |
|---|---|
| From | - (NSAppleEventDescriptor *)executeAppleEvent:(NSAppleEventDescriptor *)event error:(NSDictionary **)errorInfo |
| To | - (NSAppleEventDescriptor * _Nonnull)executeAppleEvent:(NSAppleEventDescriptor * _Nonnull)event error:(NSDictionary<NSString *,id> * _Nullable * _Nullable)errorInfo |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url error:(NSDictionary **)errorInfo |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url error:(NSDictionary<NSString *,id> * _Nullable * _Nullable)errorInfo |
Modified -[NSAppleScript initWithSource:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithSource:(NSString *)source |
| To | - (instancetype _Nullable)initWithSource:(NSString * _Nonnull)source |
Modified NSAppleScript.source
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *source |
| To | @property(readonly, copy, nullable) NSString *source |
NSArchiver.h
| Declaration | |
|---|---|
| From | + (NSData *)archivedDataWithRootObject:(id)rootObject |
| To | + (NSData * _Nonnull)archivedDataWithRootObject:(id _Nonnull)rootObject |
Modified NSArchiver.archiverData
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSMutableData *archiverData |
| To | @property(readonly, retain, nonnull) NSMutableData *archiverData |
| Declaration | |
|---|---|
| From | + (BOOL)archiveRootObject:(id)rootObject toFile:(NSString *)path |
| To | + (BOOL)archiveRootObject:(id _Nonnull)rootObject toFile:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (NSString *)classNameEncodedForTrueClassName:(NSString *)trueName |
| To | - (NSString * _Nullable)classNameEncodedForTrueClassName:(NSString * _Nonnull)trueName |
| Declaration | |
|---|---|
| From | - (void)encodeClassName:(NSString *)trueName intoClassName:(NSString *)inArchiveName |
| To | - (void)encodeClassName:(NSString * _Nonnull)trueName intoClassName:(NSString * _Nonnull)inArchiveName |
| Declaration | |
|---|---|
| From | - (void)encodeConditionalObject:(id)object |
| To | - (void)encodeConditionalObject:(id _Nullable)object |
Modified -[NSArchiver encodeRootObject:]
| Declaration | |
|---|---|
| From | - (void)encodeRootObject:(id)rootObject |
| To | - (void)encodeRootObject:(id _Nonnull)rootObject |
| Declaration | |
|---|---|
| From | - (instancetype)initForWritingWithMutableData:(NSMutableData *)mdata |
| To | - (instancetype _Nonnull)initForWritingWithMutableData:(NSMutableData * _Nonnull)mdata |
| Declaration | |
|---|---|
| From | - (void)replaceObject:(id)object withObject:(id)newObject |
| To | - (void)replaceObject:(id _Nonnull)object withObject:(id _Nonnull)newObject |
Modified NSObject.classForArchiver
| Declaration | |
|---|---|
| From | @property(readonly) Class classForArchiver |
| To | @property(readonly, nullable) Class classForArchiver |
| Declaration | |
|---|---|
| From | - (id)replacementObjectForArchiver:(NSArchiver *)archiver |
| To | - (id _Nullable)replacementObjectForArchiver:(NSArchiver * _Nonnull)archiver |
| Declaration | |
|---|---|
| From | + (NSString *)classNameDecodedForArchiveClassName:(NSString *)inArchiveName |
| To | + (NSString * _Nonnull)classNameDecodedForArchiveClassName:(NSString * _Nonnull)inArchiveName |
| Declaration | |
|---|---|
| From | - (NSString *)classNameDecodedForArchiveClassName:(NSString *)inArchiveName |
| To | - (NSString * _Nonnull)classNameDecodedForArchiveClassName:(NSString * _Nonnull)inArchiveName |
| Declaration | |
|---|---|
| From | + (void)decodeClassName:(NSString *)inArchiveName asClassName:(NSString *)trueName |
| To | + (void)decodeClassName:(NSString * _Nonnull)inArchiveName asClassName:(NSString * _Nonnull)trueName |
| Declaration | |
|---|---|
| From | - (void)decodeClassName:(NSString *)inArchiveName asClassName:(NSString *)trueName |
| To | - (void)decodeClassName:(NSString * _Nonnull)inArchiveName asClassName:(NSString * _Nonnull)trueName |
| Declaration | |
|---|---|
| From | - (instancetype)initForReadingWithData:(NSData *)data |
| To | - (instancetype _Nullable)initForReadingWithData:(NSData * _Nonnull)data |
Modified -[NSUnarchiver objectZone]
| Declaration | |
|---|---|
| From | - (NSZone *)objectZone |
| To | - (NSZone * _Nullable)objectZone |
| Declaration | |
|---|---|
| From | - (void)replaceObject:(id)object withObject:(id)newObject |
| To | - (void)replaceObject:(id _Nonnull)object withObject:(id _Nonnull)newObject |
Modified -[NSUnarchiver setObjectZone:]
| Declaration | |
|---|---|
| From | - (void)setObjectZone:(NSZone *)zone |
| To | - (void)setObjectZone:(NSZone * _Nullable)zone |
| Declaration | |
|---|---|
| From | + (id)unarchiveObjectWithData:(NSData *)data |
| To | + (id _Nullable)unarchiveObjectWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (id)unarchiveObjectWithFile:(NSString *)path |
| To | + (id _Nullable)unarchiveObjectWithFile:(NSString * _Nonnull)path |
NSArray.h
Modified +[NSArray array]
| Declaration | |
|---|---|
| From | + (instancetype)array |
| To | + (instancetype _Nonnull)array |
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 componentsJoinedByString:]
| Declaration | |
|---|---|
| From | - (NSString *)componentsJoinedByString:(NSString *)separator |
| To | - (NSString * _Nonnull)componentsJoinedByString:(NSString * _Nonnull)separator |
Modified -[NSArray containsObject:]
| Declaration | |
|---|---|
| From | - (BOOL)containsObject:(id)anObject |
| To | - (BOOL)containsObject:(ObjectType _Nonnull)anObject |
Modified NSArray.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
Modified -[NSArray descriptionWithLocale:]
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale indent:(NSUInteger)level |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale indent:(NSUInteger)level |
| 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 init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
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 initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
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 |
| Declaration | |
|---|---|
| From | - (void)makeObjectsPerformSelector:(SEL)aSelector |
| To | - (void)makeObjectsPerformSelector:(SEL _Nonnull)aSelector |
| Declaration | |
|---|---|
| From | - (void)makeObjectsPerformSelector:(SEL)aSelector withObject:(id)argument |
| To | - (void)makeObjectsPerformSelector:(SEL _Nonnull)aSelector withObject:(id _Nullable)argument |
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 |
Modified NSArray.sortedArrayHint
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *sortedArrayHint |
| To | @property(readonly, copy, nonnull) NSData *sortedArrayHint |
| 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 -[NSArray writeToFile:atomically:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)path atomically:(BOOL)useAuxiliaryFile |
Modified -[NSArray writeToURL:atomically:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)atomically |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url atomically:(BOOL)atomically |
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 |
Modified +[NSMutableArray arrayWithCapacity:]
| Declaration | |
|---|---|
| From | + (instancetype)arrayWithCapacity:(NSUInteger)numItems |
| To | + (instancetype _Nonnull)arrayWithCapacity:(NSUInteger)numItems |
| 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 |
Modified -[NSMutableArray init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSMutableArray initWithCapacity:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCapacity:(NSUInteger)numItems |
| To | - (instancetype _Nonnull)initWithCapacity:(NSUInteger)numItems |
Modified -[NSMutableArray initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| 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)removeObjectsAtIndexes:(NSIndexSet *)indexes |
| To | - (void)removeObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes |
| Declaration | |
|---|---|
| From | - (void)removeObjectsFromIndices:(NSUInteger *)indices numIndices:(NSUInteger)cnt |
| To | - (void)removeObjectsFromIndices:(NSUInteger * _Nonnull)indices numIndices:(NSUInteger)cnt |
| 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)sortUsingComparator:(NSComparator)cmptr |
| To | - (void)sortUsingComparator:(NSComparator _Nonnull)cmptr |
| 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 |
Modified -[NSMutableArray sortUsingSelector:]
| Declaration | |
|---|---|
| From | - (void)sortUsingSelector:(SEL)comparator |
| To | - (void)sortUsingSelector:(SEL _Nonnull)comparator |
| Declaration | |
|---|---|
| From | - (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr |
| To | - (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator _Nonnull)cmptr |
NSAttributedString.h
| Declaration | |
|---|---|
| From | - (id)attribute:(NSString *)attrName atIndex:(NSUInteger)location effectiveRange:(NSRangePointer)range |
| To | - (id _Nullable)attribute:(NSString * _Nonnull)attrName atIndex:(NSUInteger)location effectiveRange:(NSRangePointer _Nullable)range |
| Declaration | |
|---|---|
| From | - (id)attribute:(NSString *)attrName atIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer)range inRange:(NSRange)rangeLimit |
| To | - (id _Nullable)attribute:(NSString * _Nonnull)attrName atIndex:(NSUInteger)location longestEffectiveRange:(NSRangePointer _Nullable)range inRange:(NSRange)rangeLimit |
| Declaration | |
|---|---|
| From | - (NSAttributedString *)attributedSubstringFromRange:(NSRange)range |
| To | - (NSAttributedString * _Nonnull)attributedSubstringFromRange:(NSRange)range |
| 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)enumerateAttribute:(NSString *)attrName inRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(void (^)(id value, NSRange range, BOOL *stop))block |
| To | - (void)enumerateAttribute:(NSString * _Nonnull)attrName inRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(id _Nullable value, NSRange range, BOOL * _Nonnull stop))block |
| 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)initWithAttributedString:(NSAttributedString *)attrStr |
| To | - (instancetype _Nonnull)initWithAttributedString:(NSAttributedString * _Nonnull)attrStr |
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)str |
| To | - (instancetype _Nonnull)initWithString:(NSString * _Nonnull)str |
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)str attributes:(NSDictionary *)attrs |
| To | - (instancetype _Nonnull)initWithString:(NSString * _Nonnull)str attributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToAttributedString:(NSAttributedString *)other |
| To | - (BOOL)isEqualToAttributedString:(NSAttributedString * _Nonnull)other |
Modified NSAttributedString.string
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *string |
| To | @property(readonly, copy, nonnull) NSString *string |
| Declaration | |
|---|---|
| From | - (void)addAttribute:(NSString *)name value:(id)value range:(NSRange)range |
| To | - (void)addAttribute:(NSString * _Nonnull)name value:(id _Nonnull)value range:(NSRange)range |
| Declaration | |
|---|---|
| From | - (void)addAttributes:(NSDictionary *)attrs range:(NSRange)range |
| To | - (void)addAttributes:(NSDictionary<NSString *,id> * _Nonnull)attrs range:(NSRange)range |
| Declaration | |
|---|---|
| From | - (void)appendAttributedString:(NSAttributedString *)attrString |
| To | - (void)appendAttributedString:(NSAttributedString * _Nonnull)attrString |
| Declaration | |
|---|---|
| From | - (void)insertAttributedString:(NSAttributedString *)attrString atIndex:(NSUInteger)loc |
| To | - (void)insertAttributedString:(NSAttributedString * _Nonnull)attrString atIndex:(NSUInteger)loc |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSMutableString *mutableString |
| To | @property(readonly, retain, nonnull) NSMutableString *mutableString |
| Declaration | |
|---|---|
| From | - (void)removeAttribute:(NSString *)name range:(NSRange)range |
| To | - (void)removeAttribute:(NSString * _Nonnull)name range:(NSRange)range |
| Declaration | |
|---|---|
| From | - (void)replaceCharactersInRange:(NSRange)range withAttributedString:(NSAttributedString *)attrString |
| To | - (void)replaceCharactersInRange:(NSRange)range withAttributedString:(NSAttributedString * _Nonnull)attrString |
| Declaration | |
|---|---|
| From | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)str |
| To | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString * _Nonnull)str |
| Declaration | |
|---|---|
| From | - (void)setAttributedString:(NSAttributedString *)attrString |
| To | - (void)setAttributedString:(NSAttributedString * _Nonnull)attrString |
| Declaration | |
|---|---|
| From | - (void)setAttributes:(NSDictionary *)attrs range:(NSRange)range |
| To | - (void)setAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs range:(NSRange)range |
NSAutoreleasePool.h
Modified +[NSAutoreleasePool addObject:]
| Declaration | |
|---|---|
| From | + (void)addObject:(id)anObject |
| To | + (void)addObject:(id _Nonnull)anObject |
Modified -[NSAutoreleasePool addObject:]
| Declaration | |
|---|---|
| From | - (void)addObject:(id)anObject |
| To | - (void)addObject:(id _Nonnull)anObject |
NSBackgroundActivityScheduler.h
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *identifier |
| To | @property(readonly, copy, nonnull) NSString *identifier |
| Declaration | |
|---|---|
| From | - (instancetype)initWithIdentifier:(NSString *)identifier |
| To | - (instancetype _Nonnull)initWithIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | - (void)scheduleWithBlock:(void (^)(NSBackgroundActivityCompletionHandler completionHandler))block |
| To | - (void)scheduleWithBlock:(void (^ _Nonnull)(NSBackgroundActivityCompletionHandler _Nonnull completionHandler))block |
| Declaration | |
|---|---|
| From | - (BOOL)shouldDefer |
| To | @property(readonly) BOOL shouldDefer |
NSBundle.h
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.appStoreReceiptURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *appStoreReceiptURL |
| To | @property(readonly, copy, nullable) NSURL *appStoreReceiptURL |
Modified NSBundle.builtInPlugInsPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *builtInPlugInsPath |
| To | @property(readonly, copy, nullable) NSString *builtInPlugInsPath |
Modified NSBundle.builtInPlugInsURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *builtInPlugInsURL |
| To | @property(readonly, copy, nullable) NSURL *builtInPlugInsURL |
Modified +[NSBundle bundleForClass:]
| Declaration | |
|---|---|
| From | + (NSBundle *)bundleForClass:(Class)aClass |
| To | + (NSBundle * _Nonnull)bundleForClass:(Class _Nonnull)aClass |
Modified NSBundle.bundleIdentifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *bundleIdentifier |
| To | @property(readonly, copy, nullable) NSString *bundleIdentifier |
Modified NSBundle.bundlePath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *bundlePath |
| To | @property(readonly, copy, nonnull) NSString *bundlePath |
Modified NSBundle.bundleURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *bundleURL |
| To | @property(readonly, copy, nonnull) NSURL *bundleURL |
Modified +[NSBundle bundleWithIdentifier:]
| Declaration | |
|---|---|
| From | + (NSBundle *)bundleWithIdentifier:(NSString *)identifier |
| To | + (NSBundle * _Nullable)bundleWithIdentifier:(NSString * _Nonnull)identifier |
Modified +[NSBundle bundleWithPath:]
| Declaration | |
|---|---|
| From | + (instancetype)bundleWithPath:(NSString *)path |
| To | + (instancetype _Nullable)bundleWithPath:(NSString * _Nonnull)path |
Modified +[NSBundle bundleWithURL:]
| Declaration | |
|---|---|
| From | + (instancetype)bundleWithURL:(NSURL *)url |
| To | + (instancetype _Nullable)bundleWithURL:(NSURL * _Nonnull)url |
Modified -[NSBundle classNamed:]
| Declaration | |
|---|---|
| From | - (Class)classNamed:(NSString *)className |
| To | - (Class _Nullable)classNamed:(NSString * _Nonnull)className |
Modified NSBundle.developmentLocalization
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *developmentLocalization |
| To | @property(readonly, copy, nullable) NSString *developmentLocalization |
Modified NSBundle.executableArchitectures
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *executableArchitectures |
| To | @property(readonly, copy, nullable) NSArray<NSNumber *> *executableArchitectures |
Modified NSBundle.executablePath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *executablePath |
| To | @property(readonly, copy, nullable) NSString *executablePath |
Modified NSBundle.executableURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *executableURL |
| To | @property(readonly, copy, nullable) NSURL *executableURL |
Modified NSBundle.infoDictionary
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *infoDictionary |
| To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *infoDictionary |
Modified -[NSBundle initWithPath:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithPath:(NSString *)path |
| To | - (instancetype _Nullable)initWithPath:(NSString * _Nonnull)path |
Modified -[NSBundle initWithURL:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url |
Modified -[NSBundle loadAndReturnError:]
| Declaration | |
|---|---|
| From | - (BOOL)loadAndReturnError:(NSError **)error |
| To | - (BOOL)loadAndReturnError:(NSError * _Nullable * _Nullable)error |
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 | - (NSString *)localizedStringForKey:(NSString *)key value:(NSString *)value table:(NSString *)tableName |
| To | - (NSString * _Nonnull)localizedStringForKey:(NSString * _Nonnull)key value:(NSString * _Nullable)value table:(NSString * _Nullable)tableName |
Modified +[NSBundle mainBundle]
| Declaration | |
|---|---|
| From | + (NSBundle *)mainBundle |
| To | + (NSBundle * _Nonnull)mainBundle |
| Declaration | |
|---|---|
| From | - (id)objectForInfoDictionaryKey:(NSString *)key |
| To | - (id _Nullable)objectForInfoDictionaryKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (NSString *)pathForAuxiliaryExecutable:(NSString *)executableName |
| To | - (NSString * _Nullable)pathForAuxiliaryExecutable:(NSString * _Nonnull)executableName |
Modified -[NSBundle pathForResource:ofType:]
| Declaration | |
|---|---|
| From | - (NSString *)pathForResource:(NSString *)name ofType:(NSString *)ext |
| To | - (NSString * _Nullable)pathForResource:(NSString * _Nullable)name ofType:(NSString * _Nullable)ext |
| Declaration | |
|---|---|
| From | + (NSString *)pathForResource:(NSString *)name ofType:(NSString *)ext inDirectory:(NSString *)bundlePath |
| To | + (NSString * _Nullable)pathForResource:(NSString * _Nullable)name ofType:(NSString * _Nullable)ext inDirectory:(NSString * _Nonnull)bundlePath |
| Declaration | |
|---|---|
| From | - (NSString *)pathForResource:(NSString *)name ofType:(NSString *)ext inDirectory:(NSString *)subpath |
| To | - (NSString * _Nullable)pathForResource:(NSString * _Nullable)name ofType:(NSString * _Nullable)ext inDirectory:(NSString * _Nullable)subpath |
| Declaration | |
|---|---|
| From | - (NSString *)pathForResource:(NSString *)name ofType:(NSString *)ext inDirectory:(NSString *)subpath forLocalization:(NSString *)localizationName |
| To | - (NSString * _Nullable)pathForResource:(NSString * _Nullable)name ofType:(NSString * _Nullable)ext inDirectory:(NSString * _Nullable)subpath forLocalization:(NSString * _Nullable)localizationName |
| 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 |
Modified -[NSBundle preflightAndReturnError:]
| Declaration | |
|---|---|
| From | - (BOOL)preflightAndReturnError:(NSError **)error |
| To | - (BOOL)preflightAndReturnError:(NSError * _Nullable * _Nullable)error |
Modified NSBundle.principalClass
| Declaration | |
|---|---|
| From | @property(readonly) Class principalClass |
| To | @property(readonly, nullable) Class principalClass |
Modified NSBundle.privateFrameworksPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *privateFrameworksPath |
| To | @property(readonly, copy, nullable) NSString *privateFrameworksPath |
Modified NSBundle.privateFrameworksURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *privateFrameworksURL |
| To | @property(readonly, copy, nullable) NSURL *privateFrameworksURL |
Modified NSBundle.resourcePath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *resourcePath |
| To | @property(readonly, copy, nullable) NSString *resourcePath |
Modified NSBundle.resourceURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *resourceURL |
| To | @property(readonly, copy, nullable) NSURL *resourceURL |
Modified NSBundle.sharedFrameworksPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *sharedFrameworksPath |
| To | @property(readonly, copy, nullable) NSString *sharedFrameworksPath |
Modified NSBundle.sharedFrameworksURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *sharedFrameworksURL |
| To | @property(readonly, copy, nullable) NSURL *sharedFrameworksURL |
Modified NSBundle.sharedSupportPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *sharedSupportPath |
| To | @property(readonly, copy, nullable) NSString *sharedSupportPath |
Modified NSBundle.sharedSupportURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *sharedSupportURL |
| To | @property(readonly, copy, nullable) NSURL *sharedSupportURL |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForAuxiliaryExecutable:(NSString *)executableName |
| To | - (NSURL * _Nullable)URLForAuxiliaryExecutable:(NSString * _Nonnull)executableName |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)ext |
| To | - (NSURL * _Nullable)URLForResource:(NSString * _Nullable)name withExtension:(NSString * _Nullable)ext |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)ext subdirectory:(NSString *)subpath |
| To | - (NSURL * _Nullable)URLForResource:(NSString * _Nullable)name withExtension:(NSString * _Nullable)ext subdirectory:(NSString * _Nullable)subpath |
| Declaration | |
|---|---|
| From | + (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)ext subdirectory:(NSString *)subpath inBundleWithURL:(NSURL *)bundleURL |
| To | + (NSURL * _Nullable)URLForResource:(NSString * _Nullable)name withExtension:(NSString * _Nullable)ext subdirectory:(NSString * _Nullable)subpath inBundleWithURL:(NSURL * _Nonnull)bundleURL |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForResource:(NSString *)name withExtension:(NSString *)ext subdirectory:(NSString *)subpath localization:(NSString *)localizationName |
| To | - (NSURL * _Nullable)URLForResource:(NSString * _Nullable)name withExtension:(NSString * _Nullable)ext subdirectory:(NSString * _Nullable)subpath localization:(NSString * _Nullable)localizationName |
| 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 |
NSByteCountFormatter.h
| Declaration | |
|---|---|
| From | - (NSString *)stringFromByteCount:(long long)byteCount |
| To | - (NSString * _Nonnull)stringFromByteCount:(long long)byteCount |
| Declaration | |
|---|---|
| From | + (NSString *)stringFromByteCount:(long long)byteCount countStyle:(NSByteCountFormatterCountStyle)countStyle |
| To | + (NSString * _Nonnull)stringFromByteCount:(long long)byteCount countStyle:(NSByteCountFormatterCountStyle)countStyle |
NSCache.h
Modified NSCache.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSCacheDelegate> delegate |
| To | @property(assign, nullable) id<NSCacheDelegate> delegate |
Modified NSCache.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nonnull) NSString *name |
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 |
| Declaration | |
|---|---|
| From | - (void)cache:(NSCache *)cache willEvictObject:(id)obj |
| To | - (void)cache:(NSCache * _Nonnull)cache willEvictObject:(id _Nonnull)obj |
NSCalendar.h
Modified NSCalendar.AMSymbol
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *AMSymbol |
| To | @property(readonly, copy, nonnull) NSString *AMSymbol |
| Declaration | |
|---|---|
| From | + (NSCalendar *)autoupdatingCurrentCalendar |
| To | + (NSCalendar * _Nonnull)autoupdatingCurrentCalendar |
Modified NSCalendar.calendarIdentifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *calendarIdentifier |
| To | @property(readonly, copy, nonnull) NSString *calendarIdentifier |
| Declaration | |
|---|---|
| From | + (NSCalendar *)calendarWithIdentifier:(NSString *)calendarIdentifierConstant |
| To | + (NSCalendar * _Nullable)calendarWithIdentifier:(NSString * _Nonnull)calendarIdentifierConstant |
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compareDate:(NSDate *)date1 toDate:(NSDate *)date2 toUnitGranularity:(NSCalendarUnit)unit |
| To | - (NSComparisonResult)compareDate:(NSDate * _Nonnull)date1 toDate:(NSDate * _Nonnull)date2 toUnitGranularity:(NSCalendarUnit)unit |
Modified -[NSCalendar component:fromDate:]
| Declaration | |
|---|---|
| From | - (NSInteger)component:(NSCalendarUnit)unit fromDate:(NSDate *)date |
| To | - (NSInteger)component:(NSCalendarUnit)unit fromDate:(NSDate * _Nonnull)date |
Modified -[NSCalendar components:fromDate:]
| Declaration | |
|---|---|
| From | - (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDate:(NSDate *)date |
| To | - (NSDateComponents * _Nonnull)components:(NSCalendarUnit)unitFlags fromDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDate:(NSDate *)startingDate toDate:(NSDate *)resultDate options:(NSCalendarOptions)opts |
| To | - (NSDateComponents * _Nonnull)components:(NSCalendarUnit)unitFlags fromDate:(NSDate * _Nonnull)startingDate toDate:(NSDate * _Nonnull)resultDate options:(NSCalendarOptions)opts |
| Declaration | |
|---|---|
| From | - (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDateComponents:(NSDateComponents *)startingDateComp toDateComponents:(NSDateComponents *)resultDateComp options:(NSCalendarOptions)options |
| To | - (NSDateComponents * _Nonnull)components:(NSCalendarUnit)unitFlags fromDateComponents:(NSDateComponents * _Nonnull)startingDateComp toDateComponents:(NSDateComponents * _Nonnull)resultDateComp options:(NSCalendarOptions)options |
| Declaration | |
|---|---|
| From | - (NSDateComponents *)componentsInTimeZone:(NSTimeZone *)timezone fromDate:(NSDate *)date |
| To | - (NSDateComponents * _Nonnull)componentsInTimeZone:(NSTimeZone * _Nonnull)timezone fromDate:(NSDate * _Nonnull)date |
Modified +[NSCalendar currentCalendar]
| Declaration | |
|---|---|
| From | + (NSCalendar *)currentCalendar |
| To | + (NSCalendar * _Nonnull)currentCalendar |
| Declaration | |
|---|---|
| From | - (BOOL)date:(NSDate *)date matchesComponents:(NSDateComponents *)components |
| To | - (BOOL)date:(NSDate * _Nonnull)date matchesComponents:(NSDateComponents * _Nonnull)components |
| Declaration | |
|---|---|
| From | - (NSDate *)dateByAddingComponents:(NSDateComponents *)comps toDate:(NSDate *)date options:(NSCalendarOptions)opts |
| To | - (NSDate * _Nullable)dateByAddingComponents:(NSDateComponents * _Nonnull)comps toDate:(NSDate * _Nonnull)date options:(NSCalendarOptions)opts |
| Declaration | |
|---|---|
| From | - (NSDate *)dateByAddingUnit:(NSCalendarUnit)unit value:(NSInteger)value toDate:(NSDate *)date options:(NSCalendarOptions)options |
| To | - (NSDate * _Nullable)dateByAddingUnit:(NSCalendarUnit)unit value:(NSInteger)value toDate:(NSDate * _Nonnull)date options:(NSCalendarOptions)options |
| Declaration | |
|---|---|
| From | - (NSDate *)dateBySettingHour:(NSInteger)h minute:(NSInteger)m second:(NSInteger)s ofDate:(NSDate *)date options:(NSCalendarOptions)opts |
| To | - (NSDate * _Nullable)dateBySettingHour:(NSInteger)h minute:(NSInteger)m second:(NSInteger)s ofDate:(NSDate * _Nonnull)date options:(NSCalendarOptions)opts |
| Declaration | |
|---|---|
| From | - (NSDate *)dateBySettingUnit:(NSCalendarUnit)unit value:(NSInteger)v ofDate:(NSDate *)date options:(NSCalendarOptions)opts |
| To | - (NSDate * _Nullable)dateBySettingUnit:(NSCalendarUnit)unit value:(NSInteger)v ofDate:(NSDate * _Nonnull)date options:(NSCalendarOptions)opts |
Modified -[NSCalendar dateFromComponents:]
| Declaration | |
|---|---|
| From | - (NSDate *)dateFromComponents:(NSDateComponents *)comps |
| To | - (NSDate * _Nullable)dateFromComponents:(NSDateComponents * _Nonnull)comps |
| Declaration | |
|---|---|
| From | - (NSDate *)dateWithEra:(NSInteger)eraValue year:(NSInteger)yearValue month:(NSInteger)monthValue day:(NSInteger)dayValue hour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue nanosecond:(NSInteger)nanosecondValue |
| To | - (NSDate * _Nullable)dateWithEra:(NSInteger)eraValue year:(NSInteger)yearValue month:(NSInteger)monthValue day:(NSInteger)dayValue hour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue nanosecond:(NSInteger)nanosecondValue |
Modified -[NSCalendar dateWithEra:yearForWeekOfYear:weekOfYear:weekday:hour:minute:second:nanosecond:]
| Declaration | |
|---|---|
| From | - (NSDate *)dateWithEra:(NSInteger)eraValue yearForWeekOfYear:(NSInteger)yearValue weekOfYear:(NSInteger)weekValue weekday:(NSInteger)weekdayValue hour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue nanosecond:(NSInteger)nanosecondValue |
| To | - (NSDate * _Nullable)dateWithEra:(NSInteger)eraValue yearForWeekOfYear:(NSInteger)yearValue weekOfYear:(NSInteger)weekValue weekday:(NSInteger)weekdayValue hour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue nanosecond:(NSInteger)nanosecondValue |
| Declaration | |
|---|---|
| From | - (void)enumerateDatesStartingAfterDate:(NSDate *)start matchingComponents:(NSDateComponents *)comps options:(NSCalendarOptions)opts usingBlock:(void (^)(NSDate *date, BOOL exactMatch, BOOL *stop))block |
| To | - (void)enumerateDatesStartingAfterDate:(NSDate * _Nonnull)start matchingComponents:(NSDateComponents * _Nonnull)comps options:(NSCalendarOptions)opts usingBlock:(void (^ _Nonnull)(NSDate * _Nullable date, BOOL exactMatch, BOOL * _Nonnull stop))block |
Modified NSCalendar.eraSymbols
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *eraSymbols |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *eraSymbols |
| Declaration | |
|---|---|
| From | - (void)getEra:(out NSInteger *)eraValuePointer year:(out NSInteger *)yearValuePointer month:(out NSInteger *)monthValuePointer day:(out NSInteger *)dayValuePointer fromDate:(NSDate *)date |
| To | - (void)getEra:(out NSInteger * _Nullable)eraValuePointer year:(out NSInteger * _Nullable)yearValuePointer month:(out NSInteger * _Nullable)monthValuePointer day:(out NSInteger * _Nullable)dayValuePointer fromDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (void)getEra:(out NSInteger *)eraValuePointer yearForWeekOfYear:(out NSInteger *)yearValuePointer weekOfYear:(out NSInteger *)weekValuePointer weekday:(out NSInteger *)weekdayValuePointer fromDate:(NSDate *)date |
| To | - (void)getEra:(out NSInteger * _Nullable)eraValuePointer yearForWeekOfYear:(out NSInteger * _Nullable)yearValuePointer weekOfYear:(out NSInteger * _Nullable)weekValuePointer weekday:(out NSInteger * _Nullable)weekdayValuePointer fromDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (void)getHour:(out NSInteger *)hourValuePointer minute:(out NSInteger *)minuteValuePointer second:(out NSInteger *)secondValuePointer nanosecond:(out NSInteger *)nanosecondValuePointer fromDate:(NSDate *)date |
| To | - (void)getHour:(out NSInteger * _Nullable)hourValuePointer minute:(out NSInteger * _Nullable)minuteValuePointer second:(out NSInteger * _Nullable)secondValuePointer nanosecond:(out NSInteger * _Nullable)nanosecondValuePointer fromDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (id)initWithCalendarIdentifier:(NSString *)ident |
| To | - (id _Nullable)initWithCalendarIdentifier:(NSString * _Nonnull)ident |
| Declaration | |
|---|---|
| From | - (BOOL)isDate:(NSDate *)date1 equalToDate:(NSDate *)date2 toUnitGranularity:(NSCalendarUnit)unit |
| To | - (BOOL)isDate:(NSDate * _Nonnull)date1 equalToDate:(NSDate * _Nonnull)date2 toUnitGranularity:(NSCalendarUnit)unit |
| Declaration | |
|---|---|
| From | - (BOOL)isDate:(NSDate *)date1 inSameDayAsDate:(NSDate *)date2 |
| To | - (BOOL)isDate:(NSDate * _Nonnull)date1 inSameDayAsDate:(NSDate * _Nonnull)date2 |
Modified -[NSCalendar isDateInToday:]
| Declaration | |
|---|---|
| From | - (BOOL)isDateInToday:(NSDate *)date |
| To | - (BOOL)isDateInToday:(NSDate * _Nonnull)date |
Modified -[NSCalendar isDateInTomorrow:]
| Declaration | |
|---|---|
| From | - (BOOL)isDateInTomorrow:(NSDate *)date |
| To | - (BOOL)isDateInTomorrow:(NSDate * _Nonnull)date |
Modified -[NSCalendar isDateInWeekend:]
| Declaration | |
|---|---|
| From | - (BOOL)isDateInWeekend:(NSDate *)date |
| To | - (BOOL)isDateInWeekend:(NSDate * _Nonnull)date |
Modified -[NSCalendar isDateInYesterday:]
| Declaration | |
|---|---|
| From | - (BOOL)isDateInYesterday:(NSDate *)date |
| To | - (BOOL)isDateInYesterday:(NSDate * _Nonnull)date |
Modified NSCalendar.locale
| Declaration | |
|---|---|
| From | @property(copy) NSLocale *locale |
| To | @property(copy, nullable) NSLocale *locale |
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 |
| Declaration | |
|---|---|
| From | - (NSDate *)nextDateAfterDate:(NSDate *)date matchingComponents:(NSDateComponents *)comps options:(NSCalendarOptions)options |
| To | - (NSDate * _Nullable)nextDateAfterDate:(NSDate * _Nonnull)date matchingComponents:(NSDateComponents * _Nonnull)comps options:(NSCalendarOptions)options |
| Declaration | |
|---|---|
| From | - (NSDate *)nextDateAfterDate:(NSDate *)date matchingHour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue options:(NSCalendarOptions)options |
| To | - (NSDate * _Nullable)nextDateAfterDate:(NSDate * _Nonnull)date matchingHour:(NSInteger)hourValue minute:(NSInteger)minuteValue second:(NSInteger)secondValue options:(NSCalendarOptions)options |
| Declaration | |
|---|---|
| From | - (NSDate *)nextDateAfterDate:(NSDate *)date matchingUnit:(NSCalendarUnit)unit value:(NSInteger)value options:(NSCalendarOptions)options |
| To | - (NSDate * _Nullable)nextDateAfterDate:(NSDate * _Nonnull)date matchingUnit:(NSCalendarUnit)unit value:(NSInteger)value options:(NSCalendarOptions)options |
| Declaration | |
|---|---|
| From | - (BOOL)nextWeekendStartDate:(out NSDate **)datep interval:(out NSTimeInterval *)tip options:(NSCalendarOptions)options afterDate:(NSDate *)date |
| To | - (BOOL)nextWeekendStartDate:(out NSDate * _Nullable * _Nullable)datep interval:(out NSTimeInterval * _Nullable)tip options:(NSCalendarOptions)options afterDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (NSUInteger)ordinalityOfUnit:(NSCalendarUnit)smaller inUnit:(NSCalendarUnit)larger forDate:(NSDate *)date |
| To | - (NSUInteger)ordinalityOfUnit:(NSCalendarUnit)smaller inUnit:(NSCalendarUnit)larger forDate:(NSDate * _Nonnull)date |
Modified NSCalendar.PMSymbol
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *PMSymbol |
| To | @property(readonly, copy, nonnull) NSString *PMSymbol |
Modified NSCalendar.quarterSymbols
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *quarterSymbols |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *quarterSymbols |
| Declaration | |
|---|---|
| From | - (NSRange)rangeOfUnit:(NSCalendarUnit)smaller inUnit:(NSCalendarUnit)larger forDate:(NSDate *)date |
| To | - (NSRange)rangeOfUnit:(NSCalendarUnit)smaller inUnit:(NSCalendarUnit)larger forDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (BOOL)rangeOfUnit:(NSCalendarUnit)unit startDate:(NSDate **)datep interval:(NSTimeInterval *)tip forDate:(NSDate *)date |
| To | - (BOOL)rangeOfUnit:(NSCalendarUnit)unit startDate:(NSDate * _Nullable * _Nullable)datep interval:(NSTimeInterval * _Nullable)tip forDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (BOOL)rangeOfWeekendStartDate:(out NSDate **)datep interval:(out NSTimeInterval *)tip containingDate:(NSDate *)date |
| To | - (BOOL)rangeOfWeekendStartDate:(out NSDate * _Nullable * _Nullable)datep interval:(out NSTimeInterval * _Nullable)tip containingDate:(NSDate * _Nonnull)date |
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 startOfDayForDate:]
| Declaration | |
|---|---|
| From | - (NSDate *)startOfDayForDate:(NSDate *)date |
| To | - (NSDate * _Nonnull)startOfDayForDate:(NSDate * _Nonnull)date |
Modified NSCalendar.timeZone
| Declaration | |
|---|---|
| From | @property(copy) NSTimeZone *timeZone |
| To | @property(copy, nonnull) NSTimeZone *timeZone |
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 |
Modified NSDateComponents.calendar
| Declaration | |
|---|---|
| From | @property(copy) NSCalendar *calendar |
| To | @property(copy, nullable) NSCalendar *calendar |
Modified NSDateComponents.date
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *date |
| To | @property(readonly, copy, nullable) NSDate *date |
| Declaration | |
|---|---|
| From | - (BOOL)isValidDateInCalendar:(NSCalendar *)calendar |
| To | - (BOOL)isValidDateInCalendar:(NSCalendar * _Nonnull)calendar |
Modified NSDateComponents.timeZone
| Declaration | |
|---|---|
| From | @property(copy) NSTimeZone *timeZone |
| To | @property(copy, nullable) NSTimeZone *timeZone |
NSCalendarDate.h
Modified +[NSCalendarDate calendarDate]
| Declaration | |
|---|---|
| From | + (id)calendarDate |
| To | + (id _Nonnull)calendarDate |
Modified -[NSCalendarDate calendarFormat]
| Declaration | |
|---|---|
| From | - (NSString *)calendarFormat |
| To | - (NSString * _Nonnull)calendarFormat |
| Declaration | |
|---|---|
| From | - (NSCalendarDate *)dateByAddingYears:(NSInteger)year months:(NSInteger)month days:(NSInteger)day hours:(NSInteger)hour minutes:(NSInteger)minute seconds:(NSInteger)second |
| To | - (NSCalendarDate * _Nonnull)dateByAddingYears:(NSInteger)year months:(NSInteger)month days:(NSInteger)day hours:(NSInteger)hour minutes:(NSInteger)minute seconds:(NSInteger)second |
| Declaration | |
|---|---|
| From | + (id)dateWithString:(NSString *)description calendarFormat:(NSString *)format |
| To | + (id _Nullable)dateWithString:(NSString * _Nonnull)description calendarFormat:(NSString * _Nonnull)format |
| Declaration | |
|---|---|
| From | + (id)dateWithString:(NSString *)description calendarFormat:(NSString *)format locale:(id)locale |
| To | + (id _Nullable)dateWithString:(NSString * _Nonnull)description calendarFormat:(NSString * _Nonnull)format locale:(id _Nullable)locale |
| Declaration | |
|---|---|
| From | + (id)dateWithYear:(NSInteger)year month:(NSUInteger)month day:(NSUInteger)day hour:(NSUInteger)hour minute:(NSUInteger)minute second:(NSUInteger)second timeZone:(NSTimeZone *)aTimeZone |
| To | + (id _Nonnull)dateWithYear:(NSInteger)year month:(NSUInteger)month day:(NSUInteger)day hour:(NSUInteger)hour minute:(NSUInteger)minute second:(NSUInteger)second timeZone:(NSTimeZone * _Nullable)aTimeZone |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithCalendarFormat:(NSString *)format |
| To | - (NSString * _Nonnull)descriptionWithCalendarFormat:(NSString * _Nonnull)format |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithCalendarFormat:(NSString *)format locale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithCalendarFormat:(NSString * _Nonnull)format locale:(id _Nullable)locale |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
Modified -[NSCalendarDate initWithString:]
| Declaration | |
|---|---|
| From | - (id)initWithString:(NSString *)description |
| To | - (id _Nullable)initWithString:(NSString * _Nonnull)description |
| Declaration | |
|---|---|
| From | - (id)initWithString:(NSString *)description calendarFormat:(NSString *)format |
| To | - (id _Nullable)initWithString:(NSString * _Nonnull)description calendarFormat:(NSString * _Nonnull)format |
| Declaration | |
|---|---|
| From | - (id)initWithString:(NSString *)description calendarFormat:(NSString *)format locale:(id)locale |
| To | - (id _Nullable)initWithString:(NSString * _Nonnull)description calendarFormat:(NSString * _Nonnull)format locale:(id _Nullable)locale |
| Declaration | |
|---|---|
| From | - (id)initWithYear:(NSInteger)year month:(NSUInteger)month day:(NSUInteger)day hour:(NSUInteger)hour minute:(NSUInteger)minute second:(NSUInteger)second timeZone:(NSTimeZone *)aTimeZone |
| To | - (id _Nonnull)initWithYear:(NSInteger)year month:(NSUInteger)month day:(NSUInteger)day hour:(NSUInteger)hour minute:(NSUInteger)minute second:(NSUInteger)second timeZone:(NSTimeZone * _Nullable)aTimeZone |
Modified -[NSCalendarDate setCalendarFormat:]
| Declaration | |
|---|---|
| From | - (void)setCalendarFormat:(NSString *)format |
| To | - (void)setCalendarFormat:(NSString * _Nullable)format |
Modified -[NSCalendarDate setTimeZone:]
| Declaration | |
|---|---|
| From | - (void)setTimeZone:(NSTimeZone *)aTimeZone |
| To | - (void)setTimeZone:(NSTimeZone * _Nullable)aTimeZone |
Modified -[NSCalendarDate timeZone]
| Declaration | |
|---|---|
| From | - (NSTimeZone *)timeZone |
| To | - (NSTimeZone * _Nonnull)timeZone |
| Declaration | |
|---|---|
| From | - (void)years:(NSInteger *)yp months:(NSInteger *)mop days:(NSInteger *)dp hours:(NSInteger *)hp minutes:(NSInteger *)mip seconds:(NSInteger *)sp sinceDate:(NSCalendarDate *)date |
| To | - (void)years:(NSInteger * _Nullable)yp months:(NSInteger * _Nullable)mop days:(NSInteger * _Nullable)dp hours:(NSInteger * _Nullable)hp minutes:(NSInteger * _Nullable)mip seconds:(NSInteger * _Nullable)sp sinceDate:(NSCalendarDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (NSCalendarDate *)dateWithCalendarFormat:(NSString *)format timeZone:(NSTimeZone *)aTimeZone |
| To | - (NSCalendarDate * _Nonnull)dateWithCalendarFormat:(NSString * _Nullable)format timeZone:(NSTimeZone * _Nullable)aTimeZone |
| Declaration | |
|---|---|
| From | + (id)dateWithNaturalLanguageString:(NSString *)string |
| To | + (id _Nullable)dateWithNaturalLanguageString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | + (id)dateWithNaturalLanguageString:(NSString *)string locale:(id)locale |
| To | + (id _Nullable)dateWithNaturalLanguageString:(NSString * _Nonnull)string locale:(id _Nullable)locale |
Modified +[NSDate dateWithString:]
| Declaration | |
|---|---|
| From | + (id)dateWithString:(NSString *)aString |
| To | + (id _Nonnull)dateWithString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithCalendarFormat:(NSString *)format timeZone:(NSTimeZone *)aTimeZone locale:(id)locale |
| To | - (NSString * _Nullable)descriptionWithCalendarFormat:(NSString * _Nullable)format timeZone:(NSTimeZone * _Nullable)aTimeZone locale:(id _Nullable)locale |
Modified -[NSDate initWithString:]
| Declaration | |
|---|---|
| From | - (id)initWithString:(NSString *)description |
| To | - (id _Nullable)initWithString:(NSString * _Nonnull)description |
NSCharacterSet.h
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)alphanumericCharacterSet |
| To | + (NSCharacterSet * _Nonnull)alphanumericCharacterSet |
Modified NSCharacterSet.bitmapRepresentation
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *bitmapRepresentation |
| To | @property(readonly, copy, nonnull) NSData *bitmapRepresentation |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)capitalizedLetterCharacterSet |
| To | + (NSCharacterSet * _Nonnull)capitalizedLetterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)characterSetWithBitmapRepresentation:(NSData *)data |
| To | + (NSCharacterSet * _Nonnull)characterSetWithBitmapRepresentation:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)characterSetWithCharactersInString:(NSString *)aString |
| To | + (NSCharacterSet * _Nonnull)characterSetWithCharactersInString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)characterSetWithContentsOfFile:(NSString *)fName |
| To | + (NSCharacterSet * _Nullable)characterSetWithContentsOfFile:(NSString * _Nonnull)fName |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)characterSetWithRange:(NSRange)aRange |
| To | + (NSCharacterSet * _Nonnull)characterSetWithRange:(NSRange)aRange |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)controlCharacterSet |
| To | + (NSCharacterSet * _Nonnull)controlCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)decimalDigitCharacterSet |
| To | + (NSCharacterSet * _Nonnull)decimalDigitCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)decomposableCharacterSet |
| To | + (NSCharacterSet * _Nonnull)decomposableCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)illegalCharacterSet |
| To | + (NSCharacterSet * _Nonnull)illegalCharacterSet |
Modified -[NSCharacterSet initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nonnull)initWithCoder:(NSCoder * _Nonnull)aDecoder |
Modified NSCharacterSet.invertedSet
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSCharacterSet *invertedSet |
| To | @property(readonly, copy, nonnull) NSCharacterSet *invertedSet |
Modified -[NSCharacterSet isSupersetOfSet:]
| Declaration | |
|---|---|
| From | - (BOOL)isSupersetOfSet:(NSCharacterSet *)theOtherSet |
| To | - (BOOL)isSupersetOfSet:(NSCharacterSet * _Nonnull)theOtherSet |
Modified +[NSCharacterSet letterCharacterSet]
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)letterCharacterSet |
| To | + (NSCharacterSet * _Nonnull)letterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)lowercaseLetterCharacterSet |
| To | + (NSCharacterSet * _Nonnull)lowercaseLetterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)newlineCharacterSet |
| To | + (NSCharacterSet * _Nonnull)newlineCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)nonBaseCharacterSet |
| To | + (NSCharacterSet * _Nonnull)nonBaseCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)punctuationCharacterSet |
| To | + (NSCharacterSet * _Nonnull)punctuationCharacterSet |
Modified +[NSCharacterSet symbolCharacterSet]
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)symbolCharacterSet |
| To | + (NSCharacterSet * _Nonnull)symbolCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)uppercaseLetterCharacterSet |
| To | + (NSCharacterSet * _Nonnull)uppercaseLetterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)whitespaceAndNewlineCharacterSet |
| To | + (NSCharacterSet * _Nonnull)whitespaceAndNewlineCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)whitespaceCharacterSet |
| To | + (NSCharacterSet * _Nonnull)whitespaceCharacterSet |
| Declaration | |
|---|---|
| From | - (void)addCharactersInString:(NSString *)aString |
| To | - (void)addCharactersInString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)alphanumericCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)alphanumericCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)capitalizedLetterCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)capitalizedLetterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)characterSetWithBitmapRepresentation:(NSData *)data |
| To | + (NSMutableCharacterSet * _Nonnull)characterSetWithBitmapRepresentation:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)characterSetWithCharactersInString:(NSString *)aString |
| To | + (NSMutableCharacterSet * _Nonnull)characterSetWithCharactersInString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)characterSetWithContentsOfFile:(NSString *)fName |
| To | + (NSMutableCharacterSet * _Nullable)characterSetWithContentsOfFile:(NSString * _Nonnull)fName |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)characterSetWithRange:(NSRange)aRange |
| To | + (NSMutableCharacterSet * _Nonnull)characterSetWithRange:(NSRange)aRange |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)controlCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)controlCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)decimalDigitCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)decimalDigitCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)decomposableCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)decomposableCharacterSet |
| Declaration | |
|---|---|
| From | - (void)formIntersectionWithCharacterSet:(NSCharacterSet *)otherSet |
| To | - (void)formIntersectionWithCharacterSet:(NSCharacterSet * _Nonnull)otherSet |
| Declaration | |
|---|---|
| From | - (void)formUnionWithCharacterSet:(NSCharacterSet *)otherSet |
| To | - (void)formUnionWithCharacterSet:(NSCharacterSet * _Nonnull)otherSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)illegalCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)illegalCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)letterCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)letterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)lowercaseLetterCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)lowercaseLetterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)newlineCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)newlineCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)nonBaseCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)nonBaseCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)punctuationCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)punctuationCharacterSet |
| Declaration | |
|---|---|
| From | - (void)removeCharactersInString:(NSString *)aString |
| To | - (void)removeCharactersInString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)symbolCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)symbolCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)uppercaseLetterCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)uppercaseLetterCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)whitespaceAndNewlineCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)whitespaceAndNewlineCharacterSet |
| Declaration | |
|---|---|
| From | + (NSMutableCharacterSet *)whitespaceCharacterSet |
| To | + (NSMutableCharacterSet * _Nonnull)whitespaceCharacterSet |
NSClassDescription.h
Modified NSClassDescription.attributeKeys
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *attributeKeys |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *attributeKeys |
| Declaration | |
|---|---|
| From | + (NSClassDescription *)classDescriptionForClass:(Class)aClass |
| To | + (NSClassDescription * _Nullable)classDescriptionForClass:(Class _Nonnull)aClass |
| Declaration | |
|---|---|
| From | - (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey |
| To | - (NSString * _Nullable)inverseForRelationshipKey:(NSString * _Nonnull)relationshipKey |
| Declaration | |
|---|---|
| From | + (void)registerClassDescription:(NSClassDescription *)description forClass:(Class)aClass |
| To | + (void)registerClassDescription:(NSClassDescription * _Nonnull)description forClass:(Class _Nonnull)aClass |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *toManyRelationshipKeys |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *toManyRelationshipKeys |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *toOneRelationshipKeys |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *toOneRelationshipKeys |
Modified NSObject.attributeKeys
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *attributeKeys |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *attributeKeys |
Modified NSObject.classDescription
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSClassDescription *classDescription |
| To | @property(readonly, copy, nonnull) NSClassDescription *classDescription |
| Declaration | |
|---|---|
| From | - (NSString *)inverseForRelationshipKey:(NSString *)relationshipKey |
| To | - (NSString * _Nullable)inverseForRelationshipKey:(NSString * _Nonnull)relationshipKey |
Modified NSObject.toManyRelationshipKeys
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *toManyRelationshipKeys |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *toManyRelationshipKeys |
Modified NSObject.toOneRelationshipKeys
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *toOneRelationshipKeys |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *toOneRelationshipKeys |
NSCoder.h
Modified NSCoder.allowedClasses
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSSet *allowedClasses |
| To | @property(readonly, copy, nullable) NSSet<Class> *allowedClasses |
Modified -[NSCoder containsValueForKey:]
| Declaration | |
|---|---|
| From | - (BOOL)containsValueForKey:(NSString *)key |
| To | - (BOOL)containsValueForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)decodeArrayOfObjCType:(const char *)itemType count:(NSUInteger)count at:(void *)array |
| To | - (void)decodeArrayOfObjCType:(const char * _Nonnull)itemType count:(NSUInteger)count at:(void * _Nonnull)array |
Modified -[NSCoder decodeBoolForKey:]
| Declaration | |
|---|---|
| From | - (BOOL)decodeBoolForKey:(NSString *)key |
| To | - (BOOL)decodeBoolForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (const uint8_t *)decodeBytesForKey:(NSString *)key returnedLength:(NSUInteger *)lengthp |
| To | - (const uint8_t * _Nullable)decodeBytesForKey:(NSString * _Nonnull)key returnedLength:(NSUInteger * _Nullable)lengthp |
| Declaration | |
|---|---|
| From | - (void *)decodeBytesWithReturnedLength:(NSUInteger *)lengthp |
| To | - (void * _Nullable)decodeBytesWithReturnedLength:(NSUInteger * _Nonnull)lengthp |
Modified -[NSCoder decodeDataObject]
| Declaration | |
|---|---|
| From | - (NSData *)decodeDataObject |
| To | - (NSData * _Nullable)decodeDataObject |
Modified -[NSCoder decodeDoubleForKey:]
| Declaration | |
|---|---|
| From | - (double)decodeDoubleForKey:(NSString *)key |
| To | - (double)decodeDoubleForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeFloatForKey:]
| Declaration | |
|---|---|
| From | - (float)decodeFloatForKey:(NSString *)key |
| To | - (float)decodeFloatForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeInt32ForKey:]
| Declaration | |
|---|---|
| From | - (int32_t)decodeInt32ForKey:(NSString *)key |
| To | - (int32_t)decodeInt32ForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeInt64ForKey:]
| Declaration | |
|---|---|
| From | - (int64_t)decodeInt64ForKey:(NSString *)key |
| To | - (int64_t)decodeInt64ForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeIntegerForKey:]
| Declaration | |
|---|---|
| From | - (NSInteger)decodeIntegerForKey:(NSString *)key |
| To | - (NSInteger)decodeIntegerForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeIntForKey:]
| Declaration | |
|---|---|
| From | - (int)decodeIntForKey:(NSString *)key |
| To | - (int)decodeIntForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeNXObject]
| Declaration | |
|---|---|
| From | - (id)decodeNXObject |
| To | - (id _Nullable)decodeNXObject |
Modified -[NSCoder decodeObject]
| Declaration | |
|---|---|
| From | - (id)decodeObject |
| To | - (id _Nullable)decodeObject |
Modified -[NSCoder decodeObjectForKey:]
| Declaration | |
|---|---|
| From | - (id)decodeObjectForKey:(NSString *)key |
| To | - (id _Nullable)decodeObjectForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (id)decodeObjectOfClass:(Class)aClass forKey:(NSString *)key |
| To | - (id _Nullable)decodeObjectOfClass:(Class _Nonnull)aClass forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (id)decodeObjectOfClasses:(NSSet *)classes forKey:(NSString *)key |
| To | - (id _Nullable)decodeObjectOfClasses:(NSSet<Class> * _Nullable)classes forKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodePropertyList]
| Declaration | |
|---|---|
| From | - (id)decodePropertyList |
| To | - (id _Nullable)decodePropertyList |
Modified -[NSCoder decodePropertyListForKey:]
| Declaration | |
|---|---|
| From | - (id)decodePropertyListForKey:(NSString *)key |
| To | - (id _Nullable)decodePropertyListForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeValueOfObjCType:at:]
| Declaration | |
|---|---|
| From | - (void)decodeValueOfObjCType:(const char *)type at:(void *)data |
| To | - (void)decodeValueOfObjCType:(const char * _Nonnull)type at:(void * _Nonnull)data |
Modified -[NSCoder decodeValuesOfObjCTypes:]
| Declaration | |
|---|---|
| From | - (void)decodeValuesOfObjCTypes:(const char *)types, ... |
| To | - (void)decodeValuesOfObjCTypes:(const char * _Nonnull)types, ... |
| Declaration | |
|---|---|
| From | - (void)encodeArrayOfObjCType:(const char *)type count:(NSUInteger)count at:(const void *)array |
| To | - (void)encodeArrayOfObjCType:(const char * _Nonnull)type count:(NSUInteger)count at:(const void * _Nonnull)array |
Modified -[NSCoder encodeBool:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeBool:(BOOL)boolv forKey:(NSString *)key |
| To | - (void)encodeBool:(BOOL)boolv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeBycopyObject:]
| Declaration | |
|---|---|
| From | - (void)encodeBycopyObject:(id)anObject |
| To | - (void)encodeBycopyObject:(id _Nullable)anObject |
Modified -[NSCoder encodeByrefObject:]
| Declaration | |
|---|---|
| From | - (void)encodeByrefObject:(id)anObject |
| To | - (void)encodeByrefObject:(id _Nullable)anObject |
Modified -[NSCoder encodeBytes:length:]
| Declaration | |
|---|---|
| From | - (void)encodeBytes:(const void *)byteaddr length:(NSUInteger)length |
| To | - (void)encodeBytes:(const void * _Nullable)byteaddr length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | - (void)encodeBytes:(const uint8_t *)bytesp length:(NSUInteger)lenv forKey:(NSString *)key |
| To | - (void)encodeBytes:(const uint8_t * _Nullable)bytesp length:(NSUInteger)lenv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeConditionalObject:]
| Declaration | |
|---|---|
| From | - (void)encodeConditionalObject:(id)object |
| To | - (void)encodeConditionalObject:(id _Nullable)object |
| Declaration | |
|---|---|
| From | - (void)encodeConditionalObject:(id)objv forKey:(NSString *)key |
| To | - (void)encodeConditionalObject:(id _Nullable)objv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeDataObject:]
| Declaration | |
|---|---|
| From | - (void)encodeDataObject:(NSData *)data |
| To | - (void)encodeDataObject:(NSData * _Nonnull)data |
Modified -[NSCoder encodeDouble:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeDouble:(double)realv forKey:(NSString *)key |
| To | - (void)encodeDouble:(double)realv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeFloat:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeFloat:(float)realv forKey:(NSString *)key |
| To | - (void)encodeFloat:(float)realv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeInt32:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeInt32:(int32_t)intv forKey:(NSString *)key |
| To | - (void)encodeInt32:(int32_t)intv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeInt64:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeInt64:(int64_t)intv forKey:(NSString *)key |
| To | - (void)encodeInt64:(int64_t)intv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeInt:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeInt:(int)intv forKey:(NSString *)key |
| To | - (void)encodeInt:(int)intv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeInteger:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeInteger:(NSInteger)intv forKey:(NSString *)key |
| To | - (void)encodeInteger:(NSInteger)intv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeNXObject:]
| Declaration | |
|---|---|
| From | - (void)encodeNXObject:(id)object |
| To | - (void)encodeNXObject:(id _Nonnull)object |
Modified -[NSCoder encodeObject:]
| Declaration | |
|---|---|
| From | - (void)encodeObject:(id)object |
| To | - (void)encodeObject:(id _Nullable)object |
Modified -[NSCoder encodeObject:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeObject:(id)objv forKey:(NSString *)key |
| To | - (void)encodeObject:(id _Nullable)objv forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodePropertyList:]
| Declaration | |
|---|---|
| From | - (void)encodePropertyList:(id)aPropertyList |
| To | - (void)encodePropertyList:(id _Nonnull)aPropertyList |
Modified -[NSCoder encodeRootObject:]
| Declaration | |
|---|---|
| From | - (void)encodeRootObject:(id)rootObject |
| To | - (void)encodeRootObject:(id _Nonnull)rootObject |
Modified -[NSCoder encodeValueOfObjCType:at:]
| Declaration | |
|---|---|
| From | - (void)encodeValueOfObjCType:(const char *)type at:(const void *)addr |
| To | - (void)encodeValueOfObjCType:(const char * _Nonnull)type at:(const void * _Nonnull)addr |
Modified -[NSCoder encodeValuesOfObjCTypes:]
| Declaration | |
|---|---|
| From | - (void)encodeValuesOfObjCTypes:(const char *)types, ... |
| To | - (void)encodeValuesOfObjCTypes:(const char * _Nonnull)types, ... |
Modified -[NSCoder objectZone]
| Declaration | |
|---|---|
| From | - (NSZone *)objectZone |
| To | - (NSZone * _Nullable)objectZone |
Modified -[NSCoder setObjectZone:]
| Declaration | |
|---|---|
| From | - (void)setObjectZone:(NSZone *)zone |
| To | - (void)setObjectZone:(NSZone * _Nullable)zone |
Modified -[NSCoder versionForClassName:]
| Declaration | |
|---|---|
| From | - (NSInteger)versionForClassName:(NSString *)className |
| To | - (NSInteger)versionForClassName:(NSString * _Nonnull)className |
Modified NXReadNSObjectFromCoder()
| Declaration | |
|---|---|
| From | NSObject * NXReadNSObjectFromCoder (
NSCoder *decoder
);
|
| To | NSObject * _Nullable NXReadNSObjectFromCoder (
NSCoder * _Nonnull decoder
);
|
NSComparisonPredicate.h
Modified NSComparisonPredicate.customSelector
| Declaration | |
|---|---|
| From | @property(readonly) SEL customSelector |
| To | @property(readonly, nullable) SEL customSelector |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs customSelector:(SEL)selector | -- |
| To | - (instancetype _Nonnull)initWithLeftExpression:(NSExpression * _Nonnull)lhs rightExpression:(NSExpression * _Nonnull)rhs customSelector:(SEL _Nonnull)selector | yes |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options | -- |
| To | - (instancetype _Nonnull)initWithLeftExpression:(NSExpression * _Nonnull)lhs rightExpression:(NSExpression * _Nonnull)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options | yes |
Modified NSComparisonPredicate.leftExpression
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSExpression *leftExpression |
| To | @property(readonly, retain, nonnull) NSExpression *leftExpression |
| Declaration | |
|---|---|
| From | + (NSComparisonPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs customSelector:(SEL)selector |
| To | + (NSComparisonPredicate * _Nonnull)predicateWithLeftExpression:(NSExpression * _Nonnull)lhs rightExpression:(NSExpression * _Nonnull)rhs customSelector:(SEL _Nonnull)selector |
Modified +[NSComparisonPredicate predicateWithLeftExpression:rightExpression:modifier:type:options:]
| Declaration | |
|---|---|
| From | + (NSComparisonPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options |
| To | + (NSComparisonPredicate * _Nonnull)predicateWithLeftExpression:(NSExpression * _Nonnull)lhs rightExpression:(NSExpression * _Nonnull)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSExpression *rightExpression |
| To | @property(readonly, retain, nonnull) NSExpression *rightExpression |
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 *)notPredicateWithSubpredicate:(NSPredicate *)predicate |
| To | + (NSCompoundPredicate * _Nonnull)notPredicateWithSubpredicate:(NSPredicate * _Nonnull)predicate |
| Declaration | |
|---|---|
| From | + (NSCompoundPredicate *)orPredicateWithSubpredicates:(NSArray *)subpredicates |
| To | + (NSCompoundPredicate * _Nonnull)orPredicateWithSubpredicates:(NSArray<NSPredicate *> * _Nonnull)subpredicates |
Modified NSCompoundPredicate.subpredicates
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *subpredicates |
| To | @property(readonly, copy, nonnull) NSArray *subpredicates |
NSConnection.h
Modified -[NSConnection addRequestMode:]
| Declaration | |
|---|---|
| From | - (void)addRequestMode:(NSString *)rmode |
| To | - (void)addRequestMode:(NSString * _Nonnull)rmode |
Modified -[NSConnection addRunLoop:]
| Declaration | |
|---|---|
| From | - (void)addRunLoop:(NSRunLoop *)runloop |
| To | - (void)addRunLoop:(NSRunLoop * _Nonnull)runloop |
Modified +[NSConnection allConnections]
| Declaration | |
|---|---|
| From | + (NSArray *)allConnections |
| To | + (NSArray<NSConnection *> * _Nonnull)allConnections |
| Declaration | |
|---|---|
| From | + (instancetype)connectionWithReceivePort:(NSPort *)receivePort sendPort:(NSPort *)sendPort |
| To | + (instancetype _Nullable)connectionWithReceivePort:(NSPort * _Nullable)receivePort sendPort:(NSPort * _Nullable)sendPort |
| Declaration | |
|---|---|
| From | + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName |
| To | + (instancetype _Nullable)connectionWithRegisteredName:(NSString * _Nonnull)name host:(NSString * _Nullable)hostName |
| Declaration | |
|---|---|
| From | + (instancetype)connectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameServer:(NSPortNameServer *)server |
| To | + (instancetype _Nullable)connectionWithRegisteredName:(NSString * _Nonnull)name host:(NSString * _Nullable)hostName usingNameServer:(NSPortNameServer * _Nonnull)server |
Modified +[NSConnection currentConversation]
| Declaration | |
|---|---|
| From | + (id)currentConversation |
| To | + (id _Nullable)currentConversation |
Modified +[NSConnection defaultConnection]
| Declaration | |
|---|---|
| From | + (NSConnection *)defaultConnection |
| To | + (NSConnection * _Nonnull)defaultConnection |
Modified NSConnection.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSConnectionDelegate> delegate |
| To | @property(assign, nullable) id<NSConnectionDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)dispatchWithComponents:(NSArray *)components |
| To | - (void)dispatchWithComponents:(NSArray * _Nonnull)components |
| Declaration | |
|---|---|
| From | - (instancetype)initWithReceivePort:(NSPort *)receivePort sendPort:(NSPort *)sendPort |
| To | - (instancetype _Nullable)initWithReceivePort:(NSPort * _Nullable)receivePort sendPort:(NSPort * _Nullable)sendPort |
Modified NSConnection.localObjects
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *localObjects |
| To | @property(readonly, copy, nonnull) NSArray *localObjects |
Modified NSConnection.receivePort
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSPort *receivePort |
| To | @property(readonly, retain, nonnull) NSPort *receivePort |
Modified -[NSConnection registerName:]
| Declaration | |
|---|---|
| From | - (BOOL)registerName:(NSString *)name |
| To | - (BOOL)registerName:(NSString * _Nullable)name |
| Declaration | |
|---|---|
| From | - (BOOL)registerName:(NSString *)name withNameServer:(NSPortNameServer *)server |
| To | - (BOOL)registerName:(NSString * _Nullable)name withNameServer:(NSPortNameServer * _Nonnull)server |
Modified NSConnection.remoteObjects
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *remoteObjects |
| To | @property(readonly, copy, nonnull) NSArray *remoteObjects |
Modified -[NSConnection removeRequestMode:]
| Declaration | |
|---|---|
| From | - (void)removeRequestMode:(NSString *)rmode |
| To | - (void)removeRequestMode:(NSString * _Nonnull)rmode |
Modified -[NSConnection removeRunLoop:]
| Declaration | |
|---|---|
| From | - (void)removeRunLoop:(NSRunLoop *)runloop |
| To | - (void)removeRunLoop:(NSRunLoop * _Nonnull)runloop |
Modified NSConnection.requestModes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *requestModes |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *requestModes |
Modified NSConnection.rootObject
| Declaration | |
|---|---|
| From | @property(retain) id rootObject |
| To | @property(retain, nullable) id rootObject |
Modified NSConnection.rootProxy
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSDistantObject *rootProxy |
| To | @property(readonly, retain, nonnull) NSDistantObject *rootProxy |
| Declaration | |
|---|---|
| From | + (NSDistantObject *)rootProxyForConnectionWithRegisteredName:(NSString *)name host:(NSString *)hostName |
| To | + (NSDistantObject * _Nullable)rootProxyForConnectionWithRegisteredName:(NSString * _Nonnull)name host:(NSString * _Nullable)hostName |
| Declaration | |
|---|---|
| From | + (NSDistantObject *)rootProxyForConnectionWithRegisteredName:(NSString *)name host:(NSString *)hostName usingNameServer:(NSPortNameServer *)server |
| To | + (NSDistantObject * _Nullable)rootProxyForConnectionWithRegisteredName:(NSString * _Nonnull)name host:(NSString * _Nullable)hostName usingNameServer:(NSPortNameServer * _Nonnull)server |
Modified NSConnection.sendPort
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSPort *sendPort |
| To | @property(readonly, retain, nonnull) NSPort *sendPort |
| Declaration | |
|---|---|
| From | + (instancetype)serviceConnectionWithName:(NSString *)name rootObject:(id)root |
| To | + (instancetype _Nullable)serviceConnectionWithName:(NSString * _Nonnull)name rootObject:(id _Nonnull)root |
| Declaration | |
|---|---|
| From | + (instancetype)serviceConnectionWithName:(NSString *)name rootObject:(id)root usingNameServer:(NSPortNameServer *)server |
| To | + (instancetype _Nullable)serviceConnectionWithName:(NSString * _Nonnull)name rootObject:(id _Nonnull)root usingNameServer:(NSPortNameServer * _Nonnull)server |
Modified NSConnection.statistics
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *statistics |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,NSNumber *> *statistics |
| Declaration | |
|---|---|
| From | - (BOOL)authenticateComponents:(NSArray *)components withData:(NSData *)signature |
| To | - (BOOL)authenticateComponents:(NSArray * _Nonnull)components withData:(NSData * _Nonnull)signature |
| Declaration | |
|---|---|
| From | - (NSData *)authenticationDataForComponents:(NSArray *)components |
| To | - (NSData * _Nonnull)authenticationDataForComponents:(NSArray * _Nonnull)components |
| Declaration | |
|---|---|
| From | - (BOOL)connection:(NSConnection *)connection handleRequest:(NSDistantObjectRequest *)doreq |
| To | - (BOOL)connection:(NSConnection * _Nonnull)connection handleRequest:(NSDistantObjectRequest * _Nonnull)doreq |
| Declaration | |
|---|---|
| From | - (BOOL)connection:(NSConnection *)ancestor shouldMakeNewConnection:(NSConnection *)conn |
| To | - (BOOL)connection:(NSConnection * _Nonnull)ancestor shouldMakeNewConnection:(NSConnection * _Nonnull)conn |
| Declaration | |
|---|---|
| From | - (id)createConversationForConnection:(NSConnection *)conn |
| To | - (id _Nonnull)createConversationForConnection:(NSConnection * _Nonnull)conn |
| Declaration | |
|---|---|
| From | - (BOOL)makeNewConnection:(NSConnection *)conn sender:(NSConnection *)ancestor |
| To | - (BOOL)makeNewConnection:(NSConnection * _Nonnull)conn sender:(NSConnection * _Nonnull)ancestor |
Modified NSDistantObjectRequest.connection
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSConnection *connection |
| To | @property(readonly, retain, nonnull) NSConnection *connection |
Modified NSDistantObjectRequest.conversation
| Declaration | |
|---|---|
| From | @property(readonly, retain) id conversation |
| To | @property(readonly, retain, nonnull) id conversation |
Modified NSDistantObjectRequest.invocation
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSInvocation *invocation |
| To | @property(readonly, retain, nonnull) NSInvocation *invocation |
| Declaration | |
|---|---|
| From | - (void)replyWithException:(NSException *)exception |
| To | - (void)replyWithException:(NSException * _Nullable)exception |
NSData.h
| Declaration | |
|---|---|
| From | - (NSData *)base64EncodedDataWithOptions:(NSDataBase64EncodingOptions)options |
| To | - (NSData * _Nonnull)base64EncodedDataWithOptions:(NSDataBase64EncodingOptions)options |
| Declaration | |
|---|---|
| From | - (NSString *)base64EncodedStringWithOptions:(NSDataBase64EncodingOptions)options |
| To | - (NSString * _Nonnull)base64EncodedStringWithOptions:(NSDataBase64EncodingOptions)options |
Modified -[NSData base64Encoding]
| Declaration | |
|---|---|
| From | - (NSString *)base64Encoding |
| To | - (NSString * _Nonnull)base64Encoding |
Modified NSData.bytes
| Declaration | |
|---|---|
| From | @property(readonly) const void *bytes |
| To | @property(readonly, nonnull) const void *bytes |
Modified +[NSData data]
| Declaration | |
|---|---|
| From | + (instancetype)data |
| To | + (instancetype _Nonnull)data |
Modified +[NSData dataWithBytes:length:]
| Declaration | |
|---|---|
| From | + (instancetype)dataWithBytes:(const void *)bytes length:(NSUInteger)length |
| To | + (instancetype _Nonnull)dataWithBytes:(const void * _Nullable)bytes length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | + (instancetype)dataWithBytesNoCopy:(void *)bytes length:(NSUInteger)length |
| To | + (instancetype _Nonnull)dataWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | + (instancetype)dataWithBytesNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b |
| To | + (instancetype _Nonnull)dataWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b |
Modified +[NSData dataWithContentsOfFile:]
| Declaration | |
|---|---|
| From | + (instancetype)dataWithContentsOfFile:(NSString *)path |
| To | + (instancetype _Nullable)dataWithContentsOfFile:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | + (instancetype)dataWithContentsOfFile:(NSString *)path options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr |
| To | + (instancetype _Nullable)dataWithContentsOfFile:(NSString * _Nonnull)path options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)errorPtr |
| Declaration | |
|---|---|
| From | + (id)dataWithContentsOfMappedFile:(NSString *)path |
| To | + (id _Nullable)dataWithContentsOfMappedFile:(NSString * _Nonnull)path |
Modified +[NSData dataWithContentsOfURL:]
| Declaration | |
|---|---|
| From | + (instancetype)dataWithContentsOfURL:(NSURL *)url |
| To | + (instancetype _Nullable)dataWithContentsOfURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | + (instancetype)dataWithContentsOfURL:(NSURL *)url options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr |
| To | + (instancetype _Nullable)dataWithContentsOfURL:(NSURL * _Nonnull)url options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)errorPtr |
Modified +[NSData dataWithData:]
| Declaration | |
|---|---|
| From | + (instancetype)dataWithData:(NSData *)data |
| To | + (instancetype _Nonnull)dataWithData:(NSData * _Nonnull)data |
Modified NSData.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
| Declaration | |
|---|---|
| From | - (void)enumerateByteRangesUsingBlock:(void (^)(const void *bytes, NSRange byteRange, BOOL *stop))block |
| To | - (void)enumerateByteRangesUsingBlock:(void (^ _Nonnull)(const void * _Nonnull bytes, NSRange byteRange, BOOL * _Nonnull stop))block |
Modified -[NSData getBytes:]
| Declaration | |
|---|---|
| From | - (void)getBytes:(void *)buffer |
| To | - (void)getBytes:(void * _Nonnull)buffer |
Modified -[NSData getBytes:length:]
| Declaration | |
|---|---|
| From | - (void)getBytes:(void *)buffer length:(NSUInteger)length |
| To | - (void)getBytes:(void * _Nonnull)buffer length:(NSUInteger)length |
Modified -[NSData getBytes:range:]
| Declaration | |
|---|---|
| From | - (void)getBytes:(void *)buffer range:(NSRange)range |
| To | - (void)getBytes:(void * _Nonnull)buffer range:(NSRange)range |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBase64EncodedData:(NSData *)base64Data options:(NSDataBase64DecodingOptions)options |
| To | - (instancetype _Nullable)initWithBase64EncodedData:(NSData * _Nonnull)base64Data options:(NSDataBase64DecodingOptions)options |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBase64EncodedString:(NSString *)base64String options:(NSDataBase64DecodingOptions)options |
| To | - (instancetype _Nullable)initWithBase64EncodedString:(NSString * _Nonnull)base64String options:(NSDataBase64DecodingOptions)options |
Modified -[NSData initWithBase64Encoding:]
| Declaration | |
|---|---|
| From | - (id)initWithBase64Encoding:(NSString *)base64String |
| To | - (id _Nullable)initWithBase64Encoding:(NSString * _Nonnull)base64String |
Modified -[NSData initWithBytes:length:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)length |
| To | - (instancetype _Nonnull)initWithBytes:(const void * _Nullable)bytes length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length |
| To | - (instancetype _Nonnull)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length deallocator:(void (^)(void *bytes, NSUInteger length))deallocator |
| To | - (instancetype _Nonnull)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length deallocator:(void (^ _Nullable)(void * _Nonnull bytes, NSUInteger length))deallocator |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b |
| To | - (instancetype _Nonnull)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b |
Modified -[NSData initWithContentsOfFile:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfFile:(NSString *)path |
| To | - (instancetype _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfFile:(NSString *)path options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr |
| To | - (instancetype _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)errorPtr |
| Declaration | |
|---|---|
| From | - (id)initWithContentsOfMappedFile:(NSString *)path |
| To | - (id _Nullable)initWithContentsOfMappedFile:(NSString * _Nonnull)path |
Modified -[NSData initWithContentsOfURL:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url options:(NSDataReadingOptions)readOptionsMask error:(NSError * _Nullable * _Nullable)errorPtr |
Modified -[NSData initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data |
| To | - (instancetype _Nonnull)initWithData:(NSData * _Nonnull)data |
Modified -[NSData isEqualToData:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToData:(NSData *)other |
| To | - (BOOL)isEqualToData:(NSData * _Nonnull)other |
Modified -[NSData rangeOfData:options:range:]
| Declaration | |
|---|---|
| From | - (NSRange)rangeOfData:(NSData *)dataToFind options:(NSDataSearchOptions)mask range:(NSRange)searchRange |
| To | - (NSRange)rangeOfData:(NSData * _Nonnull)dataToFind options:(NSDataSearchOptions)mask range:(NSRange)searchRange |
Modified -[NSData subdataWithRange:]
| Declaration | |
|---|---|
| From | - (NSData *)subdataWithRange:(NSRange)range |
| To | - (NSData * _Nonnull)subdataWithRange:(NSRange)range |
Modified -[NSData writeToFile:atomically:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)path atomically:(BOOL)useAuxiliaryFile |
Modified -[NSData writeToFile:options:error:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)path options:(NSDataWritingOptions)writeOptionsMask error:(NSError **)errorPtr |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)path options:(NSDataWritingOptions)writeOptionsMask error:(NSError * _Nullable * _Nullable)errorPtr |
Modified -[NSData writeToURL:atomically:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)atomically |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url atomically:(BOOL)atomically |
Modified -[NSData writeToURL:options:error:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url options:(NSDataWritingOptions)writeOptionsMask error:(NSError **)errorPtr |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url options:(NSDataWritingOptions)writeOptionsMask error:(NSError * _Nullable * _Nullable)errorPtr |
Modified -[NSMutableData appendBytes:length:]
| Declaration | |
|---|---|
| From | - (void)appendBytes:(const void *)bytes length:(NSUInteger)length |
| To | - (void)appendBytes:(const void * _Nonnull)bytes length:(NSUInteger)length |
Modified -[NSMutableData appendData:]
| Declaration | |
|---|---|
| From | - (void)appendData:(NSData *)other |
| To | - (void)appendData:(NSData * _Nonnull)other |
Modified +[NSMutableData dataWithCapacity:]
| Declaration | |
|---|---|
| From | + (instancetype)dataWithCapacity:(NSUInteger)aNumItems |
| To | + (instancetype _Nullable)dataWithCapacity:(NSUInteger)aNumItems |
Modified +[NSMutableData dataWithLength:]
| Declaration | |
|---|---|
| From | + (instancetype)dataWithLength:(NSUInteger)length |
| To | + (instancetype _Nullable)dataWithLength:(NSUInteger)length |
Modified -[NSMutableData initWithCapacity:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCapacity:(NSUInteger)capacity |
| To | - (instancetype _Nullable)initWithCapacity:(NSUInteger)capacity |
Modified -[NSMutableData initWithLength:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithLength:(NSUInteger)length |
| To | - (instancetype _Nullable)initWithLength:(NSUInteger)length |
Modified NSMutableData.mutableBytes
| Declaration | |
|---|---|
| From | @property(readonly) void *mutableBytes |
| To | @property(readonly, nonnull) void *mutableBytes |
| Declaration | |
|---|---|
| From | - (void)replaceBytesInRange:(NSRange)range withBytes:(const void *)bytes |
| To | - (void)replaceBytesInRange:(NSRange)range withBytes:(const void * _Nonnull)bytes |
| Declaration | |
|---|---|
| From | - (void)replaceBytesInRange:(NSRange)range withBytes:(const void *)replacementBytes length:(NSUInteger)replacementLength |
| To | - (void)replaceBytesInRange:(NSRange)range withBytes:(const void * _Nullable)replacementBytes length:(NSUInteger)replacementLength |
Modified -[NSMutableData setData:]
| Declaration | |
|---|---|
| From | - (void)setData:(NSData *)data |
| To | - (void)setData:(NSData * _Nonnull)data |
NSDate.h
Modified -[NSDate addTimeInterval:]
| Declaration | |
|---|---|
| From | - (id)addTimeInterval:(NSTimeInterval)seconds |
| To | - (id _Nonnull)addTimeInterval:(NSTimeInterval)seconds |
Modified -[NSDate compare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSDate *)other |
| To | - (NSComparisonResult)compare:(NSDate * _Nonnull)other |
Modified +[NSDate date]
| Declaration | |
|---|---|
| From | + (instancetype)date |
| To | + (instancetype _Nonnull)date |
Modified -[NSDate dateByAddingTimeInterval:]
| Declaration | |
|---|---|
| From | - (instancetype)dateByAddingTimeInterval:(NSTimeInterval)ti |
| To | - (instancetype _Nonnull)dateByAddingTimeInterval:(NSTimeInterval)ti |
| Declaration | |
|---|---|
| From | + (instancetype)dateWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate *)date |
| To | + (instancetype _Nonnull)dateWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | + (instancetype)dateWithTimeIntervalSince1970:(NSTimeInterval)secs |
| To | + (instancetype _Nonnull)dateWithTimeIntervalSince1970:(NSTimeInterval)secs |
| Declaration | |
|---|---|
| From | + (instancetype)dateWithTimeIntervalSinceNow:(NSTimeInterval)secs |
| To | + (instancetype _Nonnull)dateWithTimeIntervalSinceNow:(NSTimeInterval)secs |
| Declaration | |
|---|---|
| From | + (instancetype)dateWithTimeIntervalSinceReferenceDate:(NSTimeInterval)ti |
| To | + (instancetype _Nonnull)dateWithTimeIntervalSinceReferenceDate:(NSTimeInterval)ti |
Modified NSDate.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
Modified -[NSDate descriptionWithLocale:]
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
Modified +[NSDate distantFuture]
| Declaration | |
|---|---|
| From | + (id)distantFuture |
| To | + (NSDate * _Nonnull)distantFuture |
Modified +[NSDate distantPast]
| Declaration | |
|---|---|
| From | + (id)distantPast |
| To | + (NSDate * _Nonnull)distantPast |
Modified -[NSDate earlierDate:]
| Declaration | |
|---|---|
| From | - (NSDate *)earlierDate:(NSDate *)anotherDate |
| To | - (NSDate * _Nonnull)earlierDate:(NSDate * _Nonnull)anotherDate |
Modified -[NSDate init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSDate initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate *)date |
| To | - (instancetype _Nonnull)initWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)secs |
| To | - (instancetype _Nonnull)initWithTimeIntervalSince1970:(NSTimeInterval)secs |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTimeIntervalSinceNow:(NSTimeInterval)secs |
| To | - (instancetype _Nonnull)initWithTimeIntervalSinceNow:(NSTimeInterval)secs |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTimeIntervalSinceReferenceDate:(NSTimeInterval)ti |
| To | - (instancetype _Nonnull)initWithTimeIntervalSinceReferenceDate:(NSTimeInterval)ti |
Modified -[NSDate isEqualToDate:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToDate:(NSDate *)otherDate |
| To | - (BOOL)isEqualToDate:(NSDate * _Nonnull)otherDate |
Modified -[NSDate laterDate:]
| Declaration | |
|---|---|
| From | - (NSDate *)laterDate:(NSDate *)anotherDate |
| To | - (NSDate * _Nonnull)laterDate:(NSDate * _Nonnull)anotherDate |
Modified -[NSDate timeIntervalSinceDate:]
| Declaration | |
|---|---|
| From | - (NSTimeInterval)timeIntervalSinceDate:(NSDate *)anotherDate |
| To | - (NSTimeInterval)timeIntervalSinceDate:(NSDate * _Nonnull)anotherDate |
NSDateComponentsFormatter.h
Modified NSDateComponentsFormatter.calendar
| Declaration | |
|---|---|
| From | @property(copy) NSCalendar *calendar |
| To | @property(copy, nullable) NSCalendar *calendar |
| Declaration | |
|---|---|
| From | - (BOOL)getObjectValue:(out id *)obj forString:(NSString *)string errorDescription:(out NSString **)error |
| To | - (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString * _Nonnull)string errorDescription:(out NSString * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (NSString *)localizedStringFromDateComponents:(NSDateComponents *)components unitsStyle:(NSDateComponentsFormatterUnitsStyle)unitsStyle |
| To | + (NSString * _Nullable)localizedStringFromDateComponents:(NSDateComponents * _Nonnull)components unitsStyle:(NSDateComponentsFormatterUnitsStyle)unitsStyle |
| Declaration | |
|---|---|
| From | - (NSString *)stringForObjectValue:(id)obj |
| To | - (NSString * _Nullable)stringForObjectValue:(id _Nonnull)obj |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromDate:(NSDate *)startDate toDate:(NSDate *)endDate |
| To | - (NSString * _Nullable)stringFromDate:(NSDate * _Nonnull)startDate toDate:(NSDate * _Nonnull)endDate |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromDateComponents:(NSDateComponents *)components |
| To | - (NSString * _Nullable)stringFromDateComponents:(NSDateComponents * _Nonnull)components |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromTimeInterval:(NSTimeInterval)ti |
| To | - (NSString * _Nullable)stringFromTimeInterval:(NSTimeInterval)ti |
NSDateFormatter.h
Modified NSDateFormatter.AMSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *AMSymbol |
| To | @property(copy) NSString * _Null_unspecified AMSymbol |
Modified NSDateFormatter.calendar
| Declaration | |
|---|---|
| From | @property(copy) NSCalendar *calendar |
| To | @property(copy) NSCalendar * _Null_unspecified calendar |
Modified NSDateFormatter.dateFormat
| Declaration | |
|---|---|
| From | @property(copy) NSString *dateFormat |
| To | @property(copy) NSString * _Null_unspecified dateFormat |
| Declaration | |
|---|---|
| From | + (NSString *)dateFormatFromTemplate:(NSString *)tmplate options:(NSUInteger)opts locale:(NSLocale *)locale |
| To | + (NSString * _Nullable)dateFormatFromTemplate:(NSString * _Nonnull)tmplate options:(NSUInteger)opts locale:(NSLocale * _Nullable)locale |
Modified -[NSDateFormatter dateFromString:]
| Declaration | |
|---|---|
| From | - (NSDate *)dateFromString:(NSString *)string |
| To | - (NSDate * _Nullable)dateFromString:(NSString * _Nonnull)string |
Modified NSDateFormatter.defaultDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *defaultDate |
| To | @property(copy, nullable) NSDate *defaultDate |
Modified NSDateFormatter.eraSymbols
| Declaration | |
|---|---|
| From | @property(copy) NSArray *eraSymbols |
| To | @property(copy) NSArray<NSString *> * _Null_unspecified eraSymbols |
| Declaration | |
|---|---|
| From | - (BOOL)getObjectValue:(out id *)obj forString:(NSString *)string range:(inout NSRange *)rangep error:(out NSError **)error |
| To | - (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString * _Nonnull)string range:(inout NSRange * _Nullable)rangep error:(out NSError * _Nullable * _Nullable)error |
Modified NSDateFormatter.gregorianStartDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *gregorianStartDate |
| To | @property(copy, nullable) NSDate *gregorianStartDate |
| Declaration | |
|---|---|
| From | - (id)initWithDateFormat:(NSString *)format allowNaturalLanguage:(BOOL)flag |
| To | - (id _Nonnull)initWithDateFormat:(NSString * _Nonnull)format allowNaturalLanguage:(BOOL)flag |
Modified NSDateFormatter.locale
| Declaration | |
|---|---|
| From | @property(copy) NSLocale *locale |
| To | @property(copy) NSLocale * _Null_unspecified locale |
| Declaration | |
|---|---|
| From | + (NSString *)localizedStringFromDate:(NSDate *)date dateStyle:(NSDateFormatterStyle)dstyle timeStyle:(NSDateFormatterStyle)tstyle |
| To | + (NSString * _Nonnull)localizedStringFromDate:(NSDate * _Nonnull)date dateStyle:(NSDateFormatterStyle)dstyle timeStyle:(NSDateFormatterStyle)tstyle |
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.PMSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *PMSymbol |
| To | @property(copy) NSString * _Null_unspecified PMSymbol |
Modified NSDateFormatter.quarterSymbols
| Declaration | |
|---|---|
| From | @property(copy) NSArray *quarterSymbols |
| To | @property(copy) NSArray<NSString *> * _Null_unspecified quarterSymbols |
| Declaration | |
|---|---|
| From | - (void)setLocalizedDateFormatFromTemplate:(NSString *)dateFormatTemplate |
| To | - (void)setLocalizedDateFormatFromTemplate:(NSString * _Nonnull)dateFormatTemplate |
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 |
Modified -[NSDateFormatter stringFromDate:]
| Declaration | |
|---|---|
| From | - (NSString *)stringFromDate:(NSDate *)date |
| To | - (NSString * _Nonnull)stringFromDate:(NSDate * _Nonnull)date |
Modified NSDateFormatter.timeZone
| Declaration | |
|---|---|
| From | @property(copy) NSTimeZone *timeZone |
| To | @property(copy) NSTimeZone * _Null_unspecified timeZone |
Modified NSDateFormatter.twoDigitStartDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *twoDigitStartDate |
| To | @property(copy, nullable) NSDate *twoDigitStartDate |
| 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 |
NSDateIntervalFormatter.h
Modified NSDateIntervalFormatter.calendar
| Declaration | |
|---|---|
| From | @property(copy) NSCalendar *calendar |
| To | @property(copy) NSCalendar * _Null_unspecified calendar |
Modified NSDateIntervalFormatter.dateTemplate
| Declaration | |
|---|---|
| From | @property(copy) NSString *dateTemplate |
| To | @property(copy) NSString * _Null_unspecified dateTemplate |
Modified NSDateIntervalFormatter.locale
| Declaration | |
|---|---|
| From | @property(copy) NSLocale *locale |
| To | @property(copy) NSLocale * _Null_unspecified locale |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromDate:(NSDate *)fromDate toDate:(NSDate *)toDate |
| To | - (NSString * _Nonnull)stringFromDate:(NSDate * _Nonnull)fromDate toDate:(NSDate * _Nonnull)toDate |
Modified NSDateIntervalFormatter.timeZone
| Declaration | |
|---|---|
| From | @property(copy) NSTimeZone *timeZone |
| To | @property(copy) NSTimeZone * _Null_unspecified timeZone |
NSDecimal.h
Modified NSDecimalAdd()
| Declaration | |
|---|---|
| From | NSCalculationError NSDecimalAdd (
NSDecimal *result,
const NSDecimal *leftOperand,
const NSDecimal *rightOperand,
NSRoundingMode roundingMode
);
|
| To | NSCalculationError NSDecimalAdd (
NSDecimal * _Nonnull result,
const NSDecimal * _Nonnull leftOperand,
const NSDecimal * _Nonnull rightOperand,
NSRoundingMode roundingMode
);
|
Modified NSDecimalCompact()
| Declaration | |
|---|---|
| From | void NSDecimalCompact (
NSDecimal *number
);
|
| To | void NSDecimalCompact (
NSDecimal * _Nonnull number
);
|
Modified NSDecimalCompare()
| Declaration | |
|---|---|
| From | NSComparisonResult NSDecimalCompare (
const NSDecimal *leftOperand,
const NSDecimal *rightOperand
);
|
| To | NSComparisonResult NSDecimalCompare (
const NSDecimal * _Nonnull leftOperand,
const NSDecimal * _Nonnull rightOperand
);
|
Modified NSDecimalCopy()
| Declaration | |
|---|---|
| From | void NSDecimalCopy (
NSDecimal *destination,
const NSDecimal *source
);
|
| To | void NSDecimalCopy (
NSDecimal * _Nonnull destination,
const NSDecimal * _Nonnull source
);
|
Modified NSDecimalDivide()
| Declaration | |
|---|---|
| From | NSCalculationError NSDecimalDivide (
NSDecimal *result,
const NSDecimal *leftOperand,
const NSDecimal *rightOperand,
NSRoundingMode roundingMode
);
|
| To | NSCalculationError NSDecimalDivide (
NSDecimal * _Nonnull result,
const NSDecimal * _Nonnull leftOperand,
const NSDecimal * _Nonnull rightOperand,
NSRoundingMode roundingMode
);
|
Modified NSDecimalIsNotANumber()
| Declaration | |
|---|---|
| From | BOOL NSDecimalIsNotANumber (
const NSDecimal *dcm
);
|
| To | BOOL NSDecimalIsNotANumber (
const NSDecimal * _Nonnull dcm
);
|
Modified NSDecimalMultiply()
| Declaration | |
|---|---|
| From | NSCalculationError NSDecimalMultiply (
NSDecimal *result,
const NSDecimal *leftOperand,
const NSDecimal *rightOperand,
NSRoundingMode roundingMode
);
|
| To | NSCalculationError NSDecimalMultiply (
NSDecimal * _Nonnull result,
const NSDecimal * _Nonnull leftOperand,
const NSDecimal * _Nonnull rightOperand,
NSRoundingMode roundingMode
);
|
Modified NSDecimalMultiplyByPowerOf10()
| Declaration | |
|---|---|
| From | NSCalculationError NSDecimalMultiplyByPowerOf10 (
NSDecimal *result,
const NSDecimal *number,
short power,
NSRoundingMode roundingMode
);
|
| To | NSCalculationError NSDecimalMultiplyByPowerOf10 (
NSDecimal * _Nonnull result,
const NSDecimal * _Nonnull number,
short power,
NSRoundingMode roundingMode
);
|
Modified NSDecimalNormalize()
| Declaration | |
|---|---|
| From | NSCalculationError NSDecimalNormalize (
NSDecimal *number1,
NSDecimal *number2,
NSRoundingMode roundingMode
);
|
| To | NSCalculationError NSDecimalNormalize (
NSDecimal * _Nonnull number1,
NSDecimal * _Nonnull number2,
NSRoundingMode roundingMode
);
|
Modified NSDecimalPower()
| Declaration | |
|---|---|
| From | NSCalculationError NSDecimalPower (
NSDecimal *result,
const NSDecimal *number,
NSUInteger power,
NSRoundingMode roundingMode
);
|
| To | NSCalculationError NSDecimalPower (
NSDecimal * _Nonnull result,
const NSDecimal * _Nonnull number,
NSUInteger power,
NSRoundingMode roundingMode
);
|
Modified NSDecimalRound()
| Declaration | |
|---|---|
| From | void NSDecimalRound (
NSDecimal *result,
const NSDecimal *number,
NSInteger scale,
NSRoundingMode roundingMode
);
|
| To | void NSDecimalRound (
NSDecimal * _Nonnull result,
const NSDecimal * _Nonnull number,
NSInteger scale,
NSRoundingMode roundingMode
);
|
Modified NSDecimalString()
| Declaration | |
|---|---|
| From | NSString * NSDecimalString (
const NSDecimal *dcm,
id locale
);
|
| To | NSString * _Nonnull NSDecimalString (
const NSDecimal * _Nonnull dcm,
id _Nullable locale
);
|
Modified NSDecimalSubtract()
| Declaration | |
|---|---|
| From | NSCalculationError NSDecimalSubtract (
NSDecimal *result,
const NSDecimal *leftOperand,
const NSDecimal *rightOperand,
NSRoundingMode roundingMode
);
|
| To | NSCalculationError NSDecimalSubtract (
NSDecimal * _Nonnull result,
const NSDecimal * _Nonnull leftOperand,
const NSDecimal * _Nonnull rightOperand,
NSRoundingMode roundingMode
);
|
NSDecimalNumber.h
Modified -[NSDecimalNumber compare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSNumber *)decimalNumber |
| To | - (NSComparisonResult)compare:(NSNumber * _Nonnull)decimalNumber |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByAdding:(NSDecimalNumber * _Nonnull)decimalNumber |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByAdding:(NSDecimalNumber *)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByAdding:(NSDecimalNumber * _Nonnull)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors> _Nullable)behavior |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByDividingBy:(NSDecimalNumber * _Nonnull)decimalNumber |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByDividingBy:(NSDecimalNumber *)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByDividingBy:(NSDecimalNumber * _Nonnull)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors> _Nullable)behavior |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByMultiplyingBy:(NSDecimalNumber * _Nonnull)decimalNumber |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByMultiplyingBy:(NSDecimalNumber *)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByMultiplyingBy:(NSDecimalNumber * _Nonnull)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors> _Nullable)behavior |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByMultiplyingByPowerOf10:(short)power |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByMultiplyingByPowerOf10:(short)power withBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByMultiplyingByPowerOf10:(short)power withBehavior:(id<NSDecimalNumberBehaviors> _Nullable)behavior |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByRaisingToPower:(NSUInteger)power |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByRaisingToPower:(NSUInteger)power |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByRaisingToPower:(NSUInteger)power withBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByRaisingToPower:(NSUInteger)power withBehavior:(id<NSDecimalNumberBehaviors> _Nullable)behavior |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberByRoundingAccordingToBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberByRoundingAccordingToBehavior:(id<NSDecimalNumberBehaviors> _Nullable)behavior |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decimalNumber |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberBySubtracting:(NSDecimalNumber * _Nonnull)decimalNumber |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)decimalNumberBySubtracting:(NSDecimalNumber *)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | - (NSDecimalNumber * _Nonnull)decimalNumberBySubtracting:(NSDecimalNumber * _Nonnull)decimalNumber withBehavior:(id<NSDecimalNumberBehaviors> _Nullable)behavior |
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)decimalNumberWithDecimal:(NSDecimal)dcm |
| To | + (NSDecimalNumber * _Nonnull)decimalNumberWithDecimal:(NSDecimal)dcm |
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)decimalNumberWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)flag |
| To | + (NSDecimalNumber * _Nonnull)decimalNumberWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)flag |
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)decimalNumberWithString:(NSString *)numberValue |
| To | + (NSDecimalNumber * _Nonnull)decimalNumberWithString:(NSString * _Nullable)numberValue |
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)decimalNumberWithString:(NSString *)numberValue locale:(id)locale |
| To | + (NSDecimalNumber * _Nonnull)decimalNumberWithString:(NSString * _Nullable)numberValue locale:(id _Nullable)locale |
Modified +[NSDecimalNumber defaultBehavior]
| Declaration | |
|---|---|
| From | + (id<NSDecimalNumberBehaviors>)defaultBehavior |
| To | + (id<NSDecimalNumberBehaviors> _Nonnull)defaultBehavior |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
Modified -[NSDecimalNumber initWithDecimal:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithDecimal:(NSDecimal)dcm |
| To | - (instancetype _Nonnull)initWithDecimal:(NSDecimal)dcm |
| Declaration | |
|---|---|
| From | - (instancetype)initWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)flag |
| To | - (instancetype _Nonnull)initWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)flag |
Modified -[NSDecimalNumber initWithString:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)numberValue |
| To | - (instancetype _Nonnull)initWithString:(NSString * _Nullable)numberValue |
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)numberValue locale:(id)locale |
| To | - (instancetype _Nonnull)initWithString:(NSString * _Nullable)numberValue locale:(id _Nullable)locale |
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)maximumDecimalNumber |
| To | + (NSDecimalNumber * _Nonnull)maximumDecimalNumber |
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)minimumDecimalNumber |
| To | + (NSDecimalNumber * _Nonnull)minimumDecimalNumber |
Modified +[NSDecimalNumber notANumber]
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)notANumber |
| To | + (NSDecimalNumber * _Nonnull)notANumber |
Modified NSDecimalNumber.objCType
| Declaration | |
|---|---|
| From | @property(readonly) const char *objCType |
| To | @property(readonly, nonnull) const char *objCType |
Modified +[NSDecimalNumber one]
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)one |
| To | + (NSDecimalNumber * _Nonnull)one |
| Declaration | |
|---|---|
| From | + (void)setDefaultBehavior:(id<NSDecimalNumberBehaviors>)behavior |
| To | + (void)setDefaultBehavior:(id<NSDecimalNumberBehaviors> _Nonnull)behavior |
Modified +[NSDecimalNumber zero]
| Declaration | |
|---|---|
| From | + (NSDecimalNumber *)zero |
| To | + (NSDecimalNumber * _Nonnull)zero |
| Declaration | |
|---|---|
| From | - (NSDecimalNumber *)exceptionDuringOperation:(SEL)operation error:(NSCalculationError)error leftOperand:(NSDecimalNumber *)leftOperand rightOperand:(NSDecimalNumber *)rightOperand |
| To | - (NSDecimalNumber * _Nullable)exceptionDuringOperation:(SEL _Nonnull)operation error:(NSCalculationError)error leftOperand:(NSDecimalNumber * _Nonnull)leftOperand rightOperand:(NSDecimalNumber * _Nullable)rightOperand |
| Declaration | |
|---|---|
| From | + (instancetype)decimalNumberHandlerWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero |
| To | + (instancetype _Nonnull)decimalNumberHandlerWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero |
| Declaration | |
|---|---|
| From | + (NSDecimalNumberHandler *)defaultDecimalNumberHandler |
| To | + (NSDecimalNumberHandler * _Nonnull)defaultDecimalNumberHandler |
| Declaration | |
|---|---|
| From | - (instancetype)initWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero |
| To | - (instancetype _Nonnull)initWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero |
Modified -[NSScanner scanDecimal:]
| Declaration | |
|---|---|
| From | - (BOOL)scanDecimal:(NSDecimal *)dcm |
| To | - (BOOL)scanDecimal:(NSDecimal * _Nullable)dcm |
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 |
Modified NSDictionary.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *descriptionInStringsFileFormat |
| To | @property(readonly, copy, nonnull) NSString *descriptionInStringsFileFormat |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale indent:(NSUInteger)level |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale indent:(NSUInteger)level |
Modified +[NSDictionary dictionary]
| Declaration | |
|---|---|
| From | + (instancetype)dictionary |
| To | + (instancetype _Nonnull)dictionary |
| 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 | + (instancetype)dictionaryWithObjectsAndKeys:(id)firstObject, ... |
| To | + (instancetype _Nonnull)dictionaryWithObjectsAndKeys:(id _Nonnull)firstObject, ... |
| 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 | OS X 10.11 |
Modified -[NSDictionary init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSDictionary initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| 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 |
| Declaration | |
|---|---|
| From | - (instancetype)initWithObjectsAndKeys:(id)firstObject, ... |
| To | - (instancetype _Nonnull)initWithObjectsAndKeys:(id _Nonnull)firstObject, ... |
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 | - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)path atomically:(BOOL)useAuxiliaryFile |
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)atomically |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url atomically:(BOOL)atomically |
| Declaration | |
|---|---|
| From | - (void)addEntriesFromDictionary:(NSDictionary *)otherDictionary |
| To | - (void)addEntriesFromDictionary:(NSDictionary<KeyType,ObjectType> * _Nonnull)otherDictionary |
| Declaration | |
|---|---|
| From | + (instancetype)dictionaryWithCapacity:(NSUInteger)numItems |
| To | + (instancetype _Nonnull)dictionaryWithCapacity:(NSUInteger)numItems |
| 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 |
Modified -[NSMutableDictionary init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCapacity:(NSUInteger)numItems |
| To | - (instancetype _Nonnull)initWithCapacity:(NSUInteger)numItems |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| 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 |
NSDistantObject.h
Modified NSDistantObject.connectionForProxy
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSConnection *connectionForProxy |
| To | @property(readonly, retain, nonnull) NSConnection *connectionForProxy |
Modified -[NSDistantObject initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithLocal:(id)target connection:(NSConnection *)connection |
| To | - (instancetype _Nonnull)initWithLocal:(id _Nonnull)target connection:(NSConnection * _Nonnull)connection |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTarget:(id)target connection:(NSConnection *)connection |
| To | - (instancetype _Nullable)initWithTarget:(id _Nonnull)target connection:(NSConnection * _Nonnull)connection |
| Declaration | |
|---|---|
| From | + (id)proxyWithLocal:(id)target connection:(NSConnection *)connection |
| To | + (id _Nonnull)proxyWithLocal:(id _Nonnull)target connection:(NSConnection * _Nonnull)connection |
| Declaration | |
|---|---|
| From | + (id)proxyWithTarget:(id)target connection:(NSConnection *)connection |
| To | + (id _Nullable)proxyWithTarget:(id _Nonnull)target connection:(NSConnection * _Nonnull)connection |
| Declaration | |
|---|---|
| From | - (void)setProtocolForProxy:(Protocol *)proto |
| To | - (void)setProtocolForProxy:(Protocol * _Nullable)proto |
NSDistributedLock.h
Modified -[NSDistributedLock initWithPath:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithPath:(NSString *)path |
| To | - (instancetype _Nullable)initWithPath:(NSString * _Nonnull)path |
Modified NSDistributedLock.lockDate
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *lockDate |
| To | @property(readonly, copy, nonnull) NSDate *lockDate |
Modified +[NSDistributedLock lockWithPath:]
| Declaration | |
|---|---|
| From | + (NSDistributedLock *)lockWithPath:(NSString *)path |
| To | + (NSDistributedLock * _Nullable)lockWithPath:(NSString * _Nonnull)path |
NSDistributedNotificationCenter.h
Removed NSNotificationDeliverImmediately
Removed NSNotificationPostToAllSessions
| Declaration | |
|---|---|
| From | - (void)addObserver:(id)observer selector:(SEL)aSelector name:(NSString *)aName object:(NSString *)anObject |
| To | - (void)addObserver:(id _Nonnull)observer selector:(SEL _Nonnull)aSelector name:(NSString * _Nullable)aName object:(NSString * _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (void)addObserver:(id)observer selector:(SEL)selector name:(NSString *)name object:(NSString *)object suspensionBehavior:(NSNotificationSuspensionBehavior)suspensionBehavior |
| To | - (void)addObserver:(id _Nonnull)observer selector:(SEL _Nonnull)selector name:(NSString * _Nullable)name object:(NSString * _Nullable)object suspensionBehavior:(NSNotificationSuspensionBehavior)suspensionBehavior |
| Declaration | |
|---|---|
| From | + (NSDistributedNotificationCenter *)defaultCenter |
| To | + (NSDistributedNotificationCenter * _Nonnull)defaultCenter |
| Declaration | |
|---|---|
| From | + (NSDistributedNotificationCenter *)notificationCenterForType:(NSString *)notificationCenterType |
| To | + (NSDistributedNotificationCenter * _Nonnull)notificationCenterForType:(NSString * _Nonnull)notificationCenterType |
| Declaration | |
|---|---|
| From | - (void)postNotificationName:(NSString *)aName object:(NSString *)anObject |
| To | - (void)postNotificationName:(NSString * _Nonnull)aName object:(NSString * _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (void)postNotificationName:(NSString *)aName object:(NSString *)anObject userInfo:(NSDictionary *)aUserInfo |
| To | - (void)postNotificationName:(NSString * _Nonnull)aName object:(NSString * _Nullable)anObject userInfo:(NSDictionary * _Nullable)aUserInfo |
Modified -[NSDistributedNotificationCenter postNotificationName:object:userInfo:deliverImmediately:]
| Declaration | |
|---|---|
| From | - (void)postNotificationName:(NSString *)name object:(NSString *)object userInfo:(NSDictionary *)userInfo deliverImmediately:(BOOL)deliverImmediately |
| To | - (void)postNotificationName:(NSString * _Nonnull)name object:(NSString * _Nullable)object userInfo:(NSDictionary * _Nullable)userInfo deliverImmediately:(BOOL)deliverImmediately |
| Declaration | |
|---|---|
| From | - (void)postNotificationName:(NSString *)name object:(NSString *)object userInfo:(NSDictionary *)userInfo options:(NSUInteger)options |
| To | - (void)postNotificationName:(NSString * _Nonnull)name object:(NSString * _Nullable)object userInfo:(NSDictionary * _Nullable)userInfo options:(NSDistributedNotificationOptions)options |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(id)observer name:(NSString *)aName object:(NSString *)anObject |
| To | - (void)removeObserver:(id _Nonnull)observer name:(NSString * _Nullable)aName object:(NSString * _Nullable)anObject |
NSEnergyFormatter.h
| Declaration | |
|---|---|
| From | - (BOOL)getObjectValue:(out id *)obj forString:(NSString *)string errorDescription:(out NSString **)error |
| To | - (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString * _Nonnull)string errorDescription:(out NSString * _Nullable * _Nullable)error |
Modified NSEnergyFormatter.numberFormatter
| Declaration | |
|---|---|
| From | @property(copy) NSNumberFormatter *numberFormatter |
| To | @property(copy) NSNumberFormatter * _Null_unspecified numberFormatter |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromJoules:(double)numberInJoules |
| To | - (NSString * _Nonnull)stringFromJoules:(double)numberInJoules |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromValue:(double)value unit:(NSEnergyFormatterUnit)unit |
| To | - (NSString * _Nonnull)stringFromValue:(double)value unit:(NSEnergyFormatterUnit)unit |
| Declaration | |
|---|---|
| From | - (NSString *)unitStringFromJoules:(double)numberInJoules usedUnit:(NSEnergyFormatterUnit *)unitp |
| To | - (NSString * _Nonnull)unitStringFromJoules:(double)numberInJoules usedUnit:(NSEnergyFormatterUnit * _Nullable)unitp |
| Declaration | |
|---|---|
| From | - (NSString *)unitStringFromValue:(double)value unit:(NSEnergyFormatterUnit)unit |
| To | - (NSString * _Nonnull)unitStringFromValue:(double)value unit:(NSEnergyFormatterUnit)unit |
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 |
| Declaration | |
|---|---|
| From | - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState *)state objects:(id [])buffer count:(NSUInteger)len |
| To | - (NSUInteger)countByEnumeratingWithState:(NSFastEnumerationState * _Nonnull)state objects:(id _Nonnull [])buffer count:(NSUInteger)len |
NSError.h
Modified NSError.domain
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *domain |
| To | @property(readonly, copy, nonnull) NSString *domain |
| Declaration | |
|---|---|
| From | + (instancetype)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict |
| To | + (instancetype _Nonnull)errorWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary * _Nullable)dict |
Modified NSError.helpAnchor
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *helpAnchor |
| To | @property(readonly, copy, nullable) NSString *helpAnchor |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict |
| To | - (instancetype _Nonnull)initWithDomain:(NSString * _Nonnull)domain code:(NSInteger)code userInfo:(NSDictionary * _Nullable)dict |
Modified NSError.localizedDescription
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedDescription |
| To | @property(readonly, copy, nonnull) NSString *localizedDescription |
Modified NSError.localizedFailureReason
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedFailureReason |
| To | @property(readonly, copy, nullable) NSString *localizedFailureReason |
Modified NSError.localizedRecoveryOptions
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *localizedRecoveryOptions |
| To | @property(readonly, copy, nullable) NSArray<NSString *> *localizedRecoveryOptions |
Modified NSError.localizedRecoverySuggestion
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedRecoverySuggestion |
| To | @property(readonly, copy, nullable) NSString *localizedRecoverySuggestion |
Modified NSError.recoveryAttempter
| Declaration | |
|---|---|
| From | @property(readonly, retain) id recoveryAttempter |
| To | @property(readonly, strong, nullable) id recoveryAttempter |
Modified NSError.userInfo
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *userInfo |
| To | @property(readonly, copy, nonnull) NSDictionary *userInfo |
| Declaration | |
|---|---|
| From | - (BOOL)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex |
| To | - (BOOL)attemptRecoveryFromError:(NSError * _Nonnull)error optionIndex:(NSUInteger)recoveryOptionIndex |
| Declaration | |
|---|---|
| From | - (void)attemptRecoveryFromError:(NSError *)error optionIndex:(NSUInteger)recoveryOptionIndex delegate:(id)delegate didRecoverSelector:(SEL)didRecoverSelector contextInfo:(void *)contextInfo |
| To | - (void)attemptRecoveryFromError:(NSError * _Nonnull)error optionIndex:(NSUInteger)recoveryOptionIndex delegate:(id _Nullable)delegate didRecoverSelector:(SEL _Nullable)didRecoverSelector contextInfo:(void * _Nullable)contextInfo |
NSException.h
Modified +[NSAssertionHandler currentHandler]
| Declaration | |
|---|---|
| From | + (NSAssertionHandler *)currentHandler |
| To | + (NSAssertionHandler * _Nonnull)currentHandler |
| Declaration | |
|---|---|
| From | - (void)handleFailureInFunction:(NSString *)functionName file:(NSString *)fileName lineNumber:(NSInteger)line description:(NSString *)format, ... |
| To | - (void)handleFailureInFunction:(NSString * _Nonnull)functionName file:(NSString * _Nonnull)fileName lineNumber:(NSInteger)line description:(NSString * _Nullable)format, ... |
| Declaration | |
|---|---|
| From | - (void)handleFailureInMethod:(SEL)selector object:(id)object file:(NSString *)fileName lineNumber:(NSInteger)line description:(NSString *)format, ... |
| To | - (void)handleFailureInMethod:(SEL _Nonnull)selector object:(id _Nonnull)object file:(NSString * _Nonnull)fileName lineNumber:(NSInteger)line description:(NSString * _Nullable)format, ... |
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 |
| Declaration | |
|---|---|
| From | + (NSException *)exceptionWithName:(NSString *)name reason:(NSString *)reason userInfo:(NSDictionary *)userInfo |
| To | + (NSException * _Nonnull)exceptionWithName:(NSString * _Nonnull)name reason:(NSString * _Nullable)reason userInfo:(NSDictionary * _Nullable)userInfo |
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo |
| To | - (instancetype _Nonnull)initWithName:(NSString * _Nonnull)aName reason:(NSString * _Nullable)aReason userInfo:(NSDictionary * _Nullable)aUserInfo |
Modified NSException.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
Modified +[NSException raise:format:]
| Declaration | |
|---|---|
| From | + (void)raise:(NSString *)name format:(NSString *)format, ... |
| To | + (void)raise:(NSString * _Nonnull)name format:(NSString * _Nonnull)format, ... |
| Declaration | |
|---|---|
| From | + (void)raise:(NSString *)name format:(NSString *)format arguments:(va_list)argList |
| To | + (void)raise:(NSString * _Nonnull)name format:(NSString * _Nonnull)format arguments:(va_list _Nonnull)argList |
Modified NSException.reason
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *reason |
| To | @property(readonly, copy, nullable) NSString *reason |
Modified NSException.userInfo
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *userInfo |
| To | @property(readonly, copy, nullable) NSDictionary *userInfo |
Modified NSGetUncaughtExceptionHandler()
| Declaration | |
|---|---|
| From | NSUncaughtExceptionHandler * NSGetUncaughtExceptionHandler (
void
);
|
| To | NSUncaughtExceptionHandler * _Nullable NSGetUncaughtExceptionHandler (
void
);
|
Modified NSSetUncaughtExceptionHandler()
| Declaration | |
|---|---|
| From | void NSSetUncaughtExceptionHandler (
NSUncaughtExceptionHandler *
);
|
| To | void NSSetUncaughtExceptionHandler (
NSUncaughtExceptionHandler * _Nullable
);
|
NSExpression.h
Modified NSExpression.arguments
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *arguments |
| To | @property(readonly, copy, nullable) NSArray<NSExpression *> *arguments |
Modified NSExpression.collection
| Declaration | |
|---|---|
| From | @property(readonly, retain) id collection |
| To | @property(readonly, retain, nonnull) id collection |
Modified NSExpression.constantValue
| Declaration | |
|---|---|
| From | @property(readonly, retain) id constantValue |
| To | @property(readonly, retain, nonnull) id constantValue |
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 *)expressionForAggregate:(NSArray *)subexpressions |
| To | + (NSExpression * _Nonnull)expressionForAggregate:(NSArray * _Nonnull)subexpressions |
Modified +[NSExpression expressionForAnyKey]
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForAnyKey |
| To | + (NSExpression * _Nonnull)expressionForAnyKey |
| 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 |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForConstantValue:(id)obj |
| To | + (NSExpression * _Nonnull)expressionForConstantValue:(id _Nullable)obj |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForEvaluatedObject |
| To | + (NSExpression * _Nonnull)expressionForEvaluatedObject |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForFunction:(NSString *)name arguments:(NSArray *)parameters |
| To | + (NSExpression * _Nonnull)expressionForFunction:(NSString * _Nonnull)name arguments:(NSArray * _Nonnull)parameters |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForFunction:(NSExpression *)target selectorName:(NSString *)name arguments:(NSArray *)parameters |
| To | + (NSExpression * _Nonnull)expressionForFunction:(NSExpression * _Nonnull)target selectorName:(NSString * _Nonnull)name arguments:(NSArray * _Nullable)parameters |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForIntersectSet:(NSExpression *)left with:(NSExpression *)right |
| To | + (NSExpression * _Nonnull)expressionForIntersectSet:(NSExpression * _Nonnull)left with:(NSExpression * _Nonnull)right |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForKeyPath:(NSString *)keyPath |
| To | + (NSExpression * _Nonnull)expressionForKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForMinusSet:(NSExpression *)left with:(NSExpression *)right |
| To | + (NSExpression * _Nonnull)expressionForMinusSet:(NSExpression * _Nonnull)left with:(NSExpression * _Nonnull)right |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForSubquery:(NSExpression *)expression usingIteratorVariable:(NSString *)variable predicate:(id)predicate |
| To | + (NSExpression * _Nonnull)expressionForSubquery:(NSExpression * _Nonnull)expression usingIteratorVariable:(NSString * _Nonnull)variable predicate:(id _Nonnull)predicate |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForUnionSet:(NSExpression *)left with:(NSExpression *)right |
| To | + (NSExpression * _Nonnull)expressionForUnionSet:(NSExpression * _Nonnull)left with:(NSExpression * _Nonnull)right |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionForVariable:(NSString *)string |
| To | + (NSExpression * _Nonnull)expressionForVariable:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (id)expressionValueWithObject:(id)object context:(NSMutableDictionary *)context |
| To | - (id _Nonnull)expressionValueWithObject:(id _Nullable)object context:(NSMutableDictionary * _Nullable)context |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionWithFormat:(NSString *)expressionFormat, ... |
| To | + (NSExpression * _Nonnull)expressionWithFormat:(NSString * _Nonnull)expressionFormat, ... |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionWithFormat:(NSString *)expressionFormat argumentArray:(NSArray *)arguments |
| To | + (NSExpression * _Nonnull)expressionWithFormat:(NSString * _Nonnull)expressionFormat argumentArray:(NSArray * _Nonnull)arguments |
| Declaration | |
|---|---|
| From | + (NSExpression *)expressionWithFormat:(NSString *)expressionFormat arguments:(va_list)argList |
| To | + (NSExpression * _Nonnull)expressionWithFormat:(NSString * _Nonnull)expressionFormat arguments:(va_list _Nonnull)argList |
Modified NSExpression.function
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *function |
| To | @property(readonly, copy, nonnull) NSString *function |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithExpressionType:(NSExpressionType)type | -- |
| To | - (instancetype _Nonnull)initWithExpressionType:(NSExpressionType)type | yes |
Modified NSExpression.keyPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *keyPath |
| To | @property(readonly, copy, nonnull) NSString *keyPath |
Modified NSExpression.leftExpression
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSExpression *leftExpression |
| To | @property(readonly, copy, nonnull) NSExpression *leftExpression |
Modified NSExpression.operand
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSExpression *operand |
| To | @property(readonly, copy, nonnull) NSExpression *operand |
Modified NSExpression.predicate
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSPredicate *predicate |
| To | @property(readonly, copy, nonnull) NSPredicate *predicate |
Modified NSExpression.rightExpression
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSExpression *rightExpression |
| To | @property(readonly, copy, nonnull) NSExpression *rightExpression |
Modified NSExpression.variable
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *variable |
| To | @property(readonly, copy, nonnull) NSString *variable |
NSExtensionContext.h
| Declaration | |
|---|---|
| From | - (void)cancelRequestWithError:(NSError *)error |
| To | - (void)cancelRequestWithError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)completeRequestReturningItems:(NSArray *)items completionHandler:(void (^)(BOOL expired))completionHandler |
| To | - (void)completeRequestReturningItems:(NSArray * _Nullable)items completionHandler:(void (^ _Nullable)(BOOL expired))completionHandler |
Modified NSExtensionContext.inputItems
| Declaration | |
|---|---|
| From | @property(readonly, copy, atomic) NSArray *inputItems |
| To | @property(readonly, copy, atomic, nonnull) NSArray *inputItems |
| Declaration | |
|---|---|
| From | - (void)openURL:(NSURL *)URL completionHandler:(void (^)(BOOL success))completionHandler |
| To | - (void)openURL:(NSURL * _Nonnull)URL completionHandler:(void (^ _Nullable)(BOOL success))completionHandler |
NSExtensionItem.h
Modified NSExtensionItem.attachments
| Declaration | |
|---|---|
| From | @property(copy, atomic) NSArray *attachments |
| To | @property(copy, atomic, nullable) NSArray *attachments |
| Declaration | |
|---|---|
| From | @property(copy, atomic) NSAttributedString *attributedContentText |
| To | @property(copy, atomic, nullable) NSAttributedString *attributedContentText |
Modified NSExtensionItem.attributedTitle
| Declaration | |
|---|---|
| From | @property(copy, atomic) NSAttributedString *attributedTitle |
| To | @property(copy, atomic, nullable) NSAttributedString *attributedTitle |
Modified NSExtensionItem.userInfo
| Declaration | |
|---|---|
| From | @property(copy, atomic) NSDictionary *userInfo |
| To | @property(copy, atomic, nullable) NSDictionary *userInfo |
NSExtensionRequestHandling.h
| Declaration | |
|---|---|
| From | - (void)beginRequestWithExtensionContext:(NSExtensionContext *)context |
| To | - (void)beginRequestWithExtensionContext:(NSExtensionContext * _Nonnull)context |
NSFileCoordinator.h
| Declaration | |
|---|---|
| From | + (instancetype)readingIntentWithURL:(NSURL *)url options:(NSFileCoordinatorReadingOptions)options |
| To | + (instancetype _Nonnull)readingIntentWithURL:(NSURL * _Nonnull)url options:(NSFileCoordinatorReadingOptions)options |
Modified NSFileAccessIntent.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nonnull) NSURL *URL |
| Declaration | |
|---|---|
| From | + (instancetype)writingIntentWithURL:(NSURL *)url options:(NSFileCoordinatorWritingOptions)options |
| To | + (instancetype _Nonnull)writingIntentWithURL:(NSURL * _Nonnull)url options:(NSFileCoordinatorWritingOptions)options |
| Declaration | |
|---|---|
| From | + (void)addFilePresenter:(id<NSFilePresenter>)filePresenter |
| To | + (void)addFilePresenter:(id<NSFilePresenter> _Nonnull)filePresenter |
| 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 |
| Declaration | |
|---|---|
| From | - (void)coordinateReadingItemAtURL:(NSURL *)url options:(NSFileCoordinatorReadingOptions)options error:(NSError **)outError byAccessor:(void (^)(NSURL *newURL))reader |
| To | - (void)coordinateReadingItemAtURL:(NSURL * _Nonnull)url options:(NSFileCoordinatorReadingOptions)options error:(NSError * _Nullable * _Nullable)outError byAccessor:(void (^ _Nonnull)(NSURL * _Nonnull newURL))reader |
Modified -[NSFileCoordinator coordinateReadingItemAtURL:options:writingItemAtURL:options:error:byAccessor:]
| Declaration | |
|---|---|
| From | - (void)coordinateReadingItemAtURL:(NSURL *)readingURL options:(NSFileCoordinatorReadingOptions)readingOptions writingItemAtURL:(NSURL *)writingURL options:(NSFileCoordinatorWritingOptions)writingOptions error:(NSError **)outError byAccessor:(void (^)(NSURL *newReadingURL, NSURL *newWritingURL))readerWriter |
| To | - (void)coordinateReadingItemAtURL:(NSURL * _Nonnull)readingURL options:(NSFileCoordinatorReadingOptions)readingOptions writingItemAtURL:(NSURL * _Nonnull)writingURL options:(NSFileCoordinatorWritingOptions)writingOptions error:(NSError * _Nullable * _Nullable)outError byAccessor:(void (^ _Nonnull)(NSURL * _Nonnull newReadingURL, NSURL * _Nonnull newWritingURL))readerWriter |
| Declaration | |
|---|---|
| From | - (void)coordinateWritingItemAtURL:(NSURL *)url options:(NSFileCoordinatorWritingOptions)options error:(NSError **)outError byAccessor:(void (^)(NSURL *newURL))writer |
| To | - (void)coordinateWritingItemAtURL:(NSURL * _Nonnull)url options:(NSFileCoordinatorWritingOptions)options error:(NSError * _Nullable * _Nullable)outError byAccessor:(void (^ _Nonnull)(NSURL * _Nonnull newURL))writer |
Modified -[NSFileCoordinator coordinateWritingItemAtURL:options:writingItemAtURL:options:error:byAccessor:]
| Declaration | |
|---|---|
| From | - (void)coordinateWritingItemAtURL:(NSURL *)url1 options:(NSFileCoordinatorWritingOptions)options1 writingItemAtURL:(NSURL *)url2 options:(NSFileCoordinatorWritingOptions)options2 error:(NSError **)outError byAccessor:(void (^)(NSURL *newURL1, NSURL *newURL2))writer |
| To | - (void)coordinateWritingItemAtURL:(NSURL * _Nonnull)url1 options:(NSFileCoordinatorWritingOptions)options1 writingItemAtURL:(NSURL * _Nonnull)url2 options:(NSFileCoordinatorWritingOptions)options2 error:(NSError * _Nullable * _Nullable)outError byAccessor:(void (^ _Nonnull)(NSURL * _Nonnull newURL1, NSURL * _Nonnull newURL2))writer |
Modified +[NSFileCoordinator filePresenters]
| Declaration | |
|---|---|
| From | + (NSArray *)filePresenters |
| To | + (NSArray<id<NSFilePresenter>> * _Nonnull)filePresenters |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFilePresenter:(id<NSFilePresenter>)filePresenterOrNil |
| To | - (instancetype _Nonnull)initWithFilePresenter:(id<NSFilePresenter> _Nullable)filePresenterOrNil |
| Declaration | |
|---|---|
| From | - (void)itemAtURL:(NSURL *)oldURL didMoveToURL:(NSURL *)newURL |
| To | - (void)itemAtURL:(NSURL * _Nonnull)oldURL didMoveToURL:(NSURL * _Nonnull)newURL |
| Declaration | |
|---|---|
| From | - (void)itemAtURL:(NSURL *)oldURL willMoveToURL:(NSURL *)newURL |
| To | - (void)itemAtURL:(NSURL * _Nonnull)oldURL willMoveToURL:(NSURL * _Nonnull)newURL |
| 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 |
Modified NSFileCoordinator.purposeIdentifier
| Declaration | |
|---|---|
| From | @property(copy) NSString *purposeIdentifier |
| To | @property(copy, nonnull) NSString *purposeIdentifier |
| Declaration | |
|---|---|
| From | + (void)removeFilePresenter:(id<NSFilePresenter>)filePresenter |
| To | + (void)removeFilePresenter:(id<NSFilePresenter> _Nonnull)filePresenter |
NSFileHandle.h
| Declaration | |
|---|---|
| From | - (void)acceptConnectionInBackgroundAndNotifyForModes:(NSArray *)modes |
| To | - (void)acceptConnectionInBackgroundAndNotifyForModes:(NSArray<NSString *> * _Nullable)modes |
Modified NSFileHandle.availableData
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *availableData |
| To | @property(readonly, copy, nonnull) NSData *availableData |
| Declaration | |
|---|---|
| From | + (instancetype)fileHandleForReadingAtPath:(NSString *)path |
| To | + (instancetype _Nullable)fileHandleForReadingAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | + (instancetype)fileHandleForReadingFromURL:(NSURL *)url error:(NSError **)error |
| To | + (instancetype _Nullable)fileHandleForReadingFromURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (instancetype)fileHandleForUpdatingAtPath:(NSString *)path |
| To | + (instancetype _Nullable)fileHandleForUpdatingAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | + (instancetype)fileHandleForUpdatingURL:(NSURL *)url error:(NSError **)error |
| To | + (instancetype _Nullable)fileHandleForUpdatingURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (instancetype)fileHandleForWritingAtPath:(NSString *)path |
| To | + (instancetype _Nullable)fileHandleForWritingAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | + (instancetype)fileHandleForWritingToURL:(NSURL *)url error:(NSError **)error |
| To | + (instancetype _Nullable)fileHandleForWritingToURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (NSFileHandle *)fileHandleWithNullDevice |
| To | + (NSFileHandle * _Nonnull)fileHandleWithNullDevice |
| Declaration | |
|---|---|
| From | + (NSFileHandle *)fileHandleWithStandardError |
| To | + (NSFileHandle * _Nonnull)fileHandleWithStandardError |
| Declaration | |
|---|---|
| From | + (NSFileHandle *)fileHandleWithStandardInput |
| To | + (NSFileHandle * _Nonnull)fileHandleWithStandardInput |
| Declaration | |
|---|---|
| From | + (NSFileHandle *)fileHandleWithStandardOutput |
| To | + (NSFileHandle * _Nonnull)fileHandleWithStandardOutput |
Modified -[NSFileHandle initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)coder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)coder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFileDescriptor:(int)fd |
| To | - (instancetype _Nonnull)initWithFileDescriptor:(int)fd |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFileDescriptor:(int)fd closeOnDealloc:(BOOL)closeopt |
| To | - (instancetype _Nonnull)initWithFileDescriptor:(int)fd closeOnDealloc:(BOOL)closeopt |
Modified NSFileHandle.readabilityHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^readabilityHandler)(NSFileHandle *) |
| To | @property(copy, nullable) void (^readabilityHandler)(NSFileHandle * _Nonnull) |
Modified -[NSFileHandle readDataOfLength:]
| Declaration | |
|---|---|
| From | - (NSData *)readDataOfLength:(NSUInteger)length |
| To | - (NSData * _Nonnull)readDataOfLength:(NSUInteger)length |
Modified -[NSFileHandle readDataToEndOfFile]
| Declaration | |
|---|---|
| From | - (NSData *)readDataToEndOfFile |
| To | - (NSData * _Nonnull)readDataToEndOfFile |
| 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 |
Modified NSFileHandle.writeabilityHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^writeabilityHandler)(NSFileHandle *) |
| To | @property(copy, nullable) void (^writeabilityHandler)(NSFileHandle * _Nonnull) |
Modified -[NSFileHandle writeData:]
| Declaration | |
|---|---|
| From | - (void)writeData:(NSData *)data |
| To | - (void)writeData:(NSData * _Nonnull)data |
Modified NSPipe.fileHandleForReading
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSFileHandle *fileHandleForReading |
| To | @property(readonly, retain, nonnull) NSFileHandle *fileHandleForReading |
Modified NSPipe.fileHandleForWriting
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSFileHandle *fileHandleForWriting |
| To | @property(readonly, retain, nonnull) NSFileHandle *fileHandleForWriting |
Modified +[NSPipe pipe]
| Declaration | |
|---|---|
| From | + (NSPipe *)pipe |
| To | + (NSPipe * _Nonnull)pipe |
NSFileManager.h
Modified -[NSDictionary fileCreationDate]
| Declaration | |
|---|---|
| From | - (NSDate *)fileCreationDate |
| To | - (NSDate * _Nullable)fileCreationDate |
| Declaration | |
|---|---|
| From | - (NSNumber *)fileGroupOwnerAccountID |
| To | - (NSNumber * _Nullable)fileGroupOwnerAccountID |
| Declaration | |
|---|---|
| From | - (NSString *)fileGroupOwnerAccountName |
| To | - (NSString * _Nullable)fileGroupOwnerAccountName |
Modified -[NSDictionary fileModificationDate]
| Declaration | |
|---|---|
| From | - (NSDate *)fileModificationDate |
| To | - (NSDate * _Nullable)fileModificationDate |
Modified -[NSDictionary fileOwnerAccountID]
| Declaration | |
|---|---|
| From | - (NSNumber *)fileOwnerAccountID |
| To | - (NSNumber * _Nullable)fileOwnerAccountID |
Modified -[NSDictionary fileOwnerAccountName]
| Declaration | |
|---|---|
| From | - (NSString *)fileOwnerAccountName |
| To | - (NSString * _Nullable)fileOwnerAccountName |
Modified -[NSDictionary fileType]
| Declaration | |
|---|---|
| From | - (NSString *)fileType |
| To | - (NSString * _Nullable)fileType |
| 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 | - (BOOL)changeCurrentDirectoryPath:(NSString *)path |
| To | - (BOOL)changeCurrentDirectoryPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)changeFileAttributes:(NSDictionary *)attributes atPath:(NSString *)path |
| To | - (BOOL)changeFileAttributes:(NSDictionary * _Nonnull)attributes atPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (NSArray *)componentsToDisplayForPath:(NSString *)path |
| To | - (NSArray<NSString *> * _Nullable)componentsToDisplayForPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (NSURL *)containerURLForSecurityApplicationGroupIdentifier:(NSString *)groupIdentifier |
| To | - (NSURL * _Nullable)containerURLForSecurityApplicationGroupIdentifier:(NSString * _Nonnull)groupIdentifier |
Modified -[NSFileManager contentsAtPath:]
| Declaration | |
|---|---|
| From | - (NSData *)contentsAtPath:(NSString *)path |
| To | - (NSData * _Nullable)contentsAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)contentsEqualAtPath:(NSString *)path1 andPath:(NSString *)path2 |
| To | - (BOOL)contentsEqualAtPath:(NSString * _Nonnull)path1 andPath:(NSString * _Nonnull)path2 |
| 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)copyItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath error:(NSError **)error |
| To | - (BOOL)copyItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)copyItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL error:(NSError **)error |
| To | - (BOOL)copyItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)copyPath:(NSString *)src toPath:(NSString *)dest handler:(id)handler |
| To | - (BOOL)copyPath:(NSString * _Nonnull)src toPath:(NSString * _Nonnull)dest handler:(id _Nullable)handler |
| Declaration | |
|---|---|
| From | - (BOOL)createDirectoryAtPath:(NSString *)path attributes:(NSDictionary *)attributes |
| To | - (BOOL)createDirectoryAtPath:(NSString * _Nonnull)path attributes:(NSDictionary * _Nonnull)attributes |
| 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 |
| Declaration | |
|---|---|
| From | - (BOOL)createSymbolicLinkAtPath:(NSString *)path pathContent:(NSString *)otherpath |
| To | - (BOOL)createSymbolicLinkAtPath:(NSString * _Nonnull)path pathContent:(NSString * _Nonnull)otherpath |
| Declaration | |
|---|---|
| From | - (BOOL)createSymbolicLinkAtPath:(NSString *)path withDestinationPath:(NSString *)destPath error:(NSError **)error |
| To | - (BOOL)createSymbolicLinkAtPath:(NSString * _Nonnull)path withDestinationPath:(NSString * _Nonnull)destPath error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)createSymbolicLinkAtURL:(NSURL *)url withDestinationURL:(NSURL *)destURL error:(NSError **)error |
| To | - (BOOL)createSymbolicLinkAtURL:(NSURL * _Nonnull)url withDestinationURL:(NSURL * _Nonnull)destURL error:(NSError * _Nullable * _Nullable)error |
Modified NSFileManager.currentDirectoryPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *currentDirectoryPath |
| To | @property(readonly, copy, nonnull) NSString *currentDirectoryPath |
Modified +[NSFileManager defaultManager]
| Declaration | |
|---|---|
| From | + (NSFileManager *)defaultManager |
| To | + (NSFileManager * _Nonnull)defaultManager |
Modified NSFileManager.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSFileManagerDelegate> delegate |
| To | @property(assign, nullable) id<NSFileManagerDelegate> delegate |
| Declaration | |
|---|---|
| From | - (NSString *)destinationOfSymbolicLinkAtPath:(NSString *)path error:(NSError **)error |
| To | - (NSString * _Nullable)destinationOfSymbolicLinkAtPath:(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSArray *)directoryContentsAtPath:(NSString *)path |
| To | - (NSArray * _Nullable)directoryContentsAtPath:(NSString * _Nonnull)path |
Modified -[NSFileManager displayNameAtPath:]
| Declaration | |
|---|---|
| From | - (NSString *)displayNameAtPath:(NSString *)path |
| To | - (NSString * _Nonnull)displayNameAtPath:(NSString * _Nonnull)path |
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 | - (BOOL)evictUbiquitousItemAtURL:(NSURL *)url error:(NSError **)error |
| To | - (BOOL)evictUbiquitousItemAtURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSDictionary *)fileAttributesAtPath:(NSString *)path traverseLink:(BOOL)yorn |
| To | - (NSDictionary * _Nullable)fileAttributesAtPath:(NSString * _Nonnull)path traverseLink:(BOOL)yorn |
Modified -[NSFileManager fileExistsAtPath:]
| Declaration | |
|---|---|
| From | - (BOOL)fileExistsAtPath:(NSString *)path |
| To | - (BOOL)fileExistsAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)fileExistsAtPath:(NSString *)path isDirectory:(BOOL *)isDirectory |
| To | - (BOOL)fileExistsAtPath:(NSString * _Nonnull)path isDirectory:(BOOL * _Nullable)isDirectory |
| Declaration | |
|---|---|
| From | - (NSDictionary *)fileSystemAttributesAtPath:(NSString *)path |
| To | - (NSDictionary * _Nullable)fileSystemAttributesAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (const char *)fileSystemRepresentationWithPath:(NSString *)path |
| To | - (const char * _Nonnull)fileSystemRepresentationWithPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)getRelationship:(NSURLRelationship *)outRelationship ofDirectory:(NSSearchPathDirectory)directory inDomain:(NSSearchPathDomainMask)domainMask toItemAtURL:(NSURL *)url error:(NSError **)error |
| To | - (BOOL)getRelationship:(NSURLRelationship * _Nonnull)outRelationship ofDirectory:(NSSearchPathDirectory)directory inDomain:(NSSearchPathDomainMask)domainMask toItemAtURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)getRelationship:(NSURLRelationship *)outRelationship ofDirectoryAtURL:(NSURL *)directoryURL toItemAtURL:(NSURL *)otherURL error:(NSError **)error |
| To | - (BOOL)getRelationship:(NSURLRelationship * _Nonnull)outRelationship ofDirectoryAtURL:(NSURL * _Nonnull)directoryURL toItemAtURL:(NSURL * _Nonnull)otherURL error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)isDeletableFileAtPath:(NSString *)path |
| To | - (BOOL)isDeletableFileAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)isExecutableFileAtPath:(NSString *)path |
| To | - (BOOL)isExecutableFileAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)isReadableFileAtPath:(NSString *)path |
| To | - (BOOL)isReadableFileAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)isUbiquitousItemAtURL:(NSURL *)url |
| To | - (BOOL)isUbiquitousItemAtURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (BOOL)isWritableFileAtPath:(NSString *)path |
| To | - (BOOL)isWritableFileAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)linkItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath error:(NSError **)error |
| To | - (BOOL)linkItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)linkItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL error:(NSError **)error |
| To | - (BOOL)linkItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)linkPath:(NSString *)src toPath:(NSString *)dest handler:(id)handler |
| To | - (BOOL)linkPath:(NSString * _Nonnull)src toPath:(NSString * _Nonnull)dest handler:(id _Nullable)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)moveItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath error:(NSError **)error |
| To | - (BOOL)moveItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)moveItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL error:(NSError **)error |
| To | - (BOOL)moveItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)movePath:(NSString *)src toPath:(NSString *)dest handler:(id)handler |
| To | - (BOOL)movePath:(NSString * _Nonnull)src toPath:(NSString * _Nonnull)dest handler:(id _Nullable)handler |
| Declaration | |
|---|---|
| From | - (NSString *)pathContentOfSymbolicLinkAtPath:(NSString *)path |
| To | - (NSString * _Nullable)pathContentOfSymbolicLinkAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)removeFileAtPath:(NSString *)path handler:(id)handler |
| To | - (BOOL)removeFileAtPath:(NSString * _Nonnull)path handler:(id _Nullable)handler |
| Declaration | |
|---|---|
| From | - (BOOL)removeItemAtPath:(NSString *)path error:(NSError **)error |
| To | - (BOOL)removeItemAtPath:(NSString * _Nonnull)path error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)removeItemAtURL:(NSURL *)URL error:(NSError **)error |
| To | - (BOOL)removeItemAtURL:(NSURL * _Nonnull)URL error:(NSError * _Nullable * _Nullable)error |
Modified -[NSFileManager replaceItemAtURL:withItemAtURL:backupItemName:options:resultingItemURL:error:]
| Declaration | |
|---|---|
| From | - (BOOL)replaceItemAtURL:(NSURL *)originalItemURL withItemAtURL:(NSURL *)newItemURL backupItemName:(NSString *)backupItemName options:(NSFileManagerItemReplacementOptions)options resultingItemURL:(NSURL **)resultingURL error:(NSError **)error |
| To | - (BOOL)replaceItemAtURL:(NSURL * _Nonnull)originalItemURL withItemAtURL:(NSURL * _Nonnull)newItemURL backupItemName:(NSString * _Nullable)backupItemName options:(NSFileManagerItemReplacementOptions)options resultingItemURL:(NSURL * _Nullable * _Nullable)resultingURL error:(NSError * _Nullable * _Nullable)error |
| 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 |
| Declaration | |
|---|---|
| From | - (BOOL)setUbiquitous:(BOOL)flag itemAtURL:(NSURL *)url destinationURL:(NSURL *)destinationURL error:(NSError **)error |
| To | - (BOOL)setUbiquitous:(BOOL)flag itemAtURL:(NSURL * _Nonnull)url destinationURL:(NSURL * _Nonnull)destinationURL error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)startDownloadingUbiquitousItemAtURL:(NSURL *)url error:(NSError **)error |
| To | - (BOOL)startDownloadingUbiquitousItemAtURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSString *)stringWithFileSystemRepresentation:(const char *)str length:(NSUInteger)len |
| To | - (NSString * _Nonnull)stringWithFileSystemRepresentation:(const char * _Nonnull)str length:(NSUInteger)len |
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 | - (BOOL)trashItemAtURL:(NSURL *)url resultingItemURL:(NSURL **)outResultingURL error:(NSError **)error |
| To | - (BOOL)trashItemAtURL:(NSURL * _Nonnull)url resultingItemURL:(NSURL * _Nullable * _Nullable)outResultingURL error:(NSError * _Nullable * _Nullable)error |
Modified NSFileManager.ubiquityIdentityToken
| Declaration | |
|---|---|
| From | @property(readonly, copy) id<NSObject, NSCopying, NSCoding> ubiquityIdentityToken |
| To | @property(readonly, copy, nullable) id<NSObject, NSCopying, NSCoding> ubiquityIdentityToken |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForDirectory:(NSSearchPathDirectory)directory inDomain:(NSSearchPathDomainMask)domain appropriateForURL:(NSURL *)url create:(BOOL)shouldCreate error:(NSError **)error |
| To | - (NSURL * _Nullable)URLForDirectory:(NSSearchPathDirectory)directory inDomain:(NSSearchPathDomainMask)domain appropriateForURL:(NSURL * _Nullable)url create:(BOOL)shouldCreate error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForPublishingUbiquitousItemAtURL:(NSURL *)url expirationDate:(NSDate **)outDate error:(NSError **)error |
| To | - (NSURL * _Nullable)URLForPublishingUbiquitousItemAtURL:(NSURL * _Nonnull)url expirationDate:(NSDate * _Nullable * _Nullable)outDate error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSURL *)URLForUbiquityContainerIdentifier:(NSString *)containerIdentifier |
| To | - (NSURL * _Nullable)URLForUbiquityContainerIdentifier:(NSString * _Nullable)containerIdentifier |
| Declaration | |
|---|---|
| From | - (NSArray *)URLsForDirectory:(NSSearchPathDirectory)directory inDomains:(NSSearchPathDomainMask)domainMask |
| To | - (NSArray<NSURL *> * _Nonnull)URLsForDirectory:(NSSearchPathDirectory)directory inDomains:(NSSearchPathDomainMask)domainMask |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldCopyItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldCopyItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldCopyItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldCopyItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldLinkItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldLinkItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldLinkItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldLinkItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldMoveItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldMoveItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldMoveItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldMoveItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error copyingItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error copyingItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error copyingItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error copyingItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error linkingItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error linkingItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error linkingItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error linkingItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error movingItemAtPath:(NSString *)srcPath toPath:(NSString *)dstPath |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error movingItemAtPath:(NSString * _Nonnull)srcPath toPath:(NSString * _Nonnull)dstPath |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error movingItemAtURL:(NSURL *)srcURL toURL:(NSURL *)dstURL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error movingItemAtURL:(NSURL * _Nonnull)srcURL toURL:(NSURL * _Nonnull)dstURL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error removingItemAtPath:(NSString *)path |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error removingItemAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldProceedAfterError:(NSError *)error removingItemAtURL:(NSURL *)URL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldProceedAfterError:(NSError * _Nonnull)error removingItemAtURL:(NSURL * _Nonnull)URL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldRemoveItemAtPath:(NSString *)path |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldRemoveItemAtPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fileManager shouldRemoveItemAtURL:(NSURL *)URL |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fileManager shouldRemoveItemAtURL:(NSURL * _Nonnull)URL |
| Declaration | |
|---|---|
| From | - (BOOL)fileManager:(NSFileManager *)fm shouldProceedAfterError:(NSDictionary *)errorInfo |
| To | - (BOOL)fileManager:(NSFileManager * _Nonnull)fm shouldProceedAfterError:(NSDictionary * _Nonnull)errorInfo |
| Declaration | |
|---|---|
| From | - (void)fileManager:(NSFileManager *)fm willProcessPath:(NSString *)path |
| To | - (void)fileManager:(NSFileManager * _Nonnull)fm willProcessPath:(NSString * _Nonnull)path |
NSFilePresenter.h
| Declaration | |
|---|---|
| From | - (void)accommodatePresentedItemDeletionWithCompletionHandler:(void (^)(NSError *errorOrNil))completionHandler |
| To | - (void)accommodatePresentedItemDeletionWithCompletionHandler:(void (^ _Nonnull)(NSError * _Nullable errorOrNil))completionHandler |
| Declaration | |
|---|---|
| From | - (void)accommodatePresentedSubitemDeletionAtURL:(NSURL *)url completionHandler:(void (^)(NSError *errorOrNil))completionHandler |
| To | - (void)accommodatePresentedSubitemDeletionAtURL:(NSURL * _Nonnull)url completionHandler:(void (^ _Nonnull)(NSError * _Nullable errorOrNil))completionHandler |
| Declaration | |
|---|---|
| From | - (void)presentedItemDidGainVersion:(NSFileVersion *)version |
| To | - (void)presentedItemDidGainVersion:(NSFileVersion * _Nonnull)version |
| Declaration | |
|---|---|
| From | - (void)presentedItemDidLoseVersion:(NSFileVersion *)version |
| To | - (void)presentedItemDidLoseVersion:(NSFileVersion * _Nonnull)version |
| Declaration | |
|---|---|
| From | - (void)presentedItemDidMoveToURL:(NSURL *)newURL |
| To | - (void)presentedItemDidMoveToURL:(NSURL * _Nonnull)newURL |
| Declaration | |
|---|---|
| From | - (void)presentedItemDidResolveConflictVersion:(NSFileVersion *)version |
| To | - (void)presentedItemDidResolveConflictVersion:(NSFileVersion * _Nonnull)version |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSOperationQueue *presentedItemOperationQueue |
| To | @property(readonly, retain, nonnull) NSOperationQueue *presentedItemOperationQueue |
Modified NSFilePresenter.presentedItemURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *presentedItemURL |
| To | @property(readonly, copy, nullable) NSURL *presentedItemURL |
| Declaration | |
|---|---|
| From | - (void)presentedSubitemAtURL:(NSURL *)url didGainVersion:(NSFileVersion *)version |
| To | - (void)presentedSubitemAtURL:(NSURL * _Nonnull)url didGainVersion:(NSFileVersion * _Nonnull)version |
| Declaration | |
|---|---|
| From | - (void)presentedSubitemAtURL:(NSURL *)url didLoseVersion:(NSFileVersion *)version |
| To | - (void)presentedSubitemAtURL:(NSURL * _Nonnull)url didLoseVersion:(NSFileVersion * _Nonnull)version |
| Declaration | |
|---|---|
| From | - (void)presentedSubitemAtURL:(NSURL *)oldURL didMoveToURL:(NSURL *)newURL |
| To | - (void)presentedSubitemAtURL:(NSURL * _Nonnull)oldURL didMoveToURL:(NSURL * _Nonnull)newURL |
| Declaration | |
|---|---|
| From | - (void)presentedSubitemAtURL:(NSURL *)url didResolveConflictVersion:(NSFileVersion *)version |
| To | - (void)presentedSubitemAtURL:(NSURL * _Nonnull)url didResolveConflictVersion:(NSFileVersion * _Nonnull)version |
| Declaration | |
|---|---|
| From | - (void)presentedSubitemDidAppearAtURL:(NSURL *)url |
| To | - (void)presentedSubitemDidAppearAtURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (void)presentedSubitemDidChangeAtURL:(NSURL *)url |
| To | - (void)presentedSubitemDidChangeAtURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *primaryPresentedItemURL |
| To | @property(readonly, copy, nullable) NSURL *primaryPresentedItemURL |
| 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 |
| Declaration | |
|---|---|
| From | - (void)savePresentedItemChangesWithCompletionHandler:(void (^)(NSError *errorOrNil))completionHandler |
| To | - (void)savePresentedItemChangesWithCompletionHandler:(void (^ _Nonnull)(NSError * _Nullable errorOrNil))completionHandler |
NSFileVersion.h
| Declaration | |
|---|---|
| From | + (NSFileVersion *)addVersionOfItemAtURL:(NSURL *)url withContentsOfURL:(NSURL *)contentsURL options:(NSFileVersionAddingOptions)options error:(NSError **)outError |
| To | + (NSFileVersion * _Nullable)addVersionOfItemAtURL:(NSURL * _Nonnull)url withContentsOfURL:(NSURL * _Nonnull)contentsURL options:(NSFileVersionAddingOptions)options error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | + (NSFileVersion *)currentVersionOfItemAtURL:(NSURL *)url |
| To | + (NSFileVersion * _Nullable)currentVersionOfItemAtURL:(NSURL * _Nonnull)url |
| 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 |
Modified NSFileVersion.localizedName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedName |
| To | @property(readonly, copy, nullable) NSString *localizedName |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedNameOfSavingComputer |
| To | @property(readonly, copy, nullable) NSString *localizedNameOfSavingComputer |
Modified NSFileVersion.modificationDate
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *modificationDate |
| To | @property(readonly, copy, nullable) NSDate *modificationDate |
| Declaration | |
|---|---|
| From | + (NSArray *)otherVersionsOfItemAtURL:(NSURL *)url |
| To | + (NSArray<NSFileVersion *> * _Nullable)otherVersionsOfItemAtURL:(NSURL * _Nonnull)url |
Modified NSFileVersion.persistentIdentifier
| Declaration | |
|---|---|
| From | @property(readonly, retain) id<NSCoding> persistentIdentifier |
| To | @property(readonly, retain, nonnull) id<NSCoding> persistentIdentifier |
| Declaration | |
|---|---|
| From | - (BOOL)removeAndReturnError:(NSError **)outError |
| To | - (BOOL)removeAndReturnError:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | + (BOOL)removeOtherVersionsOfItemAtURL:(NSURL *)url error:(NSError **)outError |
| To | + (BOOL)removeOtherVersionsOfItemAtURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (NSURL *)replaceItemAtURL:(NSURL *)url options:(NSFileVersionReplacingOptions)options error:(NSError **)error |
| To | - (NSURL * _Nullable)replaceItemAtURL:(NSURL * _Nonnull)url options:(NSFileVersionReplacingOptions)options error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (NSURL *)temporaryDirectoryURLForNewVersionOfItemAtURL:(NSURL *)url |
| To | + (NSURL * _Nonnull)temporaryDirectoryURLForNewVersionOfItemAtURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | + (NSArray *)unresolvedConflictVersionsOfItemAtURL:(NSURL *)url |
| To | + (NSArray<NSFileVersion *> * _Nullable)unresolvedConflictVersionsOfItemAtURL:(NSURL * _Nonnull)url |
Modified NSFileVersion.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nonnull) NSURL *URL |
| Declaration | |
|---|---|
| From | + (NSFileVersion *)versionOfItemAtURL:(NSURL *)url forPersistentIdentifier:(id)persistentIdentifier |
| To | + (NSFileVersion * _Nullable)versionOfItemAtURL:(NSURL * _Nonnull)url forPersistentIdentifier:(id _Nonnull)persistentIdentifier |
NSFileWrapper.h
Modified -[NSFileWrapper addFileWithPath:]
| Declaration | |
|---|---|
| From | - (NSString *)addFileWithPath:(NSString *)path |
| To | - (NSString * _Nonnull)addFileWithPath:(NSString * _Nonnull)path |
Modified -[NSFileWrapper addFileWrapper:]
| Declaration | |
|---|---|
| From | - (NSString *)addFileWrapper:(NSFileWrapper *)child |
| To | - (NSString * _Nonnull)addFileWrapper:(NSFileWrapper * _Nonnull)child |
| Declaration | |
|---|---|
| From | - (NSString *)addRegularFileWithContents:(NSData *)data preferredFilename:(NSString *)fileName |
| To | - (NSString * _Nonnull)addRegularFileWithContents:(NSData * _Nonnull)data preferredFilename:(NSString * _Nonnull)fileName |
| Declaration | |
|---|---|
| From | - (NSString *)addSymbolicLinkWithDestination:(NSString *)path preferredFilename:(NSString *)filename |
| To | - (NSString * _Nonnull)addSymbolicLinkWithDestination:(NSString * _Nonnull)path preferredFilename:(NSString * _Nonnull)filename |
Modified NSFileWrapper.fileAttributes
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *fileAttributes |
| To | @property(copy, nonnull) NSDictionary<NSString *,id> *fileAttributes |
Modified NSFileWrapper.filename
| Declaration | |
|---|---|
| From | @property(copy) NSString *filename |
| To | @property(copy, nullable) NSString *filename |
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 |
| Declaration | |
|---|---|
| From | - (instancetype)initRegularFileWithContents:(NSData *)contents |
| To | - (instancetype _Nonnull)initRegularFileWithContents:(NSData * _Nonnull)contents |
| Declaration | |
|---|---|
| From | - (id)initSymbolicLinkWithDestination:(NSString *)path |
| To | - (id _Nonnull)initSymbolicLinkWithDestination:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (instancetype)initSymbolicLinkWithDestinationURL:(NSURL *)url |
| To | - (instancetype _Nonnull)initSymbolicLinkWithDestinationURL:(NSURL * _Nonnull)url |
Modified -[NSFileWrapper initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
Modified -[NSFileWrapper initWithPath:]
| Declaration | |
|---|---|
| From | - (id)initWithPath:(NSString *)path |
| To | - (id _Nullable)initWithPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (instancetype)initWithSerializedRepresentation:(NSData *)serializeRepresentation |
| To | - (instancetype _Nullable)initWithSerializedRepresentation:(NSData * _Nonnull)serializeRepresentation |
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url options:(NSFileWrapperReadingOptions)options error:(NSError * _Nullable * _Nullable)outError |
Modified -[NSFileWrapper keyForFileWrapper:]
| Declaration | |
|---|---|
| From | - (NSString *)keyForFileWrapper:(NSFileWrapper *)child |
| To | - (NSString * _Nullable)keyForFileWrapper:(NSFileWrapper * _Nonnull)child |
| Declaration | |
|---|---|
| From | - (BOOL)matchesContentsOfURL:(NSURL *)url |
| To | - (BOOL)matchesContentsOfURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (BOOL)needsToBeUpdatedFromPath:(NSString *)path |
| To | - (BOOL)needsToBeUpdatedFromPath:(NSString * _Nonnull)path |
Modified NSFileWrapper.preferredFilename
| Declaration | |
|---|---|
| From | @property(copy) NSString *preferredFilename |
| To | @property(copy, nullable) NSString *preferredFilename |
| Declaration | |
|---|---|
| From | - (BOOL)readFromURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError |
| To | - (BOOL)readFromURL:(NSURL * _Nonnull)url options:(NSFileWrapperReadingOptions)options error:(NSError * _Nullable * _Nullable)outError |
Modified NSFileWrapper.regularFileContents
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *regularFileContents |
| To | @property(readonly, copy, nullable) NSData *regularFileContents |
Modified -[NSFileWrapper removeFileWrapper:]
| Declaration | |
|---|---|
| From | - (void)removeFileWrapper:(NSFileWrapper *)child |
| To | - (void)removeFileWrapper:(NSFileWrapper * _Nonnull)child |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *serializedRepresentation |
| To | @property(readonly, copy, nullable) NSData *serializedRepresentation |
| Declaration | |
|---|---|
| From | - (NSString *)symbolicLinkDestination |
| To | - (NSString * _Nonnull)symbolicLinkDestination |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *symbolicLinkDestinationURL |
| To | @property(readonly, copy, nullable) NSURL *symbolicLinkDestinationURL |
Modified -[NSFileWrapper updateFromPath:]
| Declaration | |
|---|---|
| From | - (BOOL)updateFromPath:(NSString *)path |
| To | - (BOOL)updateFromPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)atomicFlag updateFilenames:(BOOL)updateFilenamesFlag |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)path atomically:(BOOL)atomicFlag updateFilenames:(BOOL)updateFilenamesFlag |
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url options:(NSFileWrapperWritingOptions)options originalContentsURL:(NSURL *)originalContentsURL error:(NSError **)outError |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url options:(NSFileWrapperWritingOptions)options originalContentsURL:(NSURL * _Nullable)originalContentsURL error:(NSError * _Nullable * _Nullable)outError |
NSFormatter.h
| Declaration | |
|---|---|
| From | - (NSAttributedString *)attributedStringForObjectValue:(id)obj withDefaultAttributes:(NSDictionary *)attrs |
| To | - (NSAttributedString * _Nullable)attributedStringForObjectValue:(id _Nonnull)obj withDefaultAttributes:(NSDictionary<NSString *,id> * _Nullable)attrs |
| Declaration | |
|---|---|
| From | - (NSString *)editingStringForObjectValue:(id)obj |
| To | - (NSString * _Nullable)editingStringForObjectValue:(id _Nonnull)obj |
| Declaration | |
|---|---|
| From | - (BOOL)getObjectValue:(out id *)obj forString:(NSString *)string errorDescription:(out NSString **)error |
| To | - (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString * _Nonnull)string errorDescription:(out NSString * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)isPartialStringValid:(NSString *)partialString newEditingString:(NSString **)newString errorDescription:(NSString **)error |
| To | - (BOOL)isPartialStringValid:(NSString * _Nonnull)partialString newEditingString:(NSString * _Nullable * _Nullable)newString errorDescription:(NSString * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)isPartialStringValid:(NSString **)partialStringPtr proposedSelectedRange:(NSRangePointer)proposedSelRangePtr originalString:(NSString *)origString originalSelectedRange:(NSRange)origSelRange errorDescription:(NSString **)error |
| To | - (BOOL)isPartialStringValid:(NSString * _Nonnull * _Nonnull)partialStringPtr proposedSelectedRange:(NSRangePointer _Nullable)proposedSelRangePtr originalString:(NSString * _Nonnull)origString originalSelectedRange:(NSRange)origSelRange errorDescription:(NSString * _Nullable * _Nullable)error |
Modified -[NSFormatter stringForObjectValue:]
| Declaration | |
|---|---|
| From | - (NSString *)stringForObjectValue:(id)obj |
| To | - (NSString * _Nullable)stringForObjectValue:(id _Nonnull)obj |
NSGarbageCollector.h
| Declaration | |
|---|---|
| From | + (id)defaultCollector |
| To | + (id _Nonnull)defaultCollector |
| Declaration | |
|---|---|
| From | - (void)disableCollectorForPointer:(const void *)ptr |
| To | - (void)disableCollectorForPointer:(const void * _Nonnull)ptr |
| Declaration | |
|---|---|
| From | - (void)enableCollectorForPointer:(const void *)ptr |
| To | - (void)enableCollectorForPointer:(const void * _Nonnull)ptr |
Modified -[NSGarbageCollector zone]
| Declaration | |
|---|---|
| From | - (NSZone *)zone |
| To | - (NSZone * _Nonnull)zone |
NSGeometry.h
Modified -[NSCoder decodePointForKey:]
| Declaration | |
|---|---|
| From | - (NSPoint)decodePointForKey:(NSString *)key |
| To | - (NSPoint)decodePointForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeRectForKey:]
| Declaration | |
|---|---|
| From | - (NSRect)decodeRectForKey:(NSString *)key |
| To | - (NSRect)decodeRectForKey:(NSString * _Nonnull)key |
Modified -[NSCoder decodeSizeForKey:]
| Declaration | |
|---|---|
| From | - (NSSize)decodeSizeForKey:(NSString *)key |
| To | - (NSSize)decodeSizeForKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodePoint:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodePoint:(NSPoint)point forKey:(NSString *)key |
| To | - (void)encodePoint:(NSPoint)point forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeRect:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeRect:(NSRect)rect forKey:(NSString *)key |
| To | - (void)encodeRect:(NSRect)rect forKey:(NSString * _Nonnull)key |
Modified -[NSCoder encodeSize:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeSize:(NSSize)size forKey:(NSString *)key |
| To | - (void)encodeSize:(NSSize)size forKey:(NSString * _Nonnull)key |
Modified +[NSValue valueWithEdgeInsets:]
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithEdgeInsets:(NSEdgeInsets)insets |
| To | + (NSValue * _Nonnull)valueWithEdgeInsets:(NSEdgeInsets)insets |
Modified +[NSValue valueWithPoint:]
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithPoint:(NSPoint)point |
| To | + (NSValue * _Nonnull)valueWithPoint:(NSPoint)point |
Modified +[NSValue valueWithRect:]
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithRect:(NSRect)rect |
| To | + (NSValue * _Nonnull)valueWithRect:(NSRect)rect |
Modified +[NSValue valueWithSize:]
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithSize:(NSSize)size |
| To | + (NSValue * _Nonnull)valueWithSize:(NSSize)size |
Modified NSDivideRect()
| Declaration | |
|---|---|
| From | void NSDivideRect (
NSRect inRect,
NSRect *slice,
NSRect *rem,
CGFloat amount,
NSRectEdge edge
);
|
| To | void NSDivideRect (
NSRect inRect,
NSRect * _Nonnull slice,
NSRect * _Nonnull rem,
CGFloat amount,
NSRectEdge edge
);
|
Modified NSPointFromString()
| Declaration | |
|---|---|
| From | NSPoint NSPointFromString (
NSString *aString
);
|
| To | NSPoint NSPointFromString (
NSString * _Nonnull aString
);
|
Modified NSRectFromString()
| Declaration | |
|---|---|
| From | NSRect NSRectFromString (
NSString *aString
);
|
| To | NSRect NSRectFromString (
NSString * _Nonnull aString
);
|
Modified NSSizeFromString()
| Declaration | |
|---|---|
| From | NSSize NSSizeFromString (
NSString *aString
);
|
| To | NSSize NSSizeFromString (
NSString * _Nonnull aString
);
|
Modified NSStringFromPoint()
| Declaration | |
|---|---|
| From | NSString * NSStringFromPoint (
NSPoint aPoint
);
|
| To | NSString * _Nonnull NSStringFromPoint (
NSPoint aPoint
);
|
Modified NSStringFromRect()
| Declaration | |
|---|---|
| From | NSString * NSStringFromRect (
NSRect aRect
);
|
| To | NSString * _Nonnull NSStringFromRect (
NSRect aRect
);
|
Modified NSStringFromSize()
| Declaration | |
|---|---|
| From | NSString * NSStringFromSize (
NSSize aSize
);
|
| To | NSString * _Nonnull NSStringFromSize (
NSSize aSize
);
|
NSHashTable.h
Removed NSHashTableCopyIn
Removed NSHashTableStrongMemory
Removed NSHashTableWeakMemory
Removed NSHashTableZeroingWeakMemory
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 |
| Declaration | |
|---|---|
| From | + (id)hashTableWithWeakObjects |
| To | + (id _Nonnull)hashTableWithWeakObjects |
| Declaration | |
|---|---|
| From | - (instancetype)initWithOptions:(NSPointerFunctionsOptions)options capacity:(NSUInteger)initialCapacity |
| To | - (instancetype _Nonnull)initWithOptions:(NSPointerFunctionsOptions)options capacity:(NSUInteger)initialCapacity |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPointerFunctions:(NSPointerFunctions *)functions capacity:(NSUInteger)initialCapacity |
| To | - (instancetype _Nonnull)initWithPointerFunctions:(NSPointerFunctions * _Nonnull)functions capacity:(NSUInteger)initialCapacity |
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.pointerFunctions
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSPointerFunctions *pointerFunctions |
| To | @property(readonly, copy, nonnull) NSPointerFunctions *pointerFunctions |
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 |
Modified NSAllHashTableObjects()
| Declaration | |
|---|---|
| From | NSArray * NSAllHashTableObjects (
NSHashTable *table
);
|
| To | NSArray * _Nonnull NSAllHashTableObjects (
NSHashTable * _Nonnull table
);
|
Modified NSCompareHashTables()
| Declaration | |
|---|---|
| From | BOOL NSCompareHashTables (
NSHashTable *table1,
NSHashTable *table2
);
|
| To | BOOL NSCompareHashTables (
NSHashTable * _Nonnull table1,
NSHashTable * _Nonnull table2
);
|
Modified NSCopyHashTableWithZone()
| Declaration | |
|---|---|
| From | NSHashTable * NSCopyHashTableWithZone (
NSHashTable *table,
NSZone *zone
);
|
| To | NSHashTable * _Nonnull NSCopyHashTableWithZone (
NSHashTable * _Nonnull table,
NSZone * _Nullable zone
);
|
Modified NSCountHashTable()
| Declaration | |
|---|---|
| From | NSUInteger NSCountHashTable (
NSHashTable *table
);
|
| To | NSUInteger NSCountHashTable (
NSHashTable * _Nonnull table
);
|
Modified NSCreateHashTable()
| Declaration | |
|---|---|
| From | NSHashTable * NSCreateHashTable (
NSHashTableCallBacks callBacks,
NSUInteger capacity
);
|
| To | NSHashTable * _Nonnull NSCreateHashTable (
NSHashTableCallBacks callBacks,
NSUInteger capacity
);
|
Modified NSCreateHashTableWithZone()
| Declaration | |
|---|---|
| From | NSHashTable * NSCreateHashTableWithZone (
NSHashTableCallBacks callBacks,
NSUInteger capacity,
NSZone *zone
);
|
| To | NSHashTable * _Nonnull NSCreateHashTableWithZone (
NSHashTableCallBacks callBacks,
NSUInteger capacity,
NSZone * _Nullable zone
);
|
Modified NSEndHashTableEnumeration()
| Declaration | |
|---|---|
| From | void NSEndHashTableEnumeration (
NSHashEnumerator *enumerator
);
|
| To | void NSEndHashTableEnumeration (
NSHashEnumerator * _Nonnull enumerator
);
|
Modified NSEnumerateHashTable()
| Declaration | |
|---|---|
| From | NSHashEnumerator NSEnumerateHashTable (
NSHashTable *table
);
|
| To | NSHashEnumerator NSEnumerateHashTable (
NSHashTable * _Nonnull table
);
|
Modified NSFreeHashTable()
| Declaration | |
|---|---|
| From | void NSFreeHashTable (
NSHashTable *table
);
|
| To | void NSFreeHashTable (
NSHashTable * _Nonnull table
);
|
Modified NSHashGet()
| Declaration | |
|---|---|
| From | void * NSHashGet (
NSHashTable *table,
const void *pointer
);
|
| To | void * _Nonnull NSHashGet (
NSHashTable * _Nonnull table,
const void * _Nullable pointer
);
|
Modified NSHashInsert()
| Declaration | |
|---|---|
| From | void NSHashInsert (
NSHashTable *table,
const void *pointer
);
|
| To | void NSHashInsert (
NSHashTable * _Nonnull table,
const void * _Nullable pointer
);
|
Modified NSHashInsertIfAbsent()
| Declaration | |
|---|---|
| From | void * NSHashInsertIfAbsent (
NSHashTable *table,
const void *pointer
);
|
| To | void * _Nullable NSHashInsertIfAbsent (
NSHashTable * _Nonnull table,
const void * _Nullable pointer
);
|
Modified NSHashInsertKnownAbsent()
| Declaration | |
|---|---|
| From | void NSHashInsertKnownAbsent (
NSHashTable *table,
const void *pointer
);
|
| To | void NSHashInsertKnownAbsent (
NSHashTable * _Nonnull table,
const void * _Nullable pointer
);
|
Modified NSHashRemove()
| Declaration | |
|---|---|
| From | void NSHashRemove (
NSHashTable *table,
const void *pointer
);
|
| To | void NSHashRemove (
NSHashTable * _Nonnull table,
const void * _Nullable pointer
);
|
Modified NSNextHashEnumeratorItem()
| Declaration | |
|---|---|
| From | void * NSNextHashEnumeratorItem (
NSHashEnumerator *enumerator
);
|
| To | void * _Nullable NSNextHashEnumeratorItem (
NSHashEnumerator * _Nonnull enumerator
);
|
Modified NSResetHashTable()
| Declaration | |
|---|---|
| From | void NSResetHashTable (
NSHashTable *table
);
|
| To | void NSResetHashTable (
NSHashTable * _Nonnull table
);
|
Modified NSStringFromHashTable()
| Declaration | |
|---|---|
| From | NSString * NSStringFromHashTable (
NSHashTable *table
);
|
| To | NSString * _Nonnull NSStringFromHashTable (
NSHashTable * _Nonnull table
);
|
NSHost.h
Modified NSHost.address
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *address |
| To | @property(readonly, copy, nullable) NSString *address |
Modified NSHost.addresses
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *addresses |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *addresses |
Modified +[NSHost currentHost]
| Declaration | |
|---|---|
| From | + (instancetype)currentHost |
| To | + (instancetype _Nonnull)currentHost |
Modified +[NSHost hostWithAddress:]
| Declaration | |
|---|---|
| From | + (instancetype)hostWithAddress:(NSString *)address |
| To | + (instancetype _Nonnull)hostWithAddress:(NSString * _Nonnull)address |
Modified +[NSHost hostWithName:]
| Declaration | |
|---|---|
| From | + (instancetype)hostWithName:(NSString *)name |
| To | + (instancetype _Nonnull)hostWithName:(NSString * _Nullable)name |
Modified -[NSHost isEqualToHost:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToHost:(NSHost *)aHost |
| To | - (BOOL)isEqualToHost:(NSHost * _Nonnull)aHost |
Modified NSHost.localizedName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localizedName |
| To | @property(readonly, copy, nullable) NSString *localizedName |
Modified NSHost.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nullable) NSString *name |
Modified NSHost.names
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *names |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *names |
NSHTTPCookie.h
Modified NSHTTPCookie.comment
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *comment |
| To | @property(readonly, copy, nullable) NSString *comment |
Modified NSHTTPCookie.commentURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *commentURL |
| To | @property(readonly, copy, nullable) NSURL *commentURL |
| 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.domain
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *domain |
| To | @property(readonly, copy, nonnull) NSString *domain |
Modified NSHTTPCookie.expiresDate
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *expiresDate |
| To | @property(readonly, copy, nullable) NSDate *expiresDate |
Modified -[NSHTTPCookie initWithProperties:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithProperties:(NSDictionary *)properties |
| To | - (instancetype _Nullable)initWithProperties:(NSDictionary<NSString *,id> * _Nonnull)properties |
Modified NSHTTPCookie.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
Modified NSHTTPCookie.path
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *path |
| To | @property(readonly, copy, nonnull) NSString *path |
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 |
Modified NSHTTPCookie.value
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *value |
| To | @property(readonly, copy, nonnull) NSString *value |
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 |
Modified -[NSHTTPCookieStorage deleteCookie:]
| Declaration | |
|---|---|
| From | - (void)deleteCookie:(NSHTTPCookie *)cookie |
| To | - (void)deleteCookie:(NSHTTPCookie * _Nonnull)cookie |
| 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)removeCookiesSinceDate:(NSDate *)date |
| To | - (void)removeCookiesSinceDate:(NSDate * _Nonnull)date |
Modified -[NSHTTPCookieStorage setCookie:]
| Declaration | |
|---|---|
| From | - (void)setCookie:(NSHTTPCookie *)cookie |
| To | - (void)setCookie:(NSHTTPCookie * _Nonnull)cookie |
| 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 | + (NSHTTPCookieStorage *)sharedHTTPCookieStorage |
| To | + (NSHTTPCookieStorage * _Nonnull)sharedHTTPCookieStorage |
| 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)
Modified -[NSIndexPath compare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSIndexPath *)otherObject |
| To | - (NSComparisonResult)compare:(NSIndexPath * _Nonnull)otherObject |
Modified -[NSIndexPath getIndexes:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (void)getIndexes:(NSUInteger *)indexes | -- |
| To | - (void)getIndexes:(NSUInteger * _Nonnull)indexes | OS X 10.11 |
| Declaration | |
|---|---|
| From | - (NSIndexPath *)indexPathByAddingIndex:(NSUInteger)index |
| To | - (NSIndexPath * _Nonnull)indexPathByAddingIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (NSIndexPath *)indexPathByRemovingLastIndex |
| To | - (NSIndexPath * _Nonnull)indexPathByRemovingLastIndex |
Modified +[NSIndexPath indexPathWithIndex:]
| Declaration | |
|---|---|
| From | + (instancetype)indexPathWithIndex:(NSUInteger)index |
| To | + (instancetype _Nonnull)indexPathWithIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | + (instancetype)indexPathWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length |
| To | + (instancetype _Nonnull)indexPathWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length |
Modified -[NSIndexPath initWithIndex:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithIndex:(NSUInteger)index |
| To | - (instancetype _Nonnull)initWithIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (instancetype)initWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length |
| To | - (instancetype _Nonnull)initWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length |
NSIndexSet.h
Modified -[NSIndexSet containsIndexes:]
| Declaration | |
|---|---|
| From | - (BOOL)containsIndexes:(NSIndexSet *)indexSet |
| To | - (BOOL)containsIndexes:(NSIndexSet * _Nonnull)indexSet |
| Declaration | |
|---|---|
| From | - (void)enumerateIndexesInRange:(NSRange)range options:(NSEnumerationOptions)opts usingBlock:(void (^)(NSUInteger idx, BOOL *stop))block |
| To | - (void)enumerateIndexesInRange:(NSRange)range options:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (void)enumerateIndexesUsingBlock:(void (^)(NSUInteger idx, BOOL *stop))block |
| To | - (void)enumerateIndexesUsingBlock:(void (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (void)enumerateIndexesWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(NSUInteger idx, BOOL *stop))block |
| To | - (void)enumerateIndexesWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (void)enumerateRangesInRange:(NSRange)range options:(NSEnumerationOptions)opts usingBlock:(void (^)(NSRange range, BOOL *stop))block |
| To | - (void)enumerateRangesInRange:(NSRange)range options:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(NSRange range, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (void)enumerateRangesUsingBlock:(void (^)(NSRange range, BOOL *stop))block |
| To | - (void)enumerateRangesUsingBlock:(void (^ _Nonnull)(NSRange range, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (void)enumerateRangesWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(NSRange range, BOOL *stop))block |
| To | - (void)enumerateRangesWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(NSRange range, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (NSUInteger)getIndexes:(NSUInteger *)indexBuffer maxCount:(NSUInteger)bufferSize inIndexRange:(NSRangePointer)range |
| To | - (NSUInteger)getIndexes:(NSUInteger * _Nonnull)indexBuffer maxCount:(NSUInteger)bufferSize inIndexRange:(NSRangePointer _Nullable)range |
| Declaration | |
|---|---|
| From | - (NSIndexSet *)indexesInRange:(NSRange)range options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(NSUInteger idx, BOOL *stop))predicate |
| To | - (NSIndexSet * _Nonnull)indexesInRange:(NSRange)range options:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSIndexSet indexesPassingTest:]
| Declaration | |
|---|---|
| From | - (NSIndexSet *)indexesPassingTest:(BOOL (^)(NSUInteger idx, BOOL *stop))predicate |
| To | - (NSIndexSet * _Nonnull)indexesPassingTest:(BOOL (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))predicate |
| Declaration | |
|---|---|
| From | - (NSIndexSet *)indexesWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(NSUInteger idx, BOOL *stop))predicate |
| To | - (NSIndexSet * _Nonnull)indexesWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))predicate |
| Declaration | |
|---|---|
| From | - (NSUInteger)indexInRange:(NSRange)range options:(NSEnumerationOptions)opts passingTest:(BOOL (^)(NSUInteger idx, BOOL *stop))predicate |
| To | - (NSUInteger)indexInRange:(NSRange)range options:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSIndexSet indexPassingTest:]
| Declaration | |
|---|---|
| From | - (NSUInteger)indexPassingTest:(BOOL (^)(NSUInteger idx, BOOL *stop))predicate |
| To | - (NSUInteger)indexPassingTest:(BOOL (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified +[NSIndexSet indexSet]
| Declaration | |
|---|---|
| From | + (instancetype)indexSet |
| To | + (instancetype _Nonnull)indexSet |
Modified +[NSIndexSet indexSetWithIndex:]
| Declaration | |
|---|---|
| From | + (instancetype)indexSetWithIndex:(NSUInteger)value |
| To | + (instancetype _Nonnull)indexSetWithIndex:(NSUInteger)value |
| Declaration | |
|---|---|
| From | + (instancetype)indexSetWithIndexesInRange:(NSRange)range |
| To | + (instancetype _Nonnull)indexSetWithIndexesInRange:(NSRange)range |
| Declaration | |
|---|---|
| From | - (NSUInteger)indexWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^)(NSUInteger idx, BOOL *stop))predicate |
| To | - (NSUInteger)indexWithOptions:(NSEnumerationOptions)opts passingTest:(BOOL (^ _Nonnull)(NSUInteger idx, BOOL * _Nonnull stop))predicate |
Modified -[NSIndexSet initWithIndex:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithIndex:(NSUInteger)value |
| To | - (instancetype _Nonnull)initWithIndex:(NSUInteger)value |
| Declaration | |
|---|---|
| From | - (instancetype)initWithIndexesInRange:(NSRange)range |
| To | - (instancetype _Nonnull)initWithIndexesInRange:(NSRange)range |
Modified -[NSIndexSet initWithIndexSet:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithIndexSet:(NSIndexSet *)indexSet |
| To | - (instancetype _Nonnull)initWithIndexSet:(NSIndexSet * _Nonnull)indexSet |
Modified -[NSIndexSet isEqualToIndexSet:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToIndexSet:(NSIndexSet *)indexSet |
| To | - (BOOL)isEqualToIndexSet:(NSIndexSet * _Nonnull)indexSet |
Modified -[NSMutableIndexSet addIndexes:]
| Declaration | |
|---|---|
| From | - (void)addIndexes:(NSIndexSet *)indexSet |
| To | - (void)addIndexes:(NSIndexSet * _Nonnull)indexSet |
Modified -[NSMutableIndexSet removeIndexes:]
| Declaration | |
|---|---|
| From | - (void)removeIndexes:(NSIndexSet *)indexSet |
| To | - (void)removeIndexes:(NSIndexSet * _Nonnull)indexSet |
NSInvocation.h
Modified -[NSInvocation getArgument:atIndex:]
| Declaration | |
|---|---|
| From | - (void)getArgument:(void *)argumentLocation atIndex:(NSInteger)idx |
| To | - (void)getArgument:(void * _Nonnull)argumentLocation atIndex:(NSInteger)idx |
Modified -[NSInvocation getReturnValue:]
| Declaration | |
|---|---|
| From | - (void)getReturnValue:(void *)retLoc |
| To | - (void)getReturnValue:(void * _Nonnull)retLoc |
| Declaration | |
|---|---|
| From | + (NSInvocation *)invocationWithMethodSignature:(NSMethodSignature *)sig |
| To | + (NSInvocation * _Nonnull)invocationWithMethodSignature:(NSMethodSignature * _Nonnull)sig |
Modified -[NSInvocation invokeWithTarget:]
| Declaration | |
|---|---|
| From | - (void)invokeWithTarget:(id)target |
| To | - (void)invokeWithTarget:(id _Nonnull)target |
Modified NSInvocation.methodSignature
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSMethodSignature *methodSignature |
| To | @property(readonly, retain, nonnull) NSMethodSignature *methodSignature |
Modified NSInvocation.selector
| Declaration | |
|---|---|
| From | @property SEL selector |
| To | @property(nonnull) SEL selector |
Modified -[NSInvocation setArgument:atIndex:]
| Declaration | |
|---|---|
| From | - (void)setArgument:(void *)argumentLocation atIndex:(NSInteger)idx |
| To | - (void)setArgument:(void * _Nonnull)argumentLocation atIndex:(NSInteger)idx |
Modified -[NSInvocation setReturnValue:]
| Declaration | |
|---|---|
| From | - (void)setReturnValue:(void *)retLoc |
| To | - (void)setReturnValue:(void * _Nonnull)retLoc |
Modified NSInvocation.target
| Declaration | |
|---|---|
| From | @property(assign) id target |
| To | @property(assign, nullable) id target |
NSItemProvider.h
| Declaration | |
|---|---|
| From | - (BOOL)hasItemConformingToTypeIdentifier:(NSString *)typeIdentifier |
| To | - (BOOL)hasItemConformingToTypeIdentifier:(NSString * _Nonnull)typeIdentifier |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)fileURL |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Null_unspecified)fileURL |
| Declaration | |
|---|---|
| From | - (instancetype)initWithItem:(id<NSSecureCoding>)item typeIdentifier:(NSString *)typeIdentifier |
| To | - (instancetype _Nonnull)initWithItem:(id<NSSecureCoding> _Nullable)item typeIdentifier:(NSString * _Nullable)typeIdentifier |
| Declaration | |
|---|---|
| From | - (void)loadItemForTypeIdentifier:(NSString *)typeIdentifier options:(NSDictionary *)options completionHandler:(NSItemProviderCompletionHandler)completionHandler |
| To | - (void)loadItemForTypeIdentifier:(NSString * _Nonnull)typeIdentifier options:(NSDictionary * _Nullable)options completionHandler:(NSItemProviderCompletionHandler _Nullable)completionHandler |
| Declaration | |
|---|---|
| From | - (void)loadPreviewImageWithOptions:(NSDictionary *)options completionHandler:(NSItemProviderCompletionHandler)completionHandler |
| To | - (void)loadPreviewImageWithOptions:(NSDictionary * _Null_unspecified)options completionHandler:(NSItemProviderCompletionHandler _Null_unspecified)completionHandler |
Modified NSItemProvider.previewImageHandler
| Declaration | |
|---|---|
| From | @property(copy, atomic) NSItemProviderLoadHandler previewImageHandler |
| To | @property(copy, atomic, nullable) NSItemProviderLoadHandler previewImageHandler |
| Declaration | |
|---|---|
| From | @property(copy, readonly, atomic) NSArray *registeredTypeIdentifiers |
| To | @property(copy, readonly, atomic, nonnull) NSArray *registeredTypeIdentifiers |
| Declaration | |
|---|---|
| From | - (void)registerItemForTypeIdentifier:(NSString *)typeIdentifier loadHandler:(NSItemProviderLoadHandler)loadHandler |
| To | - (void)registerItemForTypeIdentifier:(NSString * _Nonnull)typeIdentifier loadHandler:(NSItemProviderLoadHandler _Nonnull)loadHandler |
NSJSONSerialization.h
| Declaration | |
|---|---|
| From | + (NSData *)dataWithJSONObject:(id)obj options:(NSJSONWritingOptions)opt error:(NSError **)error |
| To | + (NSData * _Nullable)dataWithJSONObject:(id _Nonnull)obj options:(NSJSONWritingOptions)opt error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (BOOL)isValidJSONObject:(id)obj |
| To | + (BOOL)isValidJSONObject:(id _Nonnull)obj |
| Declaration | |
|---|---|
| From | + (id)JSONObjectWithData:(NSData *)data options:(NSJSONReadingOptions)opt error:(NSError **)error |
| To | + (id _Nullable)JSONObjectWithData:(NSData * _Nonnull)data options:(NSJSONReadingOptions)opt error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (id)JSONObjectWithStream:(NSInputStream *)stream options:(NSJSONReadingOptions)opt error:(NSError **)error |
| To | + (id _Nullable)JSONObjectWithStream:(NSInputStream * _Nonnull)stream options:(NSJSONReadingOptions)opt error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (NSInteger)writeJSONObject:(id)obj toStream:(NSOutputStream *)stream options:(NSJSONWritingOptions)opt error:(NSError **)error |
| To | + (NSInteger)writeJSONObject:(id _Nonnull)obj toStream:(NSOutputStream * _Nonnull)stream options:(NSJSONWritingOptions)opt error:(NSError * _Nullable * _Nullable)error |
NSKeyedArchiver.h
| Declaration | |
|---|---|
| From | + (NSData *)archivedDataWithRootObject:(id)rootObject |
| To | + (NSData * _Nonnull)archivedDataWithRootObject:(id _Nonnull)rootObject |
| Declaration | |
|---|---|
| From | + (BOOL)archiveRootObject:(id)rootObject toFile:(NSString *)path |
| To | + (BOOL)archiveRootObject:(id _Nonnull)rootObject toFile:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | + (NSString *)classNameForClass:(Class)cls |
| To | + (NSString * _Nullable)classNameForClass:(Class _Nonnull)cls |
| Declaration | |
|---|---|
| From | - (NSString *)classNameForClass:(Class)cls |
| To | - (NSString * _Nullable)classNameForClass:(Class _Nonnull)cls |
Modified NSKeyedArchiver.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSKeyedArchiverDelegate> delegate |
| To | @property(assign, nullable) id<NSKeyedArchiverDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)encodeBool:(BOOL)boolv forKey:(NSString *)key |
| To | - (void)encodeBool:(BOOL)boolv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)encodeBytes:(const uint8_t *)bytesp length:(NSUInteger)lenv forKey:(NSString *)key |
| To | - (void)encodeBytes:(const uint8_t * _Nullable)bytesp length:(NSUInteger)lenv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)encodeConditionalObject:(id)objv forKey:(NSString *)key |
| To | - (void)encodeConditionalObject:(id _Nullable)objv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)encodeDouble:(double)realv forKey:(NSString *)key |
| To | - (void)encodeDouble:(double)realv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)encodeFloat:(float)realv forKey:(NSString *)key |
| To | - (void)encodeFloat:(float)realv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)encodeInt32:(int32_t)intv forKey:(NSString *)key |
| To | - (void)encodeInt32:(int32_t)intv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)encodeInt64:(int64_t)intv forKey:(NSString *)key |
| To | - (void)encodeInt64:(int64_t)intv forKey:(NSString * _Nonnull)key |
Modified -[NSKeyedArchiver encodeInt:forKey:]
| Declaration | |
|---|---|
| From | - (void)encodeInt:(int)intv forKey:(NSString *)key |
| To | - (void)encodeInt:(int)intv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)encodeObject:(id)objv forKey:(NSString *)key |
| To | - (void)encodeObject:(id _Nullable)objv forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (instancetype)initForWritingWithMutableData:(NSMutableData *)data |
| To | - (instancetype _Nonnull)initForWritingWithMutableData:(NSMutableData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (void)setClassName:(NSString *)codedName forClass:(Class)cls |
| To | + (void)setClassName:(NSString * _Nullable)codedName forClass:(Class _Nonnull)cls |
| Declaration | |
|---|---|
| From | - (void)setClassName:(NSString *)codedName forClass:(Class)cls |
| To | - (void)setClassName:(NSString * _Nullable)codedName forClass:(Class _Nonnull)cls |
| Declaration | |
|---|---|
| From | - (void)archiver:(NSKeyedArchiver *)archiver didEncodeObject:(id)object |
| To | - (void)archiver:(NSKeyedArchiver * _Nonnull)archiver didEncodeObject:(id _Nullable)object |
| Declaration | |
|---|---|
| From | - (id)archiver:(NSKeyedArchiver *)archiver willEncodeObject:(id)object |
| To | - (id _Nullable)archiver:(NSKeyedArchiver * _Nonnull)archiver willEncodeObject:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)archiver:(NSKeyedArchiver *)archiver willReplaceObject:(id)object withObject:(id)newObject |
| To | - (void)archiver:(NSKeyedArchiver * _Nonnull)archiver willReplaceObject:(id _Nullable)object withObject:(id _Nullable)newObject |
| Declaration | |
|---|---|
| From | - (void)archiverDidFinish:(NSKeyedArchiver *)archiver |
| To | - (void)archiverDidFinish:(NSKeyedArchiver * _Nonnull)archiver |
| Declaration | |
|---|---|
| From | - (void)archiverWillFinish:(NSKeyedArchiver *)archiver |
| To | - (void)archiverWillFinish:(NSKeyedArchiver * _Nonnull)archiver |
| Declaration | |
|---|---|
| From | + (Class)classForClassName:(NSString *)codedName |
| To | + (Class _Nullable)classForClassName:(NSString * _Nonnull)codedName |
| Declaration | |
|---|---|
| From | - (Class)classForClassName:(NSString *)codedName |
| To | - (Class _Nullable)classForClassName:(NSString * _Nonnull)codedName |
| Declaration | |
|---|---|
| From | - (BOOL)containsValueForKey:(NSString *)key |
| To | - (BOOL)containsValueForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (BOOL)decodeBoolForKey:(NSString *)key |
| To | - (BOOL)decodeBoolForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (const uint8_t *)decodeBytesForKey:(NSString *)key returnedLength:(NSUInteger *)lengthp |
| To | - (const uint8_t * _Nullable)decodeBytesForKey:(NSString * _Nonnull)key returnedLength:(NSUInteger * _Nullable)lengthp |
| Declaration | |
|---|---|
| From | - (double)decodeDoubleForKey:(NSString *)key |
| To | - (double)decodeDoubleForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (float)decodeFloatForKey:(NSString *)key |
| To | - (float)decodeFloatForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (int32_t)decodeInt32ForKey:(NSString *)key |
| To | - (int32_t)decodeInt32ForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (int64_t)decodeInt64ForKey:(NSString *)key |
| To | - (int64_t)decodeInt64ForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (int)decodeIntForKey:(NSString *)key |
| To | - (int)decodeIntForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (id)decodeObjectForKey:(NSString *)key |
| To | - (id _Nullable)decodeObjectForKey:(NSString * _Nonnull)key |
Modified NSKeyedUnarchiver.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSKeyedUnarchiverDelegate> delegate |
| To | @property(assign, nullable) id<NSKeyedUnarchiverDelegate> delegate |
| Declaration | |
|---|---|
| From | - (instancetype)initForReadingWithData:(NSData *)data |
| To | - (instancetype _Nonnull)initForReadingWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (void)setClass:(Class)cls forClassName:(NSString *)codedName |
| To | + (void)setClass:(Class _Nullable)cls forClassName:(NSString * _Nonnull)codedName |
| Declaration | |
|---|---|
| From | - (void)setClass:(Class)cls forClassName:(NSString *)codedName |
| To | - (void)setClass:(Class _Nullable)cls forClassName:(NSString * _Nonnull)codedName |
| Declaration | |
|---|---|
| From | + (id)unarchiveObjectWithData:(NSData *)data |
| To | + (id _Nullable)unarchiveObjectWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (id)unarchiveObjectWithFile:(NSString *)path |
| To | + (id _Nullable)unarchiveObjectWithFile:(NSString * _Nonnull)path |
| 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 | - (id)unarchiver:(NSKeyedUnarchiver *)unarchiver didDecodeObject:(id)object |
| To | - (id _Nullable)unarchiver:(NSKeyedUnarchiver * _Nonnull)unarchiver didDecodeObject:(id _Nullable)object |
| Declaration | |
|---|---|
| From | - (void)unarchiver:(NSKeyedUnarchiver *)unarchiver willReplaceObject:(id)object withObject:(id)newObject |
| To | - (void)unarchiver:(NSKeyedUnarchiver * _Nonnull)unarchiver willReplaceObject:(id _Nonnull)object withObject:(id _Nonnull)newObject |
| Declaration | |
|---|---|
| From | - (void)unarchiverDidFinish:(NSKeyedUnarchiver *)unarchiver |
| To | - (void)unarchiverDidFinish:(NSKeyedUnarchiver * _Nonnull)unarchiver |
| Declaration | |
|---|---|
| From | - (void)unarchiverWillFinish:(NSKeyedUnarchiver *)unarchiver |
| To | - (void)unarchiverWillFinish:(NSKeyedUnarchiver * _Nonnull)unarchiver |
| Declaration | |
|---|---|
| From | + (NSArray *)classFallbacksForKeyedArchiver |
| To | + (NSArray<NSString *> * _Nonnull)classFallbacksForKeyedArchiver |
Modified NSObject.classForKeyedArchiver
| Declaration | |
|---|---|
| From | @property(readonly) Class classForKeyedArchiver |
| To | @property(readonly, nullable) Class classForKeyedArchiver |
Modified +[NSObject classForKeyedUnarchiver]
| Declaration | |
|---|---|
| From | + (Class)classForKeyedUnarchiver |
| To | + (Class _Nonnull)classForKeyedUnarchiver |
| Declaration | |
|---|---|
| From | - (id)replacementObjectForKeyedArchiver:(NSKeyedArchiver *)archiver |
| To | - (id _Nullable)replacementObjectForKeyedArchiver:(NSKeyedArchiver * _Nonnull)archiver |
NSKeyValueCoding.h
Modified -[NSArray setValue:forKey:]
| Declaration | |
|---|---|
| From | - (void)setValue:(id)value forKey:(NSString *)key |
| To | - (void)setValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified -[NSArray valueForKey:]
| Declaration | |
|---|---|
| From | - (id)valueForKey:(NSString *)key |
| To | - (id _Nonnull)valueForKey:(NSString * _Nonnull)key |
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 | - (id)handleQueryWithUnboundKey:(NSString *)key |
| To | - (id _Nullable)handleQueryWithUnboundKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)handleTakeValue:(id)value forUnboundKey:(NSString *)key |
| To | - (void)handleTakeValue:(id _Nullable)value forUnboundKey:(NSString * _Nonnull)key |
Modified -[NSObject mutableArrayValueForKey:]
| Declaration | |
|---|---|
| From | - (NSMutableArray *)mutableArrayValueForKey:(NSString *)key |
| To | - (NSMutableArray * _Nonnull)mutableArrayValueForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (NSMutableArray *)mutableArrayValueForKeyPath:(NSString *)keyPath |
| To | - (NSMutableArray * _Nonnull)mutableArrayValueForKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (NSMutableOrderedSet *)mutableOrderedSetValueForKey:(NSString *)key |
| To | - (NSMutableOrderedSet * _Nonnull)mutableOrderedSetValueForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (NSMutableOrderedSet *)mutableOrderedSetValueForKeyPath:(NSString *)keyPath |
| To | - (NSMutableOrderedSet * _Nonnull)mutableOrderedSetValueForKeyPath:(NSString * _Nonnull)keyPath |
Modified -[NSObject mutableSetValueForKey:]
| Declaration | |
|---|---|
| From | - (NSMutableSet *)mutableSetValueForKey:(NSString *)key |
| To | - (NSMutableSet * _Nonnull)mutableSetValueForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (NSMutableSet *)mutableSetValueForKeyPath:(NSString *)keyPath |
| To | - (NSMutableSet * _Nonnull)mutableSetValueForKeyPath:(NSString * _Nonnull)keyPath |
Modified -[NSObject setNilValueForKey:]
| Declaration | |
|---|---|
| From | - (void)setNilValueForKey:(NSString *)key |
| To | - (void)setNilValueForKey:(NSString * _Nonnull)key |
Modified -[NSObject setValue:forKey:]
| Declaration | |
|---|---|
| From | - (void)setValue:(id)value forKey:(NSString *)key |
| To | - (void)setValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified -[NSObject setValue:forKeyPath:]
| Declaration | |
|---|---|
| From | - (void)setValue:(id)value forKeyPath:(NSString *)keyPath |
| To | - (void)setValue:(id _Nullable)value forKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (void)setValue:(id)value forUndefinedKey:(NSString *)key |
| To | - (void)setValue:(id _Nullable)value forUndefinedKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)setValuesForKeysWithDictionary:(NSDictionary *)keyedValues |
| To | - (void)setValuesForKeysWithDictionary:(NSDictionary<NSString *,id> * _Nonnull)keyedValues |
Modified -[NSObject storedValueForKey:]
| Declaration | |
|---|---|
| From | - (id)storedValueForKey:(NSString *)key |
| To | - (id _Nullable)storedValueForKey:(NSString * _Nonnull)key |
Modified -[NSObject takeStoredValue:forKey:]
| Declaration | |
|---|---|
| From | - (void)takeStoredValue:(id)value forKey:(NSString *)key |
| To | - (void)takeStoredValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified -[NSObject takeValue:forKey:]
| Declaration | |
|---|---|
| From | - (void)takeValue:(id)value forKey:(NSString *)key |
| To | - (void)takeValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified -[NSObject takeValue:forKeyPath:]
| Declaration | |
|---|---|
| From | - (void)takeValue:(id)value forKeyPath:(NSString *)keyPath |
| To | - (void)takeValue:(id _Nullable)value forKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (void)takeValuesFromDictionary:(NSDictionary *)properties |
| To | - (void)takeValuesFromDictionary:(NSDictionary * _Nonnull)properties |
Modified -[NSObject unableToSetNilForKey:]
| Declaration | |
|---|---|
| From | - (void)unableToSetNilForKey:(NSString *)key |
| To | - (void)unableToSetNilForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (BOOL)validateValue:(inout id *)ioValue forKey:(NSString *)inKey error:(out NSError **)outError |
| To | - (BOOL)validateValue:(inout id _Nullable * _Nonnull)ioValue forKey:(NSString * _Nonnull)inKey error:(out NSError * _Nullable * _Nullable)outError |
| Declaration | |
|---|---|
| From | - (BOOL)validateValue:(inout id *)ioValue forKeyPath:(NSString *)inKeyPath error:(out NSError **)outError |
| To | - (BOOL)validateValue:(inout id _Nullable * _Nonnull)ioValue forKeyPath:(NSString * _Nonnull)inKeyPath error:(out NSError * _Nullable * _Nullable)outError |
Modified -[NSObject valueForKey:]
| Declaration | |
|---|---|
| From | - (id)valueForKey:(NSString *)key |
| To | - (id _Nullable)valueForKey:(NSString * _Nonnull)key |
Modified -[NSObject valueForKeyPath:]
| Declaration | |
|---|---|
| From | - (id)valueForKeyPath:(NSString *)keyPath |
| To | - (id _Nullable)valueForKeyPath:(NSString * _Nonnull)keyPath |
Modified -[NSObject valueForUndefinedKey:]
| Declaration | |
|---|---|
| From | - (id)valueForUndefinedKey:(NSString *)key |
| To | - (id _Nullable)valueForUndefinedKey:(NSString * _Nonnull)key |
Modified -[NSObject valuesForKeys:]
| Declaration | |
|---|---|
| From | - (NSDictionary *)valuesForKeys:(NSArray *)keys |
| To | - (NSDictionary * _Nonnull)valuesForKeys:(NSArray * _Nonnull)keys |
Modified -[NSOrderedSet setValue:forKey:]
| Declaration | |
|---|---|
| From | - (void)setValue:(id)value forKey:(NSString *)key |
| To | - (void)setValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified -[NSOrderedSet valueForKey:]
| Declaration | |
|---|---|
| From | - (id)valueForKey:(NSString *)key |
| To | - (id _Nonnull)valueForKey:(NSString * _Nonnull)key |
Modified -[NSSet setValue:forKey:]
| Declaration | |
|---|---|
| From | - (void)setValue:(id)value forKey:(NSString *)key |
| To | - (void)setValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified -[NSSet valueForKey:]
| Declaration | |
|---|---|
| From | - (id)valueForKey:(NSString *)key |
| To | - (id _Nonnull)valueForKey:(NSString * _Nonnull)key |
NSKeyValueObserving.h
| Declaration | |
|---|---|
| From | - (void)addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context |
| To | - (void)addObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath options:(NSKeyValueObservingOptions)options context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | - (void)addObserver:(NSObject *)observer toObjectsAtIndexes:(NSIndexSet *)indexes forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context |
| To | - (void)addObserver:(NSObject * _Nonnull)observer toObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes forKeyPath:(NSString * _Nonnull)keyPath options:(NSKeyValueObservingOptions)options context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath context:(void *)context |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer fromObjectsAtIndexes:(NSIndexSet *)indexes forKeyPath:(NSString *)keyPath |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer fromObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes forKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer fromObjectsAtIndexes:(NSIndexSet *)indexes forKeyPath:(NSString *)keyPath context:(void *)context |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer fromObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes forKeyPath:(NSString * _Nonnull)keyPath context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | - (void)addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context |
| To | - (void)addObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath options:(NSKeyValueObservingOptions)options context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | + (BOOL)automaticallyNotifiesObserversForKey:(NSString *)key |
| To | + (BOOL)automaticallyNotifiesObserversForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)didChange:(NSKeyValueChange)changeKind valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key |
| To | - (void)didChange:(NSKeyValueChange)changeKind valuesAtIndexes:(NSIndexSet * _Nonnull)indexes forKey:(NSString * _Nonnull)key |
Modified -[NSObject didChangeValueForKey:]
| Declaration | |
|---|---|
| From | - (void)didChangeValueForKey:(NSString *)key |
| To | - (void)didChangeValueForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)didChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects |
| To | - (void)didChangeValueForKey:(NSString * _Nonnull)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet * _Nonnull)objects |
| Declaration | |
|---|---|
| From | + (NSSet *)keyPathsForValuesAffectingValueForKey:(NSString *)key |
| To | + (NSSet<NSString *> * _Nonnull)keyPathsForValuesAffectingValueForKey:(NSString * _Nonnull)key |
Modified NSObject.observationInfo
| Declaration | |
|---|---|
| From | @property void *observationInfo |
| To | @property(nullable) void *observationInfo |
| 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 |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath context:(void *)context |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | + (void)setKeys:(NSArray *)keys triggerChangeNotificationsForDependentKey:(NSString *)dependentKey |
| To | + (void)setKeys:(NSArray * _Nonnull)keys triggerChangeNotificationsForDependentKey:(NSString * _Nonnull)dependentKey |
| Declaration | |
|---|---|
| From | - (void)willChange:(NSKeyValueChange)changeKind valuesAtIndexes:(NSIndexSet *)indexes forKey:(NSString *)key |
| To | - (void)willChange:(NSKeyValueChange)changeKind valuesAtIndexes:(NSIndexSet * _Nonnull)indexes forKey:(NSString * _Nonnull)key |
Modified -[NSObject willChangeValueForKey:]
| Declaration | |
|---|---|
| From | - (void)willChangeValueForKey:(NSString *)key |
| To | - (void)willChangeValueForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)willChangeValueForKey:(NSString *)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet *)objects |
| To | - (void)willChangeValueForKey:(NSString * _Nonnull)key withSetMutation:(NSKeyValueSetMutationKind)mutationKind usingObjects:(NSSet * _Nonnull)objects |
| Declaration | |
|---|---|
| From | - (void)addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context |
| To | - (void)addObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath options:(NSKeyValueObservingOptions)options context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath context:(void *)context |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath context:(void * _Nullable)context |
| Declaration | |
|---|---|
| From | - (void)addObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath options:(NSKeyValueObservingOptions)options context:(void *)context |
| To | - (void)addObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath options:(NSKeyValueObservingOptions)options context:(void * _Nullable)context |
Modified -[NSSet removeObserver:forKeyPath:]
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(NSObject *)observer forKeyPath:(NSString *)keyPath context:(void *)context |
| To | - (void)removeObserver:(NSObject * _Nonnull)observer forKeyPath:(NSString * _Nonnull)keyPath context:(void * _Nullable)context |
NSLengthFormatter.h
| Declaration | |
|---|---|
| From | - (BOOL)getObjectValue:(out id *)obj forString:(NSString *)string errorDescription:(out NSString **)error |
| To | - (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString * _Nonnull)string errorDescription:(out NSString * _Nullable * _Nullable)error |
Modified NSLengthFormatter.numberFormatter
| Declaration | |
|---|---|
| From | @property(copy) NSNumberFormatter *numberFormatter |
| To | @property(copy) NSNumberFormatter * _Null_unspecified numberFormatter |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromMeters:(double)numberInMeters |
| To | - (NSString * _Nonnull)stringFromMeters:(double)numberInMeters |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromValue:(double)value unit:(NSLengthFormatterUnit)unit |
| To | - (NSString * _Nonnull)stringFromValue:(double)value unit:(NSLengthFormatterUnit)unit |
| Declaration | |
|---|---|
| From | - (NSString *)unitStringFromMeters:(double)numberInMeters usedUnit:(NSLengthFormatterUnit *)unitp |
| To | - (NSString * _Nonnull)unitStringFromMeters:(double)numberInMeters usedUnit:(NSLengthFormatterUnit * _Nullable)unitp |
| Declaration | |
|---|---|
| From | - (NSString *)unitStringFromValue:(double)value unit:(NSLengthFormatterUnit)unit |
| To | - (NSString * _Nonnull)unitStringFromValue:(double)value unit:(NSLengthFormatterUnit)unit |
NSLinguisticTagger.h
| Declaration | |
|---|---|
| From | + (NSArray *)availableTagSchemesForLanguage:(NSString *)language |
| To | + (NSArray<NSString *> * _Nonnull)availableTagSchemesForLanguage:(NSString * _Nonnull)language |
| Declaration | |
|---|---|
| From | - (void)enumerateTagsInRange:(NSRange)range scheme:(NSString *)tagScheme options:(NSLinguisticTaggerOptions)opts usingBlock:(void (^)(NSString *tag, NSRange tokenRange, NSRange sentenceRange, BOOL *stop))block |
| To | - (void)enumerateTagsInRange:(NSRange)range scheme:(NSString * _Nonnull)tagScheme options:(NSLinguisticTaggerOptions)opts usingBlock:(void (^ _Nonnull)(NSString * _Nonnull tag, NSRange tokenRange, NSRange sentenceRange, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTagSchemes:(NSArray *)tagSchemes options:(NSUInteger)opts |
| To | - (instancetype _Nonnull)initWithTagSchemes:(NSArray<NSString *> * _Nonnull)tagSchemes options:(NSUInteger)opts |
| Declaration | |
|---|---|
| From | - (NSOrthography *)orthographyAtIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer)effectiveRange |
| To | - (NSOrthography * _Nullable)orthographyAtIndex:(NSUInteger)charIndex effectiveRange:(NSRangePointer _Nullable)effectiveRange |
| 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 |
| Declaration | |
|---|---|
| From | - (void)setOrthography:(NSOrthography *)orthography range:(NSRange)range |
| To | - (void)setOrthography:(NSOrthography * _Nullable)orthography range:(NSRange)range |
Modified NSLinguisticTagger.string
| Declaration | |
|---|---|
| From | @property(retain) NSString *string |
| To | @property(retain, nullable) NSString *string |
| Declaration | |
|---|---|
| From | - (NSString *)tagAtIndex:(NSUInteger)charIndex scheme:(NSString *)tagScheme tokenRange:(NSRangePointer)tokenRange sentenceRange:(NSRangePointer)sentenceRange |
| To | - (NSString * _Nullable)tagAtIndex:(NSUInteger)charIndex scheme:(NSString * _Nonnull)tagScheme tokenRange:(NSRangePointer _Nullable)tokenRange sentenceRange:(NSRangePointer _Nullable)sentenceRange |
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 | - (void)enumerateLinguisticTagsInRange:(NSRange)range scheme:(NSString *)tagScheme options:(NSLinguisticTaggerOptions)opts orthography:(NSOrthography *)orthography usingBlock:(void (^)(NSString *tag, NSRange tokenRange, NSRange sentenceRange, BOOL *stop))block |
| To | - (void)enumerateLinguisticTagsInRange:(NSRange)range scheme:(NSString * _Nonnull)tagScheme options:(NSLinguisticTaggerOptions)opts orthography:(NSOrthography * _Nullable)orthography usingBlock:(void (^ _Nonnull)(NSString * _Nonnull tag, NSRange tokenRange, NSRange sentenceRange, BOOL * _Nonnull stop))block |
| 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 | + (NSLocale *)autoupdatingCurrentLocale |
| To | + (NSLocale * _Nonnull)autoupdatingCurrentLocale |
| Declaration | |
|---|---|
| From | + (NSArray *)availableLocaleIdentifiers |
| To | + (NSArray<NSString *> * _Nonnull)availableLocaleIdentifiers |
| Declaration | |
|---|---|
| From | + (NSString *)canonicalLanguageIdentifierFromString:(NSString *)string |
| To | + (NSString * _Nonnull)canonicalLanguageIdentifierFromString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | + (NSString *)canonicalLocaleIdentifierFromString:(NSString *)string |
| To | + (NSString * _Nonnull)canonicalLocaleIdentifierFromString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | + (NSLocaleLanguageDirection)characterDirectionForLanguage:(NSString *)isoLangCode |
| To | + (NSLocaleLanguageDirection)characterDirectionForLanguage:(NSString * _Nonnull)isoLangCode |
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 currentLocale]
| Declaration | |
|---|---|
| From | + (NSLocale *)currentLocale |
| To | + (NSLocale * _Nonnull)currentLocale |
Modified -[NSLocale displayNameForKey:value:]
| Declaration | |
|---|---|
| From | - (NSString *)displayNameForKey:(id)key value:(id)value |
| To | - (NSString * _Nullable)displayNameForKey:(id _Nonnull)key value:(id _Nonnull)value |
Modified -[NSLocale initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithLocaleIdentifier:(NSString *)string |
| To | - (instancetype _Nonnull)initWithLocaleIdentifier:(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 | + (NSLocaleLanguageDirection)lineDirectionForLanguage:(NSString *)isoLangCode |
| To | + (NSLocaleLanguageDirection)lineDirectionForLanguage:(NSString * _Nonnull)isoLangCode |
Modified NSLocale.localeIdentifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localeIdentifier |
| To | @property(readonly, copy, nonnull) NSString *localeIdentifier |
| Declaration | |
|---|---|
| From | + (NSString *)localeIdentifierFromComponents:(NSDictionary *)dict |
| To | + (NSString * _Nonnull)localeIdentifierFromComponents:(NSDictionary<NSString *,NSString *> * _Nonnull)dict |
| Declaration | |
|---|---|
| From | + (NSString *)localeIdentifierFromWindowsLocaleCode:(uint32_t)lcid |
| To | + (NSString * _Nullable)localeIdentifierFromWindowsLocaleCode:(uint32_t)lcid |
| Declaration | |
|---|---|
| From | + (instancetype)localeWithLocaleIdentifier:(NSString *)ident |
| To | + (instancetype _Nonnull)localeWithLocaleIdentifier:(NSString * _Nonnull)ident |
Modified -[NSLocale objectForKey:]
| Declaration | |
|---|---|
| From | - (id)objectForKey:(id)key |
| To | - (id _Nullable)objectForKey:(id _Nonnull)key |
Modified +[NSLocale preferredLanguages]
| Declaration | |
|---|---|
| From | + (NSArray *)preferredLanguages |
| To | + (NSArray<NSString *> * _Nonnull)preferredLanguages |
Modified +[NSLocale systemLocale]
| Declaration | |
|---|---|
| From | + (NSLocale *)systemLocale |
| To | + (NSLocale * _Nonnull)systemLocale |
| Declaration | |
|---|---|
| From | + (uint32_t)windowsLocaleCodeFromLocaleIdentifier:(NSString *)localeIdentifier |
| To | + (uint32_t)windowsLocaleCodeFromLocaleIdentifier:(NSString * _Nonnull)localeIdentifier |
NSLock.h
Modified NSCondition.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
Modified -[NSCondition waitUntilDate:]
| Declaration | |
|---|---|
| From | - (BOOL)waitUntilDate:(NSDate *)limit |
| To | - (BOOL)waitUntilDate:(NSDate * _Nonnull)limit |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCondition:(NSInteger)condition |
| To | - (instancetype _Nonnull)initWithCondition:(NSInteger)condition |
Modified -[NSConditionLock lockBeforeDate:]
| Declaration | |
|---|---|
| From | - (BOOL)lockBeforeDate:(NSDate *)limit |
| To | - (BOOL)lockBeforeDate:(NSDate * _Nonnull)limit |
| Declaration | |
|---|---|
| From | - (BOOL)lockWhenCondition:(NSInteger)condition beforeDate:(NSDate *)limit |
| To | - (BOOL)lockWhenCondition:(NSInteger)condition beforeDate:(NSDate * _Nonnull)limit |
Modified NSConditionLock.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
Modified -[NSLock lockBeforeDate:]
| Declaration | |
|---|---|
| From | - (BOOL)lockBeforeDate:(NSDate *)limit |
| To | - (BOOL)lockBeforeDate:(NSDate * _Nonnull)limit |
Modified NSLock.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
Modified -[NSRecursiveLock lockBeforeDate:]
| Declaration | |
|---|---|
| From | - (BOOL)lockBeforeDate:(NSDate *)limit |
| To | - (BOOL)lockBeforeDate:(NSDate * _Nonnull)limit |
Modified NSRecursiveLock.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
NSMapTable.h
Removed NSMapTableCopyIn
Removed NSMapTableStrongMemory
Removed NSMapTableWeakMemory
Removed NSMapTableZeroingWeakMemory
| Declaration | |
|---|---|
| From | - (NSDictionary *)dictionaryRepresentation |
| To | - (NSDictionary<KeyType,ObjectType> * _Nonnull)dictionaryRepresentation |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions capacity:(NSUInteger)initialCapacity |
| To | - (instancetype _Nonnull)initWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions capacity:(NSUInteger)initialCapacity |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKeyPointerFunctions:(NSPointerFunctions *)keyFunctions valuePointerFunctions:(NSPointerFunctions *)valueFunctions capacity:(NSUInteger)initialCapacity |
| To | - (instancetype _Nonnull)initWithKeyPointerFunctions:(NSPointerFunctions * _Nonnull)keyFunctions valuePointerFunctions:(NSPointerFunctions * _Nonnull)valueFunctions capacity:(NSUInteger)initialCapacity |
Modified -[NSMapTable keyEnumerator]
| Declaration | |
|---|---|
| From | - (NSEnumerator *)keyEnumerator |
| To | - (NSEnumerator<KeyType> * _Nonnull)keyEnumerator |
Modified NSMapTable.keyPointerFunctions
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSPointerFunctions *keyPointerFunctions |
| To | @property(readonly, copy, nonnull) NSPointerFunctions *keyPointerFunctions |
| Declaration | |
|---|---|
| From | + (NSMapTable *)mapTableWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions |
| To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)mapTableWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions |
| Declaration | |
|---|---|
| From | + (id)mapTableWithStrongToStrongObjects |
| To | + (id _Nonnull)mapTableWithStrongToStrongObjects |
| Declaration | |
|---|---|
| From | + (id)mapTableWithStrongToWeakObjects |
| To | + (id _Nonnull)mapTableWithStrongToWeakObjects |
| Declaration | |
|---|---|
| From | + (id)mapTableWithWeakToStrongObjects |
| To | + (id _Nonnull)mapTableWithWeakToStrongObjects |
| Declaration | |
|---|---|
| From | + (id)mapTableWithWeakToWeakObjects |
| To | + (id _Nonnull)mapTableWithWeakToWeakObjects |
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 |
Modified NSMapTable.valuePointerFunctions
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSPointerFunctions *valuePointerFunctions |
| To | @property(readonly, copy, nonnull) NSPointerFunctions *valuePointerFunctions |
| Declaration | |
|---|---|
| From | + (NSMapTable *)weakToStrongObjectsMapTable |
| To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)weakToStrongObjectsMapTable |
| Declaration | |
|---|---|
| From | + (NSMapTable *)weakToWeakObjectsMapTable |
| To | + (NSMapTable<KeyType,ObjectType> * _Nonnull)weakToWeakObjectsMapTable |
Modified NSAllMapTableKeys()
| Declaration | |
|---|---|
| From | NSArray * NSAllMapTableKeys (
NSMapTable *table
);
|
| To | NSArray * _Nonnull NSAllMapTableKeys (
NSMapTable * _Nonnull table
);
|
Modified NSAllMapTableValues()
| Declaration | |
|---|---|
| From | NSArray * NSAllMapTableValues (
NSMapTable *table
);
|
| To | NSArray * _Nonnull NSAllMapTableValues (
NSMapTable * _Nonnull table
);
|
Modified NSCompareMapTables()
| Declaration | |
|---|---|
| From | BOOL NSCompareMapTables (
NSMapTable *table1,
NSMapTable *table2
);
|
| To | BOOL NSCompareMapTables (
NSMapTable * _Nonnull table1,
NSMapTable * _Nonnull table2
);
|
Modified NSCopyMapTableWithZone()
| Declaration | |
|---|---|
| From | NSMapTable * NSCopyMapTableWithZone (
NSMapTable *table,
NSZone *zone
);
|
| To | NSMapTable * _Nonnull NSCopyMapTableWithZone (
NSMapTable * _Nonnull table,
NSZone * _Nullable zone
);
|
Modified NSCountMapTable()
| Declaration | |
|---|---|
| From | NSUInteger NSCountMapTable (
NSMapTable *table
);
|
| To | NSUInteger NSCountMapTable (
NSMapTable * _Nonnull table
);
|
Modified NSCreateMapTable()
| Declaration | |
|---|---|
| From | NSMapTable * NSCreateMapTable (
NSMapTableKeyCallBacks keyCallBacks,
NSMapTableValueCallBacks valueCallBacks,
NSUInteger capacity
);
|
| To | NSMapTable * _Nonnull NSCreateMapTable (
NSMapTableKeyCallBacks keyCallBacks,
NSMapTableValueCallBacks valueCallBacks,
NSUInteger capacity
);
|
Modified NSCreateMapTableWithZone()
| Declaration | |
|---|---|
| From | NSMapTable * NSCreateMapTableWithZone (
NSMapTableKeyCallBacks keyCallBacks,
NSMapTableValueCallBacks valueCallBacks,
NSUInteger capacity,
NSZone *zone
);
|
| To | NSMapTable * _Nonnull NSCreateMapTableWithZone (
NSMapTableKeyCallBacks keyCallBacks,
NSMapTableValueCallBacks valueCallBacks,
NSUInteger capacity,
NSZone * _Nullable zone
);
|
Modified NSEndMapTableEnumeration()
| Declaration | |
|---|---|
| From | void NSEndMapTableEnumeration (
NSMapEnumerator *enumerator
);
|
| To | void NSEndMapTableEnumeration (
NSMapEnumerator * _Nonnull enumerator
);
|
Modified NSEnumerateMapTable()
| Declaration | |
|---|---|
| From | NSMapEnumerator NSEnumerateMapTable (
NSMapTable *table
);
|
| To | NSMapEnumerator NSEnumerateMapTable (
NSMapTable * _Nonnull table
);
|
Modified NSFreeMapTable()
| Declaration | |
|---|---|
| From | void NSFreeMapTable (
NSMapTable *table
);
|
| To | void NSFreeMapTable (
NSMapTable * _Nonnull table
);
|
Modified NSMapGet()
| Declaration | |
|---|---|
| From | void * NSMapGet (
NSMapTable *table,
const void *key
);
|
| To | void * _Nullable NSMapGet (
NSMapTable * _Nonnull table,
const void * _Nullable key
);
|
Modified NSMapInsert()
| Declaration | |
|---|---|
| From | void NSMapInsert (
NSMapTable *table,
const void *key,
const void *value
);
|
| To | void NSMapInsert (
NSMapTable * _Nonnull table,
const void * _Nullable key,
const void * _Nullable value
);
|
Modified NSMapInsertIfAbsent()
| Declaration | |
|---|---|
| From | void * NSMapInsertIfAbsent (
NSMapTable *table,
const void *key,
const void *value
);
|
| To | void * _Nullable NSMapInsertIfAbsent (
NSMapTable * _Nonnull table,
const void * _Nullable key,
const void * _Nullable value
);
|
Modified NSMapInsertKnownAbsent()
| Declaration | |
|---|---|
| From | void NSMapInsertKnownAbsent (
NSMapTable *table,
const void *key,
const void *value
);
|
| To | void NSMapInsertKnownAbsent (
NSMapTable * _Nonnull table,
const void * _Nullable key,
const void * _Nullable value
);
|
Modified NSMapMember()
| Declaration | |
|---|---|
| From | BOOL NSMapMember (
NSMapTable *table,
const void *key,
void **originalKey,
void **value
);
|
| To | BOOL NSMapMember (
NSMapTable * _Nonnull table,
const void * _Nonnull key,
void * _Nullable * _Nullable originalKey,
void * _Nullable * _Nullable value
);
|
Modified NSMapRemove()
| Declaration | |
|---|---|
| From | void NSMapRemove (
NSMapTable *table,
const void *key
);
|
| To | void NSMapRemove (
NSMapTable * _Nonnull table,
const void * _Nullable key
);
|
Modified NSNextMapEnumeratorPair()
| Declaration | |
|---|---|
| From | BOOL NSNextMapEnumeratorPair (
NSMapEnumerator *enumerator,
void **key,
void **value
);
|
| To | BOOL NSNextMapEnumeratorPair (
NSMapEnumerator * _Nonnull enumerator,
void * _Nullable * _Nullable key,
void * _Nullable * _Nullable value
);
|
Modified NSResetMapTable()
| Declaration | |
|---|---|
| From | void NSResetMapTable (
NSMapTable *table
);
|
| To | void NSResetMapTable (
NSMapTable * _Nonnull table
);
|
Modified NSStringFromMapTable()
| Declaration | |
|---|---|
| From | NSString * NSStringFromMapTable (
NSMapTable *table
);
|
| To | NSString * _Nonnull NSStringFromMapTable (
NSMapTable * _Nonnull table
);
|
NSMassFormatter.h
| Declaration | |
|---|---|
| From | - (BOOL)getObjectValue:(out id *)obj forString:(NSString *)string errorDescription:(out NSString **)error |
| To | - (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString * _Nonnull)string errorDescription:(out NSString * _Nullable * _Nullable)error |
Modified NSMassFormatter.numberFormatter
| Declaration | |
|---|---|
| From | @property(copy) NSNumberFormatter *numberFormatter |
| To | @property(copy) NSNumberFormatter * _Null_unspecified numberFormatter |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromKilograms:(double)numberInKilograms |
| To | - (NSString * _Nonnull)stringFromKilograms:(double)numberInKilograms |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromValue:(double)value unit:(NSMassFormatterUnit)unit |
| To | - (NSString * _Nonnull)stringFromValue:(double)value unit:(NSMassFormatterUnit)unit |
| Declaration | |
|---|---|
| From | - (NSString *)unitStringFromKilograms:(double)numberInKilograms usedUnit:(NSMassFormatterUnit *)unitp |
| To | - (NSString * _Nonnull)unitStringFromKilograms:(double)numberInKilograms usedUnit:(NSMassFormatterUnit * _Nullable)unitp |
| Declaration | |
|---|---|
| From | - (NSString *)unitStringFromValue:(double)value unit:(NSMassFormatterUnit)unit |
| To | - (NSString * _Nonnull)unitStringFromValue:(double)value unit:(NSMassFormatterUnit)unit |
NSMetadata.h
Modified NSMetadataItem.attributes
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *attributes |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *attributes |
Modified -[NSMetadataItem initWithURL:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url |
Modified -[NSMetadataItem valueForAttribute:]
| Declaration | |
|---|---|
| From | - (id)valueForAttribute:(NSString *)key |
| To | - (id _Nullable)valueForAttribute:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (NSDictionary *)valuesForAttributes:(NSArray *)keys |
| To | - (NSDictionary<NSString *,id> * _Nullable)valuesForAttributes:(NSArray<NSString *> * _Nonnull)keys |
Modified NSMetadataQuery.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSMetadataQueryDelegate> delegate |
| To | @property(assign, nullable) id<NSMetadataQueryDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)enumerateResultsUsingBlock:(void (^)(id result, NSUInteger idx, BOOL *stop))block |
| To | - (void)enumerateResultsUsingBlock:(void (^ _Nonnull)(id _Nonnull result, NSUInteger idx, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (void)enumerateResultsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^)(id result, NSUInteger idx, BOOL *stop))block |
| To | - (void)enumerateResultsWithOptions:(NSEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(id _Nonnull result, NSUInteger idx, BOOL * _Nonnull stop))block |
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 indexOfResult:]
| Declaration | |
|---|---|
| From | - (NSUInteger)indexOfResult:(id)result |
| To | - (NSUInteger)indexOfResult:(id _Nonnull)result |
Modified NSMetadataQuery.operationQueue
| Declaration | |
|---|---|
| From | @property(retain) NSOperationQueue *operationQueue |
| To | @property(retain, nullable) NSOperationQueue *operationQueue |
Modified NSMetadataQuery.predicate
| Declaration | |
|---|---|
| From | @property(copy) NSPredicate *predicate |
| To | @property(copy, nullable) NSPredicate *predicate |
Modified -[NSMetadataQuery resultAtIndex:]
| Declaration | |
|---|---|
| From | - (id)resultAtIndex:(NSUInteger)idx |
| To | - (id _Nonnull)resultAtIndex:(NSUInteger)idx |
Modified NSMetadataQuery.results
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *results |
| To | @property(readonly, copy, nonnull) NSArray *results |
Modified NSMetadataQuery.searchItems
| Declaration | |
|---|---|
| From | @property(copy) NSArray *searchItems |
| To | @property(copy, nullable) NSArray *searchItems |
Modified NSMetadataQuery.searchScopes
| Declaration | |
|---|---|
| From | @property(copy) NSArray *searchScopes |
| To | @property(copy, nonnull) NSArray *searchScopes |
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 |
| Declaration | |
|---|---|
| From | - (id)valueOfAttribute:(NSString *)attrName forResultAtIndex:(NSUInteger)idx |
| To | - (id _Nullable)valueOfAttribute:(NSString * _Nonnull)attrName forResultAtIndex:(NSUInteger)idx |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *attribute |
| To | @property(readonly, copy, nonnull) NSString *attribute |
| Declaration | |
|---|---|
| From | @property(readonly, retain) id value |
| To | @property(readonly, retain, nullable) id value |
| Declaration | |
|---|---|
| From | - (id)metadataQuery:(NSMetadataQuery *)query replacementObjectForResultObject:(NSMetadataItem *)result |
| To | - (id _Nonnull)metadataQuery:(NSMetadataQuery * _Nonnull)query replacementObjectForResultObject:(NSMetadataItem * _Nonnull)result |
| Declaration | |
|---|---|
| From | - (id)metadataQuery:(NSMetadataQuery *)query replacementValueForAttribute:(NSString *)attrName value:(id)attrValue |
| To | - (id _Nonnull)metadataQuery:(NSMetadataQuery * _Nonnull)query replacementValueForAttribute:(NSString * _Nonnull)attrName value:(id _Nonnull)attrValue |
Modified NSMetadataQueryResultGroup.attribute
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *attribute |
| To | @property(readonly, copy, nonnull) NSString *attribute |
| Declaration | |
|---|---|
| From | - (id)resultAtIndex:(NSUInteger)idx |
| To | - (id _Nonnull)resultAtIndex:(NSUInteger)idx |
Modified NSMetadataQueryResultGroup.results
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *results |
| To | @property(readonly, copy, nonnull) NSArray *results |
Modified NSMetadataQueryResultGroup.subgroups
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *subgroups |
| To | @property(readonly, copy, nullable) NSArray<NSMetadataQueryResultGroup *> *subgroups |
Modified NSMetadataQueryResultGroup.value
| Declaration | |
|---|---|
| From | @property(readonly, retain) id value |
| To | @property(readonly, retain, nonnull) id value |
NSMethodSignature.h
| Declaration | |
|---|---|
| From | - (const char *)getArgumentTypeAtIndex:(NSUInteger)idx |
| To | - (const char * _Nonnull)getArgumentTypeAtIndex:(NSUInteger)idx |
Modified NSMethodSignature.methodReturnType
| Declaration | |
|---|---|
| From | @property(readonly) const char *methodReturnType |
| To | @property(readonly, nonnull) const char *methodReturnType |
| Declaration | |
|---|---|
| From | + (NSMethodSignature *)signatureWithObjCTypes:(const char *)types |
| To | + (NSMethodSignature * _Nullable)signatureWithObjCTypes:(const char * _Nonnull)types |
NSNetServices.h
Removed NSNetService(NSDeprecated)
Removed NSNetServiceBrowser(NSDeprecated)
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 |
Modified NSNetService.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSNetServiceDelegate> delegate |
| To | @property(assign, nullable) id<NSNetServiceDelegate> delegate |
| Declaration | |
|---|---|
| From | + (NSDictionary *)dictionaryFromTXTRecordData:(NSData *)txtData |
| To | + (NSDictionary<NSString *,NSData *> * _Nonnull)dictionaryFromTXTRecordData:(NSData * _Nonnull)txtData |
Modified NSNetService.domain
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *domain |
| To | @property(readonly, copy, nonnull) NSString *domain |
| Declaration | |
|---|---|
| From | - (BOOL)getInputStream:(out NSInputStream **)inputStream outputStream:(out NSOutputStream **)outputStream |
| To | - (BOOL)getInputStream:(out NSInputStream * _Nullable * _Nullable)inputStream outputStream:(out NSOutputStream * _Nullable * _Nullable)outputStream |
Modified NSNetService.hostName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *hostName |
| To | @property(readonly, copy, nullable) NSString *hostName |
| Declaration | |
|---|---|
| From | - (instancetype)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name |
| To | - (instancetype _Nonnull)initWithDomain:(NSString * _Nonnull)domain type:(NSString * _Nonnull)type name:(NSString * _Nonnull)name |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name port:(int)port | -- |
| To | - (instancetype _Nonnull)initWithDomain:(NSString * _Nonnull)domain type:(NSString * _Nonnull)type name:(NSString * _Nonnull)name port:(int)port | yes |
Modified NSNetService.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
| Declaration | |
|---|---|
| From | - (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)removeFromRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)scheduleInRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
Modified -[NSNetService setTXTRecordData:]
| Declaration | |
|---|---|
| From | - (BOOL)setTXTRecordData:(NSData *)recordData |
| To | - (BOOL)setTXTRecordData:(NSData * _Nullable)recordData |
Modified -[NSNetService TXTRecordData]
| Declaration | |
|---|---|
| From | - (NSData *)TXTRecordData |
| To | - (NSData * _Nullable)TXTRecordData |
Modified NSNetService.type
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *type |
| To | @property(readonly, copy, nonnull) NSString *type |
Modified NSNetServiceBrowser.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSNetServiceBrowserDelegate> delegate |
| To | @property(assign, nullable) id<NSNetServiceBrowserDelegate> delegate |
Modified -[NSNetServiceBrowser init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)removeFromRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)scheduleInRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (void)searchForServicesOfType:(NSString *)type inDomain:(NSString *)domainString |
| To | - (void)searchForServicesOfType:(NSString * _Nonnull)type inDomain:(NSString * _Nonnull)domainString |
| 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 didAcceptConnectionWithInputStream:(NSInputStream *)inputStream outputStream:(NSOutputStream *)outputStream |
| To | - (void)netService:(NSNetService * _Nonnull)sender didAcceptConnectionWithInputStream:(NSInputStream * _Nonnull)inputStream outputStream:(NSOutputStream * _Nonnull)outputStream |
| 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 |
| Declaration | |
|---|---|
| From | - (void)netService:(NSNetService *)sender didUpdateTXTRecordData:(NSData *)data |
| To | - (void)netService:(NSNetService * _Nonnull)sender didUpdateTXTRecordData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (void)netServiceDidPublish:(NSNetService *)sender |
| To | - (void)netServiceDidPublish:(NSNetService * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)netServiceDidResolveAddress:(NSNetService *)sender |
| To | - (void)netServiceDidResolveAddress:(NSNetService * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)netServiceDidStop:(NSNetService *)sender |
| To | - (void)netServiceDidStop:(NSNetService * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)netServiceWillPublish:(NSNetService *)sender |
| To | - (void)netServiceWillPublish:(NSNetService * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)netServiceWillResolve:(NSNetService *)sender |
| To | - (void)netServiceWillResolve:(NSNetService * _Nonnull)sender |
NSNotification.h
Modified -[NSNotification init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSNotification initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name object:(id)object userInfo:(NSDictionary *)userInfo |
| To | - (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name object:(id _Nullable)object userInfo:(NSDictionary * _Nullable)userInfo |
Modified NSNotification.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
| Declaration | |
|---|---|
| From | + (instancetype)notificationWithName:(NSString *)aName object:(id)anObject |
| To | + (instancetype _Nonnull)notificationWithName:(NSString * _Nonnull)aName object:(id _Nullable)anObject |
| Declaration | |
|---|---|
| From | + (instancetype)notificationWithName:(NSString *)aName object:(id)anObject userInfo:(NSDictionary *)aUserInfo |
| To | + (instancetype _Nonnull)notificationWithName:(NSString * _Nonnull)aName object:(id _Nullable)anObject userInfo:(NSDictionary * _Nullable)aUserInfo |
Modified NSNotification.object
| Declaration | |
|---|---|
| From | @property(readonly, retain) id object |
| To | @property(readonly, retain, nullable) id object |
Modified NSNotification.userInfo
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *userInfo |
| To | @property(readonly, copy, nullable) NSDictionary *userInfo |
| Declaration | |
|---|---|
| From | - (void)addObserver:(id)observer selector:(SEL)aSelector name:(NSString *)aName object:(id)anObject |
| To | - (void)addObserver:(id _Nonnull)observer selector:(SEL _Nonnull)aSelector name:(NSString * _Nullable)aName object:(id _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (id<NSObject>)addObserverForName:(NSString *)name object:(id)obj queue:(NSOperationQueue *)queue usingBlock:(void (^)(NSNotification *note))block |
| To | - (id<NSObject> _Nonnull)addObserverForName:(NSString * _Nullable)name object:(id _Nullable)obj queue:(NSOperationQueue * _Nullable)queue usingBlock:(void (^ _Nonnull)(NSNotification * _Nonnull note))block |
| Declaration | |
|---|---|
| From | + (NSNotificationCenter *)defaultCenter |
| To | + (NSNotificationCenter * _Nonnull)defaultCenter |
| Declaration | |
|---|---|
| From | - (void)postNotification:(NSNotification *)notification |
| To | - (void)postNotification:(NSNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)postNotificationName:(NSString *)aName object:(id)anObject |
| To | - (void)postNotificationName:(NSString * _Nonnull)aName object:(id _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (void)postNotificationName:(NSString *)aName object:(id)anObject userInfo:(NSDictionary *)aUserInfo |
| To | - (void)postNotificationName:(NSString * _Nonnull)aName object:(id _Nullable)anObject userInfo:(NSDictionary * _Nullable)aUserInfo |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(id)observer |
| To | - (void)removeObserver:(id _Nonnull)observer |
| Declaration | |
|---|---|
| From | - (void)removeObserver:(id)observer name:(NSString *)aName object:(id)anObject |
| To | - (void)removeObserver:(id _Nonnull)observer name:(NSString * _Nullable)aName object:(id _Nullable)anObject |
NSNotificationQueue.h
Modified +[NSNotificationQueue defaultQueue]
| Declaration | |
|---|---|
| From | + (NSNotificationQueue *)defaultQueue |
| To | + (NSNotificationQueue * _Nonnull)defaultQueue |
| Declaration | |
|---|---|
| From | - (void)dequeueNotificationsMatching:(NSNotification *)notification coalesceMask:(NSUInteger)coalesceMask |
| To | - (void)dequeueNotificationsMatching:(NSNotification * _Nonnull)notification coalesceMask:(NSUInteger)coalesceMask |
| Declaration | |
|---|---|
| From | - (void)enqueueNotification:(NSNotification *)notification postingStyle:(NSPostingStyle)postingStyle |
| To | - (void)enqueueNotification:(NSNotification * _Nonnull)notification postingStyle:(NSPostingStyle)postingStyle |
| 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 |
| Declaration | |
|---|---|
| From | - (instancetype)initWithNotificationCenter:(NSNotificationCenter *)notificationCenter |
| To | - (instancetype _Nonnull)initWithNotificationCenter:(NSNotificationCenter * _Nonnull)notificationCenter |
NSNull.h
NSNumberFormatter.h
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedStringForNil |
| To | @property(copy, nonnull) NSAttributedString *attributedStringForNil |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedStringForNotANumber |
| To | @property(copy, nonnull) NSAttributedString *attributedStringForNotANumber |
| Declaration | |
|---|---|
| From | @property(copy) NSAttributedString *attributedStringForZero |
| To | @property(copy, nonnull) NSAttributedString *attributedStringForZero |
Modified NSNumberFormatter.currencyCode
| Declaration | |
|---|---|
| From | @property(copy) NSString *currencyCode |
| To | @property(copy) NSString * _Null_unspecified currencyCode |
| Declaration | |
|---|---|
| From | @property(copy) NSString *currencyDecimalSeparator |
| To | @property(copy) NSString * _Null_unspecified currencyDecimalSeparator |
| Declaration | |
|---|---|
| From | @property(copy) NSString *currencyGroupingSeparator |
| To | @property(copy) NSString * _Null_unspecified currencyGroupingSeparator |
Modified NSNumberFormatter.currencySymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *currencySymbol |
| To | @property(copy) NSString * _Null_unspecified currencySymbol |
Modified NSNumberFormatter.decimalSeparator
| Declaration | |
|---|---|
| From | @property(copy) NSString *decimalSeparator |
| To | @property(copy) NSString * _Null_unspecified decimalSeparator |
Modified NSNumberFormatter.exponentSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *exponentSymbol |
| To | @property(copy) NSString * _Null_unspecified exponentSymbol |
Modified NSNumberFormatter.format
| Declaration | |
|---|---|
| From | @property(copy) NSString *format |
| To | @property(copy, nonnull) NSString *format |
| Declaration | |
|---|---|
| From | - (BOOL)getObjectValue:(out id *)obj forString:(NSString *)string range:(inout NSRange *)rangep error:(out NSError **)error |
| To | - (BOOL)getObjectValue:(out id _Nullable * _Nullable)obj forString:(NSString * _Nonnull)string range:(inout NSRange * _Nullable)rangep error:(out NSError * _Nullable * _Nullable)error |
Modified NSNumberFormatter.groupingSeparator
| Declaration | |
|---|---|
| From | @property(copy) NSString *groupingSeparator |
| To | @property(copy) NSString * _Null_unspecified groupingSeparator |
| Declaration | |
|---|---|
| From | @property(copy) NSString *internationalCurrencySymbol |
| To | @property(copy) NSString * _Null_unspecified internationalCurrencySymbol |
Modified NSNumberFormatter.locale
| Declaration | |
|---|---|
| From | @property(copy) NSLocale *locale |
| To | @property(copy) NSLocale * _Null_unspecified locale |
| Declaration | |
|---|---|
| From | + (NSString *)localizedStringFromNumber:(NSNumber *)num numberStyle:(NSNumberFormatterStyle)nstyle |
| To | + (NSString * _Nonnull)localizedStringFromNumber:(NSNumber * _Nonnull)num numberStyle:(NSNumberFormatterStyle)nstyle |
Modified NSNumberFormatter.maximum
| Declaration | |
|---|---|
| From | @property(copy) NSNumber *maximum |
| To | @property(copy, nullable) NSNumber *maximum |
Modified NSNumberFormatter.minimum
| Declaration | |
|---|---|
| From | @property(copy) NSNumber *minimum |
| To | @property(copy, nullable) NSNumber *minimum |
Modified NSNumberFormatter.minusSign
| Declaration | |
|---|---|
| From | @property(copy) NSString *minusSign |
| To | @property(copy) NSString * _Null_unspecified minusSign |
Modified NSNumberFormatter.multiplier
| Declaration | |
|---|---|
| From | @property(copy) NSNumber *multiplier |
| To | @property(copy, nullable) NSNumber *multiplier |
Modified NSNumberFormatter.negativeFormat
| Declaration | |
|---|---|
| From | @property(copy) NSString *negativeFormat |
| To | @property(copy) NSString * _Null_unspecified negativeFormat |
| Declaration | |
|---|---|
| From | @property(copy) NSString *negativeInfinitySymbol |
| To | @property(copy, nonnull) NSString *negativeInfinitySymbol |
Modified NSNumberFormatter.negativePrefix
| Declaration | |
|---|---|
| From | @property(copy) NSString *negativePrefix |
| To | @property(copy) NSString * _Null_unspecified negativePrefix |
Modified NSNumberFormatter.negativeSuffix
| Declaration | |
|---|---|
| From | @property(copy) NSString *negativeSuffix |
| To | @property(copy) NSString * _Null_unspecified negativeSuffix |
Modified NSNumberFormatter.nilSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *nilSymbol |
| To | @property(copy, nonnull) NSString *nilSymbol |
Modified NSNumberFormatter.notANumberSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *notANumberSymbol |
| To | @property(copy) NSString * _Null_unspecified notANumberSymbol |
| Declaration | |
|---|---|
| From | - (NSNumber *)numberFromString:(NSString *)string |
| To | - (NSNumber * _Nullable)numberFromString:(NSString * _Nonnull)string |
Modified NSNumberFormatter.paddingCharacter
| Declaration | |
|---|---|
| From | @property(copy) NSString *paddingCharacter |
| To | @property(copy) NSString * _Null_unspecified paddingCharacter |
Modified NSNumberFormatter.percentSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *percentSymbol |
| To | @property(copy) NSString * _Null_unspecified percentSymbol |
Modified NSNumberFormatter.perMillSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *perMillSymbol |
| To | @property(copy) NSString * _Null_unspecified perMillSymbol |
Modified NSNumberFormatter.plusSign
| Declaration | |
|---|---|
| From | @property(copy) NSString *plusSign |
| To | @property(copy) NSString * _Null_unspecified plusSign |
Modified NSNumberFormatter.positiveFormat
| Declaration | |
|---|---|
| From | @property(copy) NSString *positiveFormat |
| To | @property(copy) NSString * _Null_unspecified positiveFormat |
| Declaration | |
|---|---|
| From | @property(copy) NSString *positiveInfinitySymbol |
| To | @property(copy, nonnull) NSString *positiveInfinitySymbol |
Modified NSNumberFormatter.positivePrefix
| Declaration | |
|---|---|
| From | @property(copy) NSString *positivePrefix |
| To | @property(copy) NSString * _Null_unspecified positivePrefix |
Modified NSNumberFormatter.positiveSuffix
| Declaration | |
|---|---|
| From | @property(copy) NSString *positiveSuffix |
| To | @property(copy) NSString * _Null_unspecified positiveSuffix |
Modified NSNumberFormatter.roundingBehavior
| Declaration | |
|---|---|
| From | @property(copy) NSDecimalNumberHandler *roundingBehavior |
| To | @property(copy, nonnull) NSDecimalNumberHandler *roundingBehavior |
Modified NSNumberFormatter.roundingIncrement
| Declaration | |
|---|---|
| From | @property(copy) NSNumber *roundingIncrement |
| To | @property(copy) NSNumber * _Null_unspecified roundingIncrement |
| Declaration | |
|---|---|
| From | - (NSString *)stringFromNumber:(NSNumber *)number |
| To | - (NSString * _Nullable)stringFromNumber:(NSNumber * _Nonnull)number |
| 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 |
Modified NSNumberFormatter.thousandSeparator
| Declaration | |
|---|---|
| From | @property(copy) NSString *thousandSeparator |
| To | @property(copy) NSString * _Null_unspecified thousandSeparator |
Modified NSNumberFormatter.zeroSymbol
| Declaration | |
|---|---|
| From | @property(copy) NSString *zeroSymbol |
| To | @property(copy, nullable) NSString *zeroSymbol |
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 |
Modified NSClassFromString()
| Declaration | |
|---|---|
| From | Class NSClassFromString (
NSString *aClassName
);
|
| To | Class _Nullable NSClassFromString (
NSString * _Nonnull aClassName
);
|
Modified NSGetSizeAndAlignment()
| Declaration | |
|---|---|
| From | const char * NSGetSizeAndAlignment (
const char *typePtr,
NSUInteger *sizep,
NSUInteger *alignp
);
|
| To | const char * _Nonnull NSGetSizeAndAlignment (
const char * _Nonnull typePtr,
NSUInteger * _Nullable sizep,
NSUInteger * _Nullable alignp
);
|
Modified NSLog()
| Declaration | |
|---|---|
| From | void NSLog (
NSString *format,
...
);
|
| To | void NSLog (
NSString * _Nonnull format,
...
);
|
Modified NSLogv()
| Declaration | |
|---|---|
| From | void NSLogv (
NSString *format,
va_list args
);
|
| To | void NSLogv (
NSString * _Nonnull format,
va_list _Nonnull args
);
|
Modified NSProtocolFromString()
| Declaration | |
|---|---|
| From | Protocol * NSProtocolFromString (
NSString *namestr
);
|
| To | Protocol * _Nullable NSProtocolFromString (
NSString * _Nonnull namestr
);
|
Modified NSSelectorFromString()
| Declaration | |
|---|---|
| From | SEL NSSelectorFromString (
NSString *aSelectorName
);
|
| To | SEL _Nonnull NSSelectorFromString (
NSString * _Nonnull aSelectorName
);
|
Modified NSStringFromClass()
| Declaration | |
|---|---|
| From | NSString * NSStringFromClass (
Class aClass
);
|
| To | NSString * _Nonnull NSStringFromClass (
Class _Nonnull aClass
);
|
Modified NSStringFromProtocol()
| Declaration | |
|---|---|
| From | NSString * NSStringFromProtocol (
Protocol *proto
);
|
| To | NSString * _Nonnull NSStringFromProtocol (
Protocol * _Nonnull proto
);
|
Modified NSStringFromSelector()
| Declaration | |
|---|---|
| From | NSString * NSStringFromSelector (
SEL aSelector
);
|
| To | NSString * _Nonnull NSStringFromSelector (
SEL _Nonnull aSelector
);
|
NSObject.h
Modified -[NSCoding encodeWithCoder:]
| Declaration | |
|---|---|
| From | - (void)encodeWithCoder:(NSCoder *)aCoder |
| To | - (void)encodeWithCoder:(NSCoder * _Nonnull)aCoder |
Modified -[NSCoding initWithCoder:]
| Declaration | |
|---|---|
| From | - (id)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
Modified -[NSCopying copyWithZone:]
| Declaration | |
|---|---|
| From | - (id)copyWithZone:(NSZone *)zone |
| To | - (id _Nonnull)copyWithZone:(NSZone * _Nullable)zone |
| Declaration | |
|---|---|
| From | - (id)mutableCopyWithZone:(NSZone *)zone |
| To | - (id _Nonnull)mutableCopyWithZone:(NSZone * _Nullable)zone |
Modified NSObject.autoContentAccessingProxy
| Declaration | |
|---|---|
| From | @property(readonly, retain) id autoContentAccessingProxy |
| To | @property(readonly, retain, nonnull) id autoContentAccessingProxy |
Modified -[NSObject awakeAfterUsingCoder:]
| Declaration | |
|---|---|
| From | - (id)awakeAfterUsingCoder:(NSCoder *)aDecoder |
| To | - (id _Nullable)awakeAfterUsingCoder:(NSCoder * _Nonnull)aDecoder |
Modified NSObject.classForCoder
| Declaration | |
|---|---|
| From | @property(readonly) Class classForCoder |
| To | @property(readonly, nonnull) Class classForCoder |
Modified +[NSObject poseAsClass:]
| Declaration | |
|---|---|
| From | + (void)poseAsClass:(Class)aClass |
| To | + (void)poseAsClass:(Class _Nonnull)aClass |
| Declaration | |
|---|---|
| From | - (id)replacementObjectForCoder:(NSCoder *)aCoder |
| To | - (id _Nullable)replacementObjectForCoder:(NSCoder * _Nonnull)aCoder |
Modified CFBridgingRelease()
| Declaration | |
|---|---|
| From | id CFBridgingRelease (
CFTypeRef X
);
|
| To | id _Nullable CFBridgingRelease (
CFTypeRef _Nullable X
);
|
Modified CFBridgingRetain()
| Declaration | |
|---|---|
| From | CFTypeRef CFBridgingRetain (
id X
);
|
| To | CFTypeRef _Nullable CFBridgingRetain (
id _Nullable X
);
|
Modified NSAllocateObject()
| Declaration | |
|---|---|
| From | id NSAllocateObject (
Class aClass,
NSUInteger extraBytes,
NSZone *zone
);
|
| To | id _Nonnull NSAllocateObject (
Class _Nonnull aClass,
NSUInteger extraBytes,
NSZone * _Nullable zone
);
|
Modified NSCopyObject()
| Declaration | |
|---|---|
| From | id NSCopyObject (
id object,
NSUInteger extraBytes,
NSZone *zone
);
|
| To | id _Nonnull NSCopyObject (
id _Nonnull object,
NSUInteger extraBytes,
NSZone * _Nullable zone
);
|
Modified NSDeallocateObject()
| Declaration | |
|---|---|
| From | void NSDeallocateObject (
id object
);
|
| To | void NSDeallocateObject (
id _Nonnull object
);
|
Modified NSDecrementExtraRefCountWasZero()
| Declaration | |
|---|---|
| From | BOOL NSDecrementExtraRefCountWasZero (
id object
);
|
| To | BOOL NSDecrementExtraRefCountWasZero (
id _Nonnull object
);
|
Modified NSExtraRefCount()
| Declaration | |
|---|---|
| From | NSUInteger NSExtraRefCount (
id object
);
|
| To | NSUInteger NSExtraRefCount (
id _Nonnull object
);
|
Modified NSIncrementExtraRefCount()
| Declaration | |
|---|---|
| From | void NSIncrementExtraRefCount (
id object
);
|
| To | void NSIncrementExtraRefCount (
id _Nonnull object
);
|
Modified NSShouldRetainWithZone()
| Declaration | |
|---|---|
| From | BOOL NSShouldRetainWithZone (
id anObject,
NSZone *requestedZone
);
|
| To | BOOL NSShouldRetainWithZone (
id _Nonnull anObject,
NSZone * _Nullable requestedZone
);
|
NSObjectScripting.h
| Declaration | |
|---|---|
| From | - (id)copyScriptingValue:(id)value forKey:(NSString *)key withProperties:(NSDictionary *)properties |
| To | - (id _Nullable)copyScriptingValue:(id _Nonnull)value forKey:(NSString * _Nonnull)key withProperties:(NSDictionary<NSString *,id> * _Nonnull)properties |
| Declaration | |
|---|---|
| From | - (id)newScriptingObjectOfClass:(Class)objectClass forValueForKey:(NSString *)key withContentsValue:(id)contentsValue properties:(NSDictionary *)properties |
| To | - (id _Nullable)newScriptingObjectOfClass:(Class _Nonnull)objectClass forValueForKey:(NSString * _Nonnull)key withContentsValue:(id _Nullable)contentsValue properties:(NSDictionary<NSString *,id> * _Nonnull)properties |
Modified NSObject.scriptingProperties
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *scriptingProperties |
| To | @property(copy, nullable) NSDictionary<NSString *,id> *scriptingProperties |
| Declaration | |
|---|---|
| From | - (id)scriptingValueForSpecifier:(NSScriptObjectSpecifier *)objectSpecifier |
| To | - (id _Nullable)scriptingValueForSpecifier:(NSScriptObjectSpecifier * _Nonnull)objectSpecifier |
NSOperation.h
Removed NSOperationQueueDefaultMaxConcurrentOperationCount
| Declaration | |
|---|---|
| From | - (void)addExecutionBlock:(void (^)(void))block |
| To | - (void)addExecutionBlock:(void (^ _Nonnull)(void))block |
| Declaration | |
|---|---|
| From | + (instancetype)blockOperationWithBlock:(void (^)(void))block |
| To | + (instancetype _Nonnull)blockOperationWithBlock:(void (^ _Nonnull)(void))block |
Modified NSBlockOperation.executionBlocks
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *executionBlocks |
| To | @property(readonly, copy, nonnull) NSArray<void (^executionBlocks)(void)> * |
| Declaration | |
|---|---|
| From | - (instancetype)initWithInvocation:(NSInvocation *)inv |
| To | - (instancetype _Nonnull)initWithInvocation:(NSInvocation * _Nonnull)inv |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTarget:(id)target selector:(SEL)sel object:(id)arg |
| To | - (instancetype _Nullable)initWithTarget:(id _Nonnull)target selector:(SEL _Nonnull)sel object:(id _Nullable)arg |
Modified NSInvocationOperation.invocation
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSInvocation *invocation |
| To | @property(readonly, retain, nonnull) NSInvocation *invocation |
Modified NSInvocationOperation.result
| Declaration | |
|---|---|
| From | @property(readonly, retain) id result |
| To | @property(readonly, retain, nullable) id result |
Modified -[NSOperation addDependency:]
| Declaration | |
|---|---|
| From | - (void)addDependency:(NSOperation *)op |
| To | - (void)addDependency:(NSOperation * _Nonnull)op |
Modified NSOperation.completionBlock
| Declaration | |
|---|---|
| From | @property(copy) void (^completionBlock)(void) |
| To | @property(copy, nullable) void (^completionBlock)(void) |
Modified NSOperation.dependencies
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *dependencies |
| To | @property(readonly, copy, nonnull) NSArray<NSOperation *> *dependencies |
Modified NSOperation.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
Modified -[NSOperation removeDependency:]
| Declaration | |
|---|---|
| From | - (void)removeDependency:(NSOperation *)op |
| To | - (void)removeDependency:(NSOperation * _Nonnull)op |
Modified -[NSOperationQueue addOperation:]
| Declaration | |
|---|---|
| From | - (void)addOperation:(NSOperation *)op |
| To | - (void)addOperation:(NSOperation * _Nonnull)op |
| Declaration | |
|---|---|
| From | - (void)addOperations:(NSArray *)ops waitUntilFinished:(BOOL)wait |
| To | - (void)addOperations:(NSArray<NSOperation *> * _Nonnull)ops waitUntilFinished:(BOOL)wait |
| Declaration | |
|---|---|
| From | - (void)addOperationWithBlock:(void (^)(void))block |
| To | - (void)addOperationWithBlock:(void (^ _Nonnull)(void))block |
Modified +[NSOperationQueue currentQueue]
| Declaration | |
|---|---|
| From | + (NSOperationQueue *)currentQueue |
| To | + (NSOperationQueue * _Nullable)currentQueue |
Modified +[NSOperationQueue mainQueue]
| Declaration | |
|---|---|
| From | + (NSOperationQueue *)mainQueue |
| To | + (NSOperationQueue * _Nonnull)mainQueue |
Modified NSOperationQueue.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
Modified NSOperationQueue.operations
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *operations |
| To | @property(readonly, copy, nonnull) NSArray<__kindof NSOperation *> *operations |
Modified NSOperationQueue.underlyingQueue
| Declaration | |
|---|---|
| From | @property(assign) dispatch_queue_t underlyingQueue |
| To | @property(assign, nullable) dispatch_queue_t underlyingQueue |
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 |
Modified -[NSMutableOrderedSet init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCapacity:(NSUInteger)numItems |
| To | - (instancetype _Nonnull)initWithCapacity:(NSUInteger)numItems |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| 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 |
| Declaration | |
|---|---|
| From | - (void)moveObjectsAtIndexes:(NSIndexSet *)indexes toIndex:(NSUInteger)idx |
| To | - (void)moveObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes toIndex:(NSUInteger)idx |
| Declaration | |
|---|---|
| From | + (instancetype)orderedSetWithCapacity:(NSUInteger)numItems |
| To | + (instancetype _Nonnull)orderedSetWithCapacity:(NSUInteger)numItems |
Modified -[NSMutableOrderedSet removeObject:]
| Declaration | |
|---|---|
| From | - (void)removeObject:(id)object |
| To | - (void)removeObject:(ObjectType _Nonnull)object |
| Declaration | |
|---|---|
| From | - (void)removeObjectsAtIndexes:(NSIndexSet *)indexes |
| To | - (void)removeObjectsAtIndexes:(NSIndexSet * _Nonnull)indexes |
| 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)sortRange:(NSRange)range options:(NSSortOptions)opts usingComparator:(NSComparator)cmptr |
| To | - (void)sortRange:(NSRange)range options:(NSSortOptions)opts usingComparator:(NSComparator _Nonnull)cmptr |
| Declaration | |
|---|---|
| From | - (void)sortUsingComparator:(NSComparator)cmptr |
| To | - (void)sortUsingComparator:(NSComparator _Nonnull)cmptr |
| Declaration | |
|---|---|
| From | - (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator)cmptr |
| To | - (void)sortWithOptions:(NSSortOptions)opts usingComparator:(NSComparator _Nonnull)cmptr |
| 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 |
Modified NSOrderedSet.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale indent:(NSUInteger)level |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale indent:(NSUInteger)level |
| 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 init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
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 initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
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 orderedSet]
| Declaration | |
|---|---|
| From | + (instancetype)orderedSet |
| To | + (instancetype _Nonnull)orderedSet |
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 |
Modified NSOrthography.dominantLanguage
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *dominantLanguage |
| To | @property(readonly, copy, nonnull) NSString *dominantLanguage |
| Declaration | |
|---|---|
| From | - (NSString *)dominantLanguageForScript:(NSString *)script |
| To | - (NSString * _Nullable)dominantLanguageForScript:(NSString * _Nonnull)script |
Modified NSOrthography.dominantScript
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *dominantScript |
| To | @property(readonly, copy, nonnull) NSString *dominantScript |
Modified -[NSOrthography initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| 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.fileSystemRepresentation
| Declaration | |
|---|---|
| From | @property(readonly) const char *fileSystemRepresentation |
| To | @property(readonly, nonnull) const char *fileSystemRepresentation |
| Declaration | |
|---|---|
| From | - (BOOL)getFileSystemRepresentation:(char *)cname maxLength:(NSUInteger)max |
| To | - (BOOL)getFileSystemRepresentation:(char * _Nonnull)cname maxLength:(NSUInteger)max |
Modified NSString.lastPathComponent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *lastPathComponent |
| To | @property(readonly, copy, nonnull) NSString *lastPathComponent |
Modified NSString.pathComponents
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *pathComponents |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *pathComponents |
Modified NSString.pathExtension
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *pathExtension |
| To | @property(readonly, copy, nonnull) NSString *pathExtension |
Modified +[NSString pathWithComponents:]
| Declaration | |
|---|---|
| From | + (NSString *)pathWithComponents:(NSArray *)components |
| To | + (NSString * _Nonnull)pathWithComponents:(NSArray<NSString *> * _Nonnull)components |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringByAbbreviatingWithTildeInPath |
| To | @property(readonly, copy, nonnull) NSString *stringByAbbreviatingWithTildeInPath |
| Declaration | |
|---|---|
| From | - (NSString *)stringByAppendingPathComponent:(NSString *)str |
| To | - (NSString * _Nonnull)stringByAppendingPathComponent:(NSString * _Nonnull)str |
| Declaration | |
|---|---|
| From | - (NSString *)stringByAppendingPathExtension:(NSString *)str |
| To | - (NSString * _Nullable)stringByAppendingPathExtension:(NSString * _Nonnull)str |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringByDeletingLastPathComponent |
| To | @property(readonly, copy, nonnull) NSString *stringByDeletingLastPathComponent |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringByDeletingPathExtension |
| To | @property(readonly, copy, nonnull) NSString *stringByDeletingPathExtension |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringByExpandingTildeInPath |
| To | @property(readonly, copy, nonnull) NSString *stringByExpandingTildeInPath |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringByResolvingSymlinksInPath |
| To | @property(readonly, copy, nonnull) NSString *stringByResolvingSymlinksInPath |
Modified NSString.stringByStandardizingPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringByStandardizingPath |
| To | @property(readonly, copy, nonnull) NSString *stringByStandardizingPath |
Modified -[NSString stringsByAppendingPaths:]
| Declaration | |
|---|---|
| From | - (NSArray *)stringsByAppendingPaths:(NSArray *)paths |
| To | - (NSArray<NSString *> * _Nonnull)stringsByAppendingPaths:(NSArray<NSString *> * _Nonnull)paths |
Modified NSFullUserName()
| Declaration | |
|---|---|
| From | NSString * NSFullUserName (
void
);
|
| To | NSString * _Nonnull NSFullUserName (
void
);
|
Modified NSHomeDirectory()
| Declaration | |
|---|---|
| From | NSString * NSHomeDirectory (
void
);
|
| To | NSString * _Nonnull NSHomeDirectory (
void
);
|
Modified NSHomeDirectoryForUser()
| Declaration | |
|---|---|
| From | NSString * NSHomeDirectoryForUser (
NSString *userName
);
|
| To | NSString * _Nullable NSHomeDirectoryForUser (
NSString * _Nullable userName
);
|
Modified NSOpenStepRootDirectory()
| Declaration | |
|---|---|
| From | NSString * NSOpenStepRootDirectory (
void
);
|
| To | NSString * _Nonnull NSOpenStepRootDirectory (
void
);
|
| Declaration | |
|---|---|
| From | NSArray * NSSearchPathForDirectoriesInDomains (
NSSearchPathDirectory directory,
NSSearchPathDomainMask domainMask,
BOOL expandTilde
);
|
| To | NSArray<NSString *> * _Nonnull NSSearchPathForDirectoriesInDomains (
NSSearchPathDirectory directory,
NSSearchPathDomainMask domainMask,
BOOL expandTilde
);
|
Modified NSTemporaryDirectory()
| Declaration | |
|---|---|
| From | NSString * NSTemporaryDirectory (
void
);
|
| To | NSString * _Nonnull NSTemporaryDirectory (
void
);
|
Modified NSUserName()
| Declaration | |
|---|---|
| From | NSString * NSUserName (
void
);
|
| To | NSString * _Nonnull NSUserName (
void
);
|
NSPersonNameComponents.h (Added)
Added NSPersonNameComponents
NSPersonNameComponentsFormatter.h (Added)
Added NSPersonNameComponentKey
NSPointerArray.h
Modified -[NSPointerArray addPointer:]
| Declaration | |
|---|---|
| From | - (void)addPointer:(void *)pointer |
| To | - (void)addPointer:(void * _Nullable)pointer |
Modified NSPointerArray.allObjects
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *allObjects |
| To | @property(readonly, copy, nonnull) NSArray *allObjects |
Modified -[NSPointerArray initWithOptions:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithOptions:(NSPointerFunctionsOptions)options |
| To | - (instancetype _Nonnull)initWithOptions:(NSPointerFunctionsOptions)options |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPointerFunctions:(NSPointerFunctions *)functions |
| To | - (instancetype _Nonnull)initWithPointerFunctions:(NSPointerFunctions * _Nonnull)functions |
| Declaration | |
|---|---|
| From | - (void)insertPointer:(void *)item atIndex:(NSUInteger)index |
| To | - (void)insertPointer:(void * _Nullable)item atIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | + (NSPointerArray *)pointerArrayWithOptions:(NSPointerFunctionsOptions)options |
| To | + (NSPointerArray * _Nonnull)pointerArrayWithOptions:(NSPointerFunctionsOptions)options |
| Declaration | |
|---|---|
| From | + (NSPointerArray *)pointerArrayWithPointerFunctions:(NSPointerFunctions *)functions |
| To | + (NSPointerArray * _Nonnull)pointerArrayWithPointerFunctions:(NSPointerFunctions * _Nonnull)functions |
| Declaration | |
|---|---|
| From | + (id)pointerArrayWithStrongObjects |
| To | + (id _Nonnull)pointerArrayWithStrongObjects |
| Declaration | |
|---|---|
| From | + (id)pointerArrayWithWeakObjects |
| To | + (id _Nonnull)pointerArrayWithWeakObjects |
Modified -[NSPointerArray pointerAtIndex:]
| Declaration | |
|---|---|
| From | - (void *)pointerAtIndex:(NSUInteger)index |
| To | - (void * _Nullable)pointerAtIndex:(NSUInteger)index |
Modified NSPointerArray.pointerFunctions
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSPointerFunctions *pointerFunctions |
| To | @property(readonly, copy, nonnull) NSPointerFunctions *pointerFunctions |
| Declaration | |
|---|---|
| From | - (void)replacePointerAtIndex:(NSUInteger)index withPointer:(void *)item |
| To | - (void)replacePointerAtIndex:(NSUInteger)index withPointer:(void * _Nullable)item |
| Declaration | |
|---|---|
| From | + (NSPointerArray *)strongObjectsPointerArray |
| To | + (NSPointerArray * _Nonnull)strongObjectsPointerArray |
| Declaration | |
|---|---|
| From | + (NSPointerArray *)weakObjectsPointerArray |
| To | + (NSPointerArray * _Nonnull)weakObjectsPointerArray |
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 |
Modified NSPointerFunctions.hashFunction
| Declaration | |
|---|---|
| From | @property NSUInteger (*hashFunction)(const void *item, NSUInteger (*size)(const void *item)) |
| To | @property(nullable) NSUInteger (*hashFunction)(const void * _Nonnull item, NSUInteger (* _Nullablesize)(const void * _Nonnull item)) |
| Declaration | |
|---|---|
| From | - (instancetype)initWithOptions:(NSPointerFunctionsOptions)options |
| To | - (instancetype _Nonnull)initWithOptions:(NSPointerFunctionsOptions)options |
Modified NSPointerFunctions.isEqualFunction
| Declaration | |
|---|---|
| From | @property BOOL (*isEqualFunction)(const void *item1, const void *item2, NSUInteger (*size)(const void *item)) |
| To | @property(nullable) BOOL (*isEqualFunction)(const void * _Nonnull item1, const void * _Nonnull item2, NSUInteger (* _Nullablesize)(const void * _Nonnull item)) |
| Declaration | |
|---|---|
| From | + (NSPointerFunctions *)pointerFunctionsWithOptions:(NSPointerFunctionsOptions)options |
| To | + (NSPointerFunctions * _Nonnull)pointerFunctionsWithOptions:(NSPointerFunctionsOptions)options |
| Declaration | |
|---|---|
| From | @property void (*relinquishFunction)(const void *item, NSUInteger (*size)(const void *item)) |
| To | @property(nullable) void (*relinquishFunction)(const void * _Nonnull item, NSUInteger (* _Nullablesize)(const void * _Nonnull item)) |
Modified NSPointerFunctions.sizeFunction
| Declaration | |
|---|---|
| From | @property NSUInteger (*sizeFunction)(const void *item) |
| To | @property(nullable) NSUInteger (*sizeFunction)(const void * _Nonnull item) |
NSPort.h
Added NSMachPortOptions
Modified -[NSMachPort delegate]
| Declaration | |
|---|---|
| From | - (id<NSMachPortDelegate>)delegate |
| To | - (id<NSMachPortDelegate> _Nullable)delegate |
Modified -[NSMachPort initWithMachPort:]
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithMachPort:(uint32_t)machPort | -- |
| To | - (instancetype _Nonnull)initWithMachPort:(uint32_t)machPort | yes |
| Declaration | |
|---|---|
| From | - (instancetype)initWithMachPort:(uint32_t)machPort options:(NSUInteger)f |
| To | - (instancetype _Nonnull)initWithMachPort:(uint32_t)machPort options:(NSMachPortOptions)f |
Modified +[NSMachPort portWithMachPort:]
| Declaration | |
|---|---|
| From | + (NSPort *)portWithMachPort:(uint32_t)machPort |
| To | + (NSPort * _Nonnull)portWithMachPort:(uint32_t)machPort |
| Declaration | |
|---|---|
| From | + (NSPort *)portWithMachPort:(uint32_t)machPort options:(NSUInteger)f |
| To | + (NSPort * _Nonnull)portWithMachPort:(uint32_t)machPort options:(NSMachPortOptions)f |
| Declaration | |
|---|---|
| From | - (void)removeFromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode |
| To | - (void)removeFromRunLoop:(NSRunLoop * _Nonnull)runLoop forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode |
| To | - (void)scheduleInRunLoop:(NSRunLoop * _Nonnull)runLoop forMode:(NSString * _Nonnull)mode |
Modified -[NSMachPort setDelegate:]
| Declaration | |
|---|---|
| From | - (void)setDelegate:(id<NSMachPortDelegate>)anObject |
| To | - (void)setDelegate:(id<NSMachPortDelegate> _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (void)handleMachMessage:(void *)msg |
| To | - (void)handleMachMessage:(void * _Nonnull)msg |
| Declaration | |
|---|---|
| From | - (void)addConnection:(NSConnection *)conn toRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode |
| To | - (void)addConnection:(NSConnection * _Nonnull)conn toRunLoop:(NSRunLoop * _Nonnull)runLoop forMode:(NSString * _Nonnull)mode |
Modified -[NSPort delegate]
| Declaration | |
|---|---|
| From | - (id<NSPortDelegate>)delegate |
| To | - (id<NSPortDelegate> _Nullable)delegate |
Modified +[NSPort port]
| Declaration | |
|---|---|
| From | + (NSPort *)port |
| To | + (NSPort * _Nonnull)port |
| Declaration | |
|---|---|
| From | - (void)removeConnection:(NSConnection *)conn fromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode |
| To | - (void)removeConnection:(NSConnection * _Nonnull)conn fromRunLoop:(NSRunLoop * _Nonnull)runLoop forMode:(NSString * _Nonnull)mode |
Modified -[NSPort removeFromRunLoop:forMode:]
| Declaration | |
|---|---|
| From | - (void)removeFromRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode |
| To | - (void)removeFromRunLoop:(NSRunLoop * _Nonnull)runLoop forMode:(NSString * _Nonnull)mode |
Modified -[NSPort scheduleInRunLoop:forMode:]
| Declaration | |
|---|---|
| From | - (void)scheduleInRunLoop:(NSRunLoop *)runLoop forMode:(NSString *)mode |
| To | - (void)scheduleInRunLoop:(NSRunLoop * _Nonnull)runLoop forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (BOOL)sendBeforeDate:(NSDate *)limitDate components:(NSMutableArray *)components from:(NSPort *)receivePort reserved:(NSUInteger)headerSpaceReserved |
| To | - (BOOL)sendBeforeDate:(NSDate * _Nonnull)limitDate components:(NSMutableArray * _Nullable)components from:(NSPort * _Nullable)receivePort reserved:(NSUInteger)headerSpaceReserved |
| Declaration | |
|---|---|
| From | - (BOOL)sendBeforeDate:(NSDate *)limitDate msgid:(NSUInteger)msgID components:(NSMutableArray *)components from:(NSPort *)receivePort reserved:(NSUInteger)headerSpaceReserved |
| To | - (BOOL)sendBeforeDate:(NSDate * _Nonnull)limitDate msgid:(NSUInteger)msgID components:(NSMutableArray * _Nullable)components from:(NSPort * _Nullable)receivePort reserved:(NSUInteger)headerSpaceReserved |
Modified -[NSPort setDelegate:]
| Declaration | |
|---|---|
| From | - (void)setDelegate:(id<NSPortDelegate>)anObject |
| To | - (void)setDelegate:(id<NSPortDelegate> _Nullable)anObject |
Modified -[NSPortDelegate handlePortMessage:]
| Declaration | |
|---|---|
| From | - (void)handlePortMessage:(NSPortMessage *)message |
| To | - (void)handlePortMessage:(NSPortMessage * _Nonnull)message |
Modified NSSocketPort.address
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *address |
| To | @property(readonly, copy, nonnull) NSData *address |
Modified -[NSSocketPort init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initRemoteWithProtocolFamily:(int)family socketType:(int)type protocol:(int)protocol address:(NSData *)address |
| To | - (instancetype _Nonnull)initRemoteWithProtocolFamily:(int)family socketType:(int)type protocol:(int)protocol address:(NSData * _Nonnull)address |
| Declaration | |
|---|---|
| From | - (instancetype)initRemoteWithTCPPort:(unsigned short)port host:(NSString *)hostName |
| To | - (instancetype _Nullable)initRemoteWithTCPPort:(unsigned short)port host:(NSString * _Nullable)hostName |
| Declaration | |
|---|---|
| From | - (instancetype)initWithProtocolFamily:(int)family socketType:(int)type protocol:(int)protocol address:(NSData *)address |
| To | - (instancetype _Nullable)initWithProtocolFamily:(int)family socketType:(int)type protocol:(int)protocol address:(NSData * _Nonnull)address |
| Declaration | |
|---|---|
| From | - (instancetype)initWithProtocolFamily:(int)family socketType:(int)type protocol:(int)protocol socket:(NSSocketNativeHandle)sock |
| To | - (instancetype _Nullable)initWithProtocolFamily:(int)family socketType:(int)type protocol:(int)protocol socket:(NSSocketNativeHandle)sock |
Modified -[NSSocketPort initWithTCPPort:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithTCPPort:(unsigned short)port |
| To | - (instancetype _Nullable)initWithTCPPort:(unsigned short)port |
NSPortCoder.h
Modified NSObject.classForPortCoder
| Declaration | |
|---|---|
| From | @property(readonly) Class classForPortCoder |
| To | @property(readonly, nonnull) Class classForPortCoder |
| Declaration | |
|---|---|
| From | - (id)replacementObjectForPortCoder:(NSPortCoder *)coder |
| To | - (id _Nullable)replacementObjectForPortCoder:(NSPortCoder * _Nonnull)coder |
Modified -[NSPortCoder connection]
| Declaration | |
|---|---|
| From | - (NSConnection *)connection |
| To | - (NSConnection * _Nullable)connection |
Modified -[NSPortCoder decodePortObject]
| Declaration | |
|---|---|
| From | - (NSPort *)decodePortObject |
| To | - (NSPort * _Nullable)decodePortObject |
Modified -[NSPortCoder encodePortObject:]
| Declaration | |
|---|---|
| From | - (void)encodePortObject:(NSPort *)aport |
| To | - (void)encodePortObject:(NSPort * _Nonnull)aport |
| Declaration | |
|---|---|
| From | - (id)initWithReceivePort:(NSPort *)rcvPort sendPort:(NSPort *)sndPort components:(NSArray *)comps |
| To | - (id _Nonnull)initWithReceivePort:(NSPort * _Nullable)rcvPort sendPort:(NSPort * _Nullable)sndPort components:(NSArray * _Nullable)comps |
| Declaration | |
|---|---|
| From | + (id)portCoderWithReceivePort:(NSPort *)rcvPort sendPort:(NSPort *)sndPort components:(NSArray *)comps |
| To | + (id _Nonnull)portCoderWithReceivePort:(NSPort * _Nullable)rcvPort sendPort:(NSPort * _Nullable)sndPort components:(NSArray * _Nullable)comps |
NSPortMessage.h
Modified NSPortMessage.components
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *components |
| To | @property(readonly, copy, nullable) NSArray *components |
| Declaration | |
|---|---|
| From | - (instancetype)initWithSendPort:(NSPort *)sendPort receivePort:(NSPort *)replyPort components:(NSArray *)components |
| To | - (instancetype _Nonnull)initWithSendPort:(NSPort * _Nullable)sendPort receivePort:(NSPort * _Nullable)replyPort components:(NSArray * _Nullable)components |
Modified NSPortMessage.receivePort
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSPort *receivePort |
| To | @property(readonly, retain, nullable) NSPort *receivePort |
Modified -[NSPortMessage sendBeforeDate:]
| Declaration | |
|---|---|
| From | - (BOOL)sendBeforeDate:(NSDate *)date |
| To | - (BOOL)sendBeforeDate:(NSDate * _Nonnull)date |
Modified NSPortMessage.sendPort
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSPort *sendPort |
| To | @property(readonly, retain, nullable) NSPort *sendPort |
NSPortNameServer.h
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name host:(NSString *)host |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name host:(NSString * _Nullable)host |
| Declaration | |
|---|---|
| From | - (BOOL)registerPort:(NSPort *)port name:(NSString *)name |
| To | - (BOOL)registerPort:(NSPort * _Nonnull)port name:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (NSPort *)servicePortWithName:(NSString *)name |
| To | - (NSPort * _Nullable)servicePortWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (id)sharedInstance |
| To | + (id _Nonnull)sharedInstance |
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name host:(NSString *)host |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name host:(NSString * _Nullable)host |
| Declaration | |
|---|---|
| From | + (id)sharedInstance |
| To | + (id _Nonnull)sharedInstance |
Modified -[NSPortNameServer portForName:]
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name host:(NSString *)host |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name host:(NSString * _Nullable)host |
| Declaration | |
|---|---|
| From | - (BOOL)registerPort:(NSPort *)port name:(NSString *)name |
| To | - (BOOL)registerPort:(NSPort * _Nonnull)port name:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (BOOL)removePortForName:(NSString *)name |
| To | - (BOOL)removePortForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (NSPortNameServer *)systemDefaultPortNameServer |
| To | + (NSPortNameServer * _Nonnull)systemDefaultPortNameServer |
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name host:(NSString *)host |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name host:(NSString * _Nullable)host |
| Declaration | |
|---|---|
| From | - (NSPort *)portForName:(NSString *)name host:(NSString *)host nameServerPortNumber:(uint16_t)portNumber |
| To | - (NSPort * _Nullable)portForName:(NSString * _Nonnull)name host:(NSString * _Nullable)host nameServerPortNumber:(uint16_t)portNumber |
| Declaration | |
|---|---|
| From | - (BOOL)registerPort:(NSPort *)port name:(NSString *)name |
| To | - (BOOL)registerPort:(NSPort * _Nonnull)port name:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (BOOL)registerPort:(NSPort *)port name:(NSString *)name nameServerPortNumber:(uint16_t)portNumber |
| To | - (BOOL)registerPort:(NSPort * _Nonnull)port name:(NSString * _Nonnull)name nameServerPortNumber:(uint16_t)portNumber |
| Declaration | |
|---|---|
| From | - (BOOL)removePortForName:(NSString *)name |
| To | - (BOOL)removePortForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (id)sharedInstance |
| To | + (id _Nonnull)sharedInstance |
NSPredicate.h
| Declaration | |
|---|---|
| From | - (NSArray *)filteredArrayUsingPredicate:(NSPredicate *)predicate |
| To | - (NSArray<ObjectType> * _Nonnull)filteredArrayUsingPredicate:(NSPredicate * _Nonnull)predicate |
| Declaration | |
|---|---|
| From | - (void)filterUsingPredicate:(NSPredicate *)predicate |
| To | - (void)filterUsingPredicate:(NSPredicate * _Nonnull)predicate |
| Declaration | |
|---|---|
| From | - (void)filterUsingPredicate:(NSPredicate *)p |
| To | - (void)filterUsingPredicate:(NSPredicate * _Nonnull)p |
| Declaration | |
|---|---|
| From | - (void)filterUsingPredicate:(NSPredicate *)predicate |
| To | - (void)filterUsingPredicate:(NSPredicate * _Nonnull)predicate |
| Declaration | |
|---|---|
| From | - (NSOrderedSet *)filteredOrderedSetUsingPredicate:(NSPredicate *)p |
| To | - (NSOrderedSet<ObjectType> * _Nonnull)filteredOrderedSetUsingPredicate:(NSPredicate * _Nonnull)p |
Modified -[NSPredicate evaluateWithObject:]
| Declaration | |
|---|---|
| From | - (BOOL)evaluateWithObject:(id)object |
| To | - (BOOL)evaluateWithObject:(id _Nullable)object |
| Declaration | |
|---|---|
| From | - (BOOL)evaluateWithObject:(id)object substitutionVariables:(NSDictionary *)bindings |
| To | - (BOOL)evaluateWithObject:(id _Nullable)object substitutionVariables:(NSDictionary<NSString *,id> * _Nullable)bindings |
Modified NSPredicate.predicateFormat
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *predicateFormat |
| To | @property(readonly, copy, nonnull) NSString *predicateFormat |
| Declaration | |
|---|---|
| From | + (NSPredicate *)predicateFromMetadataQueryString:(NSString *)queryString |
| To | + (NSPredicate * _Nullable)predicateFromMetadataQueryString:(NSString * _Nonnull)queryString |
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 |
Modified +[NSPredicate predicateWithFormat:]
| Declaration | |
|---|---|
| From | + (NSPredicate *)predicateWithFormat:(NSString *)predicateFormat, ... |
| To | + (NSPredicate * _Nonnull)predicateWithFormat:(NSString * _Nonnull)predicateFormat, ... |
| Declaration | |
|---|---|
| From | + (NSPredicate *)predicateWithFormat:(NSString *)predicateFormat argumentArray:(NSArray *)arguments |
| To | + (NSPredicate * _Nonnull)predicateWithFormat:(NSString * _Nonnull)predicateFormat argumentArray:(NSArray * _Nullable)arguments |
| Declaration | |
|---|---|
| From | + (NSPredicate *)predicateWithFormat:(NSString *)predicateFormat arguments:(va_list)argList |
| To | + (NSPredicate * _Nonnull)predicateWithFormat:(NSString * _Nonnull)predicateFormat arguments:(va_list _Nonnull)argList |
| Declaration | |
|---|---|
| From | - (instancetype)predicateWithSubstitutionVariables:(NSDictionary *)variables |
| To | - (instancetype _Nonnull)predicateWithSubstitutionVariables:(NSDictionary<NSString *,id> * _Nonnull)variables |
Modified +[NSPredicate predicateWithValue:]
| Declaration | |
|---|---|
| From | + (NSPredicate *)predicateWithValue:(BOOL)value |
| To | + (NSPredicate * _Nonnull)predicateWithValue:(BOOL)value |
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 |
| Declaration | |
|---|---|
| From | - (id<NSObject>)beginActivityWithOptions:(NSActivityOptions)options reason:(NSString *)reason |
| To | - (id<NSObject> _Nonnull)beginActivityWithOptions:(NSActivityOptions)options reason:(NSString * _Nonnull)reason |
| Declaration | |
|---|---|
| From | - (void)disableAutomaticTermination:(NSString *)reason |
| To | - (void)disableAutomaticTermination:(NSString * _Nonnull)reason |
| Declaration | |
|---|---|
| From | - (void)enableAutomaticTermination:(NSString *)reason |
| To | - (void)enableAutomaticTermination:(NSString * _Nonnull)reason |
Modified -[NSProcessInfo endActivity:]
| Declaration | |
|---|---|
| From | - (void)endActivity:(id<NSObject>)activity |
| To | - (void)endActivity:(id<NSObject> _Nonnull)activity |
Modified NSProcessInfo.environment
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *environment |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,NSString *> *environment |
Modified NSProcessInfo.globallyUniqueString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *globallyUniqueString |
| To | @property(readonly, copy, nonnull) NSString *globallyUniqueString |
Modified NSProcessInfo.hostName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *hostName |
| To | @property(readonly, copy, nonnull) NSString *hostName |
Modified -[NSProcessInfo operatingSystemName]
| Declaration | |
|---|---|
| From | - (NSString *)operatingSystemName |
| To | - (NSString * _Nonnull)operatingSystemName |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *operatingSystemVersionString |
| To | @property(readonly, copy, nonnull) NSString *operatingSystemVersionString |
| Declaration | |
|---|---|
| From | - (void)performActivityWithOptions:(NSActivityOptions)options reason:(NSString *)reason usingBlock:(void (^)(void))block |
| To | - (void)performActivityWithOptions:(NSActivityOptions)options reason:(NSString * _Nonnull)reason usingBlock:(void (^ _Nonnull)(void))block |
Modified +[NSProcessInfo processInfo]
| Declaration | |
|---|---|
| From | + (NSProcessInfo *)processInfo |
| To | + (NSProcessInfo * _Nonnull)processInfo |
Modified NSProcessInfo.processName
| Declaration | |
|---|---|
| From | @property(copy) NSString *processName |
| To | @property(copy, nonnull) NSString *processName |
NSProgress.h
Added -[NSProgress resume]
Added NSProgressReporting
| Declaration | |
|---|---|
| From | + (id)addSubscriberForFileURL:(NSURL *)url withPublishingHandler:(NSProgressPublishingHandler)publishingHandler |
| To | + (id _Nonnull)addSubscriberForFileURL:(NSURL * _Nonnull)url withPublishingHandler:(NSProgressPublishingHandler _Nonnull)publishingHandler |
Modified NSProgress.cancellationHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^cancellationHandler)(void) |
| To | @property(copy, nullable) void (^cancellationHandler)(void) |
Modified +[NSProgress currentProgress]
| Declaration | |
|---|---|
| From | + (NSProgress *)currentProgress |
| To | + (NSProgress * _Nullable)currentProgress |
| Declaration | |
|---|---|
| From | - (instancetype)initWithParent:(NSProgress *)parentProgressOrNil userInfo:(NSDictionary *)userInfoOrNil |
| To | - (instancetype _Nonnull)initWithParent:(NSProgress * _Nullable)parentProgressOrNil userInfo:(NSDictionary * _Nullable)userInfoOrNil |
Modified NSProgress.kind
| Declaration | |
|---|---|
| From | @property(copy) NSString *kind |
| To | @property(copy, nullable) NSString *kind |
| Declaration | |
|---|---|
| From | @property(copy) NSString *localizedAdditionalDescription |
| To | @property(copy) NSString * _Null_unspecified localizedAdditionalDescription |
Modified NSProgress.localizedDescription
| Declaration | |
|---|---|
| From | @property(copy) NSString *localizedDescription |
| To | @property(copy) NSString * _Null_unspecified localizedDescription |
Modified NSProgress.pausingHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^pausingHandler)(void) |
| To | @property(copy, nullable) void (^pausingHandler)(void) |
| Declaration | |
|---|---|
| From | + (NSProgress *)progressWithTotalUnitCount:(int64_t)unitCount |
| To | + (NSProgress * _Nonnull)progressWithTotalUnitCount:(int64_t)unitCount |
Modified +[NSProgress removeSubscriber:]
| Declaration | |
|---|---|
| From | + (void)removeSubscriber:(id)subscriber |
| To | + (void)removeSubscriber:(id _Nonnull)subscriber |
| Declaration | |
|---|---|
| From | - (void)setUserInfoObject:(id)objectOrNil forKey:(NSString *)key |
| To | - (void)setUserInfoObject:(id _Nullable)objectOrNil forKey:(NSString * _Nonnull)key |
Modified NSProgress.userInfo
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *userInfo |
| To | @property(readonly, copy, nonnull) NSDictionary *userInfo |
NSPropertyList.h
| Declaration | |
|---|---|
| From | + (NSData *)dataFromPropertyList:(id)plist format:(NSPropertyListFormat)format errorDescription:(out NSString **)errorString |
| To | + (NSData * _Nullable)dataFromPropertyList:(id _Nonnull)plist format:(NSPropertyListFormat)format errorDescription:(out NSString * _Nullable * _Nullable)errorString |
| Declaration | |
|---|---|
| From | + (NSData *)dataWithPropertyList:(id)plist format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(out NSError **)error |
| To | + (NSData * _Nullable)dataWithPropertyList:(id _Nonnull)plist format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(out NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (BOOL)propertyList:(id)plist isValidForFormat:(NSPropertyListFormat)format |
| To | + (BOOL)propertyList:(id _Nonnull)plist isValidForFormat:(NSPropertyListFormat)format |
Modified +[NSPropertyListSerialization propertyListFromData:mutabilityOption:format:errorDescription:]
| Declaration | |
|---|---|
| From | + (id)propertyListFromData:(NSData *)data mutabilityOption:(NSPropertyListMutabilityOptions)opt format:(NSPropertyListFormat *)format errorDescription:(out NSString **)errorString |
| To | + (id _Nullable)propertyListFromData:(NSData * _Nonnull)data mutabilityOption:(NSPropertyListMutabilityOptions)opt format:(NSPropertyListFormat * _Nullable)format errorDescription:(out NSString * _Nullable * _Nullable)errorString |
| Declaration | |
|---|---|
| From | + (id)propertyListWithData:(NSData *)data options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat *)format error:(out NSError **)error |
| To | + (id _Nullable)propertyListWithData:(NSData * _Nonnull)data options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat * _Nullable)format error:(out NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (id)propertyListWithStream:(NSInputStream *)stream options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat *)format error:(out NSError **)error |
| To | + (id _Nullable)propertyListWithStream:(NSInputStream * _Nonnull)stream options:(NSPropertyListReadOptions)opt format:(NSPropertyListFormat * _Nullable)format error:(out NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (NSInteger)writePropertyList:(id)plist toStream:(NSOutputStream *)stream format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(out NSError **)error |
| To | + (NSInteger)writePropertyList:(id _Nonnull)plist toStream:(NSOutputStream * _Nonnull)stream format:(NSPropertyListFormat)format options:(NSPropertyListWriteOptions)opt error:(out NSError * _Nullable * _Nullable)error |
NSProtocolChecker.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol |
| To | - (instancetype _Nonnull)initWithTarget:(NSObject * _Nonnull)anObject protocol:(Protocol * _Nonnull)aProtocol |
Modified NSProtocolChecker.protocol
| Declaration | |
|---|---|
| From | @property(readonly) Protocol *protocol |
| To | @property(readonly, nonnull) Protocol *protocol |
| Declaration | |
|---|---|
| From | + (instancetype)protocolCheckerWithTarget:(NSObject *)anObject protocol:(Protocol *)aProtocol |
| To | + (instancetype _Nonnull)protocolCheckerWithTarget:(NSObject * _Nonnull)anObject protocol:(Protocol * _Nonnull)aProtocol |
Modified NSProtocolChecker.target
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSObject *target |
| To | @property(readonly, retain, nullable) NSObject *target |
NSProxy.h
Modified +[NSProxy alloc]
| Declaration | |
|---|---|
| From | + (id)alloc |
| To | + (id _Nonnull)alloc |
Modified +[NSProxy allocWithZone:]
| Declaration | |
|---|---|
| From | + (id)allocWithZone:(NSZone *)zone |
| To | + (id _Nonnull)allocWithZone:(NSZone * _Nullable)zone |
Modified +[NSProxy class]
| Declaration | |
|---|---|
| From | + (Class)class |
| To | + (Class _Nonnull)class |
Modified NSProxy.debugDescription
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *debugDescription |
| To | @property(readonly, copy, nonnull) NSString *debugDescription |
Modified NSProxy.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
Modified -[NSProxy forwardInvocation:]
| Declaration | |
|---|---|
| From | - (void)forwardInvocation:(NSInvocation *)invocation |
| To | - (void)forwardInvocation:(NSInvocation * _Nonnull)invocation |
| Declaration | |
|---|---|
| From | - (NSMethodSignature *)methodSignatureForSelector:(SEL)sel |
| To | - (NSMethodSignature * _Nullable)methodSignatureForSelector:(SEL _Nonnull)sel |
Modified +[NSProxy respondsToSelector:]
| Declaration | |
|---|---|
| From | + (BOOL)respondsToSelector:(SEL)aSelector |
| To | + (BOOL)respondsToSelector:(SEL _Nonnull)aSelector |
NSRange.h
Modified +[NSValue valueWithRange:]
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithRange:(NSRange)range |
| To | + (NSValue * _Nonnull)valueWithRange:(NSRange)range |
Modified NSRangeFromString()
| Declaration | |
|---|---|
| From | NSRange NSRangeFromString (
NSString *aString
);
|
| To | NSRange NSRangeFromString (
NSString * _Nonnull aString
);
|
Modified NSStringFromRange()
| Declaration | |
|---|---|
| From | NSString * NSStringFromRange (
NSRange range
);
|
| To | NSString * _Nonnull NSStringFromRange (
NSRange range
);
|
NSRegularExpression.h
| Declaration | |
|---|---|
| From | + (NSDataDetector *)dataDetectorWithTypes:(NSTextCheckingTypes)checkingTypes error:(NSError **)error |
| To | + (NSDataDetector * _Nullable)dataDetectorWithTypes:(NSTextCheckingTypes)checkingTypes error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTypes:(NSTextCheckingTypes)checkingTypes error:(NSError **)error |
| To | - (instancetype _Nullable)initWithTypes:(NSTextCheckingTypes)checkingTypes error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)enumerateMatchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range usingBlock:(void (^)(NSTextCheckingResult *result, NSMatchingFlags flags, BOOL *stop))block |
| To | - (void)enumerateMatchesInString:(NSString * _Nonnull)string options:(NSMatchingOptions)options range:(NSRange)range usingBlock:(void (^ _Nonnull)(NSTextCheckingResult * _Nullable result, NSMatchingFlags flags, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | + (NSString *)escapedPatternForString:(NSString *)string |
| To | + (NSString * _Nonnull)escapedPatternForString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | + (NSString *)escapedTemplateForString:(NSString *)string |
| To | + (NSString * _Nonnull)escapedTemplateForString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (NSTextCheckingResult *)firstMatchInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range |
| To | - (NSTextCheckingResult * _Nullable)firstMatchInString:(NSString * _Nonnull)string options:(NSMatchingOptions)options range:(NSRange)range |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options error:(NSError **)error |
| To | - (instancetype _Nullable)initWithPattern:(NSString * _Nonnull)pattern options:(NSRegularExpressionOptions)options error:(NSError * _Nullable * _Nullable)error |
| 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 |
| Declaration | |
|---|---|
| From | - (NSUInteger)numberOfMatchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range |
| To | - (NSUInteger)numberOfMatchesInString:(NSString * _Nonnull)string options:(NSMatchingOptions)options range:(NSRange)range |
Modified NSRegularExpression.pattern
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *pattern |
| To | @property(readonly, copy, nonnull) NSString *pattern |
| Declaration | |
|---|---|
| From | - (NSRange)rangeOfFirstMatchInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range |
| To | - (NSRange)rangeOfFirstMatchInString:(NSString * _Nonnull)string options:(NSMatchingOptions)options range:(NSRange)range |
| Declaration | |
|---|---|
| From | + (NSRegularExpression *)regularExpressionWithPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options error:(NSError **)error |
| To | + (NSRegularExpression * _Nullable)regularExpressionWithPattern:(NSString * _Nonnull)pattern options:(NSRegularExpressionOptions)options error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSUInteger)replaceMatchesInString:(NSMutableString *)string options:(NSMatchingOptions)options range:(NSRange)range withTemplate:(NSString *)templ |
| To | - (NSUInteger)replaceMatchesInString:(NSMutableString * _Nonnull)string options:(NSMatchingOptions)options range:(NSRange)range withTemplate:(NSString * _Nonnull)templ |
| Declaration | |
|---|---|
| From | - (NSString *)replacementStringForResult:(NSTextCheckingResult *)result inString:(NSString *)string offset:(NSInteger)offset template:(NSString *)templ |
| To | - (NSString * _Nonnull)replacementStringForResult:(NSTextCheckingResult * _Nonnull)result inString:(NSString * _Nonnull)string offset:(NSInteger)offset template:(NSString * _Nonnull)templ |
| Declaration | |
|---|---|
| From | - (NSString *)stringByReplacingMatchesInString:(NSString *)string options:(NSMatchingOptions)options range:(NSRange)range withTemplate:(NSString *)templ |
| To | - (NSString * _Nonnull)stringByReplacingMatchesInString:(NSString * _Nonnull)string options:(NSMatchingOptions)options range:(NSRange)range withTemplate:(NSString * _Nonnull)templ |
NSRunLoop.h
| Declaration | |
|---|---|
| From | + (void)cancelPreviousPerformRequestsWithTarget:(id)aTarget |
| To | + (void)cancelPreviousPerformRequestsWithTarget:(id _Nonnull)aTarget |
| Declaration | |
|---|---|
| From | + (void)cancelPreviousPerformRequestsWithTarget:(id)aTarget selector:(SEL)aSelector object:(id)anArgument |
| To | + (void)cancelPreviousPerformRequestsWithTarget:(id _Nonnull)aTarget selector:(SEL _Nonnull)aSelector object:(id _Nullable)anArgument |
| Declaration | |
|---|---|
| From | - (void)performSelector:(SEL)aSelector withObject:(id)anArgument afterDelay:(NSTimeInterval)delay |
| To | - (void)performSelector:(SEL _Nonnull)aSelector withObject:(id _Nullable)anArgument afterDelay:(NSTimeInterval)delay |
| 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)acceptInputForMode:(NSString *)mode beforeDate:(NSDate *)limitDate |
| To | - (void)acceptInputForMode:(NSString * _Nonnull)mode beforeDate:(NSDate * _Nonnull)limitDate |
Modified -[NSRunLoop addPort:forMode:]
| Declaration | |
|---|---|
| From | - (void)addPort:(NSPort *)aPort forMode:(NSString *)mode |
| To | - (void)addPort:(NSPort * _Nonnull)aPort forMode:(NSString * _Nonnull)mode |
Modified -[NSRunLoop addTimer:forMode:]
| Declaration | |
|---|---|
| From | - (void)addTimer:(NSTimer *)timer forMode:(NSString *)mode |
| To | - (void)addTimer:(NSTimer * _Nonnull)timer forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (void)cancelPerformSelector:(SEL)aSelector target:(id)target argument:(id)arg |
| To | - (void)cancelPerformSelector:(SEL _Nonnull)aSelector target:(id _Nonnull)target argument:(id _Nullable)arg |
| Declaration | |
|---|---|
| From | - (void)cancelPerformSelectorsWithTarget:(id)target |
| To | - (void)cancelPerformSelectorsWithTarget:(id _Nonnull)target |
Modified NSRunLoop.currentMode
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *currentMode |
| To | @property(readonly, copy, nullable) NSString *currentMode |
Modified +[NSRunLoop currentRunLoop]
| Declaration | |
|---|---|
| From | + (NSRunLoop *)currentRunLoop |
| To | + (NSRunLoop * _Nonnull)currentRunLoop |
Modified -[NSRunLoop getCFRunLoop]
| Declaration | |
|---|---|
| From | - (CFRunLoopRef)getCFRunLoop |
| To | - (CFRunLoopRef _Nonnull)getCFRunLoop |
Modified -[NSRunLoop limitDateForMode:]
| Declaration | |
|---|---|
| From | - (NSDate *)limitDateForMode:(NSString *)mode |
| To | - (NSDate * _Nullable)limitDateForMode:(NSString * _Nonnull)mode |
Modified +[NSRunLoop mainRunLoop]
| Declaration | |
|---|---|
| From | + (NSRunLoop *)mainRunLoop |
| To | + (NSRunLoop * _Nonnull)mainRunLoop |
| 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 |
Modified -[NSRunLoop removePort:forMode:]
| Declaration | |
|---|---|
| From | - (void)removePort:(NSPort *)aPort forMode:(NSString *)mode |
| To | - (void)removePort:(NSPort * _Nonnull)aPort forMode:(NSString * _Nonnull)mode |
Modified -[NSRunLoop runMode:beforeDate:]
| Declaration | |
|---|---|
| From | - (BOOL)runMode:(NSString *)mode beforeDate:(NSDate *)limitDate |
| To | - (BOOL)runMode:(NSString * _Nonnull)mode beforeDate:(NSDate * _Nonnull)limitDate |
Modified -[NSRunLoop runUntilDate:]
| Declaration | |
|---|---|
| From | - (void)runUntilDate:(NSDate *)limitDate |
| To | - (void)runUntilDate:(NSDate * _Nonnull)limitDate |
NSScanner.h
Modified NSScanner.charactersToBeSkipped
| Declaration | |
|---|---|
| From | @property(copy) NSCharacterSet *charactersToBeSkipped |
| To | @property(copy, nullable) NSCharacterSet *charactersToBeSkipped |
Modified -[NSScanner initWithString:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)string |
| To | - (instancetype _Nonnull)initWithString:(NSString * _Nonnull)string |
Modified NSScanner.locale
| Declaration | |
|---|---|
| From | @property(retain) id locale |
| To | @property(retain, nullable) id locale |
| Declaration | |
|---|---|
| From | + (id)localizedScannerWithString:(NSString *)string |
| To | + (id _Nonnull)localizedScannerWithString:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (BOOL)scanCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)result |
| To | - (BOOL)scanCharactersFromSet:(NSCharacterSet * _Nonnull)set intoString:(NSString * _Nullable * _Nullable)result |
Modified -[NSScanner scanDouble:]
| Declaration | |
|---|---|
| From | - (BOOL)scanDouble:(double *)result |
| To | - (BOOL)scanDouble:(double * _Nullable)result |
Modified -[NSScanner scanFloat:]
| Declaration | |
|---|---|
| From | - (BOOL)scanFloat:(float *)result |
| To | - (BOOL)scanFloat:(float * _Nullable)result |
Modified -[NSScanner scanHexDouble:]
| Declaration | |
|---|---|
| From | - (BOOL)scanHexDouble:(double *)result |
| To | - (BOOL)scanHexDouble:(double * _Nullable)result |
Modified -[NSScanner scanHexFloat:]
| Declaration | |
|---|---|
| From | - (BOOL)scanHexFloat:(float *)result |
| To | - (BOOL)scanHexFloat:(float * _Nullable)result |
Modified -[NSScanner scanHexInt:]
| Declaration | |
|---|---|
| From | - (BOOL)scanHexInt:(unsigned int *)result |
| To | - (BOOL)scanHexInt:(unsigned int * _Nullable)result |
Modified -[NSScanner scanHexLongLong:]
| Declaration | |
|---|---|
| From | - (BOOL)scanHexLongLong:(unsigned long long *)result |
| To | - (BOOL)scanHexLongLong:(unsigned long long * _Nullable)result |
Modified -[NSScanner scanInt:]
| Declaration | |
|---|---|
| From | - (BOOL)scanInt:(int *)result |
| To | - (BOOL)scanInt:(int * _Nullable)result |
Modified -[NSScanner scanInteger:]
| Declaration | |
|---|---|
| From | - (BOOL)scanInteger:(NSInteger *)result |
| To | - (BOOL)scanInteger:(NSInteger * _Nullable)result |
Modified -[NSScanner scanLongLong:]
| Declaration | |
|---|---|
| From | - (BOOL)scanLongLong:(long long *)result |
| To | - (BOOL)scanLongLong:(long long * _Nullable)result |
Modified +[NSScanner scannerWithString:]
| Declaration | |
|---|---|
| From | + (instancetype)scannerWithString:(NSString *)string |
| To | + (instancetype _Nonnull)scannerWithString:(NSString * _Nonnull)string |
Modified -[NSScanner scanString:intoString:]
| Declaration | |
|---|---|
| From | - (BOOL)scanString:(NSString *)string intoString:(NSString **)result |
| To | - (BOOL)scanString:(NSString * _Nonnull)string intoString:(NSString * _Nullable * _Nullable)result |
Modified -[NSScanner scanUnsignedLongLong:]
| Declaration | |
|---|---|
| From | - (BOOL)scanUnsignedLongLong:(unsigned long long *)result |
| To | - (BOOL)scanUnsignedLongLong:(unsigned long long * _Nullable)result |
| Declaration | |
|---|---|
| From | - (BOOL)scanUpToCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)result |
| To | - (BOOL)scanUpToCharactersFromSet:(NSCharacterSet * _Nonnull)set intoString:(NSString * _Nullable * _Nullable)result |
| Declaration | |
|---|---|
| From | - (BOOL)scanUpToString:(NSString *)string intoString:(NSString **)result |
| To | - (BOOL)scanUpToString:(NSString * _Nonnull)string intoString:(NSString * _Nullable * _Nullable)result |
Modified NSScanner.string
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *string |
| To | @property(readonly, copy, nonnull) NSString *string |
NSScriptClassDescription.h
Modified NSObject.className
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *className |
| To | @property(readonly, copy, nonnull) NSString *className |
| Declaration | |
|---|---|
| From | - (FourCharCode)appleEventCodeForKey:(NSString *)key |
| To | - (FourCharCode)appleEventCodeForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | + (NSScriptClassDescription *)classDescriptionForClass:(Class)aClass |
| To | + (NSScriptClassDescription * _Nullable)classDescriptionForClass:(Class _Nonnull)aClass |
| Declaration | |
|---|---|
| From | - (NSScriptClassDescription *)classDescriptionForKey:(NSString *)key |
| To | - (NSScriptClassDescription * _Nullable)classDescriptionForKey:(NSString * _Nonnull)key |
Modified NSScriptClassDescription.className
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *className |
| To | @property(readonly, copy, nullable) NSString *className |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *defaultSubcontainerAttributeKey |
| To | @property(readonly, copy, nullable) NSString *defaultSubcontainerAttributeKey |
| Declaration | |
|---|---|
| From | - (BOOL)hasOrderedToManyRelationshipForKey:(NSString *)key |
| To | - (BOOL)hasOrderedToManyRelationshipForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (BOOL)hasPropertyForKey:(NSString *)key |
| To | - (BOOL)hasPropertyForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (BOOL)hasReadablePropertyForKey:(NSString *)key |
| To | - (BOOL)hasReadablePropertyForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (BOOL)hasWritablePropertyForKey:(NSString *)key |
| To | - (BOOL)hasWritablePropertyForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *implementationClassName |
| To | @property(readonly, copy, nullable) NSString *implementationClassName |
| Declaration | |
|---|---|
| From | - (instancetype)initWithSuiteName:(NSString *)suiteName className:(NSString *)className dictionary:(NSDictionary *)classDeclaration |
| To | - (instancetype _Nullable)initWithSuiteName:(NSString * _Nonnull)suiteName className:(NSString * _Nonnull)className dictionary:(NSDictionary * _Nullable)classDeclaration |
| Declaration | |
|---|---|
| From | - (BOOL)isLocationRequiredToCreateForKey:(NSString *)toManyRelationshipKey |
| To | - (BOOL)isLocationRequiredToCreateForKey:(NSString * _Nonnull)toManyRelationshipKey |
| Declaration | |
|---|---|
| From | - (BOOL)isReadOnlyKey:(NSString *)key |
| To | - (BOOL)isReadOnlyKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (NSString *)keyWithAppleEventCode:(FourCharCode)appleEventCode |
| To | - (NSString * _Nullable)keyWithAppleEventCode:(FourCharCode)appleEventCode |
| Declaration | |
|---|---|
| From | - (SEL)selectorForCommand:(NSScriptCommandDescription *)commandDescription |
| To | - (SEL _Nullable)selectorForCommand:(NSScriptCommandDescription * _Nonnull)commandDescription |
Modified NSScriptClassDescription.suiteName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *suiteName |
| To | @property(readonly, copy, nullable) NSString *suiteName |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptClassDescription *superclassDescription |
| To | @property(readonly, retain, nullable) NSScriptClassDescription *superclassDescription |
| Declaration | |
|---|---|
| From | - (BOOL)supportsCommand:(NSScriptCommandDescription *)commandDescription |
| To | - (BOOL)supportsCommand:(NSScriptCommandDescription * _Nonnull)commandDescription |
| Declaration | |
|---|---|
| From | - (NSString *)typeForKey:(NSString *)key |
| To | - (NSString * _Nullable)typeForKey:(NSString * _Nonnull)key |
NSScriptCoercionHandler.h
| Declaration | |
|---|---|
| From | - (id)coerceValue:(id)value toClass:(Class)toClass |
| To | - (id _Nullable)coerceValue:(id _Nonnull)value toClass:(Class _Nonnull)toClass |
| Declaration | |
|---|---|
| From | - (void)registerCoercer:(id)coercer selector:(SEL)selector toConvertFromClass:(Class)fromClass toClass:(Class)toClass |
| To | - (void)registerCoercer:(id _Nonnull)coercer selector:(SEL _Nonnull)selector toConvertFromClass:(Class _Nonnull)fromClass toClass:(Class _Nonnull)toClass |
| Declaration | |
|---|---|
| From | + (NSScriptCoercionHandler *)sharedCoercionHandler |
| To | + (NSScriptCoercionHandler * _Nonnull)sharedCoercionHandler |
NSScriptCommand.h
Modified NSScriptCommand.appleEvent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSAppleEventDescriptor *appleEvent |
| To | @property(readonly, copy, nullable) NSAppleEventDescriptor *appleEvent |
Modified NSScriptCommand.arguments
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *arguments |
| To | @property(copy, nullable) NSDictionary<NSString *,id> *arguments |
Modified NSScriptCommand.commandDescription
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptCommandDescription *commandDescription |
| To | @property(readonly, retain, nonnull) NSScriptCommandDescription *commandDescription |
Modified +[NSScriptCommand currentCommand]
| Declaration | |
|---|---|
| From | + (NSScriptCommand *)currentCommand |
| To | + (NSScriptCommand * _Nullable)currentCommand |
Modified NSScriptCommand.directParameter
| Declaration | |
|---|---|
| From | @property(retain) id directParameter |
| To | @property(retain, nullable) id directParameter |
Modified NSScriptCommand.evaluatedArguments
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *evaluatedArguments |
| To | @property(readonly, copy, nullable) NSDictionary<NSString *,id> *evaluatedArguments |
Modified NSScriptCommand.evaluatedReceivers
| Declaration | |
|---|---|
| From | @property(readonly, retain) id evaluatedReceivers |
| To | @property(readonly, retain, nullable) id evaluatedReceivers |
Modified -[NSScriptCommand executeCommand]
| Declaration | |
|---|---|
| From | - (id)executeCommand |
| To | - (id _Nullable)executeCommand |
Modified -[NSScriptCommand initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCommandDescription:(NSScriptCommandDescription *)commandDef |
| To | - (instancetype _Nonnull)initWithCommandDescription:(NSScriptCommandDescription * _Nonnull)commandDef |
| Declaration | |
|---|---|
| From | - (id)performDefaultImplementation |
| To | - (id _Nullable)performDefaultImplementation |
Modified NSScriptCommand.receiversSpecifier
| Declaration | |
|---|---|
| From | @property(retain) NSScriptObjectSpecifier *receiversSpecifier |
| To | @property(retain, nullable) NSScriptObjectSpecifier *receiversSpecifier |
| Declaration | |
|---|---|
| From | - (void)resumeExecutionWithResult:(id)result |
| To | - (void)resumeExecutionWithResult:(id _Nullable)result |
| Declaration | |
|---|---|
| From | @property(retain) NSAppleEventDescriptor *scriptErrorExpectedTypeDescriptor |
| To | @property(retain, nullable) NSAppleEventDescriptor *scriptErrorExpectedTypeDescriptor |
Modified NSScriptCommand.scriptErrorNumber
| Declaration | |
|---|---|
| From | @property int scriptErrorNumber |
| To | @property NSInteger scriptErrorNumber |
| Declaration | |
|---|---|
| From | @property(retain) NSAppleEventDescriptor *scriptErrorOffendingObjectDescriptor |
| To | @property(retain, nullable) NSAppleEventDescriptor *scriptErrorOffendingObjectDescriptor |
Modified NSScriptCommand.scriptErrorString
| Declaration | |
|---|---|
| From | @property(copy) NSString *scriptErrorString |
| To | @property(copy, nullable) NSString *scriptErrorString |
NSScriptCommandDescription.h
| Declaration | |
|---|---|
| From | - (FourCharCode)appleEventCodeForArgumentWithName:(NSString *)argumentName |
| To | - (FourCharCode)appleEventCodeForArgumentWithName:(NSString * _Nonnull)argumentName |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *argumentNames |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *argumentNames |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *commandClassName |
| To | @property(readonly, copy, nonnull) NSString *commandClassName |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *commandName |
| To | @property(readonly, copy, nonnull) NSString *commandName |
| Declaration | |
|---|---|
| From | - (NSScriptCommand *)createCommandInstance |
| To | - (NSScriptCommand * _Nonnull)createCommandInstance |
| Declaration | |
|---|---|
| From | - (NSScriptCommand *)createCommandInstanceWithZone:(NSZone *)zone |
| To | - (NSScriptCommand * _Nonnull)createCommandInstanceWithZone:(NSZone * _Nullable)zone |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithSuiteName:(NSString *)suiteName commandName:(NSString *)commandName dictionary:(NSDictionary *)commandDeclaration |
| To | - (instancetype _Nullable)initWithSuiteName:(NSString * _Nonnull)suiteName commandName:(NSString * _Nonnull)commandName dictionary:(NSDictionary * _Nullable)commandDeclaration |
| Declaration | |
|---|---|
| From | - (BOOL)isOptionalArgumentWithName:(NSString *)argumentName |
| To | - (BOOL)isOptionalArgumentWithName:(NSString * _Nonnull)argumentName |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *returnType |
| To | @property(readonly, copy, nullable) NSString *returnType |
Modified NSScriptCommandDescription.suiteName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *suiteName |
| To | @property(readonly, copy, nonnull) NSString *suiteName |
| Declaration | |
|---|---|
| From | - (NSString *)typeForArgumentWithName:(NSString *)argumentName |
| To | - (NSString * _Nullable)typeForArgumentWithName:(NSString * _Nonnull)argumentName |
NSScriptExecutionContext.h
| Declaration | |
|---|---|
| From | @property(retain) id objectBeingTested |
| To | @property(retain, nullable) id objectBeingTested |
| Declaration | |
|---|---|
| From | @property(retain) id rangeContainerObject |
| To | @property(retain, nullable) id rangeContainerObject |
| Declaration | |
|---|---|
| From | + (NSScriptExecutionContext *)sharedScriptExecutionContext |
| To | + (NSScriptExecutionContext * _Nonnull)sharedScriptExecutionContext |
| Declaration | |
|---|---|
| From | @property(retain) id topLevelObject |
| To | @property(retain, nullable) id topLevelObject |
NSScriptKeyValueCoding.h
Modified -[NSObject coerceValue:forKey:]
| Declaration | |
|---|---|
| From | - (id)coerceValue:(id)value forKey:(NSString *)key |
| To | - (id _Nullable)coerceValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)insertValue:(id)value atIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key |
| To | - (void)insertValue:(id _Nonnull)value atIndex:(NSUInteger)index inPropertyWithKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)insertValue:(id)value inPropertyWithKey:(NSString *)key |
| To | - (void)insertValue:(id _Nonnull)value inPropertyWithKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)removeValueAtIndex:(NSUInteger)index fromPropertyWithKey:(NSString *)key |
| To | - (void)removeValueAtIndex:(NSUInteger)index fromPropertyWithKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)replaceValueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key withValue:(id)value |
| To | - (void)replaceValueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString * _Nonnull)key withValue:(id _Nonnull)value |
| Declaration | |
|---|---|
| From | - (id)valueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString *)key |
| To | - (id _Nullable)valueAtIndex:(NSUInteger)index inPropertyWithKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (id)valueWithName:(NSString *)name inPropertyWithKey:(NSString *)key |
| To | - (id _Nullable)valueWithName:(NSString * _Nonnull)name inPropertyWithKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (id)valueWithUniqueID:(id)uniqueID inPropertyWithKey:(NSString *)key |
| To | - (id _Nullable)valueWithUniqueID:(id _Nonnull)uniqueID inPropertyWithKey:(NSString * _Nonnull)key |
NSScriptObjectSpecifiers.h
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property index:(NSInteger)index |
| To | - (instancetype _Nonnull)initWithContainerClassDescription:(NSScriptClassDescription * _Nonnull)classDesc containerSpecifier:(NSScriptObjectSpecifier * _Nullable)container key:(NSString * _Nonnull)property index:(NSInteger)index |
Modified -[NSNameSpecifier initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property name:(NSString *)name |
| To | - (instancetype _Nonnull)initWithContainerClassDescription:(NSScriptClassDescription * _Nonnull)classDesc containerSpecifier:(NSScriptObjectSpecifier * _Nullable)container key:(NSString * _Nonnull)property name:(NSString * _Nonnull)name |
Modified NSNameSpecifier.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nonnull) NSString *name |
| Declaration | |
|---|---|
| From | - (NSArray *)indicesOfObjectsByEvaluatingObjectSpecifier:(NSScriptObjectSpecifier *)specifier |
| To | - (NSArray<NSNumber *> * _Nullable)indicesOfObjectsByEvaluatingObjectSpecifier:(NSScriptObjectSpecifier * _Nonnull)specifier |
Modified NSObject.objectSpecifier
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptObjectSpecifier *objectSpecifier |
| To | @property(readonly, retain, nullable) NSScriptObjectSpecifier *objectSpecifier |
| Declaration | |
|---|---|
| From | - (instancetype)initWithPosition:(NSInsertionPosition)position objectSpecifier:(NSScriptObjectSpecifier *)specifier |
| To | - (instancetype _Nonnull)initWithPosition:(NSInsertionPosition)position objectSpecifier:(NSScriptObjectSpecifier * _Nonnull)specifier |
| Declaration | |
|---|---|
| From | @property(readonly, retain) id insertionContainer |
| To | @property(readonly, retain, nullable) id insertionContainer |
Modified NSPositionalSpecifier.insertionKey
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *insertionKey |
| To | @property(readonly, copy, nullable) NSString *insertionKey |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptObjectSpecifier *objectSpecifier |
| To | @property(readonly, retain, nonnull) NSScriptObjectSpecifier *objectSpecifier |
| Declaration | |
|---|---|
| From | - (void)setInsertionClassDescription:(NSScriptClassDescription *)classDescription |
| To | - (void)setInsertionClassDescription:(NSScriptClassDescription * _Nonnull)classDescription |
Modified NSRangeSpecifier.endSpecifier
| Declaration | |
|---|---|
| From | @property(retain) NSScriptObjectSpecifier *endSpecifier |
| To | @property(retain, nullable) NSScriptObjectSpecifier *endSpecifier |
Modified -[NSRangeSpecifier initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property startSpecifier:(NSScriptObjectSpecifier *)startSpec endSpecifier:(NSScriptObjectSpecifier *)endSpec |
| To | - (instancetype _Nonnull)initWithContainerClassDescription:(NSScriptClassDescription * _Nonnull)classDesc containerSpecifier:(NSScriptObjectSpecifier * _Nullable)container key:(NSString * _Nonnull)property startSpecifier:(NSScriptObjectSpecifier * _Nullable)startSpec endSpecifier:(NSScriptObjectSpecifier * _Nullable)endSpec |
Modified NSRangeSpecifier.startSpecifier
| Declaration | |
|---|---|
| From | @property(retain) NSScriptObjectSpecifier *startSpecifier |
| To | @property(retain, nullable) NSScriptObjectSpecifier *startSpecifier |
Modified NSRelativeSpecifier.baseSpecifier
| Declaration | |
|---|---|
| From | @property(retain) NSScriptObjectSpecifier *baseSpecifier |
| To | @property(retain, nullable) NSScriptObjectSpecifier *baseSpecifier |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property relativePosition:(NSRelativePosition)relPos baseSpecifier:(NSScriptObjectSpecifier *)baseSpecifier |
| To | - (instancetype _Nonnull)initWithContainerClassDescription:(NSScriptClassDescription * _Nonnull)classDesc containerSpecifier:(NSScriptObjectSpecifier * _Nullable)container key:(NSString * _Nonnull)property relativePosition:(NSRelativePosition)relPos baseSpecifier:(NSScriptObjectSpecifier * _Nullable)baseSpecifier |
| Declaration | |
|---|---|
| From | @property(assign) NSScriptObjectSpecifier *childSpecifier |
| To | @property(assign, nullable) NSScriptObjectSpecifier *childSpecifier |
| Declaration | |
|---|---|
| From | @property(retain) NSScriptClassDescription *containerClassDescription |
| To | @property(retain, nullable) NSScriptClassDescription *containerClassDescription |
| Declaration | |
|---|---|
| From | @property(retain) NSScriptObjectSpecifier *containerSpecifier |
| To | @property(retain, nullable) NSScriptObjectSpecifier *containerSpecifier |
Modified NSScriptObjectSpecifier.descriptor
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSAppleEventDescriptor *descriptor |
| To | @property(readonly, copy, nullable) NSAppleEventDescriptor *descriptor |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptObjectSpecifier *evaluationErrorSpecifier |
| To | @property(readonly, retain, nullable) NSScriptObjectSpecifier *evaluationErrorSpecifier |
| Declaration | |
|---|---|
| From | - (NSInteger *)indicesOfObjectsByEvaluatingWithContainer:(id)container count:(NSInteger *)count |
| To | - (NSInteger * _Nullable)indicesOfObjectsByEvaluatingWithContainer:(id _Nonnull)container count:(NSInteger * _Nonnull)count |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property |
| To | - (instancetype _Nonnull)initWithContainerClassDescription:(NSScriptClassDescription * _Nonnull)classDesc containerSpecifier:(NSScriptObjectSpecifier * _Nullable)container key:(NSString * _Nonnull)property |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property |
| To | - (instancetype _Nonnull)initWithContainerSpecifier:(NSScriptObjectSpecifier * _Nonnull)container key:(NSString * _Nonnull)property |
Modified NSScriptObjectSpecifier.key
| Declaration | |
|---|---|
| From | @property(copy) NSString *key |
| To | @property(copy, nonnull) NSString *key |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptClassDescription *keyClassDescription |
| To | @property(readonly, retain, nullable) NSScriptClassDescription *keyClassDescription |
| Declaration | |
|---|---|
| From | @property(readonly, retain) id objectsByEvaluatingSpecifier |
| To | @property(readonly, retain, nullable) id objectsByEvaluatingSpecifier |
| Declaration | |
|---|---|
| From | - (id)objectsByEvaluatingWithContainers:(id)containers |
| To | - (id _Nullable)objectsByEvaluatingWithContainers:(id _Nonnull)containers |
| Declaration | |
|---|---|
| From | + (NSScriptObjectSpecifier *)objectSpecifierWithDescriptor:(NSAppleEventDescriptor *)descriptor |
| To | + (NSScriptObjectSpecifier * _Nullable)objectSpecifierWithDescriptor:(NSAppleEventDescriptor * _Nonnull)descriptor |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property uniqueID:(id)uniqueID |
| To | - (instancetype _Nonnull)initWithContainerClassDescription:(NSScriptClassDescription * _Nonnull)classDesc containerSpecifier:(NSScriptObjectSpecifier * _Nullable)container key:(NSString * _Nonnull)property uniqueID:(id _Nonnull)uniqueID |
Modified NSUniqueIDSpecifier.uniqueID
| Declaration | |
|---|---|
| From | @property(copy) id uniqueID |
| To | @property(copy, nonnull) id uniqueID |
Modified -[NSWhoseSpecifier initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContainerClassDescription:(NSScriptClassDescription *)classDesc containerSpecifier:(NSScriptObjectSpecifier *)container key:(NSString *)property test:(NSScriptWhoseTest *)test |
| To | - (instancetype _Nonnull)initWithContainerClassDescription:(NSScriptClassDescription * _Nonnull)classDesc containerSpecifier:(NSScriptObjectSpecifier * _Nullable)container key:(NSString * _Nonnull)property test:(NSScriptWhoseTest * _Nonnull)test |
Modified NSWhoseSpecifier.test
| Declaration | |
|---|---|
| From | @property(retain) NSScriptWhoseTest *test |
| To | @property(retain, nonnull) NSScriptWhoseTest *test |
NSScriptStandardSuiteCommands.h
Modified NSCloneCommand.keySpecifier
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptObjectSpecifier *keySpecifier |
| To | @property(readonly, retain, nonnull) NSScriptObjectSpecifier *keySpecifier |
| Declaration | |
|---|---|
| From | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier *)receiversRef |
| To | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier * _Nullable)receiversRef |
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptClassDescription *createClassDescription |
| To | @property(readonly, retain, nonnull) NSScriptClassDescription *createClassDescription |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *resolvedKeyDictionary |
| To | @property(readonly, copy, nonnull) NSDictionary<NSString *,id> *resolvedKeyDictionary |
Modified NSDeleteCommand.keySpecifier
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptObjectSpecifier *keySpecifier |
| To | @property(readonly, retain, nonnull) NSScriptObjectSpecifier *keySpecifier |
| Declaration | |
|---|---|
| From | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier *)receiversRef |
| To | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier * _Nullable)receiversRef |
Modified NSMoveCommand.keySpecifier
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptObjectSpecifier *keySpecifier |
| To | @property(readonly, retain, nonnull) NSScriptObjectSpecifier *keySpecifier |
| Declaration | |
|---|---|
| From | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier *)receiversRef |
| To | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier * _Nullable)receiversRef |
Modified NSSetCommand.keySpecifier
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSScriptObjectSpecifier *keySpecifier |
| To | @property(readonly, retain, nonnull) NSScriptObjectSpecifier *keySpecifier |
| Declaration | |
|---|---|
| From | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier *)receiversRef |
| To | - (void)setReceiversSpecifier:(NSScriptObjectSpecifier * _Nullable)receiversRef |
NSScriptSuiteRegistry.h
| Declaration | |
|---|---|
| From | - (NSData *)aeteResource:(NSString *)languageName |
| To | - (NSData * _Nullable)aeteResource:(NSString * _Nonnull)languageName |
| Declaration | |
|---|---|
| From | - (FourCharCode)appleEventCodeForSuite:(NSString *)suiteName |
| To | - (FourCharCode)appleEventCodeForSuite:(NSString * _Nonnull)suiteName |
| Declaration | |
|---|---|
| From | - (NSBundle *)bundleForSuite:(NSString *)suiteName |
| To | - (NSBundle * _Nullable)bundleForSuite:(NSString * _Nonnull)suiteName |
| Declaration | |
|---|---|
| From | - (NSDictionary *)classDescriptionsInSuite:(NSString *)suiteName |
| To | - (NSDictionary<NSString *,NSScriptClassDescription *> * _Nullable)classDescriptionsInSuite:(NSString * _Nonnull)suiteName |
| Declaration | |
|---|---|
| From | - (NSScriptClassDescription *)classDescriptionWithAppleEventCode:(FourCharCode)appleEventCode |
| To | - (NSScriptClassDescription * _Nullable)classDescriptionWithAppleEventCode:(FourCharCode)appleEventCode |
| Declaration | |
|---|---|
| From | - (NSDictionary *)commandDescriptionsInSuite:(NSString *)suiteName |
| To | - (NSDictionary<NSString *,NSScriptCommandDescription *> * _Nullable)commandDescriptionsInSuite:(NSString * _Nonnull)suiteName |
| Declaration | |
|---|---|
| From | - (NSScriptCommandDescription *)commandDescriptionWithAppleEventClass:(FourCharCode)appleEventClassCode andAppleEventCode:(FourCharCode)appleEventIDCode |
| To | - (NSScriptCommandDescription * _Nullable)commandDescriptionWithAppleEventClass:(FourCharCode)appleEventClassCode andAppleEventCode:(FourCharCode)appleEventIDCode |
| Declaration | |
|---|---|
| From | - (void)loadSuitesFromBundle:(NSBundle *)bundle |
| To | - (void)loadSuitesFromBundle:(NSBundle * _Nonnull)bundle |
| Declaration | |
|---|---|
| From | - (void)loadSuiteWithDictionary:(NSDictionary *)suiteDeclaration fromBundle:(NSBundle *)bundle |
| To | - (void)loadSuiteWithDictionary:(NSDictionary * _Nonnull)suiteDeclaration fromBundle:(NSBundle * _Nonnull)bundle |
| Declaration | |
|---|---|
| From | - (void)registerClassDescription:(NSScriptClassDescription *)classDescription |
| To | - (void)registerClassDescription:(NSScriptClassDescription * _Nonnull)classDescription |
| Declaration | |
|---|---|
| From | - (void)registerCommandDescription:(NSScriptCommandDescription *)commandDescription |
| To | - (void)registerCommandDescription:(NSScriptCommandDescription * _Nonnull)commandDescription |
| Declaration | |
|---|---|
| From | + (void)setSharedScriptSuiteRegistry:(NSScriptSuiteRegistry *)registry |
| To | + (void)setSharedScriptSuiteRegistry:(NSScriptSuiteRegistry * _Nonnull)registry |
| Declaration | |
|---|---|
| From | + (NSScriptSuiteRegistry *)sharedScriptSuiteRegistry |
| To | + (NSScriptSuiteRegistry * _Nonnull)sharedScriptSuiteRegistry |
| Declaration | |
|---|---|
| From | - (NSString *)suiteForAppleEventCode:(FourCharCode)appleEventCode |
| To | - (NSString * _Nullable)suiteForAppleEventCode:(FourCharCode)appleEventCode |
Modified NSScriptSuiteRegistry.suiteNames
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *suiteNames |
| To | @property(readonly, copy, nonnull) NSArray<NSString *> *suiteNames |
NSScriptWhoseTests.h
| Declaration | |
|---|---|
| From | - (instancetype)initAndTestWithTests:(NSArray *)subTests |
| To | - (instancetype _Nonnull)initAndTestWithTests:(NSArray<NSSpecifierTest *> * _Nonnull)subTests |
| Declaration | |
|---|---|
| From | - (instancetype)initNotTestWithTest:(NSScriptWhoseTest *)subTest |
| To | - (instancetype _Nonnull)initNotTestWithTest:(NSScriptWhoseTest * _Nonnull)subTest |
| Declaration | |
|---|---|
| From | - (instancetype)initOrTestWithTests:(NSArray *)subTests |
| To | - (instancetype _Nonnull)initOrTestWithTests:(NSArray<NSSpecifierTest *> * _Nonnull)subTests |
Modified -[NSObject doesContain:]
| Declaration | |
|---|---|
| From | - (BOOL)doesContain:(id)object |
| To | - (BOOL)doesContain:(id _Nonnull)object |
Modified -[NSObject isCaseInsensitiveLike:]
| Declaration | |
|---|---|
| From | - (BOOL)isCaseInsensitiveLike:(NSString *)object |
| To | - (BOOL)isCaseInsensitiveLike:(NSString * _Nonnull)object |
Modified -[NSObject isEqualTo:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualTo:(id)object |
| To | - (BOOL)isEqualTo:(id _Nullable)object |
Modified -[NSObject isGreaterThan:]
| Declaration | |
|---|---|
| From | - (BOOL)isGreaterThan:(id)object |
| To | - (BOOL)isGreaterThan:(id _Nullable)object |
Modified -[NSObject isGreaterThanOrEqualTo:]
| Declaration | |
|---|---|
| From | - (BOOL)isGreaterThanOrEqualTo:(id)object |
| To | - (BOOL)isGreaterThanOrEqualTo:(id _Nullable)object |
Modified -[NSObject isLessThan:]
| Declaration | |
|---|---|
| From | - (BOOL)isLessThan:(id)object |
| To | - (BOOL)isLessThan:(id _Nullable)object |
Modified -[NSObject isLessThanOrEqualTo:]
| Declaration | |
|---|---|
| From | - (BOOL)isLessThanOrEqualTo:(id)object |
| To | - (BOOL)isLessThanOrEqualTo:(id _Nullable)object |
Modified -[NSObject isLike:]
| Declaration | |
|---|---|
| From | - (BOOL)isLike:(NSString *)object |
| To | - (BOOL)isLike:(NSString * _Nonnull)object |
Modified -[NSObject isNotEqualTo:]
| Declaration | |
|---|---|
| From | - (BOOL)isNotEqualTo:(id)object |
| To | - (BOOL)isNotEqualTo:(id _Nullable)object |
Modified -[NSObject scriptingBeginsWith:]
| Declaration | |
|---|---|
| From | - (BOOL)scriptingBeginsWith:(id)object |
| To | - (BOOL)scriptingBeginsWith:(id _Nonnull)object |
Modified -[NSObject scriptingContains:]
| Declaration | |
|---|---|
| From | - (BOOL)scriptingContains:(id)object |
| To | - (BOOL)scriptingContains:(id _Nonnull)object |
Modified -[NSObject scriptingEndsWith:]
| Declaration | |
|---|---|
| From | - (BOOL)scriptingEndsWith:(id)object |
| To | - (BOOL)scriptingEndsWith:(id _Nonnull)object |
Modified -[NSObject scriptingIsEqualTo:]
| Declaration | |
|---|---|
| From | - (BOOL)scriptingIsEqualTo:(id)object |
| To | - (BOOL)scriptingIsEqualTo:(id _Nonnull)object |
Modified -[NSObject scriptingIsGreaterThan:]
| Declaration | |
|---|---|
| From | - (BOOL)scriptingIsGreaterThan:(id)object |
| To | - (BOOL)scriptingIsGreaterThan:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (BOOL)scriptingIsGreaterThanOrEqualTo:(id)object |
| To | - (BOOL)scriptingIsGreaterThanOrEqualTo:(id _Nonnull)object |
Modified -[NSObject scriptingIsLessThan:]
| Declaration | |
|---|---|
| From | - (BOOL)scriptingIsLessThan:(id)object |
| To | - (BOOL)scriptingIsLessThan:(id _Nonnull)object |
| Declaration | |
|---|---|
| From | - (BOOL)scriptingIsLessThanOrEqualTo:(id)object |
| To | - (BOOL)scriptingIsLessThanOrEqualTo:(id _Nonnull)object |
Modified -[NSScriptWhoseTest init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSScriptWhoseTest initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
Modified -[NSSpecifierTest initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)inCoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)inCoder |
| Declaration | |
|---|---|
| From | - (instancetype)initWithObjectSpecifier:(NSScriptObjectSpecifier *)obj1 comparisonOperator:(NSTestComparisonOperation)compOp testObject:(id)obj2 |
| To | - (instancetype _Nonnull)initWithObjectSpecifier:(NSScriptObjectSpecifier * _Nullable)obj1 comparisonOperator:(NSTestComparisonOperation)compOp testObject:(id _Nullable)obj2 |
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:]
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithCapacity:(NSUInteger)numItems | -- |
| To | - (instancetype _Nonnull)initWithCapacity:(NSUInteger)numItems | 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 init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSMutableSet initWithCapacity:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCapacity:(NSUInteger)numItems |
| To | - (instancetype _Nonnull)initWithCapacity:(NSUInteger)numItems |
Modified -[NSMutableSet initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
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 setWithCapacity:]
| Declaration | |
|---|---|
| From | + (instancetype)setWithCapacity:(NSUInteger)numItems |
| To | + (instancetype _Nonnull)setWithCapacity:(NSUInteger)numItems |
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.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
Modified -[NSSet descriptionWithLocale:]
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
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 init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSSet initWithArray:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithArray:(NSArray *)array |
| To | - (instancetype _Nonnull)initWithArray:(NSArray<ObjectType> * _Nonnull)array |
Modified -[NSSet initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
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 makeObjectsPerformSelector:]
| Declaration | |
|---|---|
| From | - (void)makeObjectsPerformSelector:(SEL)aSelector |
| To | - (void)makeObjectsPerformSelector:(SEL _Nonnull)aSelector |
| Declaration | |
|---|---|
| From | - (void)makeObjectsPerformSelector:(SEL)aSelector withObject:(id)argument |
| To | - (void)makeObjectsPerformSelector:(SEL _Nonnull)aSelector withObject:(id _Nullable)argument |
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 set]
| Declaration | |
|---|---|
| From | + (instancetype)set |
| To | + (instancetype _Nonnull)set |
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 |
Modified NSSortDescriptor.comparator
| Declaration | |
|---|---|
| From | @property(readonly) NSComparator comparator |
| To | @property(readonly, nonnull) NSComparator comparator |
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compareObject:(id)object1 toObject:(id)object2 |
| To | - (NSComparisonResult)compareObject:(id _Nonnull)object1 toObject:(id _Nonnull)object2 |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKey:(NSString *)key ascending:(BOOL)ascending |
| To | - (instancetype _Nonnull)initWithKey:(NSString * _Nullable)key ascending:(BOOL)ascending |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKey:(NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr |
| To | - (instancetype _Nonnull)initWithKey:(NSString * _Nullable)key ascending:(BOOL)ascending comparator:(NSComparator _Nonnull)cmptr |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKey:(NSString *)key ascending:(BOOL)ascending selector:(SEL)selector |
| To | - (instancetype _Nonnull)initWithKey:(NSString * _Nullable)key ascending:(BOOL)ascending selector:(SEL _Nullable)selector |
Modified NSSortDescriptor.key
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *key |
| To | @property(readonly, copy, nullable) NSString *key |
| Declaration | |
|---|---|
| From | @property(readonly, retain) id reversedSortDescriptor |
| To | @property(readonly, retain, nonnull) id reversedSortDescriptor |
Modified NSSortDescriptor.selector
| Declaration | |
|---|---|
| From | @property(readonly) SEL selector |
| To | @property(readonly, nullable) SEL selector |
| Declaration | |
|---|---|
| From | + (instancetype)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending |
| To | + (instancetype _Nonnull)sortDescriptorWithKey:(NSString * _Nullable)key ascending:(BOOL)ascending |
| Declaration | |
|---|---|
| From | + (instancetype)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr |
| To | + (instancetype _Nonnull)sortDescriptorWithKey:(NSString * _Nullable)key ascending:(BOOL)ascending comparator:(NSComparator _Nonnull)cmptr |
| Declaration | |
|---|---|
| From | + (instancetype)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending selector:(SEL)selector |
| To | + (instancetype _Nonnull)sortDescriptorWithKey:(NSString * _Nullable)key ascending:(BOOL)ascending selector:(SEL _Nullable)selector |
NSSpellServer.h
Modified NSSpellServer.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSSpellServerDelegate> delegate |
| To | @property(assign, nullable) id<NSSpellServerDelegate> delegate |
| Declaration | |
|---|---|
| From | - (BOOL)isWordInUserDictionaries:(NSString *)word caseSensitive:(BOOL)flag |
| To | - (BOOL)isWordInUserDictionaries:(NSString * _Nonnull)word caseSensitive:(BOOL)flag |
| Declaration | |
|---|---|
| From | - (BOOL)registerLanguage:(NSString *)language byVendor:(NSString *)vendor |
| To | - (BOOL)registerLanguage:(NSString * _Nullable)language byVendor:(NSString * _Nullable)vendor |
| Declaration | |
|---|---|
| From | - (NSRange)spellServer:(NSSpellServer *)sender checkGrammarInString:(NSString *)stringToCheck language:(NSString *)language details:(NSArray **)details |
| To | - (NSRange)spellServer:(NSSpellServer * _Nonnull)sender checkGrammarInString:(NSString * _Nonnull)stringToCheck language:(NSString * _Nullable)language details:(NSArray<NSDictionary<NSString *,id> *> * _Nullable * _Nullable)details |
Modified -[NSSpellServerDelegate spellServer:checkString:offset:types:options:orthography:wordCount:]
| Declaration | |
|---|---|
| From | - (NSArray *)spellServer:(NSSpellServer *)sender checkString:(NSString *)stringToCheck offset:(NSUInteger)offset types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary *)options orthography:(NSOrthography *)orthography wordCount:(NSInteger *)wordCount |
| To | - (NSArray<NSTextCheckingResult *> * _Nullable)spellServer:(NSSpellServer * _Nonnull)sender checkString:(NSString * _Nonnull)stringToCheck offset:(NSUInteger)offset types:(NSTextCheckingTypes)checkingTypes options:(NSDictionary<NSString *,id> * _Nullable)options orthography:(NSOrthography * _Nullable)orthography wordCount:(NSInteger * _Nonnull)wordCount |
| Declaration | |
|---|---|
| From | - (void)spellServer:(NSSpellServer *)sender didForgetWord:(NSString *)word inLanguage:(NSString *)language |
| To | - (void)spellServer:(NSSpellServer * _Nonnull)sender didForgetWord:(NSString * _Nonnull)word inLanguage:(NSString * _Nonnull)language |
| Declaration | |
|---|---|
| From | - (void)spellServer:(NSSpellServer *)sender didLearnWord:(NSString *)word inLanguage:(NSString *)language |
| To | - (void)spellServer:(NSSpellServer * _Nonnull)sender didLearnWord:(NSString * _Nonnull)word inLanguage:(NSString * _Nonnull)language |
Modified -[NSSpellServerDelegate spellServer:findMisspelledWordInString:language:wordCount:countOnly:]
| Declaration | |
|---|---|
| From | - (NSRange)spellServer:(NSSpellServer *)sender findMisspelledWordInString:(NSString *)stringToCheck language:(NSString *)language wordCount:(NSInteger *)wordCount countOnly:(BOOL)countOnly |
| To | - (NSRange)spellServer:(NSSpellServer * _Nonnull)sender findMisspelledWordInString:(NSString * _Nonnull)stringToCheck language:(NSString * _Nonnull)language wordCount:(NSInteger * _Nonnull)wordCount countOnly:(BOOL)countOnly |
| Declaration | |
|---|---|
| From | - (void)spellServer:(NSSpellServer *)sender recordResponse:(NSUInteger)response toCorrection:(NSString *)correction forWord:(NSString *)word language:(NSString *)language |
| To | - (void)spellServer:(NSSpellServer * _Nonnull)sender recordResponse:(NSUInteger)response toCorrection:(NSString * _Nonnull)correction forWord:(NSString * _Nonnull)word language:(NSString * _Nonnull)language |
Modified -[NSSpellServerDelegate spellServer:suggestCompletionsForPartialWordRange:inString:language:]
| Declaration | |
|---|---|
| From | - (NSArray *)spellServer:(NSSpellServer *)sender suggestCompletionsForPartialWordRange:(NSRange)range inString:(NSString *)string language:(NSString *)language |
| To | - (NSArray<NSString *> * _Nullable)spellServer:(NSSpellServer * _Nonnull)sender suggestCompletionsForPartialWordRange:(NSRange)range inString:(NSString * _Nonnull)string language:(NSString * _Nonnull)language |
| Declaration | |
|---|---|
| From | - (NSArray *)spellServer:(NSSpellServer *)sender suggestGuessesForWord:(NSString *)word inLanguage:(NSString *)language |
| To | - (NSArray<NSString *> * _Nullable)spellServer:(NSSpellServer * _Nonnull)sender suggestGuessesForWord:(NSString * _Nonnull)word inLanguage:(NSString * _Nonnull)language |
NSStream.h
Modified -[NSInputStream getBuffer:length:]
| Declaration | |
|---|---|
| From | - (BOOL)getBuffer:(uint8_t **)buffer length:(NSUInteger *)len |
| To | - (BOOL)getBuffer:(uint8_t * _Nullable * _Nonnull)buffer length:(NSUInteger * _Nonnull)len |
Modified -[NSInputStream initWithData:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data |
| To | - (instancetype _Nonnull)initWithData:(NSData * _Nonnull)data |
Modified -[NSInputStream initWithFileAtPath:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFileAtPath:(NSString *)path |
| To | - (instancetype _Nullable)initWithFileAtPath:(NSString * _Nonnull)path |
Modified -[NSInputStream initWithURL:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | + (instancetype)inputStreamWithData:(NSData *)data |
| To | + (instancetype _Nullable)inputStreamWithData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | + (instancetype)inputStreamWithFileAtPath:(NSString *)path |
| To | + (instancetype _Nullable)inputStreamWithFileAtPath:(NSString * _Nonnull)path |
Modified +[NSInputStream inputStreamWithURL:]
| Declaration | |
|---|---|
| From | + (instancetype)inputStreamWithURL:(NSURL *)url |
| To | + (instancetype _Nullable)inputStreamWithURL:(NSURL * _Nonnull)url |
Modified -[NSInputStream read:maxLength:]
| Declaration | |
|---|---|
| From | - (NSInteger)read:(uint8_t *)buffer maxLength:(NSUInteger)len |
| To | - (NSInteger)read:(uint8_t * _Nonnull)buffer maxLength:(NSUInteger)len |
| Declaration | |
|---|---|
| From | - (instancetype)initToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity |
| To | - (instancetype _Nonnull)initToBuffer:(uint8_t * _Nonnull)buffer capacity:(NSUInteger)capacity |
| Declaration | |
|---|---|
| From | - (instancetype)initToFileAtPath:(NSString *)path append:(BOOL)shouldAppend |
| To | - (instancetype _Nullable)initToFileAtPath:(NSString * _Nonnull)path append:(BOOL)shouldAppend |
Modified -[NSOutputStream initToMemory]
| Declaration | |
|---|---|
| From | - (instancetype)initToMemory |
| To | - (instancetype _Nonnull)initToMemory |
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url append:(BOOL)shouldAppend |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url append:(BOOL)shouldAppend |
| Declaration | |
|---|---|
| From | + (instancetype)outputStreamToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity |
| To | + (instancetype _Nonnull)outputStreamToBuffer:(uint8_t * _Nonnull)buffer capacity:(NSUInteger)capacity |
| Declaration | |
|---|---|
| From | + (instancetype)outputStreamToFileAtPath:(NSString *)path append:(BOOL)shouldAppend |
| To | + (instancetype _Nonnull)outputStreamToFileAtPath:(NSString * _Nonnull)path append:(BOOL)shouldAppend |
| Declaration | |
|---|---|
| From | + (instancetype)outputStreamToMemory |
| To | + (instancetype _Nonnull)outputStreamToMemory |
| Declaration | |
|---|---|
| From | + (instancetype)outputStreamWithURL:(NSURL *)url append:(BOOL)shouldAppend |
| To | + (instancetype _Nullable)outputStreamWithURL:(NSURL * _Nonnull)url append:(BOOL)shouldAppend |
Modified -[NSOutputStream write:maxLength:]
| Declaration | |
|---|---|
| From | - (NSInteger)write:(const uint8_t *)buffer maxLength:(NSUInteger)len |
| To | - (NSInteger)write:(const uint8_t * _Nonnull)buffer maxLength:(NSUInteger)len |
Modified NSStream.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSStreamDelegate> delegate |
| To | @property(assign, nullable) id<NSStreamDelegate> delegate |
| Declaration | |
|---|---|
| From | + (void)getBoundStreamsWithBufferSize:(NSUInteger)bufferSize inputStream:(NSInputStream **)inputStream outputStream:(NSOutputStream **)outputStream |
| To | + (void)getBoundStreamsWithBufferSize:(NSUInteger)bufferSize inputStream:(NSInputStream * _Nullable * _Nullable)inputStream outputStream:(NSOutputStream * _Nullable * _Nullable)outputStream |
| Declaration | |
|---|---|
| From | + (void)getStreamsToHost:(NSHost *)host port:(NSInteger)port inputStream:(NSInputStream **)inputStream outputStream:(NSOutputStream **)outputStream |
| To | + (void)getStreamsToHost:(NSHost * _Nonnull)host port:(NSInteger)port inputStream:(NSInputStream * _Nullable * _Nullable)inputStream outputStream:(NSOutputStream * _Nullable * _Nullable)outputStream |
| Declaration | |
|---|---|
| From | + (void)getStreamsToHostWithName:(NSString *)hostname port:(NSInteger)port inputStream:(NSInputStream **)inputStream outputStream:(NSOutputStream **)outputStream |
| To | + (void)getStreamsToHostWithName:(NSString * _Nonnull)hostname port:(NSInteger)port inputStream:(NSInputStream * _Nullable * _Nullable)inputStream outputStream:(NSOutputStream * _Nullable * _Nullable)outputStream |
Modified -[NSStream propertyForKey:]
| Declaration | |
|---|---|
| From | - (id)propertyForKey:(NSString *)key |
| To | - (id _Nullable)propertyForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (void)removeFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)removeFromRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)scheduleInRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
Modified -[NSStream setProperty:forKey:]
| Declaration | |
|---|---|
| From | - (BOOL)setProperty:(id)property forKey:(NSString *)key |
| To | - (BOOL)setProperty:(id _Nullable)property forKey:(NSString * _Nonnull)key |
Modified NSStream.streamError
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSError *streamError |
| To | @property(readonly, copy, nullable) NSError *streamError |
| Declaration | |
|---|---|
| From | - (void)stream:(NSStream *)aStream handleEvent:(NSStreamEvent)eventCode |
| To | - (void)stream:(NSStream * _Nonnull)aStream handleEvent:(NSStreamEvent)eventCode |
NSString.h
Added NSStringTransformToLatin
Modified -[NSMutableString appendFormat:]
| Declaration | |
|---|---|
| From | - (void)appendFormat:(NSString *)format, ... |
| To | - (void)appendFormat:(NSString * _Nonnull)format, ... |
Modified -[NSMutableString appendString:]
| Declaration | |
|---|---|
| From | - (void)appendString:(NSString *)aString |
| To | - (void)appendString:(NSString * _Nonnull)aString |
Modified -[NSMutableString initWithCapacity:]
| Declaration | |
|---|---|
| From | - (NSMutableString *)initWithCapacity:(NSUInteger)capacity |
| To | - (NSMutableString * _Nonnull)initWithCapacity:(NSUInteger)capacity |
| Declaration | |
|---|---|
| From | - (void)insertString:(NSString *)aString atIndex:(NSUInteger)loc |
| To | - (void)insertString:(NSString * _Nonnull)aString atIndex:(NSUInteger)loc |
| Declaration | |
|---|---|
| From | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString *)aString |
| To | - (void)replaceCharactersInRange:(NSRange)range withString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | - (NSUInteger)replaceOccurrencesOfString:(NSString *)target withString:(NSString *)replacement options:(NSStringCompareOptions)options range:(NSRange)searchRange |
| To | - (NSUInteger)replaceOccurrencesOfString:(NSString * _Nonnull)target withString:(NSString * _Nonnull)replacement options:(NSStringCompareOptions)options range:(NSRange)searchRange |
Modified -[NSMutableString setString:]
| Declaration | |
|---|---|
| From | - (void)setString:(NSString *)aString |
| To | - (void)setString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | + (NSMutableString *)stringWithCapacity:(NSUInteger)capacity |
| To | + (NSMutableString * _Nonnull)stringWithCapacity:(NSUInteger)capacity |
Modified +[NSString availableStringEncodings]
| Declaration | |
|---|---|
| From | + (const NSStringEncoding *)availableStringEncodings |
| To | + (const NSStringEncoding * _Nonnull)availableStringEncodings |
Modified NSString.capitalizedString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *capitalizedString |
| To | @property(readonly, copy, nonnull) NSString *capitalizedString |
| Declaration | |
|---|---|
| From | - (NSString *)capitalizedStringWithLocale:(NSLocale *)locale |
| To | - (NSString * _Nonnull)capitalizedStringWithLocale:(NSLocale * _Nullable)locale |
Modified -[NSString caseInsensitiveCompare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)caseInsensitiveCompare:(NSString *)string |
| To | - (NSComparisonResult)caseInsensitiveCompare:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (NSString *)commonPrefixWithString:(NSString *)aString options:(NSStringCompareOptions)mask |
| To | - (NSString * _Nonnull)commonPrefixWithString:(NSString * _Nonnull)str options:(NSStringCompareOptions)mask |
Modified -[NSString compare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSString *)string |
| To | - (NSComparisonResult)compare:(NSString * _Nonnull)string |
Modified -[NSString compare:options:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask |
| To | - (NSComparisonResult)compare:(NSString * _Nonnull)string options:(NSStringCompareOptions)mask |
Modified -[NSString compare:options:range:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRange)compareRange |
| To | - (NSComparisonResult)compare:(NSString * _Nonnull)string options:(NSStringCompareOptions)mask range:(NSRange)compareRange |
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSString *)string options:(NSStringCompareOptions)mask range:(NSRange)compareRange locale:(id)locale |
| To | - (NSComparisonResult)compare:(NSString * _Nonnull)string options:(NSStringCompareOptions)mask range:(NSRange)compareRange locale:(id _Nullable)locale |
| 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 cString]
| Declaration | |
|---|---|
| From | - (const char *)cString |
| To | - (const char * _Nullable)cString |
Modified -[NSString cStringUsingEncoding:]
| Declaration | |
|---|---|
| From | - (const char *)cStringUsingEncoding:(NSStringEncoding)encoding |
| To | - (const char * _Nullable)cStringUsingEncoding:(NSStringEncoding)encoding |
Modified -[NSString dataUsingEncoding:]
| Declaration | |
|---|---|
| From | - (NSData *)dataUsingEncoding:(NSStringEncoding)encoding |
| To | - (NSData * _Nullable)dataUsingEncoding:(NSStringEncoding)encoding |
| Declaration | |
|---|---|
| From | - (NSData *)dataUsingEncoding:(NSStringEncoding)encoding allowLossyConversion:(BOOL)lossy |
| To | - (NSData * _Nullable)dataUsingEncoding:(NSStringEncoding)encoding allowLossyConversion:(BOOL)lossy |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *decomposedStringWithCanonicalMapping |
| To | @property(readonly, copy, nonnull) NSString *decomposedStringWithCanonicalMapping |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *decomposedStringWithCompatibilityMapping |
| To | @property(readonly, copy, nonnull) NSString *decomposedStringWithCompatibilityMapping |
Modified NSString.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
| Declaration | |
|---|---|
| From | - (void)enumerateLinesUsingBlock:(void (^)(NSString *line, BOOL *stop))block |
| To | - (void)enumerateLinesUsingBlock:(void (^ _Nonnull)(NSString * _Nonnull line, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (void)enumerateSubstringsInRange:(NSRange)range options:(NSStringEnumerationOptions)opts usingBlock:(void (^)(NSString *substring, NSRange substringRange, NSRange enclosingRange, BOOL *stop))block |
| To | - (void)enumerateSubstringsInRange:(NSRange)range options:(NSStringEnumerationOptions)opts usingBlock:(void (^ _Nonnull)(NSString * _Nullable substring, NSRange substringRange, NSRange enclosingRange, BOOL * _Nonnull stop))block |
| Declaration | |
|---|---|
| From | - (BOOL)getBytes:(void *)buffer maxLength:(NSUInteger)maxBufferCount usedLength:(NSUInteger *)usedBufferCount encoding:(NSStringEncoding)encoding options:(NSStringEncodingConversionOptions)options range:(NSRange)range remainingRange:(NSRangePointer)leftover |
| To | - (BOOL)getBytes:(void * _Nullable)buffer maxLength:(NSUInteger)maxBufferCount usedLength:(NSUInteger * _Nullable)usedBufferCount encoding:(NSStringEncoding)encoding options:(NSStringEncodingConversionOptions)options range:(NSRange)range remainingRange:(NSRangePointer _Nullable)leftover |
Modified -[NSString getCharacters:]
| Declaration | |
|---|---|
| From | - (void)getCharacters:(unichar *)buffer |
| To | - (void)getCharacters:(unichar * _Nonnull)buffer |
Modified -[NSString getCharacters:range:]
| Declaration | |
|---|---|
| From | - (void)getCharacters:(unichar *)buffer range:(NSRange)aRange |
| To | - (void)getCharacters:(unichar * _Nonnull)buffer range:(NSRange)range |
Modified -[NSString getCString:]
| Declaration | |
|---|---|
| From | - (void)getCString:(char *)bytes |
| To | - (void)getCString:(char * _Nonnull)bytes |
Modified -[NSString getCString:maxLength:]
| Declaration | |
|---|---|
| From | - (void)getCString:(char *)bytes maxLength:(NSUInteger)maxLength |
| To | - (void)getCString:(char * _Nonnull)bytes maxLength:(NSUInteger)maxLength |
| Declaration | |
|---|---|
| From | - (BOOL)getCString:(char *)buffer maxLength:(NSUInteger)maxBufferCount encoding:(NSStringEncoding)encoding |
| To | - (BOOL)getCString:(char * _Nonnull)buffer maxLength:(NSUInteger)maxBufferCount encoding:(NSStringEncoding)encoding |
| Declaration | |
|---|---|
| From | - (void)getCString:(char *)bytes maxLength:(NSUInteger)maxLength range:(NSRange)aRange remainingRange:(NSRangePointer)leftoverRange |
| To | - (void)getCString:(char * _Nonnull)bytes maxLength:(NSUInteger)maxLength range:(NSRange)aRange remainingRange:(NSRangePointer _Nullable)leftoverRange |
| Declaration | |
|---|---|
| From | - (void)getLineStart:(NSUInteger *)startPtr end:(NSUInteger *)lineEndPtr contentsEnd:(NSUInteger *)contentsEndPtr forRange:(NSRange)range |
| To | - (void)getLineStart:(NSUInteger * _Nullable)startPtr end:(NSUInteger * _Nullable)lineEndPtr contentsEnd:(NSUInteger * _Nullable)contentsEndPtr forRange:(NSRange)range |
| Declaration | |
|---|---|
| From | - (void)getParagraphStart:(NSUInteger *)startPtr end:(NSUInteger *)parEndPtr contentsEnd:(NSUInteger *)contentsEndPtr forRange:(NSRange)range |
| To | - (void)getParagraphStart:(NSUInteger * _Nullable)startPtr end:(NSUInteger * _Nullable)parEndPtr contentsEnd:(NSUInteger * _Nullable)contentsEndPtr forRange:(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 |
Modified -[NSString init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding |
| To | - (instancetype _Nullable)initWithBytes:(const void * _Nonnull)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding |
| Declaration | |
|---|---|
| From | - (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding freeWhenDone:(BOOL)freeBuffer |
| To | - (instancetype _Nullable)initWithBytesNoCopy:(void * _Nonnull)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding freeWhenDone:(BOOL)freeBuffer |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCharacters:(const unichar *)characters length:(NSUInteger)length |
| To | - (instancetype _Nonnull)initWithCharacters:(const unichar * _Nonnull)characters length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCharactersNoCopy:(unichar *)characters length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer |
| To | - (instancetype _Nonnull)initWithCharactersNoCopy:(unichar * _Nonnull)characters length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer |
Modified -[NSString initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
Modified -[NSString initWithContentsOfFile:]
| Declaration | |
|---|---|
| From | - (id)initWithContentsOfFile:(NSString *)path |
| To | - (id _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)enc error:(NSError **)error |
| To | - (instancetype _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path encoding:(NSStringEncoding)enc error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfFile:(NSString *)path usedEncoding:(NSStringEncoding *)enc error:(NSError **)error |
| To | - (instancetype _Nullable)initWithContentsOfFile:(NSString * _Nonnull)path usedEncoding:(NSStringEncoding * _Nullable)enc error:(NSError * _Nullable * _Nullable)error |
Modified -[NSString initWithContentsOfURL:]
| Declaration | |
|---|---|
| From | - (id)initWithContentsOfURL:(NSURL *)url |
| To | - (id _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)enc error:(NSError **)error |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url encoding:(NSStringEncoding)enc error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url usedEncoding:(NSStringEncoding *)enc error:(NSError **)error |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url usedEncoding:(NSStringEncoding * _Nullable)enc error:(NSError * _Nullable * _Nullable)error |
Modified -[NSString initWithCString:]
| Declaration | |
|---|---|
| From | - (id)initWithCString:(const char *)bytes |
| To | - (id _Nullable)initWithCString:(const char * _Nonnull)bytes |
| Declaration | |
|---|---|
| From | - (instancetype)initWithCString:(const char *)nullTerminatedCString encoding:(NSStringEncoding)encoding |
| To | - (instancetype _Nullable)initWithCString:(const char * _Nonnull)nullTerminatedCString encoding:(NSStringEncoding)encoding |
Modified -[NSString initWithCString:length:]
| Declaration | |
|---|---|
| From | - (id)initWithCString:(const char *)bytes length:(NSUInteger)length |
| To | - (id _Nullable)initWithCString:(const char * _Nonnull)bytes length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | - (id)initWithCStringNoCopy:(char *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer |
| To | - (id _Nullable)initWithCStringNoCopy:(char * _Nonnull)bytes length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer |
Modified -[NSString initWithData:encoding:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data encoding:(NSStringEncoding)encoding |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data encoding:(NSStringEncoding)encoding |
Modified -[NSString initWithFormat:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFormat:(NSString *)format, ... |
| To | - (instancetype _Nonnull)initWithFormat:(NSString * _Nonnull)format, ... |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFormat:(NSString *)format arguments:(va_list)argList |
| To | - (instancetype _Nonnull)initWithFormat:(NSString * _Nonnull)format arguments:(va_list _Nonnull)argList |
Modified -[NSString initWithFormat:locale:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithFormat:(NSString *)format locale:(id)locale, ... |
| To | - (instancetype _Nonnull)initWithFormat:(NSString * _Nonnull)format locale:(id _Nullable)locale, ... |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFormat:(NSString *)format locale:(id)locale arguments:(va_list)argList |
| To | - (instancetype _Nonnull)initWithFormat:(NSString * _Nonnull)format locale:(id _Nullable)locale arguments:(va_list _Nonnull)argList |
Modified -[NSString initWithString:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)aString |
| To | - (instancetype _Nonnull)initWithString:(NSString * _Nonnull)aString |
Modified -[NSString initWithUTF8String:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithUTF8String:(const char *)nullTerminatedCString |
| To | - (instancetype _Nullable)initWithUTF8String:(const char * _Nonnull)nullTerminatedCString |
Modified -[NSString isEqualToString:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToString:(NSString *)aString |
| To | - (BOOL)isEqualToString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | - (NSComparisonResult)localizedCaseInsensitiveCompare:(NSString *)string |
| To | - (NSComparisonResult)localizedCaseInsensitiveCompare:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (BOOL)localizedCaseInsensitiveContainsString:(NSString *)aString |
| To | - (BOOL)localizedCaseInsensitiveContainsString:(NSString * _Nonnull)str |
Modified -[NSString localizedCompare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)localizedCompare:(NSString *)string |
| To | - (NSComparisonResult)localizedCompare:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | + (NSString *)localizedNameOfStringEncoding:(NSStringEncoding)encoding |
| To | + (NSString * _Nonnull)localizedNameOfStringEncoding:(NSStringEncoding)encoding |
| Declaration | |
|---|---|
| From | - (NSComparisonResult)localizedStandardCompare:(NSString *)string |
| To | - (NSComparisonResult)localizedStandardCompare:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | + (instancetype)localizedStringWithFormat:(NSString *)format, ... |
| To | + (instancetype _Nonnull)localizedStringWithFormat:(NSString * _Nonnull)format, ... |
Modified -[NSString lossyCString]
| Declaration | |
|---|---|
| From | - (const char *)lossyCString |
| To | - (const char * _Nullable)lossyCString |
Modified NSString.lowercaseString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *lowercaseString |
| To | @property(readonly, copy, nonnull) NSString *lowercaseString |
| Declaration | |
|---|---|
| From | - (NSString *)lowercaseStringWithLocale:(NSLocale *)locale |
| To | - (NSString * _Nonnull)lowercaseStringWithLocale:(NSLocale * _Nullable)locale |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *precomposedStringWithCanonicalMapping |
| To | @property(readonly, copy, nonnull) NSString *precomposedStringWithCanonicalMapping |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *precomposedStringWithCompatibilityMapping |
| To | @property(readonly, copy, nonnull) NSString *precomposedStringWithCompatibilityMapping |
Modified -[NSString propertyList]
| Declaration | |
|---|---|
| From | - (id)propertyList |
| To | - (id _Nonnull)propertyList |
| Declaration | |
|---|---|
| From | - (NSDictionary *)propertyListFromStringsFileFormat |
| To | - (NSDictionary * _Nullable)propertyListFromStringsFileFormat |
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 |
Modified +[NSString string]
| Declaration | |
|---|---|
| From | + (instancetype)string |
| To | + (instancetype _Nonnull)string |
Modified -[NSString stringByAppendingFormat:]
| Declaration | |
|---|---|
| From | - (NSString *)stringByAppendingFormat:(NSString *)format, ... |
| To | - (NSString * _Nonnull)stringByAppendingFormat:(NSString * _Nonnull)format, ... |
Modified -[NSString stringByAppendingString:]
| Declaration | |
|---|---|
| From | - (NSString *)stringByAppendingString:(NSString *)aString |
| To | - (NSString * _Nonnull)stringByAppendingString:(NSString * _Nonnull)aString |
| Declaration | |
|---|---|
| From | - (NSString *)stringByFoldingWithOptions:(NSStringCompareOptions)options locale:(NSLocale *)locale |
| To | - (NSString * _Nonnull)stringByFoldingWithOptions:(NSStringCompareOptions)options locale:(NSLocale * _Nullable)locale |
| Declaration | |
|---|---|
| From | - (NSString *)stringByPaddingToLength:(NSUInteger)newLength withString:(NSString *)padString startingAtIndex:(NSUInteger)padIndex |
| To | - (NSString * _Nonnull)stringByPaddingToLength:(NSUInteger)newLength withString:(NSString * _Nonnull)padString startingAtIndex:(NSUInteger)padIndex |
| Declaration | |
|---|---|
| From | - (NSString *)stringByReplacingCharactersInRange:(NSRange)range withString:(NSString *)replacement |
| To | - (NSString * _Nonnull)stringByReplacingCharactersInRange:(NSRange)range withString:(NSString * _Nonnull)replacement |
| Declaration | |
|---|---|
| From | - (NSString *)stringByReplacingOccurrencesOfString:(NSString *)target withString:(NSString *)replacement |
| To | - (NSString * _Nonnull)stringByReplacingOccurrencesOfString:(NSString * _Nonnull)target withString:(NSString * _Nonnull)replacement |
| Declaration | |
|---|---|
| From | - (NSString *)stringByReplacingOccurrencesOfString:(NSString *)target withString:(NSString *)replacement options:(NSStringCompareOptions)options range:(NSRange)searchRange |
| To | - (NSString * _Nonnull)stringByReplacingOccurrencesOfString:(NSString * _Nonnull)target withString:(NSString * _Nonnull)replacement options:(NSStringCompareOptions)options range:(NSRange)searchRange |
| Declaration | |
|---|---|
| From | - (NSString *)stringByTrimmingCharactersInSet:(NSCharacterSet *)set |
| To | - (NSString * _Nonnull)stringByTrimmingCharactersInSet:(NSCharacterSet * _Nonnull)set |
| 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 |
| Declaration | |
|---|---|
| From | + (instancetype)stringWithCharacters:(const unichar *)characters length:(NSUInteger)length |
| To | + (instancetype _Nonnull)stringWithCharacters:(const unichar * _Nonnull)characters length:(NSUInteger)length |
| Declaration | |
|---|---|
| From | + (id)stringWithContentsOfFile:(NSString *)path |
| To | + (id _Nullable)stringWithContentsOfFile:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | + (instancetype)stringWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)enc error:(NSError **)error |
| To | + (instancetype _Nullable)stringWithContentsOfFile:(NSString * _Nonnull)path encoding:(NSStringEncoding)enc error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (instancetype)stringWithContentsOfFile:(NSString *)path usedEncoding:(NSStringEncoding *)enc error:(NSError **)error |
| To | + (instancetype _Nullable)stringWithContentsOfFile:(NSString * _Nonnull)path usedEncoding:(NSStringEncoding * _Nullable)enc error:(NSError * _Nullable * _Nullable)error |
Modified +[NSString stringWithContentsOfURL:]
| Declaration | |
|---|---|
| From | + (id)stringWithContentsOfURL:(NSURL *)url |
| To | + (id _Nullable)stringWithContentsOfURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | + (instancetype)stringWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)enc error:(NSError **)error |
| To | + (instancetype _Nullable)stringWithContentsOfURL:(NSURL * _Nonnull)url encoding:(NSStringEncoding)enc error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (instancetype)stringWithContentsOfURL:(NSURL *)url usedEncoding:(NSStringEncoding *)enc error:(NSError **)error |
| To | + (instancetype _Nullable)stringWithContentsOfURL:(NSURL * _Nonnull)url usedEncoding:(NSStringEncoding * _Nullable)enc error:(NSError * _Nullable * _Nullable)error |
Modified +[NSString stringWithCString:]
| Declaration | |
|---|---|
| From | + (id)stringWithCString:(const char *)bytes |
| To | + (id _Nullable)stringWithCString:(const char * _Nonnull)bytes |
| Declaration | |
|---|---|
| From | + (instancetype)stringWithCString:(const char *)cString encoding:(NSStringEncoding)enc |
| To | + (instancetype _Nullable)stringWithCString:(const char * _Nonnull)cString encoding:(NSStringEncoding)enc |
| Declaration | |
|---|---|
| From | + (id)stringWithCString:(const char *)bytes length:(NSUInteger)length |
| To | + (id _Nullable)stringWithCString:(const char * _Nonnull)bytes length:(NSUInteger)length |
Modified +[NSString stringWithFormat:]
| Declaration | |
|---|---|
| From | + (instancetype)stringWithFormat:(NSString *)format, ... |
| To | + (instancetype _Nonnull)stringWithFormat:(NSString * _Nonnull)format, ... |
Modified +[NSString stringWithString:]
| Declaration | |
|---|---|
| From | + (instancetype)stringWithString:(NSString *)string |
| To | + (instancetype _Nonnull)stringWithString:(NSString * _Nonnull)string |
Modified +[NSString stringWithUTF8String:]
| Declaration | |
|---|---|
| From | + (instancetype)stringWithUTF8String:(const char *)nullTerminatedCString |
| To | + (instancetype _Nullable)stringWithUTF8String:(const char * _Nonnull)nullTerminatedCString |
Modified -[NSString substringFromIndex:]
| Declaration | |
|---|---|
| From | - (NSString *)substringFromIndex:(NSUInteger)from |
| To | - (NSString * _Nonnull)substringFromIndex:(NSUInteger)from |
Modified -[NSString substringToIndex:]
| Declaration | |
|---|---|
| From | - (NSString *)substringToIndex:(NSUInteger)to |
| To | - (NSString * _Nonnull)substringToIndex:(NSUInteger)to |
Modified -[NSString substringWithRange:]
| Declaration | |
|---|---|
| From | - (NSString *)substringWithRange:(NSRange)range |
| To | - (NSString * _Nonnull)substringWithRange:(NSRange)range |
Modified NSString.uppercaseString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *uppercaseString |
| To | @property(readonly, copy, nonnull) NSString *uppercaseString |
| Declaration | |
|---|---|
| From | - (NSString *)uppercaseStringWithLocale:(NSLocale *)locale |
| To | - (NSString * _Nonnull)uppercaseStringWithLocale:(NSLocale * _Nullable)locale |
Modified NSString.UTF8String
| Declaration | |
|---|---|
| From | @property(readonly) const char *UTF8String |
| To | @property(readonly, nullable) const char *UTF8String |
Modified -[NSString writeToFile:atomically:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)path atomically:(BOOL)useAuxiliaryFile |
| Declaration | |
|---|---|
| From | - (BOOL)writeToFile:(NSString *)path atomically:(BOOL)useAuxiliaryFile encoding:(NSStringEncoding)enc error:(NSError **)error |
| To | - (BOOL)writeToFile:(NSString * _Nonnull)path atomically:(BOOL)useAuxiliaryFile encoding:(NSStringEncoding)enc error:(NSError * _Nullable * _Nullable)error |
Modified -[NSString writeToURL:atomically:]
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)atomically |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url atomically:(BOOL)atomically |
| Declaration | |
|---|---|
| From | - (BOOL)writeToURL:(NSURL *)url atomically:(BOOL)useAuxiliaryFile encoding:(NSStringEncoding)enc error:(NSError **)error |
| To | - (BOOL)writeToURL:(NSURL * _Nonnull)url atomically:(BOOL)useAuxiliaryFile encoding:(NSStringEncoding)enc error:(NSError * _Nullable * _Nullable)error |
NSTask.h
Modified NSTask.arguments
| Declaration | |
|---|---|
| From | @property(copy) NSArray *arguments |
| To | @property(copy, nullable) NSArray<NSString *> *arguments |
Modified NSTask.currentDirectoryPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *currentDirectoryPath |
| To | @property(copy, nonnull) NSString *currentDirectoryPath |
Modified NSTask.environment
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *environment |
| To | @property(copy, nullable) NSDictionary<NSString *,NSString *> *environment |
Modified -[NSTask init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | + (NSTask *)launchedTaskWithLaunchPath:(NSString *)path arguments:(NSArray *)arguments |
| To | + (NSTask * _Nonnull)launchedTaskWithLaunchPath:(NSString * _Nonnull)path arguments:(NSArray<NSString *> * _Nonnull)arguments |
Modified NSTask.launchPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *launchPath |
| To | @property(copy, nullable) NSString *launchPath |
Modified NSTask.standardError
| Declaration | |
|---|---|
| From | @property(retain) id standardError |
| To | @property(retain, nullable) id standardError |
Modified NSTask.standardInput
| Declaration | |
|---|---|
| From | @property(retain) id standardInput |
| To | @property(retain, nullable) id standardInput |
Modified NSTask.standardOutput
| Declaration | |
|---|---|
| From | @property(retain) id standardOutput |
| To | @property(retain, nullable) id standardOutput |
Modified NSTask.terminationHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^terminationHandler)(NSTask *) |
| To | @property(copy, nullable) void (^terminationHandler)(NSTask * _Nonnull) |
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 |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)correctionCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacementString |
| To | + (NSTextCheckingResult * _Nonnull)correctionCheckingResultWithRange:(NSRange)range replacementString:(NSString * _Nonnull)replacementString |
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 *)dashCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacementString |
| To | + (NSTextCheckingResult * _Nonnull)dashCheckingResultWithRange:(NSRange)range replacementString:(NSString * _Nonnull)replacementString |
Modified NSTextCheckingResult.date
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *date |
| To | @property(readonly, copy, nullable) NSDate *date |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)dateCheckingResultWithRange:(NSRange)range date:(NSDate *)date |
| To | + (NSTextCheckingResult * _Nonnull)dateCheckingResultWithRange:(NSRange)range date:(NSDate * _Nonnull)date |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)dateCheckingResultWithRange:(NSRange)range date:(NSDate *)date timeZone:(NSTimeZone *)timeZone duration:(NSTimeInterval)duration |
| To | + (NSTextCheckingResult * _Nonnull)dateCheckingResultWithRange:(NSRange)range date:(NSDate * _Nonnull)date timeZone:(NSTimeZone * _Nonnull)timeZone duration:(NSTimeInterval)duration |
| 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 *)linkCheckingResultWithRange:(NSRange)range URL:(NSURL *)url |
| To | + (NSTextCheckingResult * _Nonnull)linkCheckingResultWithRange:(NSRange)range URL:(NSURL * _Nonnull)url |
Modified NSTextCheckingResult.orthography
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSOrthography *orthography |
| To | @property(readonly, copy, nullable) NSOrthography *orthography |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)orthographyCheckingResultWithRange:(NSRange)range orthography:(NSOrthography *)orthography |
| To | + (NSTextCheckingResult * _Nonnull)orthographyCheckingResultWithRange:(NSRange)range orthography:(NSOrthography * _Nonnull)orthography |
Modified NSTextCheckingResult.phoneNumber
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *phoneNumber |
| To | @property(readonly, copy, nullable) NSString *phoneNumber |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)phoneNumberCheckingResultWithRange:(NSRange)range phoneNumber:(NSString *)phoneNumber |
| To | + (NSTextCheckingResult * _Nonnull)phoneNumberCheckingResultWithRange:(NSRange)range phoneNumber:(NSString * _Nonnull)phoneNumber |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)quoteCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacementString |
| To | + (NSTextCheckingResult * _Nonnull)quoteCheckingResultWithRange:(NSRange)range replacementString:(NSString * _Nonnull)replacementString |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSRegularExpression *regularExpression |
| To | @property(readonly, copy, nullable) NSRegularExpression *regularExpression |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)regularExpressionCheckingResultWithRanges:(NSRangePointer)ranges count:(NSUInteger)count regularExpression:(NSRegularExpression *)regularExpression |
| To | + (NSTextCheckingResult * _Nonnull)regularExpressionCheckingResultWithRanges:(NSRangePointer _Nonnull)ranges count:(NSUInteger)count regularExpression:(NSRegularExpression * _Nonnull)regularExpression |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)replacementCheckingResultWithRange:(NSRange)range replacementString:(NSString *)replacementString |
| To | + (NSTextCheckingResult * _Nonnull)replacementCheckingResultWithRange:(NSRange)range replacementString:(NSString * _Nonnull)replacementString |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *replacementString |
| To | @property(readonly, copy, nullable) NSString *replacementString |
| Declaration | |
|---|---|
| From | - (NSTextCheckingResult *)resultByAdjustingRangesWithOffset:(NSInteger)offset |
| To | - (NSTextCheckingResult * _Nonnull)resultByAdjustingRangesWithOffset:(NSInteger)offset |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)spellCheckingResultWithRange:(NSRange)range |
| To | + (NSTextCheckingResult * _Nonnull)spellCheckingResultWithRange:(NSRange)range |
Modified NSTextCheckingResult.timeZone
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSTimeZone *timeZone |
| To | @property(readonly, copy, nullable) NSTimeZone *timeZone |
| Declaration | |
|---|---|
| From | + (NSTextCheckingResult *)transitInformationCheckingResultWithRange:(NSRange)range components:(NSDictionary *)components |
| To | + (NSTextCheckingResult * _Nonnull)transitInformationCheckingResultWithRange:(NSRange)range components:(NSDictionary<NSString *,NSString *> * _Nonnull)components |
Modified NSTextCheckingResult.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nullable) NSURL *URL |
NSThread.h
| Declaration | |
|---|---|
| From | - (void)performSelector:(SEL)aSelector onThread:(NSThread *)thr withObject:(id)arg waitUntilDone:(BOOL)wait |
| To | - (void)performSelector:(SEL _Nonnull)aSelector onThread:(NSThread * _Nonnull)thr withObject:(id _Nullable)arg waitUntilDone:(BOOL)wait |
| 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)performSelectorInBackground:(SEL)aSelector withObject:(id)arg |
| To | - (void)performSelectorInBackground:(SEL _Nonnull)aSelector withObject:(id _Nullable)arg |
| Declaration | |
|---|---|
| From | - (void)performSelectorOnMainThread:(SEL)aSelector withObject:(id)arg waitUntilDone:(BOOL)wait |
| To | - (void)performSelectorOnMainThread:(SEL _Nonnull)aSelector withObject:(id _Nullable)arg waitUntilDone:(BOOL)wait |
| 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 |
Modified +[NSThread currentThread]
| Declaration | |
|---|---|
| From | + (NSThread *)currentThread |
| To | + (NSThread * _Nonnull)currentThread |
| Declaration | |
|---|---|
| From | + (void)detachNewThreadSelector:(SEL)selector toTarget:(id)target withObject:(id)argument |
| To | + (void)detachNewThreadSelector:(SEL _Nonnull)selector toTarget:(id _Nonnull)target withObject:(id _Nullable)argument |
Modified -[NSThread init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTarget:(id)target selector:(SEL)selector object:(id)argument |
| To | - (instancetype _Nonnull)initWithTarget:(id _Nonnull)target selector:(SEL _Nonnull)selector object:(id _Nullable)argument |
Modified +[NSThread mainThread]
| Declaration | |
|---|---|
| From | + (NSThread *)mainThread |
| To | + (NSThread * _Nonnull)mainThread |
Modified NSThread.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
Modified +[NSThread sleepUntilDate:]
| Declaration | |
|---|---|
| From | + (void)sleepUntilDate:(NSDate *)date |
| To | + (void)sleepUntilDate:(NSDate * _Nonnull)date |
Modified NSThread.threadDictionary
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSMutableDictionary *threadDictionary |
| To | @property(readonly, retain, nonnull) NSMutableDictionary *threadDictionary |
NSTimer.h
Modified NSTimer.fireDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *fireDate |
| To | @property(copy, nonnull) NSDate *fireDate |
| Declaration | |
|---|---|
| From | - (instancetype)initWithFireDate:(NSDate *)date interval:(NSTimeInterval)ti target:(id)t selector:(SEL)s userInfo:(id)ui repeats:(BOOL)rep |
| To | - (instancetype _Nonnull)initWithFireDate:(NSDate * _Nonnull)date interval:(NSTimeInterval)ti target:(id _Nonnull)t selector:(SEL _Nonnull)s userInfo:(id _Nullable)ui repeats:(BOOL)rep |
| Declaration | |
|---|---|
| From | + (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti invocation:(NSInvocation *)invocation repeats:(BOOL)yesOrNo |
| To | + (NSTimer * _Nonnull)scheduledTimerWithTimeInterval:(NSTimeInterval)ti invocation:(NSInvocation * _Nonnull)invocation repeats:(BOOL)yesOrNo |
| Declaration | |
|---|---|
| From | + (NSTimer *)scheduledTimerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo |
| To | + (NSTimer * _Nonnull)scheduledTimerWithTimeInterval:(NSTimeInterval)ti target:(id _Nonnull)aTarget selector:(SEL _Nonnull)aSelector userInfo:(id _Nullable)userInfo repeats:(BOOL)yesOrNo |
| Declaration | |
|---|---|
| From | + (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti invocation:(NSInvocation *)invocation repeats:(BOOL)yesOrNo |
| To | + (NSTimer * _Nonnull)timerWithTimeInterval:(NSTimeInterval)ti invocation:(NSInvocation * _Nonnull)invocation repeats:(BOOL)yesOrNo |
| Declaration | |
|---|---|
| From | + (NSTimer *)timerWithTimeInterval:(NSTimeInterval)ti target:(id)aTarget selector:(SEL)aSelector userInfo:(id)userInfo repeats:(BOOL)yesOrNo |
| To | + (NSTimer * _Nonnull)timerWithTimeInterval:(NSTimeInterval)ti target:(id _Nonnull)aTarget selector:(SEL _Nonnull)aSelector userInfo:(id _Nullable)userInfo repeats:(BOOL)yesOrNo |
Modified NSTimer.userInfo
| Declaration | |
|---|---|
| From | @property(readonly, retain) id userInfo |
| To | @property(readonly, retain, nullable) id userInfo |
NSTimeZone.h
Modified NSTimeZone.abbreviation
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *abbreviation |
| To | @property(readonly, copy, nullable) NSString *abbreviation |
Modified +[NSTimeZone abbreviationDictionary]
| Declaration | |
|---|---|
| From | + (NSDictionary *)abbreviationDictionary |
| To | + (NSDictionary<NSString *,NSString *> * _Nonnull)abbreviationDictionary |
Modified -[NSTimeZone abbreviationForDate:]
| Declaration | |
|---|---|
| From | - (NSString *)abbreviationForDate:(NSDate *)aDate |
| To | - (NSString * _Nullable)abbreviationForDate:(NSDate * _Nonnull)aDate |
Modified NSTimeZone.data
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *data |
| To | @property(readonly, copy, nonnull) NSData *data |
| Declaration | |
|---|---|
| From | - (NSTimeInterval)daylightSavingTimeOffsetForDate:(NSDate *)aDate |
| To | - (NSTimeInterval)daylightSavingTimeOffsetForDate:(NSDate * _Nonnull)aDate |
Modified +[NSTimeZone defaultTimeZone]
| Declaration | |
|---|---|
| From | + (NSTimeZone *)defaultTimeZone |
| To | + (NSTimeZone * _Nonnull)defaultTimeZone |
Modified NSTimeZone.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
Modified -[NSTimeZone initWithName:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)tzName |
| To | - (instancetype _Nullable)initWithName:(NSString * _Nonnull)tzName |
Modified -[NSTimeZone initWithName:data:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)tzName data:(NSData *)aData |
| To | - (instancetype _Nullable)initWithName:(NSString * _Nonnull)tzName data:(NSData * _Nullable)aData |
| Declaration | |
|---|---|
| From | - (BOOL)isDaylightSavingTimeForDate:(NSDate *)aDate |
| To | - (BOOL)isDaylightSavingTimeForDate:(NSDate * _Nonnull)aDate |
Modified -[NSTimeZone isEqualToTimeZone:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToTimeZone:(NSTimeZone *)aTimeZone |
| To | - (BOOL)isEqualToTimeZone:(NSTimeZone * _Nonnull)aTimeZone |
Modified +[NSTimeZone knownTimeZoneNames]
| Declaration | |
|---|---|
| From | + (NSArray *)knownTimeZoneNames |
| To | + (NSArray<NSString *> * _Nonnull)knownTimeZoneNames |
Modified -[NSTimeZone localizedName:locale:]
| Declaration | |
|---|---|
| From | - (NSString *)localizedName:(NSTimeZoneNameStyle)style locale:(NSLocale *)locale |
| To | - (NSString * _Nullable)localizedName:(NSTimeZoneNameStyle)style locale:(NSLocale * _Nullable)locale |
Modified +[NSTimeZone localTimeZone]
| Declaration | |
|---|---|
| From | + (NSTimeZone *)localTimeZone |
| To | + (NSTimeZone * _Nonnull)localTimeZone |
Modified NSTimeZone.name
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *name |
| To | @property(readonly, copy, nonnull) NSString *name |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *nextDaylightSavingTimeTransition |
| To | @property(readonly, copy, nullable) NSDate *nextDaylightSavingTimeTransition |
| Declaration | |
|---|---|
| From | - (NSDate *)nextDaylightSavingTimeTransitionAfterDate:(NSDate *)aDate |
| To | - (NSDate * _Nullable)nextDaylightSavingTimeTransitionAfterDate:(NSDate * _Nonnull)aDate |
Modified -[NSTimeZone secondsFromGMTForDate:]
| Declaration | |
|---|---|
| From | - (NSInteger)secondsFromGMTForDate:(NSDate *)aDate |
| To | - (NSInteger)secondsFromGMTForDate:(NSDate * _Nonnull)aDate |
Modified +[NSTimeZone setAbbreviationDictionary:]
| Declaration | |
|---|---|
| From | + (void)setAbbreviationDictionary:(NSDictionary *)dict |
| To | + (void)setAbbreviationDictionary:(NSDictionary<NSString *,NSString *> * _Nonnull)dict |
Modified +[NSTimeZone setDefaultTimeZone:]
| Declaration | |
|---|---|
| From | + (void)setDefaultTimeZone:(NSTimeZone *)aTimeZone |
| To | + (void)setDefaultTimeZone:(NSTimeZone * _Nonnull)aTimeZone |
Modified +[NSTimeZone systemTimeZone]
| Declaration | |
|---|---|
| From | + (NSTimeZone *)systemTimeZone |
| To | + (NSTimeZone * _Nonnull)systemTimeZone |
Modified +[NSTimeZone timeZoneDataVersion]
| Declaration | |
|---|---|
| From | + (NSString *)timeZoneDataVersion |
| To | + (NSString * _Nonnull)timeZoneDataVersion |
| Declaration | |
|---|---|
| From | + (instancetype)timeZoneForSecondsFromGMT:(NSInteger)seconds |
| To | + (instancetype _Nonnull)timeZoneForSecondsFromGMT:(NSInteger)seconds |
| Declaration | |
|---|---|
| From | + (instancetype)timeZoneWithAbbreviation:(NSString *)abbreviation |
| To | + (instancetype _Nullable)timeZoneWithAbbreviation:(NSString * _Nonnull)abbreviation |
Modified +[NSTimeZone timeZoneWithName:]
| Declaration | |
|---|---|
| From | + (instancetype)timeZoneWithName:(NSString *)tzName |
| To | + (instancetype _Nullable)timeZoneWithName:(NSString * _Nonnull)tzName |
Modified +[NSTimeZone timeZoneWithName:data:]
| Declaration | |
|---|---|
| From | + (instancetype)timeZoneWithName:(NSString *)tzName data:(NSData *)aData |
| To | + (instancetype _Nullable)timeZoneWithName:(NSString * _Nonnull)tzName data:(NSData * _Nullable)aData |
NSUbiquitousKeyValueStore.h
| Declaration | |
|---|---|
| From | - (NSArray *)arrayForKey:(NSString *)aKey |
| To | - (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (BOOL)boolForKey:(NSString *)aKey |
| To | - (BOOL)boolForKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (NSData *)dataForKey:(NSString *)aKey |
| To | - (NSData * _Nullable)dataForKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | + (NSUbiquitousKeyValueStore *)defaultStore |
| To | + (NSUbiquitousKeyValueStore * _Nonnull)defaultStore |
| 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 | - (double)doubleForKey:(NSString *)aKey |
| To | - (double)doubleForKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (long long)longLongForKey:(NSString *)aKey |
| To | - (long long)longLongForKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (id)objectForKey:(NSString *)aKey |
| To | - (id _Nullable)objectForKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)removeObjectForKey:(NSString *)aKey |
| To | - (void)removeObjectForKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setArray:(NSArray *)anArray forKey:(NSString *)aKey |
| To | - (void)setArray:(NSArray * _Nullable)anArray forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setBool:(BOOL)value forKey:(NSString *)aKey |
| To | - (void)setBool:(BOOL)value forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setData:(NSData *)aData forKey:(NSString *)aKey |
| To | - (void)setData:(NSData * _Nullable)aData forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setDictionary:(NSDictionary *)aDictionary forKey:(NSString *)aKey |
| To | - (void)setDictionary:(NSDictionary<NSString *,id> * _Nullable)aDictionary forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setDouble:(double)value forKey:(NSString *)aKey |
| To | - (void)setDouble:(double)value forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setLongLong:(long long)value forKey:(NSString *)aKey |
| To | - (void)setLongLong:(long long)value forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setObject:(id)anObject forKey:(NSString *)aKey |
| To | - (void)setObject:(id _Nullable)anObject forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (void)setString:(NSString *)aString forKey:(NSString *)aKey |
| To | - (void)setString:(NSString * _Nullable)aString forKey:(NSString * _Nonnull)aKey |
| Declaration | |
|---|---|
| From | - (NSString *)stringForKey:(NSString *)aKey |
| To | - (NSString * _Nullable)stringForKey:(NSString * _Nonnull)aKey |
NSUndoManager.h
Removed NSUndoCloseGroupingRunLoopOrdering
| Declaration | |
|---|---|
| From | - (id)prepareWithInvocationTarget:(id)target |
| To | - (id _Nonnull)prepareWithInvocationTarget:(id _Nonnull)target |
Modified NSUndoManager.redoActionName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *redoActionName |
| To | @property(readonly, copy, nonnull) NSString *redoActionName |
Modified NSUndoManager.redoMenuItemTitle
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *redoMenuItemTitle |
| To | @property(readonly, copy, nonnull) NSString *redoMenuItemTitle |
| Declaration | |
|---|---|
| From | - (NSString *)redoMenuTitleForUndoActionName:(NSString *)actionName |
| To | - (NSString * _Nonnull)redoMenuTitleForUndoActionName:(NSString * _Nonnull)actionName |
| Declaration | |
|---|---|
| From | - (void)registerUndoWithTarget:(id)target selector:(SEL)selector object:(id)anObject |
| To | - (void)registerUndoWithTarget:(id _Nonnull)target selector:(SEL _Nonnull)selector object:(id _Nullable)anObject |
| Declaration | |
|---|---|
| From | - (void)removeAllActionsWithTarget:(id)target |
| To | - (void)removeAllActionsWithTarget:(id _Nonnull)target |
Modified NSUndoManager.runLoopModes
| Declaration | |
|---|---|
| From | @property(copy) NSArray *runLoopModes |
| To | @property(copy, nonnull) NSArray<NSString *> *runLoopModes |
Modified -[NSUndoManager setActionName:]
| Declaration | |
|---|---|
| From | - (void)setActionName:(NSString *)actionName |
| To | - (void)setActionName:(NSString * _Nonnull)actionName |
Modified NSUndoManager.undoActionName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *undoActionName |
| To | @property(readonly, copy, nonnull) NSString *undoActionName |
Modified NSUndoManager.undoMenuItemTitle
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *undoMenuItemTitle |
| To | @property(readonly, copy, nonnull) NSString *undoMenuItemTitle |
| Declaration | |
|---|---|
| From | - (NSString *)undoMenuTitleForUndoActionName:(NSString *)actionName |
| To | - (NSString * _Nonnull)undoMenuTitleForUndoActionName:(NSString * _Nonnull)actionName |
NSURL.h
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)URLFragmentAllowedCharacterSet |
| To | + (NSCharacterSet * _Nonnull)URLFragmentAllowedCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)URLHostAllowedCharacterSet |
| To | + (NSCharacterSet * _Nonnull)URLHostAllowedCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)URLPasswordAllowedCharacterSet |
| To | + (NSCharacterSet * _Nonnull)URLPasswordAllowedCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)URLPathAllowedCharacterSet |
| To | + (NSCharacterSet * _Nonnull)URLPathAllowedCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)URLQueryAllowedCharacterSet |
| To | + (NSCharacterSet * _Nonnull)URLQueryAllowedCharacterSet |
| Declaration | |
|---|---|
| From | + (NSCharacterSet *)URLUserAllowedCharacterSet |
| To | + (NSCharacterSet * _Nonnull)URLUserAllowedCharacterSet |
Modified -[NSFileSecurity initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
| Declaration | |
|---|---|
| From | - (void)URL:(NSURL *)sender resourceDataDidBecomeAvailable:(NSData *)newBytes |
| To | - (void)URL:(NSURL * _Nonnull)sender resourceDataDidBecomeAvailable:(NSData * _Nonnull)newBytes |
| Declaration | |
|---|---|
| From | - (void)URL:(NSURL *)sender resourceDidFailLoadingWithReason:(NSString *)reason |
| To | - (void)URL:(NSURL * _Nonnull)sender resourceDidFailLoadingWithReason:(NSString * _Nonnull)reason |
| Declaration | |
|---|---|
| From | - (void)URLResourceDidCancelLoading:(NSURL *)sender |
| To | - (void)URLResourceDidCancelLoading:(NSURL * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (void)URLResourceDidFinishLoading:(NSURL *)sender |
| To | - (void)URLResourceDidFinishLoading:(NSURL * _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (NSString *)stringByAddingPercentEncodingWithAllowedCharacters:(NSCharacterSet *)allowedCharacters |
| To | - (NSString * _Nullable)stringByAddingPercentEncodingWithAllowedCharacters:(NSCharacterSet * _Nonnull)allowedCharacters |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (NSString *)stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding)enc | OS X 10.3 | -- |
| To | - (NSString * _Nullable)stringByAddingPercentEscapesUsingEncoding:(NSStringEncoding)enc | OS X 10.0 | OS X 10.11 |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringByRemovingPercentEncoding |
| To | @property(readonly, copy, nullable) NSString *stringByRemovingPercentEncoding |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (NSString *)stringByReplacingPercentEscapesUsingEncoding:(NSStringEncoding)enc | OS X 10.3 | -- |
| To | - (NSString * _Nullable)stringByReplacingPercentEscapesUsingEncoding:(NSStringEncoding)enc | OS X 10.0 | OS X 10.11 |
Modified NSURL.absoluteString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *absoluteString |
| To | @property(readonly, copy, nonnull) NSString *absoluteString |
Modified NSURL.absoluteURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *absoluteURL |
| To | @property(readonly, copy, nonnull) NSURL *absoluteURL |
Modified NSURL.baseURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *baseURL |
| To | @property(readonly, copy, nullable) NSURL *baseURL |
| Declaration | |
|---|---|
| From | + (NSData *)bookmarkDataWithContentsOfURL:(NSURL *)bookmarkFileURL error:(NSError **)error |
| To | + (NSData * _Nullable)bookmarkDataWithContentsOfURL:(NSURL * _Nonnull)bookmarkFileURL error:(NSError * _Nullable * _Nullable)error |
| 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 |
| Declaration | |
|---|---|
| From | - (BOOL)checkPromisedItemIsReachableAndReturnError:(NSError **)error |
| To | - (BOOL)checkPromisedItemIsReachableAndReturnError:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)checkResourceIsReachableAndReturnError:(NSError **)error |
| To | - (BOOL)checkResourceIsReachableAndReturnError:(NSError * _Nullable * _Nullable)error |
Modified NSURL.filePathURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *filePathURL |
| To | @property(readonly, copy, nullable) NSURL *filePathURL |
Modified -[NSURL fileReferenceURL]
| Declaration | |
|---|---|
| From | - (NSURL *)fileReferenceURL |
| To | - (NSURL * _Nullable)fileReferenceURL |
Modified NSURL.fileSystemRepresentation
| Declaration | |
|---|---|
| From | @property(readonly) const char *fileSystemRepresentation |
| To | @property(readonly, nonnull) const char *fileSystemRepresentation |
| Declaration | |
|---|---|
| From | + (NSURL *)fileURLWithFileSystemRepresentation:(const char *)path isDirectory:(BOOL)isDir relativeToURL:(NSURL *)baseURL |
| To | + (NSURL * _Nonnull)fileURLWithFileSystemRepresentation:(const char * _Nonnull)path isDirectory:(BOOL)isDir relativeToURL:(NSURL * _Nullable)baseURL |
Modified +[NSURL fileURLWithPath:]
| Declaration | |
|---|---|
| From | + (NSURL *)fileURLWithPath:(NSString *)path |
| To | + (NSURL * _Nonnull)fileURLWithPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | + (NSURL *)fileURLWithPath:(NSString *)path isDirectory:(BOOL)isDir |
| To | + (NSURL * _Nonnull)fileURLWithPath:(NSString * _Nonnull)path isDirectory:(BOOL)isDir |
Modified +[NSURL fileURLWithPathComponents:]
| Declaration | |
|---|---|
| From | + (NSURL *)fileURLWithPathComponents:(NSArray *)components |
| To | + (NSURL * _Nullable)fileURLWithPathComponents:(NSArray<NSString *> * _Nonnull)components |
Modified NSURL.fragment
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *fragment |
| To | @property(readonly, copy, nullable) NSString *fragment |
| Declaration | |
|---|---|
| From | - (BOOL)getFileSystemRepresentation:(char *)buffer maxLength:(NSUInteger)maxBufferLength |
| To | - (BOOL)getFileSystemRepresentation:(char * _Nonnull)buffer maxLength:(NSUInteger)maxBufferLength |
| Declaration | |
|---|---|
| From | - (BOOL)getPromisedItemResourceValue:(id *)value forKey:(NSString *)key error:(NSError **)error |
| To | - (BOOL)getPromisedItemResourceValue:(id _Nullable * _Nonnull)value forKey:(NSString * _Nonnull)key error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (BOOL)getResourceValue:(out id *)value forKey:(NSString *)key error:(out NSError **)error |
| To | - (BOOL)getResourceValue:(out id _Nullable * _Nonnull)value forKey:(NSString * _Nonnull)key error:(out NSError * _Nullable * _Nullable)error |
Modified NSURL.host
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *host |
| To | @property(readonly, copy, nullable) NSString *host |
| Declaration | |
|---|---|
| From | - (instancetype)initByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL *)relativeURL bookmarkDataIsStale:(BOOL *)isStale error:(NSError **)error |
| To | - (instancetype _Nullable)initByResolvingBookmarkData:(NSData * _Nonnull)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL * _Nullable)relativeURL bookmarkDataIsStale:(BOOL * _Nullable)isStale error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initFileURLWithFileSystemRepresentation:(const char *)path isDirectory:(BOOL)isDir relativeToURL:(NSURL *)baseURL |
| To | - (instancetype _Nonnull)initFileURLWithFileSystemRepresentation:(const char * _Nonnull)path isDirectory:(BOOL)isDir relativeToURL:(NSURL * _Nullable)baseURL |
Modified -[NSURL initFileURLWithPath:]
| Declaration | |
|---|---|
| From | - (instancetype)initFileURLWithPath:(NSString *)path |
| To | - (instancetype _Nonnull)initFileURLWithPath:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (instancetype)initFileURLWithPath:(NSString *)path isDirectory:(BOOL)isDir |
| To | - (instancetype _Nonnull)initFileURLWithPath:(NSString * _Nonnull)path isDirectory:(BOOL)isDir |
Modified -[NSURL initWithScheme:host:path:]
| Declaration | Deprecation | |
|---|---|---|
| From | - (instancetype)initWithScheme:(NSString *)scheme host:(NSString *)host path:(NSString *)path | -- |
| To | - (instancetype _Nullable)initWithScheme:(NSString * _Nonnull)scheme host:(NSString * _Nullable)host path:(NSString * _Nonnull)path | OS X 10.11 |
Modified -[NSURL initWithString:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)URLString |
| To | - (instancetype _Nullable)initWithString:(NSString * _Nonnull)URLString |
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL |
| To | - (instancetype _Nullable)initWithString:(NSString * _Nonnull)URLString relativeToURL:(NSURL * _Nullable)baseURL |
Modified NSURL.lastPathComponent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *lastPathComponent |
| To | @property(readonly, copy, nullable) NSString *lastPathComponent |
| Declaration | |
|---|---|
| From | - (void)loadResourceDataNotifyingClient:(id)client usingCache:(BOOL)shouldUseCache |
| To | - (void)loadResourceDataNotifyingClient:(id _Nonnull)client usingCache:(BOOL)shouldUseCache |
Modified NSURL.parameterString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *parameterString |
| To | @property(readonly, copy, nullable) NSString *parameterString |
Modified NSURL.password
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *password |
| To | @property(readonly, copy, nullable) NSString *password |
Modified NSURL.path
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *path |
| To | @property(readonly, copy, nullable) NSString *path |
Modified NSURL.pathComponents
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *pathComponents |
| To | @property(readonly, copy, nullable) NSArray<NSString *> *pathComponents |
Modified NSURL.pathExtension
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *pathExtension |
| To | @property(readonly, copy, nullable) NSString *pathExtension |
Modified NSURL.port
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSNumber *port |
| To | @property(readonly, copy, nullable) NSNumber *port |
| Declaration | |
|---|---|
| From | - (NSDictionary *)promisedItemResourceValuesForKeys:(NSArray *)keys error:(NSError **)error |
| To | - (NSDictionary<NSString *,id> * _Nullable)promisedItemResourceValuesForKeys:(NSArray<NSString *> * _Nonnull)keys error:(NSError * _Nullable * _Nullable)error |
Modified -[NSURL propertyForKey:]
| Declaration | |
|---|---|
| From | - (id)propertyForKey:(NSString *)propertyKey |
| To | - (id _Nullable)propertyForKey:(NSString * _Nonnull)propertyKey |
Modified NSURL.query
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *query |
| To | @property(readonly, copy, nullable) NSString *query |
Modified NSURL.relativePath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *relativePath |
| To | @property(readonly, copy, nullable) NSString *relativePath |
Modified NSURL.relativeString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *relativeString |
| To | @property(readonly, copy, nullable) NSString *relativeString |
| Declaration | |
|---|---|
| From | - (void)removeCachedResourceValueForKey:(NSString *)key |
| To | - (void)removeCachedResourceValueForKey:(NSString * _Nonnull)key |
Modified -[NSURL resourceDataUsingCache:]
| Declaration | |
|---|---|
| From | - (NSData *)resourceDataUsingCache:(BOOL)shouldUseCache |
| To | - (NSData * _Nullable)resourceDataUsingCache:(BOOL)shouldUseCache |
Modified NSURL.resourceSpecifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *resourceSpecifier |
| To | @property(readonly, copy, nonnull) NSString *resourceSpecifier |
| 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.scheme
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *scheme |
| To | @property(readonly, copy, nonnull) NSString *scheme |
Modified -[NSURL setProperty:forKey:]
| Declaration | |
|---|---|
| From | - (BOOL)setProperty:(id)property forKey:(NSString *)propertyKey |
| To | - (BOOL)setProperty:(id _Nonnull)property forKey:(NSString * _Nonnull)propertyKey |
Modified -[NSURL setResourceData:]
| Declaration | |
|---|---|
| From | - (BOOL)setResourceData:(NSData *)data |
| To | - (BOOL)setResourceData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (BOOL)setResourceValue:(id)value forKey:(NSString *)key error:(NSError **)error |
| To | - (BOOL)setResourceValue:(id _Nullable)value forKey:(NSString * _Nonnull)key error:(NSError * _Nullable * _Nullable)error |
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 |
| Declaration | |
|---|---|
| From | - (void)setTemporaryResourceValue:(id)value forKey:(NSString *)key |
| To | - (void)setTemporaryResourceValue:(id _Nullable)value forKey:(NSString * _Nonnull)key |
Modified NSURL.standardizedURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *standardizedURL |
| To | @property(readonly, copy, nullable) NSURL *standardizedURL |
| Declaration | |
|---|---|
| From | - (NSURL *)URLByAppendingPathComponent:(NSString *)pathComponent |
| To | - (NSURL * _Nonnull)URLByAppendingPathComponent:(NSString * _Nonnull)pathComponent |
| Declaration | |
|---|---|
| From | - (NSURL *)URLByAppendingPathComponent:(NSString *)pathComponent isDirectory:(BOOL)isDirectory |
| To | - (NSURL * _Nonnull)URLByAppendingPathComponent:(NSString * _Nonnull)pathComponent isDirectory:(BOOL)isDirectory |
| Declaration | |
|---|---|
| From | - (NSURL *)URLByAppendingPathExtension:(NSString *)pathExtension |
| To | - (NSURL * _Nonnull)URLByAppendingPathExtension:(NSString * _Nonnull)pathExtension |
Modified NSURL.URLByDeletingLastPathComponent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URLByDeletingLastPathComponent |
| To | @property(readonly, copy, nullable) NSURL *URLByDeletingLastPathComponent |
Modified NSURL.URLByDeletingPathExtension
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URLByDeletingPathExtension |
| To | @property(readonly, copy, nullable) NSURL *URLByDeletingPathExtension |
| Declaration | |
|---|---|
| From | + (instancetype)URLByResolvingAliasFileAtURL:(NSURL *)url options:(NSURLBookmarkResolutionOptions)options error:(NSError **)error |
| To | + (instancetype _Nullable)URLByResolvingAliasFileAtURL:(NSURL * _Nonnull)url options:(NSURLBookmarkResolutionOptions)options error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (instancetype)URLByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL *)relativeURL bookmarkDataIsStale:(BOOL *)isStale error:(NSError **)error |
| To | + (instancetype _Nullable)URLByResolvingBookmarkData:(NSData * _Nonnull)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL * _Nullable)relativeURL bookmarkDataIsStale:(BOOL * _Nullable)isStale error:(NSError * _Nullable * _Nullable)error |
Modified NSURL.URLByResolvingSymlinksInPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URLByResolvingSymlinksInPath |
| To | @property(readonly, copy, nullable) NSURL *URLByResolvingSymlinksInPath |
Modified NSURL.URLByStandardizingPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URLByStandardizingPath |
| To | @property(readonly, copy, nullable) NSURL *URLByStandardizingPath |
Modified -[NSURL URLHandleUsingCache:]
| Declaration | |
|---|---|
| From | - (NSURLHandle *)URLHandleUsingCache:(BOOL)shouldUseCache |
| To | - (NSURLHandle * _Nullable)URLHandleUsingCache:(BOOL)shouldUseCache |
Modified +[NSURL URLWithString:]
| Declaration | |
|---|---|
| From | + (instancetype)URLWithString:(NSString *)URLString |
| To | + (instancetype _Nullable)URLWithString:(NSString * _Nonnull)URLString |
| Declaration | |
|---|---|
| From | + (instancetype)URLWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL |
| To | + (instancetype _Nullable)URLWithString:(NSString * _Nonnull)URLString relativeToURL:(NSURL * _Nullable)baseURL |
Modified NSURL.user
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *user |
| To | @property(readonly, copy, nullable) NSString *user |
| Declaration | |
|---|---|
| From | + (BOOL)writeBookmarkData:(NSData *)bookmarkData toURL:(NSURL *)bookmarkFileURL options:(NSURLBookmarkFileCreationOptions)options error:(NSError **)error |
| To | + (BOOL)writeBookmarkData:(NSData * _Nonnull)bookmarkData toURL:(NSURL * _Nonnull)bookmarkFileURL options:(NSURLBookmarkFileCreationOptions)options error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | + (instancetype)componentsWithString:(NSString *)URLString |
| To | + (instancetype _Nullable)componentsWithString:(NSString * _Nonnull)URLString |
| Declaration | |
|---|---|
| From | + (instancetype)componentsWithURL:(NSURL *)url resolvingAgainstBaseURL:(BOOL)resolve |
| To | + (instancetype _Nullable)componentsWithURL:(NSURL * _Nonnull)url resolvingAgainstBaseURL:(BOOL)resolve |
Modified NSURLComponents.fragment
| Declaration | |
|---|---|
| From | @property(copy) NSString *fragment |
| To | @property(copy, nullable) NSString *fragment |
Modified NSURLComponents.host
| Declaration | |
|---|---|
| From | @property(copy) NSString *host |
| To | @property(copy, nullable) NSString *host |
Modified -[NSURLComponents init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSURLComponents initWithString:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithString:(NSString *)URLString |
| To | - (instancetype _Nullable)initWithString:(NSString * _Nonnull)URLString |
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url resolvingAgainstBaseURL:(BOOL)resolve |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url resolvingAgainstBaseURL:(BOOL)resolve |
Modified NSURLComponents.password
| Declaration | |
|---|---|
| From | @property(copy) NSString *password |
| To | @property(copy, nullable) NSString *password |
Modified NSURLComponents.path
| Declaration | |
|---|---|
| From | @property(copy) NSString *path |
| To | @property(copy, nullable) NSString *path |
| Declaration | |
|---|---|
| From | @property(copy) NSString *percentEncodedFragment |
| To | @property(copy, nullable) NSString *percentEncodedFragment |
Modified NSURLComponents.percentEncodedHost
| Declaration | |
|---|---|
| From | @property(copy) NSString *percentEncodedHost |
| To | @property(copy, nullable) NSString *percentEncodedHost |
| Declaration | |
|---|---|
| From | @property(copy) NSString *percentEncodedPassword |
| To | @property(copy, nullable) NSString *percentEncodedPassword |
Modified NSURLComponents.percentEncodedPath
| Declaration | |
|---|---|
| From | @property(copy) NSString *percentEncodedPath |
| To | @property(copy, nullable) NSString *percentEncodedPath |
Modified NSURLComponents.percentEncodedQuery
| Declaration | |
|---|---|
| From | @property(copy) NSString *percentEncodedQuery |
| To | @property(copy, nullable) NSString *percentEncodedQuery |
Modified NSURLComponents.percentEncodedUser
| Declaration | |
|---|---|
| From | @property(copy) NSString *percentEncodedUser |
| To | @property(copy, nullable) NSString *percentEncodedUser |
Modified NSURLComponents.port
| Declaration | |
|---|---|
| From | @property(copy) NSNumber *port |
| To | @property(copy, nullable) NSNumber *port |
Modified NSURLComponents.query
| Declaration | |
|---|---|
| From | @property(copy) NSString *query |
| To | @property(copy, nullable) NSString *query |
Modified NSURLComponents.queryItems
| Declaration | |
|---|---|
| From | @property(copy) NSArray *queryItems |
| To | @property(copy, nullable) NSArray<NSURLQueryItem *> *queryItems |
Modified NSURLComponents.scheme
| Declaration | |
|---|---|
| From | @property(copy) NSString *scheme |
| To | @property(copy, nullable) NSString *scheme |
Modified NSURLComponents.string
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *string |
| To | @property(readonly, copy, nullable) NSString *string |
Modified NSURLComponents.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nullable) NSURL *URL |
Modified -[NSURLComponents URLRelativeToURL:]
| Declaration | |
|---|---|
| From | - (NSURL *)URLRelativeToURL:(NSURL *)baseURL |
| To | - (NSURL * _Nullable)URLRelativeToURL:(NSURL * _Nullable)baseURL |
Modified NSURLComponents.user
| Declaration | |
|---|---|
| From | @property(copy) NSString *user |
| To | @property(copy, nullable) NSString *user |
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name value:(NSString *)value |
| To | - (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name value:(NSString * _Nullable)value |
Modified NSURLQueryItem.name
| Declaration | |
|---|---|
| From | @property(readonly) NSString *name |
| To | @property(readonly, nonnull) NSString *name |
| Declaration | |
|---|---|
| From | + (instancetype)queryItemWithName:(NSString *)name value:(NSString *)value |
| To | + (instancetype _Nonnull)queryItemWithName:(NSString * _Nonnull)name value:(NSString * _Nullable)value |
Modified NSURLQueryItem.value
| Declaration | |
|---|---|
| From | @property(readonly) NSString *value |
| To | @property(readonly, nullable) NSString *value |
NSURLAuthenticationChallenge.h
Modified NSURLAuthenticationChallenge.error
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSError *error |
| To | @property(readonly, copy, nullable) NSError *error |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLResponse *failureResponse |
| To | @property(readonly, copy, nullable) NSURLResponse *failureResponse |
| Declaration | |
|---|---|
| From | - (instancetype)initWithAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge sender:(id<NSURLAuthenticationChallengeSender>)sender |
| To | - (instancetype _Nonnull)initWithAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge sender:(id<NSURLAuthenticationChallengeSender> _Nonnull)sender |
| Declaration | |
|---|---|
| From | - (instancetype)initWithProtectionSpace:(NSURLProtectionSpace *)space proposedCredential:(NSURLCredential *)credential previousFailureCount:(NSInteger)previousFailureCount failureResponse:(NSURLResponse *)response error:(NSError *)error sender:(id<NSURLAuthenticationChallengeSender>)sender |
| To | - (instancetype _Nonnull)initWithProtectionSpace:(NSURLProtectionSpace * _Nonnull)space proposedCredential:(NSURLCredential * _Nullable)credential previousFailureCount:(NSInteger)previousFailureCount failureResponse:(NSURLResponse * _Nullable)response error:(NSError * _Nullable)error sender:(id<NSURLAuthenticationChallengeSender> _Nonnull)sender |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLCredential *proposedCredential |
| To | @property(readonly, copy, nullable) NSURLCredential *proposedCredential |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLProtectionSpace *protectionSpace |
| To | @property(readonly, copy, nonnull) NSURLProtectionSpace *protectionSpace |
Modified NSURLAuthenticationChallenge.sender
| Declaration | |
|---|---|
| From | @property(readonly, retain) id<NSURLAuthenticationChallengeSender> sender |
| To | @property(readonly, retain, nullable) id<NSURLAuthenticationChallengeSender> sender |
| Declaration | |
|---|---|
| From | - (void)cancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)cancelAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)continueWithoutCredentialForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)continueWithoutCredentialForAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)performDefaultHandlingForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)performDefaultHandlingForAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)rejectProtectionSpaceAndContinueWithChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)rejectProtectionSpaceAndContinueWithChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)useCredential:(NSURLCredential *)credential forAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)useCredential:(NSURLCredential * _Nonnull)credential forAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
NSURLCache.h
Modified NSCachedURLResponse.data
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *data |
| To | @property(readonly, copy, nonnull) NSData *data |
| Declaration | |
|---|---|
| From | - (instancetype)initWithResponse:(NSURLResponse *)response data:(NSData *)data |
| To | - (instancetype _Nonnull)initWithResponse:(NSURLResponse * _Nonnull)response data:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (instancetype)initWithResponse:(NSURLResponse *)response data:(NSData *)data userInfo:(NSDictionary *)userInfo storagePolicy:(NSURLCacheStoragePolicy)storagePolicy |
| To | - (instancetype _Nonnull)initWithResponse:(NSURLResponse * _Nonnull)response data:(NSData * _Nonnull)data userInfo:(NSDictionary * _Nullable)userInfo storagePolicy:(NSURLCacheStoragePolicy)storagePolicy |
Modified NSCachedURLResponse.response
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLResponse *response |
| To | @property(readonly, copy, nonnull) NSURLResponse *response |
Modified NSCachedURLResponse.userInfo
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *userInfo |
| To | @property(readonly, copy, nullable) NSDictionary *userInfo |
| Declaration | |
|---|---|
| From | - (NSCachedURLResponse *)cachedResponseForRequest:(NSURLRequest *)request |
| To | - (NSCachedURLResponse * _Nullable)cachedResponseForRequest:(NSURLRequest * _Nonnull)request |
| Declaration | |
|---|---|
| From | - (void)getCachedResponseForDataTask:(NSURLSessionDataTask *)dataTask completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler |
| To | - (void)getCachedResponseForDataTask:(NSURLSessionDataTask * _Nonnull)dataTask completionHandler:(void (^ _Nonnull)(NSCachedURLResponse * _Nullable cachedResponse))completionHandler |
| Declaration | |
|---|---|
| From | - (instancetype)initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity diskPath:(NSString *)path |
| To | - (instancetype _Nonnull)initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity diskPath:(NSString * _Nullable)path |
| Declaration | |
|---|---|
| From | - (void)removeCachedResponseForDataTask:(NSURLSessionDataTask *)dataTask |
| To | - (void)removeCachedResponseForDataTask:(NSURLSessionDataTask * _Nonnull)dataTask |
| Declaration | |
|---|---|
| From | - (void)removeCachedResponseForRequest:(NSURLRequest *)request |
| To | - (void)removeCachedResponseForRequest:(NSURLRequest * _Nonnull)request |
| Declaration | |
|---|---|
| From | - (void)removeCachedResponsesSinceDate:(NSDate *)date |
| To | - (void)removeCachedResponsesSinceDate:(NSDate * _Nonnull)date |
Modified +[NSURLCache setSharedURLCache:]
| Declaration | |
|---|---|
| From | + (void)setSharedURLCache:(NSURLCache *)cache |
| To | + (void)setSharedURLCache:(NSURLCache * _Nonnull)cache |
Modified +[NSURLCache sharedURLCache]
| Declaration | |
|---|---|
| From | + (NSURLCache *)sharedURLCache |
| To | + (NSURLCache * _Nonnull)sharedURLCache |
| Declaration | |
|---|---|
| From | - (void)storeCachedResponse:(NSCachedURLResponse *)cachedResponse forDataTask:(NSURLSessionDataTask *)dataTask |
| To | - (void)storeCachedResponse:(NSCachedURLResponse * _Nonnull)cachedResponse forDataTask:(NSURLSessionDataTask * _Nonnull)dataTask |
| Declaration | |
|---|---|
| From | - (void)storeCachedResponse:(NSCachedURLResponse *)cachedResponse forRequest:(NSURLRequest *)request |
| To | - (void)storeCachedResponse:(NSCachedURLResponse * _Nonnull)cachedResponse forRequest:(NSURLRequest * _Nonnull)request |
NSURLConnection.h
Modified +[NSURLConnection canHandleRequest:]
| Declaration | |
|---|---|
| From | + (BOOL)canHandleRequest:(NSURLRequest *)request |
| To | + (BOOL)canHandleRequest:(NSURLRequest * _Nonnull)request |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | + (NSURLConnection *)connectionWithRequest:(NSURLRequest *)request delegate:(id)delegate | OS X 10.2 | -- |
| To | + (NSURLConnection * _Nullable)connectionWithRequest:(NSURLRequest * _Nonnull)request delegate:(id _Nullable)delegate | OS X 10.3 | OS X 10.11 |
Modified NSURLConnection.currentRequest
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLRequest *currentRequest |
| To | @property(readonly, copy, nonnull) NSURLRequest *currentRequest |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (instancetype)initWithRequest:(NSURLRequest *)request delegate:(id)delegate | OS X 10.2 | -- |
| To | - (instancetype _Nullable)initWithRequest:(NSURLRequest * _Nonnull)request delegate:(id _Nullable)delegate | OS X 10.3 | OS X 10.11 |
| Declaration | Deprecation | |
|---|---|---|
| From | - (instancetype)initWithRequest:(NSURLRequest *)request delegate:(id)delegate startImmediately:(BOOL)startImmediately | -- |
| To | - (instancetype _Nullable)initWithRequest:(NSURLRequest * _Nonnull)request delegate:(id _Nullable)delegate startImmediately:(BOOL)startImmediately | OS X 10.11 |
Modified NSURLConnection.originalRequest
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLRequest *originalRequest |
| To | @property(readonly, copy, nonnull) NSURLRequest *originalRequest |
| Declaration | |
|---|---|
| From | - (void)scheduleInRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)scheduleInRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
| Declaration | Deprecation | |
|---|---|---|
| From | + (void)sendAsynchronousRequest:(NSURLRequest *)request queue:(NSOperationQueue *)queue completionHandler:(void (^)(NSURLResponse *response, NSData *data, NSError *connectionError))handler | -- |
| To | + (void)sendAsynchronousRequest:(NSURLRequest * _Nonnull)request queue:(NSOperationQueue * _Nonnull)queue completionHandler:(void (^ _Nonnull)(NSURLResponse * _Nullable response, NSData * _Nullable data, NSError * _Nullable connectionError))handler | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | + (NSData *)sendSynchronousRequest:(NSURLRequest *)request returningResponse:(NSURLResponse **)response error:(NSError **)error | OS X 10.2 | -- |
| To | + (NSData * _Nullable)sendSynchronousRequest:(NSURLRequest * _Nonnull)request returningResponse:(NSURLResponse * _Nullable * _Nullable)response error:(NSError * _Nullable * _Nullable)error | OS X 10.3 | OS X 10.11 |
Modified -[NSURLConnection setDelegateQueue:]
| Declaration | |
|---|---|
| From | - (void)setDelegateQueue:(NSOperationQueue *)queue |
| To | - (void)setDelegateQueue:(NSOperationQueue * _Nullable)queue |
| Declaration | |
|---|---|
| From | - (void)unscheduleFromRunLoop:(NSRunLoop *)aRunLoop forMode:(NSString *)mode |
| To | - (void)unscheduleFromRunLoop:(NSRunLoop * _Nonnull)aRunLoop forMode:(NSString * _Nonnull)mode |
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection didReceiveData:(NSData *)data |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection didReceiveData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection didReceiveResponse:(NSURLResponse *)response |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection didReceiveResponse:(NSURLResponse * _Nonnull)response |
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection didSendBodyData:(NSInteger)bytesWritten totalBytesWritten:(NSInteger)totalBytesWritten totalBytesExpectedToWrite:(NSInteger)totalBytesExpectedToWrite |
| Declaration | |
|---|---|
| From | - (NSInputStream *)connection:(NSURLConnection *)connection needNewBodyStream:(NSURLRequest *)request |
| To | - (NSInputStream * _Nullable)connection:(NSURLConnection * _Nonnull)connection needNewBodyStream:(NSURLRequest * _Nonnull)request |
| Declaration | |
|---|---|
| From | - (NSCachedURLResponse *)connection:(NSURLConnection *)connection willCacheResponse:(NSCachedURLResponse *)cachedResponse |
| To | - (NSCachedURLResponse * _Nullable)connection:(NSURLConnection * _Nonnull)connection willCacheResponse:(NSCachedURLResponse * _Nonnull)cachedResponse |
| Declaration | |
|---|---|
| From | - (NSURLRequest *)connection:(NSURLConnection *)connection willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)response |
| To | - (NSURLRequest * _Nullable)connection:(NSURLConnection * _Nonnull)connection willSendRequest:(NSURLRequest * _Nonnull)request redirectResponse:(NSURLResponse * _Nullable)response |
| Declaration | |
|---|---|
| From | - (void)connectionDidFinishLoading:(NSURLConnection *)connection |
| To | - (void)connectionDidFinishLoading:(NSURLConnection * _Nonnull)connection |
| Declaration | |
|---|---|
| From | - (BOOL)connection:(NSURLConnection *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace |
| To | - (BOOL)connection:(NSURLConnection * _Nonnull)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace * _Nonnull)protectionSpace |
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection didFailWithError:(NSError *)error |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection didFailWithError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection willSendRequestForAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (BOOL)connectionShouldUseCredentialStorage:(NSURLConnection *)connection |
| To | - (BOOL)connectionShouldUseCredentialStorage:(NSURLConnection * _Nonnull)connection |
Modified -[NSURLConnectionDownloadDelegate connection:didWriteData:totalBytesWritten:expectedTotalBytes:]
| Declaration | |
|---|---|
| From | - (void)connection:(NSURLConnection *)connection didWriteData:(long long)bytesWritten totalBytesWritten:(long long)totalBytesWritten expectedTotalBytes:(long long)expectedTotalBytes |
| To | - (void)connection:(NSURLConnection * _Nonnull)connection didWriteData:(long long)bytesWritten totalBytesWritten:(long long)totalBytesWritten expectedTotalBytes:(long long)expectedTotalBytes |
| Declaration | |
|---|---|
| From | - (void)connectionDidFinishDownloading:(NSURLConnection *)connection destinationURL:(NSURL *)destinationURL |
| To | - (void)connectionDidFinishDownloading:(NSURLConnection * _Nonnull)connection destinationURL:(NSURL * _Nonnull)destinationURL |
| Declaration | |
|---|---|
| From | - (void)connectionDidResumeDownloading:(NSURLConnection *)connection totalBytesWritten:(long long)totalBytesWritten expectedTotalBytes:(long long)expectedTotalBytes |
| To | - (void)connectionDidResumeDownloading:(NSURLConnection * _Nonnull)connection totalBytesWritten:(long long)totalBytesWritten expectedTotalBytes:(long long)expectedTotalBytes |
NSURLCredential.h
Modified NSURLCredential.certificates
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *certificates |
| To | @property(readonly, copy, nonnull) NSArray *certificates |
| Declaration | |
|---|---|
| From | + (NSURLCredential *)credentialForTrust:(SecTrustRef)trust |
| To | + (NSURLCredential * _Nonnull)credentialForTrust:(SecTrustRef _Nonnull)trust |
| Declaration | |
|---|---|
| From | + (NSURLCredential *)credentialWithIdentity:(SecIdentityRef)identity certificates:(NSArray *)certArray persistence:(NSURLCredentialPersistence)persistence |
| To | + (NSURLCredential * _Nonnull)credentialWithIdentity:(SecIdentityRef _Nonnull)identity certificates:(NSArray * _Nullable)certArray persistence:(NSURLCredentialPersistence)persistence |
| Declaration | |
|---|---|
| From | + (NSURLCredential *)credentialWithUser:(NSString *)user password:(NSString *)password persistence:(NSURLCredentialPersistence)persistence |
| To | + (NSURLCredential * _Nonnull)credentialWithUser:(NSString * _Nonnull)user password:(NSString * _Nonnull)password persistence:(NSURLCredentialPersistence)persistence |
Modified NSURLCredential.identity
| Declaration | |
|---|---|
| From | @property(readonly) SecIdentityRef identity |
| To | @property(readonly, nullable) SecIdentityRef identity |
| Declaration | |
|---|---|
| From | - (instancetype)initWithIdentity:(SecIdentityRef)identity certificates:(NSArray *)certArray persistence:(NSURLCredentialPersistence)persistence |
| To | - (instancetype _Nonnull)initWithIdentity:(SecIdentityRef _Nonnull)identity certificates:(NSArray * _Nullable)certArray persistence:(NSURLCredentialPersistence)persistence |
Modified -[NSURLCredential initWithTrust:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithTrust:(SecTrustRef)trust |
| To | - (instancetype _Nonnull)initWithTrust:(SecTrustRef _Nonnull)trust |
| Declaration | |
|---|---|
| From | - (instancetype)initWithUser:(NSString *)user password:(NSString *)password persistence:(NSURLCredentialPersistence)persistence |
| To | - (instancetype _Nonnull)initWithUser:(NSString * _Nonnull)user password:(NSString * _Nonnull)password persistence:(NSURLCredentialPersistence)persistence |
Modified NSURLCredential.password
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *password |
| To | @property(readonly, copy, nullable) NSString *password |
Modified NSURLCredential.user
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *user |
| To | @property(readonly, copy, nullable) NSString *user |
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 | - (NSURLCredential *)defaultCredentialForProtectionSpace:(NSURLProtectionSpace *)space |
| To | - (NSURLCredential * _Nullable)defaultCredentialForProtectionSpace:(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)getDefaultCredentialForProtectionSpace:(NSURLProtectionSpace *)space task:(NSURLSessionTask *)task completionHandler:(void (^)(NSURLCredential *credential))completionHandler |
| To | - (void)getDefaultCredentialForProtectionSpace:(NSURLProtectionSpace * _Nonnull)space task:(NSURLSessionTask * _Nonnull)task completionHandler:(void (^ _Nonnull)(NSURLCredential * _Nullable credential))completionHandler |
| Declaration | |
|---|---|
| From | - (void)removeCredential:(NSURLCredential *)credential forProtectionSpace:(NSURLProtectionSpace *)space |
| To | - (void)removeCredential:(NSURLCredential * _Nonnull)credential forProtectionSpace:(NSURLProtectionSpace * _Nonnull)space |
| 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 |
| Declaration | |
|---|---|
| From | - (void)setCredential:(NSURLCredential *)credential forProtectionSpace:(NSURLProtectionSpace *)space |
| To | - (void)setCredential:(NSURLCredential * _Nonnull)credential forProtectionSpace:(NSURLProtectionSpace * _Nonnull)space |
| Declaration | |
|---|---|
| From | - (void)setCredential:(NSURLCredential *)credential forProtectionSpace:(NSURLProtectionSpace *)protectionSpace task:(NSURLSessionTask *)task |
| To | - (void)setCredential:(NSURLCredential * _Nonnull)credential forProtectionSpace:(NSURLProtectionSpace * _Nonnull)protectionSpace task:(NSURLSessionTask * _Nonnull)task |
| Declaration | |
|---|---|
| From | - (void)setDefaultCredential:(NSURLCredential *)credential forProtectionSpace:(NSURLProtectionSpace *)space |
| To | - (void)setDefaultCredential:(NSURLCredential * _Nonnull)credential forProtectionSpace:(NSURLProtectionSpace * _Nonnull)space |
| Declaration | |
|---|---|
| From | - (void)setDefaultCredential:(NSURLCredential *)credential forProtectionSpace:(NSURLProtectionSpace *)protectionSpace task:(NSURLSessionTask *)task |
| To | - (void)setDefaultCredential:(NSURLCredential * _Nonnull)credential forProtectionSpace:(NSURLProtectionSpace * _Nonnull)protectionSpace task:(NSURLSessionTask * _Nonnull)task |
| Declaration | |
|---|---|
| From | + (NSURLCredentialStorage *)sharedCredentialStorage |
| To | + (NSURLCredentialStorage * _Nonnull)sharedCredentialStorage |
NSURLDownload.h
| Declaration | |
|---|---|
| From | + (BOOL)canResumeDownloadDecodedWithEncodingMIMEType:(NSString *)MIMEType |
| To | + (BOOL)canResumeDownloadDecodedWithEncodingMIMEType:(NSString * _Nonnull)MIMEType |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (instancetype)initWithRequest:(NSURLRequest *)request delegate:(id<NSURLDownloadDelegate>)delegate | OS X 10.2 | -- |
| To | - (instancetype _Nonnull)initWithRequest:(NSURLRequest * _Nonnull)request delegate:(id<NSURLDownloadDelegate> _Nullable)delegate | OS X 10.3 | OS X 10.11 |
| Declaration | Introduction | Deprecation | |
|---|---|---|---|
| From | - (instancetype)initWithResumeData:(NSData *)resumeData delegate:(id<NSURLDownloadDelegate>)delegate path:(NSString *)path | OS X 10.4 | -- |
| To | - (instancetype _Nonnull)initWithResumeData:(NSData * _Nonnull)resumeData delegate:(id<NSURLDownloadDelegate> _Nullable)delegate path:(NSString * _Nonnull)path | OS X 10.3 | OS X 10.11 |
Modified NSURLDownload.request
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLRequest *request |
| To | @property(readonly, copy, nonnull) NSURLRequest *request |
Modified NSURLDownload.resumeData
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *resumeData |
| To | @property(readonly, copy, nullable) NSData *resumeData |
| Declaration | |
|---|---|
| From | - (void)setDestination:(NSString *)path allowOverwrite:(BOOL)allowOverwrite |
| To | - (void)setDestination:(NSString * _Nonnull)path allowOverwrite:(BOOL)allowOverwrite |
| Declaration | |
|---|---|
| From | - (BOOL)download:(NSURLDownload *)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace *)protectionSpace |
| To | - (BOOL)download:(NSURLDownload * _Nonnull)connection canAuthenticateAgainstProtectionSpace:(NSURLProtectionSpace * _Nonnull)protectionSpace |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download decideDestinationWithSuggestedFilename:(NSString *)filename |
| To | - (void)download:(NSURLDownload * _Nonnull)download decideDestinationWithSuggestedFilename:(NSString * _Nonnull)filename |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)download:(NSURLDownload * _Nonnull)download didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download didCreateDestination:(NSString *)path |
| To | - (void)download:(NSURLDownload * _Nonnull)download didCreateDestination:(NSString * _Nonnull)path |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download didFailWithError:(NSError *)error |
| To | - (void)download:(NSURLDownload * _Nonnull)download didFailWithError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)download:(NSURLDownload * _Nonnull)download didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download didReceiveDataOfLength:(NSUInteger)length |
| To | - (void)download:(NSURLDownload * _Nonnull)download didReceiveDataOfLength:(NSUInteger)length |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download didReceiveResponse:(NSURLResponse *)response |
| To | - (void)download:(NSURLDownload * _Nonnull)download didReceiveResponse:(NSURLResponse * _Nonnull)response |
| Declaration | |
|---|---|
| From | - (BOOL)download:(NSURLDownload *)download shouldDecodeSourceDataOfMIMEType:(NSString *)encodingType |
| To | - (BOOL)download:(NSURLDownload * _Nonnull)download shouldDecodeSourceDataOfMIMEType:(NSString * _Nonnull)encodingType |
| Declaration | |
|---|---|
| From | - (void)download:(NSURLDownload *)download willResumeWithResponse:(NSURLResponse *)response fromByte:(long long)startingByte |
| To | - (void)download:(NSURLDownload * _Nonnull)download willResumeWithResponse:(NSURLResponse * _Nonnull)response fromByte:(long long)startingByte |
| Declaration | |
|---|---|
| From | - (NSURLRequest *)download:(NSURLDownload *)download willSendRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse |
| To | - (NSURLRequest * _Nullable)download:(NSURLDownload * _Nonnull)download willSendRequest:(NSURLRequest * _Nonnull)request redirectResponse:(NSURLResponse * _Nullable)redirectResponse |
| Declaration | |
|---|---|
| From | - (void)downloadDidBegin:(NSURLDownload *)download |
| To | - (void)downloadDidBegin:(NSURLDownload * _Nonnull)download |
| Declaration | |
|---|---|
| From | - (void)downloadDidFinish:(NSURLDownload *)download |
| To | - (void)downloadDidFinish:(NSURLDownload * _Nonnull)download |
| Declaration | |
|---|---|
| From | - (BOOL)downloadShouldUseCredentialStorage:(NSURLDownload *)download |
| To | - (BOOL)downloadShouldUseCredentialStorage:(NSURLDownload * _Nonnull)download |
NSURLError.h
NSURLProtectionSpace.h
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *authenticationMethod |
| To | @property(readonly, copy, nonnull) NSString *authenticationMethod |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *distinguishedNames |
| To | @property(readonly, copy, nullable) NSArray<NSData *> *distinguishedNames |
Modified NSURLProtectionSpace.host
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *host |
| To | @property(readonly, copy, nonnull) NSString *host |
| Declaration | |
|---|---|
| From | - (instancetype)initWithHost:(NSString *)host port:(NSInteger)port protocol:(NSString *)protocol realm:(NSString *)realm authenticationMethod:(NSString *)authenticationMethod |
| To | - (instancetype _Nonnull)initWithHost:(NSString * _Nonnull)host port:(NSInteger)port protocol:(NSString * _Nullable)protocol realm:(NSString * _Nullable)realm authenticationMethod:(NSString * _Nullable)authenticationMethod |
| Declaration | |
|---|---|
| From | - (instancetype)initWithProxyHost:(NSString *)host port:(NSInteger)port type:(NSString *)type realm:(NSString *)realm authenticationMethod:(NSString *)authenticationMethod |
| To | - (instancetype _Nonnull)initWithProxyHost:(NSString * _Nonnull)host port:(NSInteger)port type:(NSString * _Nullable)type realm:(NSString * _Nullable)realm authenticationMethod:(NSString * _Nullable)authenticationMethod |
Modified NSURLProtectionSpace.protocol
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *protocol |
| To | @property(readonly, copy, nullable) NSString *protocol |
Modified NSURLProtectionSpace.proxyType
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *proxyType |
| To | @property(readonly, copy, nullable) NSString *proxyType |
Modified NSURLProtectionSpace.realm
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *realm |
| To | @property(readonly, copy, nullable) NSString *realm |
Modified NSURLProtectionSpace.serverTrust
| Declaration | |
|---|---|
| From | @property(readonly) SecTrustRef serverTrust |
| To | @property(readonly, nullable) SecTrustRef serverTrust |
NSURLProtocol.h
Modified NSURLProtocol.cachedResponse
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSCachedURLResponse *cachedResponse |
| To | @property(readonly, copy, nullable) NSCachedURLResponse *cachedResponse |
Modified +[NSURLProtocol canInitWithRequest:]
| Declaration | |
|---|---|
| From | + (BOOL)canInitWithRequest:(NSURLRequest *)request |
| To | + (BOOL)canInitWithRequest:(NSURLRequest * _Nonnull)request |
Modified +[NSURLProtocol canInitWithTask:]
| Declaration | |
|---|---|
| From | + (BOOL)canInitWithTask:(NSURLSessionTask *)task |
| To | + (BOOL)canInitWithTask:(NSURLSessionTask * _Nonnull)task |
| Declaration | |
|---|---|
| From | + (NSURLRequest *)canonicalRequestForRequest:(NSURLRequest *)request |
| To | + (NSURLRequest * _Nonnull)canonicalRequestForRequest:(NSURLRequest * _Nonnull)request |
Modified NSURLProtocol.client
| Declaration | |
|---|---|
| From | @property(readonly, retain) id<NSURLProtocolClient> client |
| To | @property(readonly, retain, nullable) id<NSURLProtocolClient> client |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)cachedResponse client:(id<NSURLProtocolClient>)client | -- |
| To | - (instancetype _Nonnull)initWithRequest:(NSURLRequest * _Nonnull)request cachedResponse:(NSCachedURLResponse * _Nullable)cachedResponse client:(id<NSURLProtocolClient> _Nullable)client | yes |
| Declaration | |
|---|---|
| From | - (instancetype)initWithTask:(NSURLSessionTask *)task cachedResponse:(NSCachedURLResponse *)cachedResponse client:(id<NSURLProtocolClient>)client |
| To | - (instancetype _Nonnull)initWithTask:(NSURLSessionTask * _Nonnull)task cachedResponse:(NSCachedURLResponse * _Nullable)cachedResponse client:(id<NSURLProtocolClient> _Nullable)client |
| Declaration | |
|---|---|
| From | + (id)propertyForKey:(NSString *)key inRequest:(NSURLRequest *)request |
| To | + (id _Nullable)propertyForKey:(NSString * _Nonnull)key inRequest:(NSURLRequest * _Nonnull)request |
Modified +[NSURLProtocol registerClass:]
| Declaration | |
|---|---|
| From | + (BOOL)registerClass:(Class)protocolClass |
| To | + (BOOL)registerClass:(Class _Nonnull)protocolClass |
| Declaration | |
|---|---|
| From | + (void)removePropertyForKey:(NSString *)key inRequest:(NSMutableURLRequest *)request |
| To | + (void)removePropertyForKey:(NSString * _Nonnull)key inRequest:(NSMutableURLRequest * _Nonnull)request |
Modified NSURLProtocol.request
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLRequest *request |
| To | @property(readonly, copy, nonnull) NSURLRequest *request |
| Declaration | |
|---|---|
| From | + (BOOL)requestIsCacheEquivalent:(NSURLRequest *)a toRequest:(NSURLRequest *)b |
| To | + (BOOL)requestIsCacheEquivalent:(NSURLRequest * _Nonnull)a toRequest:(NSURLRequest * _Nonnull)b |
| Declaration | |
|---|---|
| From | + (void)setProperty:(id)value forKey:(NSString *)key inRequest:(NSMutableURLRequest *)request |
| To | + (void)setProperty:(id _Nonnull)value forKey:(NSString * _Nonnull)key inRequest:(NSMutableURLRequest * _Nonnull)request |
Modified NSURLProtocol.task
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLSessionTask *task |
| To | @property(readonly, copy, nullable) NSURLSessionTask *task |
Modified +[NSURLProtocol unregisterClass:]
| Declaration | |
|---|---|
| From | + (void)unregisterClass:(Class)protocolClass |
| To | + (void)unregisterClass:(Class _Nonnull)protocolClass |
| Declaration | |
|---|---|
| From | - (void)URLProtocol:(NSURLProtocol *)protocol cachedResponseIsValid:(NSCachedURLResponse *)cachedResponse |
| To | - (void)URLProtocol:(NSURLProtocol * _Nonnull)protocol cachedResponseIsValid:(NSCachedURLResponse * _Nonnull)cachedResponse |
| Declaration | |
|---|---|
| From | - (void)URLProtocol:(NSURLProtocol *)protocol didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)URLProtocol:(NSURLProtocol * _Nonnull)protocol didCancelAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)URLProtocol:(NSURLProtocol *)protocol didFailWithError:(NSError *)error |
| To | - (void)URLProtocol:(NSURLProtocol * _Nonnull)protocol didFailWithError:(NSError * _Nonnull)error |
| Declaration | |
|---|---|
| From | - (void)URLProtocol:(NSURLProtocol *)protocol didLoadData:(NSData *)data |
| To | - (void)URLProtocol:(NSURLProtocol * _Nonnull)protocol didLoadData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (void)URLProtocol:(NSURLProtocol *)protocol didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge |
| To | - (void)URLProtocol:(NSURLProtocol * _Nonnull)protocol didReceiveAuthenticationChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge |
| Declaration | |
|---|---|
| From | - (void)URLProtocol:(NSURLProtocol *)protocol didReceiveResponse:(NSURLResponse *)response cacheStoragePolicy:(NSURLCacheStoragePolicy)policy |
| To | - (void)URLProtocol:(NSURLProtocol * _Nonnull)protocol didReceiveResponse:(NSURLResponse * _Nonnull)response cacheStoragePolicy:(NSURLCacheStoragePolicy)policy |
| Declaration | |
|---|---|
| From | - (void)URLProtocol:(NSURLProtocol *)protocol wasRedirectedToRequest:(NSURLRequest *)request redirectResponse:(NSURLResponse *)redirectResponse |
| To | - (void)URLProtocol:(NSURLProtocol * _Nonnull)protocol wasRedirectedToRequest:(NSURLRequest * _Nonnull)request redirectResponse:(NSURLResponse * _Nonnull)redirectResponse |
| Declaration | |
|---|---|
| From | - (void)URLProtocolDidFinishLoading:(NSURLProtocol *)protocol |
| To | - (void)URLProtocolDidFinishLoading:(NSURLProtocol * _Nonnull)protocol |
NSURLRequest.h
| Declaration | |
|---|---|
| From | - (void)addValue:(NSString *)value forHTTPHeaderField:(NSString *)field |
| To | - (void)addValue:(NSString * _Nonnull)value forHTTPHeaderField:(NSString * _Nonnull)field |
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *allHTTPHeaderFields |
| To | @property(copy, nullable) NSDictionary<NSString *,NSString *> *allHTTPHeaderFields |
Modified NSMutableURLRequest.HTTPBody
| Declaration | |
|---|---|
| From | @property(copy) NSData *HTTPBody |
| To | @property(copy, nullable) NSData *HTTPBody |
Modified NSMutableURLRequest.HTTPBodyStream
| Declaration | |
|---|---|
| From | @property(retain) NSInputStream *HTTPBodyStream |
| To | @property(retain, nullable) NSInputStream *HTTPBodyStream |
Modified NSMutableURLRequest.HTTPMethod
| Declaration | |
|---|---|
| From | @property(copy) NSString *HTTPMethod |
| To | @property(copy, nonnull) NSString *HTTPMethod |
Modified NSMutableURLRequest.mainDocumentURL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *mainDocumentURL |
| To | @property(copy, nullable) NSURL *mainDocumentURL |
| Declaration | |
|---|---|
| From | - (void)setValue:(NSString *)value forHTTPHeaderField:(NSString *)field |
| To | - (void)setValue:(NSString * _Nullable)value forHTTPHeaderField:(NSString * _Nonnull)field |
Modified NSMutableURLRequest.URL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *URL |
| To | @property(copy, nullable) NSURL *URL |
Modified NSURLRequest.allHTTPHeaderFields
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *allHTTPHeaderFields |
| To | @property(readonly, copy, nullable) NSDictionary<NSString *,NSString *> *allHTTPHeaderFields |
Modified NSURLRequest.HTTPBody
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *HTTPBody |
| To | @property(readonly, copy, nullable) NSData *HTTPBody |
Modified NSURLRequest.HTTPBodyStream
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSInputStream *HTTPBodyStream |
| To | @property(readonly, retain, nullable) NSInputStream *HTTPBodyStream |
Modified NSURLRequest.HTTPMethod
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *HTTPMethod |
| To | @property(readonly, copy, nullable) NSString *HTTPMethod |
Modified -[NSURLRequest initWithURL:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)URL |
| To | - (instancetype _Nonnull)initWithURL:(NSURL * _Nonnull)URL |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval | -- |
| To | - (instancetype _Nonnull)initWithURL:(NSURL * _Nonnull)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval | yes |
Modified NSURLRequest.mainDocumentURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *mainDocumentURL |
| To | @property(readonly, copy, nullable) NSURL *mainDocumentURL |
Modified +[NSURLRequest requestWithURL:]
| Declaration | |
|---|---|
| From | + (instancetype)requestWithURL:(NSURL *)URL |
| To | + (instancetype _Nonnull)requestWithURL:(NSURL * _Nonnull)URL |
| Declaration | |
|---|---|
| From | + (instancetype)requestWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval |
| To | + (instancetype _Nonnull)requestWithURL:(NSURL * _Nonnull)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval |
Modified NSURLRequest.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nullable) NSURL *URL |
| Declaration | |
|---|---|
| From | - (NSString *)valueForHTTPHeaderField:(NSString *)field |
| To | - (NSString * _Nullable)valueForHTTPHeaderField:(NSString * _Nonnull)field |
NSURLResponse.h
Modified NSHTTPURLResponse.allHeaderFields
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDictionary *allHeaderFields |
| To | @property(readonly, copy, nonnull) NSDictionary *allHeaderFields |
| 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 |
| Declaration | |
|---|---|
| From | + (NSString *)localizedStringForStatusCode:(NSInteger)statusCode |
| To | + (NSString * _Nonnull)localizedStringForStatusCode:(NSInteger)statusCode |
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithURL:(NSURL *)URL MIMEType:(NSString *)MIMEType expectedContentLength:(NSInteger)length textEncodingName:(NSString *)name | -- |
| To | - (instancetype _Nonnull)initWithURL:(NSURL * _Nonnull)URL MIMEType:(NSString * _Nullable)MIMEType expectedContentLength:(NSInteger)length textEncodingName:(NSString * _Nullable)name | yes |
Modified NSURLResponse.MIMEType
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *MIMEType |
| To | @property(readonly, copy, nullable) NSString *MIMEType |
Modified NSURLResponse.suggestedFilename
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *suggestedFilename |
| To | @property(readonly, copy, nullable) NSString *suggestedFilename |
Modified NSURLResponse.textEncodingName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *textEncodingName |
| To | @property(readonly, copy, nullable) NSString *textEncodingName |
Modified NSURLResponse.URL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *URL |
| To | @property(readonly, copy, nullable) NSURL *URL |
NSURLSession.h
Removed -[NSURLSession dataTaskWithHTTPGetRequest:]
Removed -[NSURLSession dataTaskWithHTTPGetRequest:completionHandler:]
Removed NSURLSession(NSURLSessionDeprecated)
Added NSURLSessionStreamTask
Modified NSURLSession.configuration
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLSessionConfiguration *configuration |
| To | @property(readonly, copy, nonnull) NSURLSessionConfiguration *configuration |
Modified -[NSURLSession dataTaskWithRequest:]
| Declaration | |
|---|---|
| From | - (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request |
| To | - (NSURLSessionDataTask * _Nonnull)dataTaskWithRequest:(NSURLRequest * _Nonnull)request |
| Declaration | |
|---|---|
| From | - (NSURLSessionDataTask *)dataTaskWithRequest:(NSURLRequest *)request completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler |
| To | - (NSURLSessionDataTask * _Nonnull)dataTaskWithRequest:(NSURLRequest * _Nonnull)request completionHandler:(void (^ _Nonnull)(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error))completionHandler |
Modified -[NSURLSession dataTaskWithURL:]
| Declaration | |
|---|---|
| From | - (NSURLSessionDataTask *)dataTaskWithURL:(NSURL *)url |
| To | - (NSURLSessionDataTask * _Nonnull)dataTaskWithURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (NSURLSessionDataTask *)dataTaskWithURL:(NSURL *)url completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler |
| To | - (NSURLSessionDataTask * _Nonnull)dataTaskWithURL:(NSURL * _Nonnull)url completionHandler:(void (^ _Nonnull)(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error))completionHandler |
Modified NSURLSession.delegate
| Declaration | |
|---|---|
| From | @property(readonly, retain) id<NSURLSessionDelegate> delegate |
| To | @property(readonly, retain, nullable) id<NSURLSessionDelegate> delegate |
Modified NSURLSession.delegateQueue
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSOperationQueue *delegateQueue |
| To | @property(readonly, retain, nonnull) NSOperationQueue *delegateQueue |
| Declaration | |
|---|---|
| From | - (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request |
| To | - (NSURLSessionDownloadTask * _Nonnull)downloadTaskWithRequest:(NSURLRequest * _Nonnull)request |
| Declaration | |
|---|---|
| From | - (NSURLSessionDownloadTask *)downloadTaskWithRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURL *location, NSURLResponse *response, NSError *error))completionHandler |
| To | - (NSURLSessionDownloadTask * _Nonnull)downloadTaskWithRequest:(NSURLRequest * _Nonnull)request completionHandler:(void (^ _Nonnull)(NSURL * _Nullable location, NSURLResponse * _Nullable response, NSError * _Nullable error))completionHandler |
| Declaration | |
|---|---|
| From | - (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData |
| To | - (NSURLSessionDownloadTask * _Nonnull)downloadTaskWithResumeData:(NSData * _Nonnull)resumeData |
| Declaration | |
|---|---|
| From | - (NSURLSessionDownloadTask *)downloadTaskWithResumeData:(NSData *)resumeData completionHandler:(void (^)(NSURL *location, NSURLResponse *response, NSError *error))completionHandler |
| To | - (NSURLSessionDownloadTask * _Nonnull)downloadTaskWithResumeData:(NSData * _Nonnull)resumeData completionHandler:(void (^ _Nonnull)(NSURL * _Nullable location, NSURLResponse * _Nullable response, NSError * _Nullable error))completionHandler |
Modified -[NSURLSession downloadTaskWithURL:]
| Declaration | |
|---|---|
| From | - (NSURLSessionDownloadTask *)downloadTaskWithURL:(NSURL *)url |
| To | - (NSURLSessionDownloadTask * _Nonnull)downloadTaskWithURL:(NSURL * _Nonnull)url |
| Declaration | |
|---|---|
| From | - (NSURLSessionDownloadTask *)downloadTaskWithURL:(NSURL *)url completionHandler:(void (^)(NSURL *location, NSURLResponse *response, NSError *error))completionHandler |
| To | - (NSURLSessionDownloadTask * _Nonnull)downloadTaskWithURL:(NSURL * _Nonnull)url completionHandler:(void (^ _Nonnull)(NSURL * _Nullable location, NSURLResponse * _Nullable response, NSError * _Nullable error))completionHandler |
| Declaration | |
|---|---|
| From | - (void)flushWithCompletionHandler:(void (^)(void))completionHandler |
| To | - (void)flushWithCompletionHandler:(void (^ _Nonnull)(void))completionHandler |
| 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 | - (void)resetWithCompletionHandler:(void (^)(void))completionHandler |
| To | - (void)resetWithCompletionHandler:(void (^ _Nonnull)(void))completionHandler |
Modified NSURLSession.sessionDescription
| Declaration | |
|---|---|
| From | @property(copy) NSString *sessionDescription |
| To | @property(copy, nullable) NSString *sessionDescription |
| Declaration | |
|---|---|
| From | + (NSURLSession *)sessionWithConfiguration:(NSURLSessionConfiguration *)configuration |
| To | + (NSURLSession * _Nonnull)sessionWithConfiguration:(NSURLSessionConfiguration * _Nonnull)configuration |
| Declaration | |
|---|---|
| From | + (NSURLSession *)sessionWithConfiguration:(NSURLSessionConfiguration *)configuration delegate:(id<NSURLSessionDelegate>)delegate delegateQueue:(NSOperationQueue *)queue |
| To | + (NSURLSession * _Nonnull)sessionWithConfiguration:(NSURLSessionConfiguration * _Nonnull)configuration delegate:(id<NSURLSessionDelegate> _Nullable)delegate delegateQueue:(NSOperationQueue * _Nullable)queue |
Modified +[NSURLSession sharedSession]
| Declaration | |
|---|---|
| From | + (NSURLSession *)sharedSession |
| To | + (NSURLSession * _Nonnull)sharedSession |
| Declaration | |
|---|---|
| From | - (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request fromData:(NSData *)bodyData |
| To | - (NSURLSessionUploadTask * _Nonnull)uploadTaskWithRequest:(NSURLRequest * _Nonnull)request fromData:(NSData * _Nonnull)bodyData |
| Declaration | |
|---|---|
| From | - (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request fromData:(NSData *)bodyData completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler |
| To | - (NSURLSessionUploadTask * _Nonnull)uploadTaskWithRequest:(NSURLRequest * _Nonnull)request fromData:(NSData * _Nullable)bodyData completionHandler:(void (^ _Nonnull)(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error))completionHandler |
| Declaration | |
|---|---|
| From | - (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request fromFile:(NSURL *)fileURL |
| To | - (NSURLSessionUploadTask * _Nonnull)uploadTaskWithRequest:(NSURLRequest * _Nonnull)request fromFile:(NSURL * _Nonnull)fileURL |
| Declaration | |
|---|---|
| From | - (NSURLSessionUploadTask *)uploadTaskWithRequest:(NSURLRequest *)request fromFile:(NSURL *)fileURL completionHandler:(void (^)(NSData *data, NSURLResponse *response, NSError *error))completionHandler |
| To | - (NSURLSessionUploadTask * _Nonnull)uploadTaskWithRequest:(NSURLRequest * _Nonnull)request fromFile:(NSURL * _Nonnull)fileURL completionHandler:(void (^ _Nonnull)(NSData * _Nullable data, NSURLResponse * _Nullable response, NSError * _Nullable error))completionHandler |
| Declaration | |
|---|---|
| From | - (NSURLSessionUploadTask *)uploadTaskWithStreamedRequest:(NSURLRequest *)request |
| To | - (NSURLSessionUploadTask * _Nonnull)uploadTaskWithStreamedRequest:(NSURLRequest * _Nonnull)request |
| Declaration | |
|---|---|
| From | + (NSURLSessionConfiguration *)backgroundSessionConfiguration:(NSString *)identifier |
| To | + (NSURLSessionConfiguration * _Nonnull)backgroundSessionConfiguration:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | + (NSURLSessionConfiguration *)backgroundSessionConfigurationWithIdentifier:(NSString *)identifier |
| To | + (NSURLSessionConfiguration * _Nonnull)backgroundSessionConfigurationWithIdentifier:(NSString * _Nonnull)identifier |
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *connectionProxyDictionary |
| To | @property(copy, nullable) NSDictionary *connectionProxyDictionary |
| Declaration | |
|---|---|
| From | + (NSURLSessionConfiguration *)defaultSessionConfiguration |
| To | + (NSURLSessionConfiguration * _Nonnull)defaultSessionConfiguration |
| Declaration | |
|---|---|
| From | + (NSURLSessionConfiguration *)ephemeralSessionConfiguration |
| To | + (NSURLSessionConfiguration * _Nonnull)ephemeralSessionConfiguration |
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *HTTPAdditionalHeaders |
| To | @property(copy, nullable) NSDictionary *HTTPAdditionalHeaders |
| Declaration | |
|---|---|
| From | @property(retain) NSHTTPCookieStorage *HTTPCookieStorage |
| To | @property(retain, nullable) NSHTTPCookieStorage *HTTPCookieStorage |
Modified NSURLSessionConfiguration.identifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *identifier |
| To | @property(readonly, copy, nullable) NSString *identifier |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *protocolClasses |
| To | @property(copy, nullable) NSArray<Class> *protocolClasses |
| Declaration | |
|---|---|
| From | @property(copy) NSString *sharedContainerIdentifier |
| To | @property(copy, nullable) NSString *sharedContainerIdentifier |
Modified NSURLSessionConfiguration.URLCache
| Declaration | |
|---|---|
| From | @property(retain) NSURLCache *URLCache |
| To | @property(retain, nullable) NSURLCache *URLCache |
| Declaration | |
|---|---|
| From | @property(retain) NSURLCredentialStorage *URLCredentialStorage |
| To | @property(retain, nullable) NSURLCredentialStorage *URLCredentialStorage |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didBecomeDownloadTask:(NSURLSessionDownloadTask *)downloadTask |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didBecomeDownloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveData:(NSData *)data |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveData:(NSData * _Nonnull)data |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask didReceiveResponse:(NSURLResponse *)response completionHandler:(void (^)(NSURLSessionResponseDisposition disposition))completionHandler |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask didReceiveResponse:(NSURLResponse * _Nonnull)response completionHandler:(void (^ _Nonnull)(NSURLSessionResponseDisposition disposition))completionHandler |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session dataTask:(NSURLSessionDataTask *)dataTask willCacheResponse:(NSCachedURLResponse *)proposedResponse completionHandler:(void (^)(NSCachedURLResponse *cachedResponse))completionHandler |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session dataTask:(NSURLSessionDataTask * _Nonnull)dataTask willCacheResponse:(NSCachedURLResponse * _Nonnull)proposedResponse completionHandler:(void (^ _Nonnull)(NSCachedURLResponse * _Nullable cachedResponse))completionHandler |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session didBecomeInvalidWithError:(NSError *)error |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session didBecomeInvalidWithError:(NSError * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session didReceiveChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential * _Nullable credential))completionHandler |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didFinishDownloadingToURL:(NSURL *)location |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didFinishDownloadingToURL:(NSURL * _Nonnull)location |
Modified -[NSURLSessionDownloadDelegate URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:]
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didResumeAtOffset:(int64_t)fileOffset expectedTotalBytes:(int64_t)expectedTotalBytes |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didResumeAtOffset:(int64_t)fileOffset expectedTotalBytes:(int64_t)expectedTotalBytes |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session downloadTask:(NSURLSessionDownloadTask *)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session downloadTask:(NSURLSessionDownloadTask * _Nonnull)downloadTask didWriteData:(int64_t)bytesWritten totalBytesWritten:(int64_t)totalBytesWritten totalBytesExpectedToWrite:(int64_t)totalBytesExpectedToWrite |
| Declaration | |
|---|---|
| From | - (void)cancelByProducingResumeData:(void (^)(NSData *resumeData))completionHandler |
| To | - (void)cancelByProducingResumeData:(void (^ _Nonnull)(NSData * _Nullable resumeData))completionHandler |
Modified NSURLSessionTask.currentRequest
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLRequest *currentRequest |
| To | @property(readonly, copy, nullable) NSURLRequest *currentRequest |
Modified NSURLSessionTask.error
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSError *error |
| To | @property(readonly, copy, nullable) NSError *error |
Modified NSURLSessionTask.originalRequest
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLRequest *originalRequest |
| To | @property(readonly, copy, nullable) NSURLRequest *originalRequest |
Modified NSURLSessionTask.response
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURLResponse *response |
| To | @property(readonly, copy, nullable) NSURLResponse *response |
Modified NSURLSessionTask.taskDescription
| Declaration | |
|---|---|
| From | @property(copy) NSString *taskDescription |
| To | @property(copy, nullable) NSString *taskDescription |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didCompleteWithError:(NSError *)error |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didCompleteWithError:(NSError * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didReceiveChallenge:(NSURLAuthenticationChallenge *)challenge completionHandler:(void (^)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential *credential))completionHandler |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didReceiveChallenge:(NSURLAuthenticationChallenge * _Nonnull)challenge completionHandler:(void (^ _Nonnull)(NSURLSessionAuthChallengeDisposition disposition, NSURLCredential * _Nullable credential))completionHandler |
Modified -[NSURLSessionTaskDelegate URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:]
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task didSendBodyData:(int64_t)bytesSent totalBytesSent:(int64_t)totalBytesSent totalBytesExpectedToSend:(int64_t)totalBytesExpectedToSend |
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task needNewBodyStream:(void (^)(NSInputStream *bodyStream))completionHandler |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task needNewBodyStream:(void (^ _Nonnull)(NSInputStream * _Nullable bodyStream))completionHandler |
Modified -[NSURLSessionTaskDelegate URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:]
| Declaration | |
|---|---|
| From | - (void)URLSession:(NSURLSession *)session task:(NSURLSessionTask *)task willPerformHTTPRedirection:(NSHTTPURLResponse *)response newRequest:(NSURLRequest *)request completionHandler:(void (^)(NSURLRequest *))completionHandler |
| To | - (void)URLSession:(NSURLSession * _Nonnull)session task:(NSURLSessionTask * _Nonnull)task willPerformHTTPRedirection:(NSHTTPURLResponse * _Nonnull)response newRequest:(NSURLRequest * _Nonnull)request completionHandler:(void (^ _Nonnull)(NSURLRequest * _Nullable))completionHandler |
NSUserActivity.h
Added NSUserActivity.keywords
Modified NSUserActivity.activityType
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *activityType |
| To | @property(readonly, copy, nonnull) NSString *activityType |
| Declaration | |
|---|---|
| From | - (void)addUserInfoEntriesFromDictionary:(NSDictionary *)otherDictionary |
| To | - (void)addUserInfoEntriesFromDictionary:(NSDictionary * _Nonnull)otherDictionary |
Modified NSUserActivity.delegate
| Declaration | |
|---|---|
| From | @property(weak) id<NSUserActivityDelegate> delegate |
| To | @property(weak, nullable) id<NSUserActivityDelegate> delegate |
| Declaration | |
|---|---|
| From | - (void)getContinuationStreamsWithCompletionHandler:(void (^)(NSInputStream *inputStream, NSOutputStream *outputStream, NSError *error))completionHandler |
| To | - (void)getContinuationStreamsWithCompletionHandler:(void (^ _Nonnull)(NSInputStream * _Nullable inputStream, NSOutputStream * _Nullable outputStream, NSError * _Nullable error))completionHandler |
Modified -[NSUserActivity init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithActivityType:(NSString *)activityType |
| To | - (instancetype _Nonnull)initWithActivityType:(NSString * _Nonnull)activityType |
Modified NSUserActivity.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nullable) NSString *title |
Modified NSUserActivity.userInfo
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *userInfo |
| To | @property(copy, nullable) NSDictionary *userInfo |
Modified NSUserActivity.webpageURL
| Declaration | |
|---|---|
| From | @property(copy) NSURL *webpageURL |
| To | @property(copy, nullable) NSURL *webpageURL |
| Declaration | |
|---|---|
| From | - (void)userActivity:(NSUserActivity *)userActivity didReceiveInputStream:(NSInputStream *)inputStream outputStream:(NSOutputStream *)outputStream |
| To | - (void)userActivity:(NSUserActivity * _Nullable)userActivity didReceiveInputStream:(NSInputStream * _Nonnull)inputStream outputStream:(NSOutputStream * _Nonnull)outputStream |
| Declaration | |
|---|---|
| From | - (void)userActivityWasContinued:(NSUserActivity *)userActivity |
| To | - (void)userActivityWasContinued:(NSUserActivity * _Nonnull)userActivity |
| Declaration | |
|---|---|
| From | - (void)userActivityWillSave:(NSUserActivity *)userActivity |
| To | - (void)userActivityWillSave:(NSUserActivity * _Nonnull)userActivity |
NSUserDefaults.h
Modified -[NSUserDefaults addSuiteNamed:]
| Declaration | |
|---|---|
| From | - (void)addSuiteNamed:(NSString *)suiteName |
| To | - (void)addSuiteNamed:(NSString * _Nonnull)suiteName |
Modified -[NSUserDefaults arrayForKey:]
| Declaration | |
|---|---|
| From | - (NSArray *)arrayForKey:(NSString *)defaultName |
| To | - (NSArray * _Nullable)arrayForKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults boolForKey:]
| Declaration | |
|---|---|
| From | - (BOOL)boolForKey:(NSString *)defaultName |
| To | - (BOOL)boolForKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults dataForKey:]
| Declaration | |
|---|---|
| From | - (NSData *)dataForKey:(NSString *)defaultName |
| To | - (NSData * _Nullable)dataForKey:(NSString * _Nonnull)defaultName |
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 |
Modified -[NSUserDefaults doubleForKey:]
| Declaration | |
|---|---|
| From | - (double)doubleForKey:(NSString *)defaultName |
| To | - (double)doubleForKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults floatForKey:]
| Declaration | |
|---|---|
| From | - (float)floatForKey:(NSString *)defaultName |
| To | - (float)floatForKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSUserDefaults initWithSuiteName:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithSuiteName:(NSString *)suitename |
| To | - (instancetype _Nullable)initWithSuiteName:(NSString * _Nullable)suitename |
Modified -[NSUserDefaults initWithUser:]
| Declaration | |
|---|---|
| From | - (id)initWithUser:(NSString *)username |
| To | - (id _Nullable)initWithUser:(NSString * _Nonnull)username |
Modified -[NSUserDefaults integerForKey:]
| Declaration | |
|---|---|
| From | - (NSInteger)integerForKey:(NSString *)defaultName |
| To | - (NSInteger)integerForKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults objectForKey:]
| Declaration | |
|---|---|
| From | - (id)objectForKey:(NSString *)defaultName |
| To | - (id _Nullable)objectForKey:(NSString * _Nonnull)defaultName |
| Declaration | |
|---|---|
| From | - (BOOL)objectIsForcedForKey:(NSString *)key |
| To | - (BOOL)objectIsForcedForKey:(NSString * _Nonnull)key |
| Declaration | |
|---|---|
| From | - (BOOL)objectIsForcedForKey:(NSString *)key inDomain:(NSString *)domain |
| To | - (BOOL)objectIsForcedForKey:(NSString * _Nonnull)key inDomain:(NSString * _Nonnull)domain |
| Declaration | |
|---|---|
| From | - (NSDictionary *)persistentDomainForName:(NSString *)domainName |
| To | - (NSDictionary<NSString *,id> * _Nullable)persistentDomainForName:(NSString * _Nonnull)domainName |
| Declaration | |
|---|---|
| From | - (NSArray *)persistentDomainNames |
| To | - (NSArray * _Nonnull)persistentDomainNames |
Modified -[NSUserDefaults registerDefaults:]
| Declaration | |
|---|---|
| From | - (void)registerDefaults:(NSDictionary *)registrationDictionary |
| To | - (void)registerDefaults:(NSDictionary<NSString *,id> * _Nonnull)registrationDictionary |
| Declaration | |
|---|---|
| From | - (void)removeObjectForKey:(NSString *)defaultName |
| To | - (void)removeObjectForKey:(NSString * _Nonnull)defaultName |
| Declaration | |
|---|---|
| From | - (void)removePersistentDomainForName:(NSString *)domainName |
| To | - (void)removePersistentDomainForName:(NSString * _Nonnull)domainName |
Modified -[NSUserDefaults removeSuiteNamed:]
| Declaration | |
|---|---|
| From | - (void)removeSuiteNamed:(NSString *)suiteName |
| To | - (void)removeSuiteNamed:(NSString * _Nonnull)suiteName |
| Declaration | |
|---|---|
| From | - (void)removeVolatileDomainForName:(NSString *)domainName |
| To | - (void)removeVolatileDomainForName:(NSString * _Nonnull)domainName |
Modified -[NSUserDefaults setBool:forKey:]
| Declaration | |
|---|---|
| From | - (void)setBool:(BOOL)value forKey:(NSString *)defaultName |
| To | - (void)setBool:(BOOL)value forKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults setDouble:forKey:]
| Declaration | |
|---|---|
| From | - (void)setDouble:(double)value forKey:(NSString *)defaultName |
| To | - (void)setDouble:(double)value forKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults setFloat:forKey:]
| Declaration | |
|---|---|
| From | - (void)setFloat:(float)value forKey:(NSString *)defaultName |
| To | - (void)setFloat:(float)value forKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults setInteger:forKey:]
| Declaration | |
|---|---|
| From | - (void)setInteger:(NSInteger)value forKey:(NSString *)defaultName |
| To | - (void)setInteger:(NSInteger)value forKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults setObject:forKey:]
| Declaration | |
|---|---|
| From | - (void)setObject:(id)value forKey:(NSString *)defaultName |
| To | - (void)setObject:(id _Nullable)value forKey:(NSString * _Nonnull)defaultName |
| Declaration | |
|---|---|
| From | - (void)setPersistentDomain:(NSDictionary *)domain forName:(NSString *)domainName |
| To | - (void)setPersistentDomain:(NSDictionary<NSString *,id> * _Nonnull)domain forName:(NSString * _Nonnull)domainName |
Modified -[NSUserDefaults setURL:forKey:]
| Declaration | |
|---|---|
| From | - (void)setURL:(NSURL *)url forKey:(NSString *)defaultName |
| To | - (void)setURL:(NSURL * _Nullable)url forKey:(NSString * _Nonnull)defaultName |
| Declaration | |
|---|---|
| From | - (void)setVolatileDomain:(NSDictionary *)domain forName:(NSString *)domainName |
| To | - (void)setVolatileDomain:(NSDictionary<NSString *,id> * _Nonnull)domain forName:(NSString * _Nonnull)domainName |
| Declaration | |
|---|---|
| From | + (NSUserDefaults *)standardUserDefaults |
| To | + (NSUserDefaults * _Nonnull)standardUserDefaults |
Modified -[NSUserDefaults stringArrayForKey:]
| Declaration | |
|---|---|
| From | - (NSArray *)stringArrayForKey:(NSString *)defaultName |
| To | - (NSArray<NSString *> * _Nullable)stringArrayForKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults stringForKey:]
| Declaration | |
|---|---|
| From | - (NSString *)stringForKey:(NSString *)defaultName |
| To | - (NSString * _Nullable)stringForKey:(NSString * _Nonnull)defaultName |
Modified -[NSUserDefaults URLForKey:]
| Declaration | |
|---|---|
| From | - (NSURL *)URLForKey:(NSString *)defaultName |
| To | - (NSURL * _Nullable)URLForKey:(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 |
NSUserNotification.h
Modified NSUserNotification.actionButtonTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *actionButtonTitle |
| To | @property(copy, nonnull) NSString *actionButtonTitle |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSDate *actualDeliveryDate |
| To | @property(readonly, copy, nullable) NSDate *actualDeliveryDate |
Modified NSUserNotification.additionalActions
| Declaration | |
|---|---|
| From | @property(copy) NSArray *additionalActions |
| To | @property(copy, nullable) NSArray<NSUserNotificationAction *> *additionalActions |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSUserNotificationAction *additionalActivationAction |
| To | @property(readonly, copy, nullable) NSUserNotificationAction *additionalActivationAction |
Modified NSUserNotification.contentImage
| Declaration | |
|---|---|
| From | @property(copy) NSImage *contentImage |
| To | @property(copy, nullable) NSImage *contentImage |
Modified NSUserNotification.deliveryDate
| Declaration | |
|---|---|
| From | @property(copy) NSDate *deliveryDate |
| To | @property(copy, nullable) NSDate *deliveryDate |
| Declaration | |
|---|---|
| From | @property(copy) NSDateComponents *deliveryRepeatInterval |
| To | @property(copy, nullable) NSDateComponents *deliveryRepeatInterval |
Modified NSUserNotification.deliveryTimeZone
| Declaration | |
|---|---|
| From | @property(copy) NSTimeZone *deliveryTimeZone |
| To | @property(copy, nullable) NSTimeZone *deliveryTimeZone |
Modified NSUserNotification.identifier
| Declaration | |
|---|---|
| From | @property(copy) NSString *identifier |
| To | @property(copy, nullable) NSString *identifier |
Modified NSUserNotification.informativeText
| Declaration | |
|---|---|
| From | @property(copy) NSString *informativeText |
| To | @property(copy, nullable) NSString *informativeText |
Modified -[NSUserNotification init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified NSUserNotification.otherButtonTitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *otherButtonTitle |
| To | @property(copy, nonnull) NSString *otherButtonTitle |
Modified NSUserNotification.response
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSAttributedString *response |
| To | @property(readonly, copy, nullable) NSAttributedString *response |
| Declaration | |
|---|---|
| From | @property(copy) NSString *responsePlaceholder |
| To | @property(copy, nullable) NSString *responsePlaceholder |
Modified NSUserNotification.soundName
| Declaration | |
|---|---|
| From | @property(copy) NSString *soundName |
| To | @property(copy, nullable) NSString *soundName |
Modified NSUserNotification.subtitle
| Declaration | |
|---|---|
| From | @property(copy) NSString *subtitle |
| To | @property(copy, nullable) NSString *subtitle |
Modified NSUserNotification.title
| Declaration | |
|---|---|
| From | @property(copy) NSString *title |
| To | @property(copy, nullable) NSString *title |
Modified NSUserNotification.userInfo
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *userInfo |
| To | @property(copy, nullable) NSDictionary<NSString *,id> *userInfo |
| Declaration | |
|---|---|
| From | + (instancetype)actionWithIdentifier:(NSString *)identifier title:(NSString *)title |
| To | + (instancetype _Nonnull)actionWithIdentifier:(NSString * _Nullable)identifier title:(NSString * _Nullable)title |
Modified NSUserNotificationAction.identifier
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *identifier |
| To | @property(readonly, copy, nullable) NSString *identifier |
Modified NSUserNotificationAction.title
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *title |
| To | @property(readonly, copy, nullable) NSString *title |
| Declaration | |
|---|---|
| From | + (NSUserNotificationCenter *)defaultUserNotificationCenter |
| To | + (NSUserNotificationCenter * _Nonnull)defaultUserNotificationCenter |
Modified NSUserNotificationCenter.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSUserNotificationCenterDelegate> delegate |
| To | @property(assign, nullable) id<NSUserNotificationCenterDelegate> delegate |
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *deliveredNotifications |
| To | @property(readonly, copy, nonnull) NSArray<NSUserNotification *> *deliveredNotifications |
| Declaration | |
|---|---|
| From | - (void)deliverNotification:(NSUserNotification *)notification |
| To | - (void)deliverNotification:(NSUserNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)removeDeliveredNotification:(NSUserNotification *)notification |
| To | - (void)removeDeliveredNotification:(NSUserNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)removeScheduledNotification:(NSUserNotification *)notification |
| To | - (void)removeScheduledNotification:(NSUserNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | @property(copy) NSArray *scheduledNotifications |
| To | @property(copy, nonnull) NSArray<NSUserNotification *> *scheduledNotifications |
| Declaration | |
|---|---|
| From | - (void)scheduleNotification:(NSUserNotification *)notification |
| To | - (void)scheduleNotification:(NSUserNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)userNotificationCenter:(NSUserNotificationCenter *)center didActivateNotification:(NSUserNotification *)notification |
| To | - (void)userNotificationCenter:(NSUserNotificationCenter * _Nonnull)center didActivateNotification:(NSUserNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (void)userNotificationCenter:(NSUserNotificationCenter *)center didDeliverNotification:(NSUserNotification *)notification |
| To | - (void)userNotificationCenter:(NSUserNotificationCenter * _Nonnull)center didDeliverNotification:(NSUserNotification * _Nonnull)notification |
| Declaration | |
|---|---|
| From | - (BOOL)userNotificationCenter:(NSUserNotificationCenter *)center shouldPresentNotification:(NSUserNotification *)notification |
| To | - (BOOL)userNotificationCenter:(NSUserNotificationCenter * _Nonnull)center shouldPresentNotification:(NSUserNotification * _Nonnull)notification |
NSUserScriptTask.h
| Declaration | |
|---|---|
| From | - (void)executeWithAppleEvent:(NSAppleEventDescriptor *)event completionHandler:(NSUserAppleScriptTaskCompletionHandler)handler |
| To | - (void)executeWithAppleEvent:(NSAppleEventDescriptor * _Nullable)event completionHandler:(NSUserAppleScriptTaskCompletionHandler _Nullable)handler |
| Declaration | |
|---|---|
| From | - (void)executeWithInput:(id<NSSecureCoding>)input completionHandler:(NSUserAutomatorTaskCompletionHandler)handler |
| To | - (void)executeWithInput:(id<NSSecureCoding> _Nullable)input completionHandler:(NSUserAutomatorTaskCompletionHandler _Nullable)handler |
Modified NSUserAutomatorTask.variables
| Declaration | |
|---|---|
| From | @property(copy) NSDictionary *variables |
| To | @property(copy, nullable) NSDictionary<NSString *,id> *variables |
| Declaration | |
|---|---|
| From | - (void)executeWithCompletionHandler:(NSUserScriptTaskCompletionHandler)handler |
| To | - (void)executeWithCompletionHandler:(NSUserScriptTaskCompletionHandler _Nullable)handler |
| Declaration | |
|---|---|
| From | - (instancetype)initWithURL:(NSURL *)url error:(NSError **)error |
| To | - (instancetype _Nullable)initWithURL:(NSURL * _Nonnull)url error:(NSError * _Nullable * _Nullable)error |
Modified NSUserScriptTask.scriptURL
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSURL *scriptURL |
| To | @property(readonly, copy, nonnull) NSURL *scriptURL |
| Declaration | |
|---|---|
| From | - (void)executeWithArguments:(NSArray *)arguments completionHandler:(NSUserUnixTaskCompletionHandler)handler |
| To | - (void)executeWithArguments:(NSArray<NSString *> * _Nullable)arguments completionHandler:(NSUserUnixTaskCompletionHandler _Nullable)handler |
Modified NSUserUnixTask.standardError
| Declaration | |
|---|---|
| From | @property(retain) NSFileHandle *standardError |
| To | @property(retain, nullable) NSFileHandle *standardError |
Modified NSUserUnixTask.standardInput
| Declaration | |
|---|---|
| From | @property(retain) NSFileHandle *standardInput |
| To | @property(retain, nullable) NSFileHandle *standardInput |
Modified NSUserUnixTask.standardOutput
| Declaration | |
|---|---|
| From | @property(retain) NSFileHandle *standardOutput |
| To | @property(retain, nullable) NSFileHandle *standardOutput |
NSUUID.h
Modified -[NSUUID init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSUUID initWithUUIDBytes:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithUUIDBytes:(const uuid_t)bytes |
| To | - (instancetype _Nonnull)initWithUUIDBytes:(const uuid_t)bytes |
Modified -[NSUUID initWithUUIDString:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithUUIDString:(NSString *)string |
| To | - (instancetype _Nullable)initWithUUIDString:(NSString * _Nonnull)string |
Modified +[NSUUID UUID]
| Declaration | |
|---|---|
| From | + (instancetype)UUID |
| To | + (instancetype _Nonnull)UUID |
Modified NSUUID.UUIDString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *UUIDString |
| To | @property(readonly, copy, nonnull) NSString *UUIDString |
NSValue.h
Modified -[NSNumber compare:]
| Declaration | |
|---|---|
| From | - (NSComparisonResult)compare:(NSNumber *)otherNumber |
| To | - (NSComparisonResult)compare:(NSNumber * _Nonnull)otherNumber |
Modified -[NSNumber descriptionWithLocale:]
| Declaration | |
|---|---|
| From | - (NSString *)descriptionWithLocale:(id)locale |
| To | - (NSString * _Nonnull)descriptionWithLocale:(id _Nullable)locale |
Modified -[NSNumber initWithBool:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithBool:(BOOL)value |
| To | - (NSNumber * _Nonnull)initWithBool:(BOOL)value |
Modified -[NSNumber initWithChar:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithChar:(char)value |
| To | - (NSNumber * _Nonnull)initWithChar:(char)value |
Modified -[NSNumber initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
Modified -[NSNumber initWithDouble:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithDouble:(double)value |
| To | - (NSNumber * _Nonnull)initWithDouble:(double)value |
Modified -[NSNumber initWithFloat:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithFloat:(float)value |
| To | - (NSNumber * _Nonnull)initWithFloat:(float)value |
Modified -[NSNumber initWithInt:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithInt:(int)value |
| To | - (NSNumber * _Nonnull)initWithInt:(int)value |
Modified -[NSNumber initWithInteger:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithInteger:(NSInteger)value |
| To | - (NSNumber * _Nonnull)initWithInteger:(NSInteger)value |
Modified -[NSNumber initWithLong:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithLong:(long)value |
| To | - (NSNumber * _Nonnull)initWithLong:(long)value |
Modified -[NSNumber initWithLongLong:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithLongLong:(long long)value |
| To | - (NSNumber * _Nonnull)initWithLongLong:(long long)value |
Modified -[NSNumber initWithShort:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithShort:(short)value |
| To | - (NSNumber * _Nonnull)initWithShort:(short)value |
Modified -[NSNumber initWithUnsignedChar:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithUnsignedChar:(unsigned char)value |
| To | - (NSNumber * _Nonnull)initWithUnsignedChar:(unsigned char)value |
Modified -[NSNumber initWithUnsignedInt:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithUnsignedInt:(unsigned int)value |
| To | - (NSNumber * _Nonnull)initWithUnsignedInt:(unsigned int)value |
Modified -[NSNumber initWithUnsignedInteger:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithUnsignedInteger:(NSUInteger)value |
| To | - (NSNumber * _Nonnull)initWithUnsignedInteger:(NSUInteger)value |
Modified -[NSNumber initWithUnsignedLong:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithUnsignedLong:(unsigned long)value |
| To | - (NSNumber * _Nonnull)initWithUnsignedLong:(unsigned long)value |
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithUnsignedLongLong:(unsigned long long)value |
| To | - (NSNumber * _Nonnull)initWithUnsignedLongLong:(unsigned long long)value |
Modified -[NSNumber initWithUnsignedShort:]
| Declaration | |
|---|---|
| From | - (NSNumber *)initWithUnsignedShort:(unsigned short)value |
| To | - (NSNumber * _Nonnull)initWithUnsignedShort:(unsigned short)value |
Modified -[NSNumber isEqualToNumber:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToNumber:(NSNumber *)number |
| To | - (BOOL)isEqualToNumber:(NSNumber * _Nonnull)number |
Modified +[NSNumber numberWithBool:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithBool:(BOOL)value |
| To | + (NSNumber * _Nonnull)numberWithBool:(BOOL)value |
Modified +[NSNumber numberWithChar:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithChar:(char)value |
| To | + (NSNumber * _Nonnull)numberWithChar:(char)value |
Modified +[NSNumber numberWithDouble:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithDouble:(double)value |
| To | + (NSNumber * _Nonnull)numberWithDouble:(double)value |
Modified +[NSNumber numberWithFloat:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithFloat:(float)value |
| To | + (NSNumber * _Nonnull)numberWithFloat:(float)value |
Modified +[NSNumber numberWithInt:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithInt:(int)value |
| To | + (NSNumber * _Nonnull)numberWithInt:(int)value |
Modified +[NSNumber numberWithInteger:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithInteger:(NSInteger)value |
| To | + (NSNumber * _Nonnull)numberWithInteger:(NSInteger)value |
Modified +[NSNumber numberWithLong:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithLong:(long)value |
| To | + (NSNumber * _Nonnull)numberWithLong:(long)value |
Modified +[NSNumber numberWithLongLong:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithLongLong:(long long)value |
| To | + (NSNumber * _Nonnull)numberWithLongLong:(long long)value |
Modified +[NSNumber numberWithShort:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithShort:(short)value |
| To | + (NSNumber * _Nonnull)numberWithShort:(short)value |
Modified +[NSNumber numberWithUnsignedChar:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithUnsignedChar:(unsigned char)value |
| To | + (NSNumber * _Nonnull)numberWithUnsignedChar:(unsigned char)value |
Modified +[NSNumber numberWithUnsignedInt:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithUnsignedInt:(unsigned int)value |
| To | + (NSNumber * _Nonnull)numberWithUnsignedInt:(unsigned int)value |
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithUnsignedInteger:(NSUInteger)value |
| To | + (NSNumber * _Nonnull)numberWithUnsignedInteger:(NSUInteger)value |
Modified +[NSNumber numberWithUnsignedLong:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithUnsignedLong:(unsigned long)value |
| To | + (NSNumber * _Nonnull)numberWithUnsignedLong:(unsigned long)value |
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithUnsignedLongLong:(unsigned long long)value |
| To | + (NSNumber * _Nonnull)numberWithUnsignedLongLong:(unsigned long long)value |
Modified +[NSNumber numberWithUnsignedShort:]
| Declaration | |
|---|---|
| From | + (NSNumber *)numberWithUnsignedShort:(unsigned short)value |
| To | + (NSNumber * _Nonnull)numberWithUnsignedShort:(unsigned short)value |
Modified NSNumber.stringValue
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *stringValue |
| To | @property(readonly, copy, nonnull) NSString *stringValue |
Modified -[NSValue getValue:]
| Declaration | |
|---|---|
| From | - (void)getValue:(void *)value |
| To | - (void)getValue:(void * _Nonnull)value |
Modified -[NSValue initWithBytes:objCType:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithBytes:(const void *)value objCType:(const char *)type |
| To | - (instancetype _Nonnull)initWithBytes:(const void * _Nonnull)value objCType:(const char * _Nonnull)type |
Modified -[NSValue initWithCoder:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithCoder:(NSCoder *)aDecoder |
| To | - (instancetype _Nullable)initWithCoder:(NSCoder * _Nonnull)aDecoder |
Modified -[NSValue isEqualToValue:]
| Declaration | |
|---|---|
| From | - (BOOL)isEqualToValue:(NSValue *)value |
| To | - (BOOL)isEqualToValue:(NSValue * _Nonnull)value |
Modified NSValue.nonretainedObjectValue
| Declaration | |
|---|---|
| From | @property(nonatomic, readonly) id nonretainedObjectValue |
| To | @property(readonly, nullable) id nonretainedObjectValue |
Modified NSValue.objCType
| Declaration | |
|---|---|
| From | @property(readonly) const char *objCType |
| To | @property(readonly, nonnull) const char *objCType |
Modified NSValue.pointerValue
| Declaration | |
|---|---|
| From | - (void *)pointerValue |
| To | @property(readonly, nullable) void *pointerValue |
Modified +[NSValue value:withObjCType:]
| Declaration | |
|---|---|
| From | + (NSValue *)value:(const void *)value withObjCType:(const char *)type |
| To | + (NSValue * _Nonnull)value:(const void * _Nonnull)value withObjCType:(const char * _Nonnull)type |
Modified +[NSValue valueWithBytes:objCType:]
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithBytes:(const void *)value objCType:(const char *)type |
| To | + (NSValue * _Nonnull)valueWithBytes:(const void * _Nonnull)value objCType:(const char * _Nonnull)type |
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithNonretainedObject:(id)anObject |
| To | + (NSValue * _Nonnull)valueWithNonretainedObject:(id _Nullable)anObject |
Modified +[NSValue valueWithPointer:]
| Declaration | |
|---|---|
| From | + (NSValue *)valueWithPointer:(const void *)pointer |
| To | + (NSValue * _Nonnull)valueWithPointer:(const void * _Nullable)pointer |
NSValueTransformer.h
| Declaration | |
|---|---|
| From | - (id)reverseTransformedValue:(id)value |
| To | - (id _Nullable)reverseTransformedValue:(id _Nullable)value |
| Declaration | |
|---|---|
| From | + (void)setValueTransformer:(NSValueTransformer *)transformer forName:(NSString *)name |
| To | + (void)setValueTransformer:(NSValueTransformer * _Nullable)transformer forName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (id)transformedValue:(id)value |
| To | - (id _Nullable)transformedValue:(id _Nullable)value |
| Declaration | |
|---|---|
| From | + (Class)transformedValueClass |
| To | + (Class _Nonnull)transformedValueClass |
| Declaration | |
|---|---|
| From | + (NSValueTransformer *)valueTransformerForName:(NSString *)name |
| To | + (NSValueTransformer * _Nullable)valueTransformerForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (NSArray *)valueTransformerNames |
| To | + (NSArray<NSString *> * _Nonnull)valueTransformerNames |
NSXMLDocument.h
Modified -[NSXMLDocument addChild:]
| Declaration | |
|---|---|
| From | - (void)addChild:(NSXMLNode *)child |
| To | - (void)addChild:(NSXMLNode * _Nonnull)child |
Modified NSXMLDocument.characterEncoding
| Declaration | |
|---|---|
| From | @property(copy) NSString *characterEncoding |
| To | @property(copy, nullable) NSString *characterEncoding |
Modified NSXMLDocument.DTD
| Declaration | |
|---|---|
| From | @property(copy) NSXMLDTD *DTD |
| To | @property(copy, nullable) NSXMLDTD *DTD |
Modified -[NSXMLDocument init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url options:(NSUInteger)mask error:(NSError **)error |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url options:(NSUInteger)mask error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data options:(NSUInteger)mask error:(NSError **)error |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data options:(NSUInteger)mask error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initWithRootElement:(NSXMLElement *)element |
| To | - (instancetype _Nonnull)initWithRootElement:(NSXMLElement * _Nullable)element |
| Declaration | |
|---|---|
| From | - (instancetype)initWithXMLString:(NSString *)string options:(NSUInteger)mask error:(NSError **)error |
| To | - (instancetype _Nullable)initWithXMLString:(NSString * _Nonnull)string options:(NSUInteger)mask error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)insertChild:(NSXMLNode *)child atIndex:(NSUInteger)index |
| To | - (void)insertChild:(NSXMLNode * _Nonnull)child atIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (void)insertChildren:(NSArray *)children atIndex:(NSUInteger)index |
| To | - (void)insertChildren:(NSArray<NSXMLNode *> * _Nonnull)children atIndex:(NSUInteger)index |
Modified NSXMLDocument.MIMEType
| Declaration | |
|---|---|
| From | @property(copy) NSString *MIMEType |
| To | @property(copy, nullable) NSString *MIMEType |
| Declaration | |
|---|---|
| From | - (id)objectByApplyingXSLT:(NSData *)xslt arguments:(NSDictionary *)arguments error:(NSError **)error |
| To | - (id _Nullable)objectByApplyingXSLT:(NSData * _Nonnull)xslt arguments:(NSDictionary<NSString *,NSString *> * _Nullable)arguments error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (id)objectByApplyingXSLTAtURL:(NSURL *)xsltURL arguments:(NSDictionary *)argument error:(NSError **)error |
| To | - (id _Nullable)objectByApplyingXSLTAtURL:(NSURL * _Nonnull)xsltURL arguments:(NSDictionary<NSString *,NSString *> * _Nullable)argument error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (id)objectByApplyingXSLTString:(NSString *)xslt arguments:(NSDictionary *)arguments error:(NSError **)error |
| To | - (id _Nullable)objectByApplyingXSLTString:(NSString * _Nonnull)xslt arguments:(NSDictionary<NSString *,NSString *> * _Nullable)arguments error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode *)node |
| To | - (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode * _Nonnull)node |
| Declaration | |
|---|---|
| From | + (Class)replacementClassForClass:(Class)cls |
| To | + (Class _Nonnull)replacementClassForClass:(Class _Nonnull)cls |
Modified -[NSXMLDocument rootElement]
| Declaration | |
|---|---|
| From | - (NSXMLElement *)rootElement |
| To | - (NSXMLElement * _Nullable)rootElement |
Modified -[NSXMLDocument setChildren:]
| Declaration | |
|---|---|
| From | - (void)setChildren:(NSArray *)children |
| To | - (void)setChildren:(NSArray<NSXMLNode *> * _Nullable)children |
Modified -[NSXMLDocument setRootElement:]
| Declaration | |
|---|---|
| From | - (void)setRootElement:(NSXMLElement *)root |
| To | - (void)setRootElement:(NSXMLElement * _Nonnull)root |
| Declaration | |
|---|---|
| From | - (BOOL)validateAndReturnError:(NSError **)error |
| To | - (BOOL)validateAndReturnError:(NSError * _Nullable * _Nullable)error |
Modified NSXMLDocument.version
| Declaration | |
|---|---|
| From | @property(copy) NSString *version |
| To | @property(copy, nullable) NSString *version |
Modified NSXMLDocument.XMLData
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSData *XMLData |
| To | @property(readonly, copy, nonnull) NSData *XMLData |
Modified -[NSXMLDocument XMLDataWithOptions:]
| Declaration | |
|---|---|
| From | - (NSData *)XMLDataWithOptions:(NSUInteger)options |
| To | - (NSData * _Nonnull)XMLDataWithOptions:(NSUInteger)options |
NSXMLDTD.h
Modified -[NSXMLDTD addChild:]
| Declaration | |
|---|---|
| From | - (void)addChild:(NSXMLNode *)child |
| To | - (void)addChild:(NSXMLNode * _Nonnull)child |
| Declaration | |
|---|---|
| From | - (NSXMLDTDNode *)attributeDeclarationForName:(NSString *)name elementName:(NSString *)elementName |
| To | - (NSXMLDTDNode * _Nullable)attributeDeclarationForName:(NSString * _Nonnull)name elementName:(NSString * _Nonnull)elementName |
| Declaration | |
|---|---|
| From | - (NSXMLDTDNode *)elementDeclarationForName:(NSString *)name |
| To | - (NSXMLDTDNode * _Nullable)elementDeclarationForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (NSXMLDTDNode *)entityDeclarationForName:(NSString *)name |
| To | - (NSXMLDTDNode * _Nullable)entityDeclarationForName:(NSString * _Nonnull)name |
Modified -[NSXMLDTD init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url options:(NSUInteger)mask error:(NSError **)error |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url options:(NSUInteger)mask error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (instancetype)initWithData:(NSData *)data options:(NSUInteger)mask error:(NSError **)error |
| To | - (instancetype _Nullable)initWithData:(NSData * _Nonnull)data options:(NSUInteger)mask error:(NSError * _Nullable * _Nullable)error |
Modified -[NSXMLDTD insertChild:atIndex:]
| Declaration | |
|---|---|
| From | - (void)insertChild:(NSXMLNode *)child atIndex:(NSUInteger)index |
| To | - (void)insertChild:(NSXMLNode * _Nonnull)child atIndex:(NSUInteger)index |
Modified -[NSXMLDTD insertChildren:atIndex:]
| Declaration | |
|---|---|
| From | - (void)insertChildren:(NSArray *)children atIndex:(NSUInteger)index |
| To | - (void)insertChildren:(NSArray<NSXMLNode *> * _Nonnull)children atIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (NSXMLDTDNode *)notationDeclarationForName:(NSString *)name |
| To | - (NSXMLDTDNode * _Nullable)notationDeclarationForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (NSXMLDTDNode *)predefinedEntityDeclarationForName:(NSString *)name |
| To | + (NSXMLDTDNode * _Nullable)predefinedEntityDeclarationForName:(NSString * _Nonnull)name |
Modified NSXMLDTD.publicID
| Declaration | |
|---|---|
| From | @property(copy) NSString *publicID |
| To | @property(copy, nullable) NSString *publicID |
| Declaration | |
|---|---|
| From | - (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode *)node |
| To | - (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode * _Nonnull)node |
Modified -[NSXMLDTD setChildren:]
| Declaration | |
|---|---|
| From | - (void)setChildren:(NSArray *)children |
| To | - (void)setChildren:(NSArray<NSXMLNode *> * _Nullable)children |
Modified NSXMLDTD.systemID
| Declaration | |
|---|---|
| From | @property(copy) NSString *systemID |
| To | @property(copy, nullable) NSString *systemID |
NSXMLDTDNode.h
Modified -[NSXMLDTDNode init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKind:(NSXMLNodeKind)kind options:(NSUInteger)options |
| To | - (instancetype _Nonnull)initWithKind:(NSXMLNodeKind)kind options:(NSUInteger)options |
Modified -[NSXMLDTDNode initWithXMLString:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithXMLString:(NSString *)string |
| To | - (instancetype _Nullable)initWithXMLString:(NSString * _Nonnull)string |
Modified NSXMLDTDNode.notationName
| Declaration | |
|---|---|
| From | @property(copy) NSString *notationName |
| To | @property(copy, nullable) NSString *notationName |
Modified NSXMLDTDNode.publicID
| Declaration | |
|---|---|
| From | @property(copy) NSString *publicID |
| To | @property(copy, nullable) NSString *publicID |
Modified NSXMLDTDNode.systemID
| Declaration | |
|---|---|
| From | @property(copy) NSString *systemID |
| To | @property(copy, nullable) NSString *systemID |
NSXMLElement.h
Modified -[NSXMLElement addAttribute:]
| Declaration | |
|---|---|
| From | - (void)addAttribute:(NSXMLNode *)attribute |
| To | - (void)addAttribute:(NSXMLNode * _Nonnull)attribute |
Modified -[NSXMLElement addChild:]
| Declaration | |
|---|---|
| From | - (void)addChild:(NSXMLNode *)child |
| To | - (void)addChild:(NSXMLNode * _Nonnull)child |
Modified -[NSXMLElement addNamespace:]
| Declaration | |
|---|---|
| From | - (void)addNamespace:(NSXMLNode *)aNamespace |
| To | - (void)addNamespace:(NSXMLNode * _Nonnull)aNamespace |
| Declaration | |
|---|---|
| From | - (NSXMLNode *)attributeForLocalName:(NSString *)localName URI:(NSString *)URI |
| To | - (NSXMLNode * _Nullable)attributeForLocalName:(NSString * _Nonnull)localName URI:(NSString * _Nullable)URI |
Modified -[NSXMLElement attributeForName:]
| Declaration | |
|---|---|
| From | - (NSXMLNode *)attributeForName:(NSString *)name |
| To | - (NSXMLNode * _Nullable)attributeForName:(NSString * _Nonnull)name |
Modified NSXMLElement.attributes
| Declaration | |
|---|---|
| From | @property(copy) NSArray *attributes |
| To | @property(copy, nullable) NSArray<NSXMLNode *> *attributes |
| Declaration | |
|---|---|
| From | - (NSArray *)elementsForLocalName:(NSString *)localName URI:(NSString *)URI |
| To | - (NSArray<NSXMLElement *> * _Nonnull)elementsForLocalName:(NSString * _Nonnull)localName URI:(NSString * _Nullable)URI |
Modified -[NSXMLElement elementsForName:]
| Declaration | |
|---|---|
| From | - (NSArray *)elementsForName:(NSString *)name |
| To | - (NSArray<NSXMLElement *> * _Nonnull)elementsForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (instancetype)initWithKind:(NSXMLNodeKind)kind options:(NSUInteger)options |
| To | - (instancetype _Nonnull)initWithKind:(NSXMLNodeKind)kind options:(NSUInteger)options |
Modified -[NSXMLElement initWithName:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name |
| To | - (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name stringValue:(NSString *)string |
| To | - (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name stringValue:(NSString * _Nullable)string |
Modified -[NSXMLElement initWithName:URI:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithName:(NSString *)name URI:(NSString *)URI |
| To | - (instancetype _Nonnull)initWithName:(NSString * _Nonnull)name URI:(NSString * _Nullable)URI |
| Declaration | |
|---|---|
| From | - (instancetype)initWithXMLString:(NSString *)string error:(NSError **)error |
| To | - (instancetype _Nullable)initWithXMLString:(NSString * _Nonnull)string error:(NSError * _Nullable * _Nullable)error |
Modified -[NSXMLElement insertChild:atIndex:]
| Declaration | |
|---|---|
| From | - (void)insertChild:(NSXMLNode *)child atIndex:(NSUInteger)index |
| To | - (void)insertChild:(NSXMLNode * _Nonnull)child atIndex:(NSUInteger)index |
| Declaration | |
|---|---|
| From | - (void)insertChildren:(NSArray *)children atIndex:(NSUInteger)index |
| To | - (void)insertChildren:(NSArray<NSXMLNode *> * _Nonnull)children atIndex:(NSUInteger)index |
Modified -[NSXMLElement namespaceForPrefix:]
| Declaration | |
|---|---|
| From | - (NSXMLNode *)namespaceForPrefix:(NSString *)name |
| To | - (NSXMLNode * _Nullable)namespaceForPrefix:(NSString * _Nonnull)name |
Modified NSXMLElement.namespaces
| Declaration | |
|---|---|
| From | @property(copy) NSArray *namespaces |
| To | @property(copy, nullable) NSArray<NSXMLNode *> *namespaces |
| Declaration | |
|---|---|
| From | - (void)removeAttributeForName:(NSString *)name |
| To | - (void)removeAttributeForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (void)removeNamespaceForPrefix:(NSString *)name |
| To | - (void)removeNamespaceForPrefix:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode *)node |
| To | - (void)replaceChildAtIndex:(NSUInteger)index withNode:(NSXMLNode * _Nonnull)node |
| Declaration | |
|---|---|
| From | - (NSXMLNode *)resolveNamespaceForName:(NSString *)name |
| To | - (NSXMLNode * _Nullable)resolveNamespaceForName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | - (NSString *)resolvePrefixForNamespaceURI:(NSString *)namespaceURI |
| To | - (NSString * _Nullable)resolvePrefixForNamespaceURI:(NSString * _Nonnull)namespaceURI |
| Declaration | |
|---|---|
| From | - (void)setAttributesAsDictionary:(NSDictionary *)attributes |
| To | - (void)setAttributesAsDictionary:(NSDictionary * _Nonnull)attributes |
| Declaration | |
|---|---|
| From | - (void)setAttributesWithDictionary:(NSDictionary *)attributes |
| To | - (void)setAttributesWithDictionary:(NSDictionary<NSString *,NSString *> * _Nonnull)attributes |
Modified -[NSXMLElement setChildren:]
| Declaration | |
|---|---|
| From | - (void)setChildren:(NSArray *)children |
| To | - (void)setChildren:(NSArray<NSXMLNode *> * _Nullable)children |
NSXMLNode.h
| Declaration | |
|---|---|
| From | + (id)attributeWithName:(NSString *)name stringValue:(NSString *)stringValue |
| To | + (id _Nonnull)attributeWithName:(NSString * _Nonnull)name stringValue:(NSString * _Nonnull)stringValue |
| Declaration | |
|---|---|
| From | + (id)attributeWithName:(NSString *)name URI:(NSString *)URI stringValue:(NSString *)stringValue |
| To | + (id _Nonnull)attributeWithName:(NSString * _Nonnull)name URI:(NSString * _Nonnull)URI stringValue:(NSString * _Nonnull)stringValue |
| Declaration | |
|---|---|
| From | - (NSString *)canonicalXMLStringPreservingComments:(BOOL)comments |
| To | - (NSString * _Nonnull)canonicalXMLStringPreservingComments:(BOOL)comments |
Modified -[NSXMLNode childAtIndex:]
| Declaration | |
|---|---|
| From | - (NSXMLNode *)childAtIndex:(NSUInteger)index |
| To | - (NSXMLNode * _Nullable)childAtIndex:(NSUInteger)index |
Modified NSXMLNode.children
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSArray *children |
| To | @property(readonly, copy, nullable) NSArray<NSXMLNode *> *children |
Modified +[NSXMLNode commentWithStringValue:]
| Declaration | |
|---|---|
| From | + (id)commentWithStringValue:(NSString *)stringValue |
| To | + (id _Nonnull)commentWithStringValue:(NSString * _Nonnull)stringValue |
Modified NSXMLNode.description
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *description |
| To | @property(readonly, copy, nonnull) NSString *description |
Modified +[NSXMLNode document]
| Declaration | |
|---|---|
| From | + (id)document |
| To | + (id _Nonnull)document |
| Declaration | |
|---|---|
| From | + (id)documentWithRootElement:(NSXMLElement *)element |
| To | + (id _Nonnull)documentWithRootElement:(NSXMLElement * _Nonnull)element |
Modified +[NSXMLNode DTDNodeWithXMLString:]
| Declaration | |
|---|---|
| From | + (id)DTDNodeWithXMLString:(NSString *)string |
| To | + (id _Nullable)DTDNodeWithXMLString:(NSString * _Nonnull)string |
Modified +[NSXMLNode elementWithName:]
| Declaration | |
|---|---|
| From | + (id)elementWithName:(NSString *)name |
| To | + (id _Nonnull)elementWithName:(NSString * _Nonnull)name |
| Declaration | |
|---|---|
| From | + (id)elementWithName:(NSString *)name children:(NSArray *)children attributes:(NSArray *)attributes |
| To | + (id _Nonnull)elementWithName:(NSString * _Nonnull)name children:(NSArray<NSXMLNode *> * _Nullable)children attributes:(NSArray<NSXMLNode *> * _Nullable)attributes |
| Declaration | |
|---|---|
| From | + (id)elementWithName:(NSString *)name stringValue:(NSString *)string |
| To | + (id _Nonnull)elementWithName:(NSString * _Nonnull)name stringValue:(NSString * _Nonnull)string |
Modified +[NSXMLNode elementWithName:URI:]
| Declaration | |
|---|---|
| From | + (id)elementWithName:(NSString *)name URI:(NSString *)URI |
| To | + (id _Nonnull)elementWithName:(NSString * _Nonnull)name URI:(NSString * _Nonnull)URI |
Modified -[NSXMLNode init]
| Declaration | |
|---|---|
| From | - (instancetype)init |
| To | - (instancetype _Nonnull)init |
Modified -[NSXMLNode initWithKind:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithKind:(NSXMLNodeKind)kind |
| To | - (instancetype _Nonnull)initWithKind:(NSXMLNodeKind)kind |
Modified -[NSXMLNode initWithKind:options:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithKind:(NSXMLNodeKind)kind options:(NSUInteger)options |
| To | - (instancetype _Nonnull)initWithKind:(NSXMLNodeKind)kind options:(NSUInteger)options |
Modified NSXMLNode.localName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *localName |
| To | @property(readonly, copy, nullable) NSString *localName |
Modified +[NSXMLNode localNameForName:]
| Declaration | |
|---|---|
| From | + (NSString *)localNameForName:(NSString *)name |
| To | + (NSString * _Nonnull)localNameForName:(NSString * _Nonnull)name |
Modified NSXMLNode.name
| Declaration | |
|---|---|
| From | @property(copy) NSString *name |
| To | @property(copy, nullable) NSString *name |
| Declaration | |
|---|---|
| From | + (id)namespaceWithName:(NSString *)name stringValue:(NSString *)stringValue |
| To | + (id _Nonnull)namespaceWithName:(NSString * _Nonnull)name stringValue:(NSString * _Nonnull)stringValue |
Modified NSXMLNode.nextNode
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSXMLNode *nextNode |
| To | @property(readonly, copy, nullable) NSXMLNode *nextNode |
Modified NSXMLNode.nextSibling
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSXMLNode *nextSibling |
| To | @property(readonly, copy, nullable) NSXMLNode *nextSibling |
Modified -[NSXMLNode nodesForXPath:error:]
| Declaration | |
|---|---|
| From | - (NSArray *)nodesForXPath:(NSString *)xpath error:(NSError **)error |
| To | - (NSArray<__kindof NSXMLNode *> * _Nullable)nodesForXPath:(NSString * _Nonnull)xpath error:(NSError * _Nullable * _Nullable)error |
| Declaration | |
|---|---|
| From | - (NSArray *)objectsForXQuery:(NSString *)xquery constants:(NSDictionary *)constants error:(NSError **)error |
| To | - (NSArray * _Nullable)objectsForXQuery:(NSString * _Nonnull)xquery constants:(NSDictionary<NSString *,id> * _Nullable)constants error:(NSError * _Nullable * _Nullable)error |
Modified -[NSXMLNode objectsForXQuery:error:]
| Declaration | |
|---|---|
| From | - (NSArray *)objectsForXQuery:(NSString *)xquery error:(NSError **)error |
| To | - (NSArray * _Nullable)objectsForXQuery:(NSString * _Nonnull)xquery error:(NSError * _Nullable * _Nullable)error |
Modified NSXMLNode.objectValue
| Declaration | |
|---|---|
| From | @property(retain) id objectValue |
| To | @property(retain, nullable) id objectValue |
Modified NSXMLNode.parent
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSXMLNode *parent |
| To | @property(readonly, copy, nullable) NSXMLNode *parent |
| Declaration | |
|---|---|
| From | + (NSXMLNode *)predefinedNamespaceForPrefix:(NSString *)name |
| To | + (NSXMLNode * _Nullable)predefinedNamespaceForPrefix:(NSString * _Nonnull)name |
Modified NSXMLNode.prefix
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *prefix |
| To | @property(readonly, copy, nullable) NSString *prefix |
Modified +[NSXMLNode prefixForName:]
| Declaration | |
|---|---|
| From | + (NSString *)prefixForName:(NSString *)name |
| To | + (NSString * _Nullable)prefixForName:(NSString * _Nonnull)name |
Modified NSXMLNode.previousNode
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSXMLNode *previousNode |
| To | @property(readonly, copy, nullable) NSXMLNode *previousNode |
Modified NSXMLNode.previousSibling
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSXMLNode *previousSibling |
| To | @property(readonly, copy, nullable) NSXMLNode *previousSibling |
| Declaration | |
|---|---|
| From | + (id)processingInstructionWithName:(NSString *)name stringValue:(NSString *)stringValue |
| To | + (id _Nonnull)processingInstructionWithName:(NSString * _Nonnull)name stringValue:(NSString * _Nonnull)stringValue |
Modified NSXMLNode.rootDocument
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSXMLDocument *rootDocument |
| To | @property(readonly, retain, nullable) NSXMLDocument *rootDocument |
| Declaration | |
|---|---|
| From | - (void)setStringValue:(NSString *)string resolvingEntities:(BOOL)resolve |
| To | - (void)setStringValue:(NSString * _Nonnull)string resolvingEntities:(BOOL)resolve |
Modified NSXMLNode.stringValue
| Declaration | |
|---|---|
| From | @property(copy) NSString *stringValue |
| To | @property(copy, nullable) NSString *stringValue |
Modified +[NSXMLNode textWithStringValue:]
| Declaration | |
|---|---|
| From | + (id)textWithStringValue:(NSString *)stringValue |
| To | + (id _Nonnull)textWithStringValue:(NSString * _Nonnull)stringValue |
Modified NSXMLNode.URI
| Declaration | |
|---|---|
| From | @property(copy) NSString *URI |
| To | @property(copy, nullable) NSString *URI |
Modified NSXMLNode.XMLString
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *XMLString |
| To | @property(readonly, copy, nonnull) NSString *XMLString |
Modified -[NSXMLNode XMLStringWithOptions:]
| Declaration | |
|---|---|
| From | - (NSString *)XMLStringWithOptions:(NSUInteger)options |
| To | - (NSString * _Nonnull)XMLStringWithOptions:(NSUInteger)options |
Modified NSXMLNode.XPath
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *XPath |
| To | @property(readonly, copy, nullable) NSString *XPath |
NSXMLParser.h
| Declaration | |
|---|---|
| From | @property(copy) NSSet *allowedExternalEntityURLs |
| To | @property(copy, nullable) NSSet<NSURL *> *allowedExternalEntityURLs |
Modified NSXMLParser.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSXMLParserDelegate> delegate |
| To | @property(assign, nullable) id<NSXMLParserDelegate> delegate |
| Declaration | |
|---|---|
| From | - (instancetype)initWithContentsOfURL:(NSURL *)url |
| To | - (instancetype _Nullable)initWithContentsOfURL:(NSURL * _Nonnull)url |
Modified -[NSXMLParser initWithData:]
| Declaration | Designated Initializer | |
|---|---|---|
| From | - (instancetype)initWithData:(NSData *)data | -- |
| To | - (instancetype _Nonnull)initWithData:(NSData * _Nonnull)data | yes |
Modified -[NSXMLParser initWithStream:]
| Declaration | |
|---|---|
| From | - (instancetype)initWithStream:(NSInputStream *)stream |
| To | - (instancetype _Nonnull)initWithStream:(NSInputStream * _Nonnull)stream |
Modified NSXMLParser.parserError
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSError *parserError |
| To | @property(readonly, copy, nullable) NSError *parserError |
Modified NSXMLParser.publicID
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *publicID |
| To | @property(readonly, copy, nullable) NSString *publicID |
Modified NSXMLParser.systemID
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *systemID |
| To | @property(readonly, copy, nullable) NSString *systemID |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser didEndElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser didEndElement:(NSString * _Nonnull)elementName namespaceURI:(NSString * _Nullable)namespaceURI qualifiedName:(NSString * _Nullable)qName |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser didEndMappingPrefix:(NSString *)prefix |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser didEndMappingPrefix:(NSString * _Nonnull)prefix |
| 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 |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser didStartMappingPrefix:(NSString *)prefix toURI:(NSString *)namespaceURI |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser didStartMappingPrefix:(NSString * _Nonnull)prefix toURI:(NSString * _Nonnull)namespaceURI |
Modified -[NSXMLParserDelegate parser:foundAttributeDeclarationWithName:forElement:type:defaultValue:]
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundAttributeDeclarationWithName:(NSString *)attributeName forElement:(NSString *)elementName type:(NSString *)type defaultValue:(NSString *)defaultValue |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundAttributeDeclarationWithName:(NSString * _Nonnull)attributeName forElement:(NSString * _Nonnull)elementName type:(NSString * _Nullable)type defaultValue:(NSString * _Nullable)defaultValue |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundCDATA:(NSData *)CDATABlock |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundCDATA:(NSData * _Nonnull)CDATABlock |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundCharacters:(NSString *)string |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundCharacters:(NSString * _Nonnull)string |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundComment:(NSString *)comment |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundComment:(NSString * _Nonnull)comment |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundElementDeclarationWithName:(NSString *)elementName model:(NSString *)model |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundElementDeclarationWithName:(NSString * _Nonnull)elementName model:(NSString * _Nonnull)model |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundExternalEntityDeclarationWithName:(NSString *)name publicID:(NSString *)publicID systemID:(NSString *)systemID |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundExternalEntityDeclarationWithName:(NSString * _Nonnull)name publicID:(NSString * _Nullable)publicID systemID:(NSString * _Nullable)systemID |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundIgnorableWhitespace:(NSString *)whitespaceString |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundIgnorableWhitespace:(NSString * _Nonnull)whitespaceString |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundInternalEntityDeclarationWithName:(NSString *)name value:(NSString *)value |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundInternalEntityDeclarationWithName:(NSString * _Nonnull)name value:(NSString * _Nullable)value |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundNotationDeclarationWithName:(NSString *)name publicID:(NSString *)publicID systemID:(NSString *)systemID |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundNotationDeclarationWithName:(NSString * _Nonnull)name publicID:(NSString * _Nullable)publicID systemID:(NSString * _Nullable)systemID |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundProcessingInstructionWithTarget:(NSString *)target data:(NSString *)data |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundProcessingInstructionWithTarget:(NSString * _Nonnull)target data:(NSString * _Nullable)data |
Modified -[NSXMLParserDelegate parser:foundUnparsedEntityDeclarationWithName:publicID:systemID:notationName:]
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser foundUnparsedEntityDeclarationWithName:(NSString *)name publicID:(NSString *)publicID systemID:(NSString *)systemID notationName:(NSString *)notationName |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser foundUnparsedEntityDeclarationWithName:(NSString * _Nonnull)name publicID:(NSString * _Nullable)publicID systemID:(NSString * _Nullable)systemID notationName:(NSString * _Nullable)notationName |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser parseErrorOccurred:(NSError *)parseError |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser parseErrorOccurred:(NSError * _Nonnull)parseError |
| Declaration | |
|---|---|
| From | - (NSData *)parser:(NSXMLParser *)parser resolveExternalEntityName:(NSString *)name systemID:(NSString *)systemID |
| To | - (NSData * _Nullable)parser:(NSXMLParser * _Nonnull)parser resolveExternalEntityName:(NSString * _Nonnull)name systemID:(NSString * _Nullable)systemID |
| Declaration | |
|---|---|
| From | - (void)parser:(NSXMLParser *)parser validationErrorOccurred:(NSError *)validationError |
| To | - (void)parser:(NSXMLParser * _Nonnull)parser validationErrorOccurred:(NSError * _Nonnull)validationError |
| Declaration | |
|---|---|
| From | - (void)parserDidEndDocument:(NSXMLParser *)parser |
| To | - (void)parserDidEndDocument:(NSXMLParser * _Nonnull)parser |
| Declaration | |
|---|---|
| From | - (void)parserDidStartDocument:(NSXMLParser *)parser |
| To | - (void)parserDidStartDocument:(NSXMLParser * _Nonnull)parser |
NSXPCConnection.h
Modified NSXPCConnection.endpoint
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSXPCListenerEndpoint *endpoint |
| To | @property(readonly, retain, nonnull) NSXPCListenerEndpoint *endpoint |
Modified NSXPCConnection.exportedInterface
| Declaration | |
|---|---|
| From | @property(retain) NSXPCInterface *exportedInterface |
| To | @property(retain, nullable) NSXPCInterface *exportedInterface |
Modified NSXPCConnection.exportedObject
| Declaration | |
|---|---|
| From | @property(retain) id exportedObject |
| To | @property(retain, nullable) id exportedObject |
| Declaration | |
|---|---|
| From | - (instancetype)initWithListenerEndpoint:(NSXPCListenerEndpoint *)endpoint |
| To | - (instancetype _Nonnull)initWithListenerEndpoint:(NSXPCListenerEndpoint * _Nonnull)endpoint |
| Declaration | |
|---|---|
| From | - (instancetype)initWithMachServiceName:(NSString *)name options:(NSXPCConnectionOptions)options |
| To | - (instancetype _Nonnull)initWithMachServiceName:(NSString * _Nonnull)name options:(NSXPCConnectionOptions)options |
| Declaration | |
|---|---|
| From | - (instancetype)initWithServiceName:(NSString *)serviceName |
| To | - (instancetype _Nonnull)initWithServiceName:(NSString * _Nonnull)serviceName |
Modified NSXPCConnection.interruptionHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^interruptionHandler)(void) |
| To | @property(copy, nullable) void (^interruptionHandler)(void) |
Modified NSXPCConnection.invalidationHandler
| Declaration | |
|---|---|
| From | @property(copy) void (^invalidationHandler)(void) |
| To | @property(copy, nullable) void (^invalidationHandler)(void) |
| Declaration | |
|---|---|
| From | @property(retain) NSXPCInterface *remoteObjectInterface |
| To | @property(retain, nullable) NSXPCInterface *remoteObjectInterface |
Modified NSXPCConnection.remoteObjectProxy
| Declaration | |
|---|---|
| From | @property(readonly, retain) id remoteObjectProxy |
| To | @property(readonly, retain, nonnull) id remoteObjectProxy |
| Declaration | |
|---|---|
| From | - (id)remoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler |
| To | - (id _Nonnull)remoteObjectProxyWithErrorHandler:(void (^ _Nonnull)(NSError * _Nonnull error))handler |
Modified NSXPCConnection.serviceName
| Declaration | |
|---|---|
| From | @property(readonly, copy) NSString *serviceName |
| To | @property(readonly, copy, nullable) NSString *serviceName |
| Declaration | |
|---|---|
| From | - (NSSet *)classesForSelector:(SEL)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
| To | - (NSSet<Class> * _Nonnull)classesForSelector:(SEL _Nonnull)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
| Declaration | |
|---|---|
| From | - (NSXPCInterface *)interfaceForSelector:(SEL)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
| To | - (NSXPCInterface * _Nullable)interfaceForSelector:(SEL _Nonnull)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
| Declaration | |
|---|---|
| From | + (NSXPCInterface *)interfaceWithProtocol:(Protocol *)protocol |
| To | + (NSXPCInterface * _Nonnull)interfaceWithProtocol:(Protocol * _Nonnull)protocol |
Modified NSXPCInterface.protocol
| Declaration | |
|---|---|
| From | @property(assign) Protocol *protocol |
| To | @property(assign, nonnull) Protocol *protocol |
| Declaration | |
|---|---|
| From | - (void)setClasses:(NSSet *)classes forSelector:(SEL)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
| To | - (void)setClasses:(NSSet<Class> * _Nonnull)classes forSelector:(SEL _Nonnull)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
| Declaration | |
|---|---|
| From | - (void)setInterface:(NSXPCInterface *)ifc forSelector:(SEL)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
| To | - (void)setInterface:(NSXPCInterface * _Nonnull)ifc forSelector:(SEL _Nonnull)sel argumentIndex:(NSUInteger)arg ofReply:(BOOL)ofReply |
Modified +[NSXPCListener anonymousListener]
| Declaration | |
|---|---|
| From | + (NSXPCListener *)anonymousListener |
| To | + (NSXPCListener * _Nonnull)anonymousListener |
Modified NSXPCListener.delegate
| Declaration | |
|---|---|
| From | @property(assign) id<NSXPCListenerDelegate> delegate |
| To | @property(assign, nullable) id<NSXPCListenerDelegate> delegate |
Modified NSXPCListener.endpoint
| Declaration | |
|---|---|
| From | @property(readonly, retain) NSXPCListenerEndpoint *endpoint |
| To | @property(readonly, retain, nonnull) NSXPCListenerEndpoint *endpoint |
| Declaration | |
|---|---|
| From | - (instancetype)initWithMachServiceName:(NSString *)name |
| To | - (instancetype _Nonnull)initWithMachServiceName:(NSString * _Nonnull)name |
Modified +[NSXPCListener serviceListener]
| Declaration | |
|---|---|
| From | + (NSXPCListener *)serviceListener |
| To | + (NSXPCListener * _Nonnull)serviceListener |
| Declaration | |
|---|---|
| From | - (BOOL)listener:(NSXPCListener *)listener shouldAcceptNewConnection:(NSXPCConnection *)newConnection |
| To | - (BOOL)listener:(NSXPCListener * _Nonnull)listener shouldAcceptNewConnection:(NSXPCConnection * _Nonnull)newConnection |
| Declaration | |
|---|---|
| From | - (id)remoteObjectProxy |
| To | - (id _Nonnull)remoteObjectProxy |
| Declaration | |
|---|---|
| From | - (id)remoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler |
| To | - (id _Nonnull)remoteObjectProxyWithErrorHandler:(void (^ _Nonnull)(NSError * _Nonnull error))handler |
NSZone.h
Modified NSAllocateCollectable()
| Declaration | |
|---|---|
| From | void * NSAllocateCollectable (
NSUInteger size,
NSUInteger options
);
|
| To | void * _Nonnull NSAllocateCollectable (
NSUInteger size,
NSUInteger options
);
|
Modified NSAllocateMemoryPages()
| Declaration | |
|---|---|
| From | void * NSAllocateMemoryPages (
NSUInteger bytes
);
|
| To | void * _Nonnull NSAllocateMemoryPages (
NSUInteger bytes
);
|
Modified NSCopyMemoryPages()
| Declaration | |
|---|---|
| From | void NSCopyMemoryPages (
const void *source,
void *dest,
NSUInteger bytes
);
|
| To | void NSCopyMemoryPages (
const void * _Nonnull source,
void * _Nonnull dest,
NSUInteger bytes
);
|
Modified NSCreateZone()
| Declaration | |
|---|---|
| From | NSZone * NSCreateZone (
NSUInteger startSize,
NSUInteger granularity,
BOOL canFree
);
|
| To | NSZone * _Nonnull NSCreateZone (
NSUInteger startSize,
NSUInteger granularity,
BOOL canFree
);
|
Modified NSDeallocateMemoryPages()
| Declaration | |
|---|---|
| From | void NSDeallocateMemoryPages (
void *ptr,
NSUInteger bytes
);
|
| To | void NSDeallocateMemoryPages (
void * _Nonnull ptr,
NSUInteger bytes
);
|
Modified NSDefaultMallocZone()
| Declaration | |
|---|---|
| From | NSZone * NSDefaultMallocZone (
void
);
|
| To | NSZone * _Nonnull NSDefaultMallocZone (
void
);
|
Modified NSMakeCollectable()
| Declaration | |
|---|---|
| From | id NSMakeCollectable (
CFTypeRef cf
);
|
| To | id _Nullable NSMakeCollectable (
CFTypeRef _Nullable cf
);
|
Modified NSReallocateCollectable()
| Declaration | |
|---|---|
| From | void * NSReallocateCollectable (
void *ptr,
NSUInteger size,
NSUInteger options
);
|
| To | void * _Nonnull NSReallocateCollectable (
void * _Nullable ptr,
NSUInteger size,
NSUInteger options
);
|
Modified NSRecycleZone()
| Declaration | |
|---|---|
| From | void NSRecycleZone (
NSZone *zone
);
|
| To | void NSRecycleZone (
NSZone * _Nonnull zone
);
|
Modified NSSetZoneName()
| Declaration | |
|---|---|
| From | void NSSetZoneName (
NSZone *zone,
NSString *name
);
|
| To | void NSSetZoneName (
NSZone * _Nullable zone,
NSString * _Nonnull name
);
|
Modified NSZoneCalloc()
| Declaration | |
|---|---|
| From | void * NSZoneCalloc (
NSZone *zone,
NSUInteger numElems,
NSUInteger byteSize
);
|
| To | void * _Nonnull NSZoneCalloc (
NSZone * _Nullable zone,
NSUInteger numElems,
NSUInteger byteSize
);
|
Modified NSZoneFree()
| Declaration | |
|---|---|
| From | void NSZoneFree (
NSZone *zone,
void *ptr
);
|
| To | void NSZoneFree (
NSZone * _Nullable zone,
void * _Nonnull ptr
);
|
Modified NSZoneFromPointer()
| Declaration | |
|---|---|
| From | NSZone * NSZoneFromPointer (
void *ptr
);
|
| To | NSZone * _Nullable NSZoneFromPointer (
void * _Nonnull ptr
);
|
Modified NSZoneMalloc()
| Declaration | |
|---|---|
| From | void * NSZoneMalloc (
NSZone *zone,
NSUInteger size
);
|
| To | void * _Nonnull NSZoneMalloc (
NSZone * _Nullable zone,
NSUInteger size
);
|
Modified NSZoneName()
| Declaration | |
|---|---|
| From | NSString * NSZoneName (
NSZone *zone
);
|
| To | NSString * _Nonnull NSZoneName (
NSZone * _Nullable zone
);
|
Modified NSZoneRealloc()
| Declaration | |
|---|---|
| From | void * NSZoneRealloc (
NSZone *zone,
void *ptr,
NSUInteger size
);
|
| To | void * _Nonnull NSZoneRealloc (
NSZone * _Nullable zone,
void * _Nullable ptr,
NSUInteger size
);
|