Documentation Archive Developer
Search

Foundation Changes

Foundation

NSArray.h
Declaration
From+ (id)array
To+ (instancetype)array

Declaration
From+ (id)arrayWithArray:(NSArray *)array
To+ (instancetype)arrayWithArray:(NSArray *)array

Declaration
From+ (id)arrayWithObject:(id)anObject
To+ (instancetype)arrayWithObject:(id)anObject

Declaration
From+ (id)arrayWithObjects:(id)firstObj, ...
To+ (instancetype)arrayWithObjects:(id)firstObj, ...

Declaration
From+ (id)arrayWithObjects:(const id [])objects count:(NSUInteger)cnt
To+ (instancetype)arrayWithObjects:(const id [])objects count:(NSUInteger)cnt

Declaration
From- (id)initWithArray:(NSArray *)array
To- (instancetype)initWithArray:(NSArray *)array

Declaration
From- (id)initWithArray:(NSArray *)array copyItems:(BOOL)flag
To- (instancetype)initWithArray:(NSArray *)array copyItems:(BOOL)flag

Declaration
From- (id)initWithObjects:(id)firstObj, ...
To- (instancetype)initWithObjects:(id)firstObj, ...

Declaration
From- (id)initWithObjects:(const id [])objects count:(NSUInteger)cnt
To- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt

Declaration
From+ (id)arrayWithCapacity:(NSUInteger)numItems
To+ (instancetype)arrayWithCapacity:(NSUInteger)numItems

Declaration
From- (id)initWithCapacity:(NSUInteger)numItems
To- (instancetype)initWithCapacity:(NSUInteger)numItems

NSCalendar.h
Added -[NSDateComponents isValidDate]
Added #def NS_CALENDAR_DEPRECATED
Added #def NS_CALENDAR_DEPRECATED_MAC
Added #def NS_CALENDAR_ENUM_DEPRECATED
Declaration
From- (NSDateComponents *)components:(NSUInteger)unitFlags fromDate:(NSDate *)date
To- (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDate:(NSDate *)date

Declaration
From- (NSDateComponents *)components:(NSUInteger)unitFlags fromDate:(NSDate *)startingDate toDate:(NSDate *)resultDate options:(NSUInteger)opts
To- (NSDateComponents *)components:(NSCalendarUnit)unitFlags fromDate:(NSDate *)startingDate toDate:(NSDate *)resultDate options:(NSCalendarOptions)opts

Declaration
From- (NSDate *)dateByAddingComponents:(NSDateComponents *)comps toDate:(NSDate *)date options:(NSUInteger)opts
To- (NSDate *)dateByAddingComponents:(NSDateComponents *)comps toDate:(NSDate *)date options:(NSCalendarOptions)opts

NSDate.h
Declaration
From+ (id)date
To+ (instancetype)date

Declaration
From+ (id)dateWithTimeInterval:(NSTimeInterval)ti sinceDate:(NSDate *)date
To+ (instancetype)dateWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate *)date

Declaration
From+ (id)dateWithTimeIntervalSince1970:(NSTimeInterval)secs
To+ (instancetype)dateWithTimeIntervalSince1970:(NSTimeInterval)secs

Declaration
From+ (id)dateWithTimeIntervalSinceNow:(NSTimeInterval)secs
To+ (instancetype)dateWithTimeIntervalSinceNow:(NSTimeInterval)secs

Declaration
From+ (id)dateWithTimeIntervalSinceReferenceDate:(NSTimeInterval)secs
To+ (instancetype)dateWithTimeIntervalSinceReferenceDate:(NSTimeInterval)ti

Declaration
From- (id)init
To- (instancetype)init

Declaration
From- (id)initWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate *)anotherDate
To- (instancetype)initWithTimeInterval:(NSTimeInterval)secsToBeAdded sinceDate:(NSDate *)date

Declaration
From- (id)initWithTimeIntervalSince1970:(NSTimeInterval)ti
To- (instancetype)initWithTimeIntervalSince1970:(NSTimeInterval)secs

Declaration
From- (id)initWithTimeIntervalSinceNow:(NSTimeInterval)secs
To- (instancetype)initWithTimeIntervalSinceNow:(NSTimeInterval)secs

Declaration
From- (id)initWithTimeIntervalSinceReferenceDate:(NSTimeInterval)secsToBeAdded
To- (instancetype)initWithTimeIntervalSinceReferenceDate:(NSTimeInterval)ti

NSDictionary.h
Declaration
From+ (id)dictionary
To+ (instancetype)dictionary

Declaration
From+ (id)dictionaryWithDictionary:(NSDictionary *)dict
To+ (instancetype)dictionaryWithDictionary:(NSDictionary *)dict

Declaration
From+ (id)dictionaryWithObject:(id)object forKey:(id<NSCopying>)key
To+ (instancetype)dictionaryWithObject:(id)object forKey:(id<NSCopying>)key

Declaration
From+ (id)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys
To+ (instancetype)dictionaryWithObjects:(NSArray *)objects forKeys:(NSArray *)keys

Declaration
From+ (id)dictionaryWithObjects:(const id [])objects forKeys:(const id<NSCopying> [])keys count:(NSUInteger)cnt
To+ (instancetype)dictionaryWithObjects:(const id [])objects forKeys:(const id<NSCopying> [])keys count:(NSUInteger)cnt

Declaration
From+ (id)dictionaryWithObjectsAndKeys:(id)firstObject, ...
To+ (instancetype)dictionaryWithObjectsAndKeys:(id)firstObject, ...

Declaration
From- (id)initWithDictionary:(NSDictionary *)otherDictionary
To- (instancetype)initWithDictionary:(NSDictionary *)otherDictionary

Declaration
From- (id)initWithDictionary:(NSDictionary *)otherDictionary copyItems:(BOOL)flag
To- (instancetype)initWithDictionary:(NSDictionary *)otherDictionary copyItems:(BOOL)flag

Declaration
From- (id)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys
To- (instancetype)initWithObjects:(NSArray *)objects forKeys:(NSArray *)keys

Declaration
From- (id)initWithObjects:(const id [])objects forKeys:(const id<NSCopying> [])keys count:(NSUInteger)cnt
To- (instancetype)initWithObjects:(const id [])objects forKeys:(const id<NSCopying> [])keys count:(NSUInteger)cnt

Declaration
From- (id)initWithObjectsAndKeys:(id)firstObject, ...
To- (instancetype)initWithObjectsAndKeys:(id)firstObject, ...

Declaration
From+ (id)dictionaryWithCapacity:(NSUInteger)numItems
To+ (instancetype)dictionaryWithCapacity:(NSUInteger)numItems

Declaration
From- (id)initWithCapacity:(NSUInteger)numItems
To- (instancetype)initWithCapacity:(NSUInteger)numItems

NSExpression.h
Modified NSExpression
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSIndexPath.h
Added -[NSIndexPath init]
Declaration
From+ (id)indexPathWithIndex:(NSUInteger)index
To+ (instancetype)indexPathWithIndex:(NSUInteger)index

Declaration
From+ (id)indexPathWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length
To+ (instancetype)indexPathWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length

Declaration
From- (id)initWithIndex:(NSUInteger)index
To- (instancetype)initWithIndex:(NSUInteger)index

Declaration
From- (id)initWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length
To- (instancetype)initWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length

NSIndexSet.h
Declaration
From+ (id)indexSet
To+ (instancetype)indexSet

Declaration
From+ (id)indexSetWithIndex:(NSUInteger)value
To+ (instancetype)indexSetWithIndex:(NSUInteger)value

Declaration
From+ (id)indexSetWithIndexesInRange:(NSRange)range
To+ (instancetype)indexSetWithIndexesInRange:(NSRange)range

Declaration
From- (id)init
To- (instancetype)init

Declaration
From- (id)initWithIndex:(NSUInteger)value
To- (instancetype)initWithIndex:(NSUInteger)value

Declaration
From- (id)initWithIndexSet:(NSIndexSet *)indexSet
To- (instancetype)initWithIndexSet:(NSIndexSet *)indexSet

Declaration
From- (id)initWithIndexesInRange:(NSRange)range
To- (instancetype)initWithIndexesInRange:(NSRange)range

NSLocale.h
Added -[NSLocale init]
Declaration
From- (id)initWithLocaleIdentifier:(NSString *)string
To- (instancetype)initWithLocaleIdentifier:(NSString *)string

NSMetadata.h
Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

HeaderDeprecation
FromFoundation/NSMetadata.hnone
ToFoundation/NSMetadataAttributes.hOS X 10.9

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

NSMetadataAttributes.h
Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

HeaderDeprecation
FromFoundation/NSMetadata.hnone
ToFoundation/NSMetadataAttributes.hOS X 10.9

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

Header
FromFoundation/NSMetadata.h
ToFoundation/NSMetadataAttributes.h

NSNotification.h
Added -[NSNotificationCenter init]
Declaration
From+ (id)notificationWithName:(NSString *)aName object:(id)anObject
To+ (instancetype)notificationWithName:(NSString *)aName object:(id)anObject

Declaration
From+ (id)notificationWithName:(NSString *)aName object:(id)anObject userInfo:(NSDictionary *)aUserInfo
To+ (instancetype)notificationWithName:(NSString *)aName object:(id)anObject userInfo:(NSDictionary *)aUserInfo

Declaration
From+ (id)defaultCenter
To+ (instancetype)defaultCenter

NSObjCRuntime.h
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_0_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_1_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_2_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_3_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_4_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_5_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_6_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_7_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_10_8_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Removed #def AVAILABLE_MAC_OS_X_VERSION_NA_AND_LATER_BUT_DEPRECATED_IN_MAC_OS_X_VERSION_NA
Added #def NS_CLASS_DEPRECATED
Added #def NS_CLASS_DEPRECATED_IOS
Added #def NS_CLASS_DEPRECATED_MAC
Modified #def NSINTEGER_DEFINED
Header
FromFoundation/NSObjCRuntime.h
Toobjc/NSObjCRuntime.h

Modified NSInteger
Header
FromFoundation/NSObjCRuntime.h
Toobjc/NSObjCRuntime.h

Header
FromFoundation/NSObjCRuntime.h
Toobjc/NSObjCRuntime.h

Header
FromFoundation/NSObjCRuntime.h
Toobjc/NSObjCRuntime.h

Modified NSUInteger
Header
FromFoundation/NSObjCRuntime.h
Toobjc/NSObjCRuntime.h

Header
FromFoundation/NSObjCRuntime.h
Toobjc/NSObjCRuntime.h

NSObject.h
Modified NSObject
Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Modified NSObject
Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

HeaderDeclaration
FromFoundation/NSObject.h+ (id)allocWithZone:(NSZone *)zone
Toobjc/NSObject.h+ (id)allocWithZone:(struct _NSZone *)zone

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

HeaderDeclaration
FromFoundation/NSObject.h+ (id)copyWithZone:(NSZone *)zone
Toobjc/NSObject.h+ (id)copyWithZone:(struct _NSZone *)zone

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

HeaderDeclaration
FromFoundation/NSObject.h+ (id)mutableCopyWithZone:(NSZone *)zone
Toobjc/NSObject.h+ (id)mutableCopyWithZone:(struct _NSZone *)zone

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

Header
FromFoundation/NSObject.h
Toobjc/NSObject.h

HeaderDeclaration
FromFoundation/NSObject.h- (NSZone *)zone
Toobjc/NSObject.h- (struct _NSZone *)zone

NSOrderedSet.h
Declaration
From- (id)initWithCapacity:(NSUInteger)numItems
To- (instancetype)initWithCapacity:(NSUInteger)numItems

Declaration
From+ (id)orderedSetWithCapacity:(NSUInteger)numItems
To+ (instancetype)orderedSetWithCapacity:(NSUInteger)numItems

Declaration
From- (id)initWithArray:(NSArray *)array
To- (instancetype)initWithArray:(NSArray *)array

Declaration
From- (id)initWithArray:(NSArray *)set copyItems:(BOOL)flag
To- (instancetype)initWithArray:(NSArray *)set copyItems:(BOOL)flag

Declaration
From- (id)initWithArray:(NSArray *)set range:(NSRange)range copyItems:(BOOL)flag
To- (instancetype)initWithArray:(NSArray *)set range:(NSRange)range copyItems:(BOOL)flag

Declaration
From- (id)initWithObject:(id)object
To- (instancetype)initWithObject:(id)object

Declaration
From- (id)initWithObjects:(id)firstObj, ...
To- (instancetype)initWithObjects:(id)firstObj, ...

Declaration
From- (id)initWithObjects:(const id [])objects count:(NSUInteger)cnt
To- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt

Declaration
From- (id)initWithOrderedSet:(NSOrderedSet *)set
To- (instancetype)initWithOrderedSet:(NSOrderedSet *)set

Declaration
From- (id)initWithOrderedSet:(NSOrderedSet *)set copyItems:(BOOL)flag
To- (instancetype)initWithOrderedSet:(NSOrderedSet *)set copyItems:(BOOL)flag

Declaration
From- (id)initWithOrderedSet:(NSOrderedSet *)set range:(NSRange)range copyItems:(BOOL)flag
To- (instancetype)initWithOrderedSet:(NSOrderedSet *)set range:(NSRange)range copyItems:(BOOL)flag

Declaration
From- (id)initWithSet:(NSSet *)set
To- (instancetype)initWithSet:(NSSet *)set

Declaration
From- (id)initWithSet:(NSSet *)set copyItems:(BOOL)flag
To- (instancetype)initWithSet:(NSSet *)set copyItems:(BOOL)flag

Declaration
From+ (id)orderedSet
To+ (instancetype)orderedSet

Declaration
From+ (id)orderedSetWithArray:(NSArray *)array
To+ (instancetype)orderedSetWithArray:(NSArray *)array

Declaration
From+ (id)orderedSetWithArray:(NSArray *)array range:(NSRange)range copyItems:(BOOL)flag
To+ (instancetype)orderedSetWithArray:(NSArray *)array range:(NSRange)range copyItems:(BOOL)flag

Declaration
From+ (id)orderedSetWithObject:(id)object
To+ (instancetype)orderedSetWithObject:(id)object

Declaration
From+ (id)orderedSetWithObjects:(id)firstObj, ...
To+ (instancetype)orderedSetWithObjects:(id)firstObj, ...

Declaration
From+ (id)orderedSetWithObjects:(const id [])objects count:(NSUInteger)cnt
To+ (instancetype)orderedSetWithObjects:(const id [])objects count:(NSUInteger)cnt

Declaration
From+ (id)orderedSetWithOrderedSet:(NSOrderedSet *)set
To+ (instancetype)orderedSetWithOrderedSet:(NSOrderedSet *)set

Declaration
From+ (id)orderedSetWithOrderedSet:(NSOrderedSet *)set range:(NSRange)range copyItems:(BOOL)flag
To+ (instancetype)orderedSetWithOrderedSet:(NSOrderedSet *)set range:(NSRange)range copyItems:(BOOL)flag

Declaration
From+ (id)orderedSetWithSet:(NSSet *)set
To+ (instancetype)orderedSetWithSet:(NSSet *)set

Declaration
From+ (id)orderedSetWithSet:(NSSet *)set copyItems:(BOOL)flag
To+ (instancetype)orderedSetWithSet:(NSSet *)set copyItems:(BOOL)flag

NSPredicate.h
Added NSMutableOrderedSet(NSPredicateSupport)
Added NSOrderedSet(NSPredicateSupport)
Modified NSPredicate
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSProgress.h
Added NSProgress
NSScanner.h
Declaration
From- (BOOL)scanCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)value
To- (BOOL)scanCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)result

Declaration
From- (BOOL)scanDouble:(double *)value
To- (BOOL)scanDouble:(double *)result

Declaration
From- (BOOL)scanFloat:(float *)value
To- (BOOL)scanFloat:(float *)result

Declaration
From- (BOOL)scanHexInt:(unsigned int *)value
To- (BOOL)scanHexInt:(unsigned int *)result

Declaration
From- (BOOL)scanInt:(int *)value
To- (BOOL)scanInt:(int *)result

Declaration
From- (BOOL)scanInteger:(NSInteger *)value
To- (BOOL)scanInteger:(NSInteger *)result

Declaration
From- (BOOL)scanLongLong:(long long *)value
To- (BOOL)scanLongLong:(long long *)result

Declaration
From- (BOOL)scanString:(NSString *)string intoString:(NSString **)value
To- (BOOL)scanString:(NSString *)string intoString:(NSString **)result

Declaration
From- (BOOL)scanUpToCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)value
To- (BOOL)scanUpToCharactersFromSet:(NSCharacterSet *)set intoString:(NSString **)result

Declaration
From- (BOOL)scanUpToString:(NSString *)string intoString:(NSString **)value
To- (BOOL)scanUpToString:(NSString *)string intoString:(NSString **)result

NSSet.h
Declaration
From- (id)initWithCapacity:(NSUInteger)numItems
To- (instancetype)initWithCapacity:(NSUInteger)numItems

Declaration
From+ (id)setWithCapacity:(NSUInteger)numItems
To+ (instancetype)setWithCapacity:(NSUInteger)numItems

Declaration
From- (id)initWithArray:(NSArray *)array
To- (instancetype)initWithArray:(NSArray *)array

Declaration
From- (id)initWithObjects:(id)firstObj, ...
To- (instancetype)initWithObjects:(id)firstObj, ...

Declaration
From- (id)initWithObjects:(const id [])objects count:(NSUInteger)cnt
To- (instancetype)initWithObjects:(const id [])objects count:(NSUInteger)cnt

Declaration
From- (id)initWithSet:(NSSet *)set
To- (instancetype)initWithSet:(NSSet *)set

Declaration
From- (id)initWithSet:(NSSet *)set copyItems:(BOOL)flag
To- (instancetype)initWithSet:(NSSet *)set copyItems:(BOOL)flag

Modified +[NSSet set]
Declaration
From+ (id)set
To+ (instancetype)set

Declaration
From+ (id)setWithArray:(NSArray *)array
To+ (instancetype)setWithArray:(NSArray *)array

Declaration
From+ (id)setWithObject:(id)object
To+ (instancetype)setWithObject:(id)object

Declaration
From+ (id)setWithObjects:(id)firstObj, ...
To+ (instancetype)setWithObjects:(id)firstObj, ...

Declaration
From+ (id)setWithObjects:(const id [])objects count:(NSUInteger)cnt
To+ (instancetype)setWithObjects:(const id [])objects count:(NSUInteger)cnt

Declaration
From+ (id)setWithSet:(NSSet *)set
To+ (instancetype)setWithSet:(NSSet *)set

NSSortDescriptor.h
Added NSMutableOrderedSet(NSKeyValueSorting)
Added NSOrderedSet(NSKeyValueSorting)
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSString.h
Declaration
From- (id)init
To- (instancetype)init

Declaration
From- (id)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding
To- (instancetype)initWithBytes:(const void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding

Declaration
From- (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding freeWhenDone:(BOOL)freeBuffer
To- (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)len encoding:(NSStringEncoding)encoding freeWhenDone:(BOOL)freeBuffer

Declaration
From- (id)initWithCString:(const char *)nullTerminatedCString encoding:(NSStringEncoding)encoding
To- (instancetype)initWithCString:(const char *)nullTerminatedCString encoding:(NSStringEncoding)encoding

Declaration
From- (id)initWithCharacters:(const unichar *)characters length:(NSUInteger)length
To- (instancetype)initWithCharacters:(const unichar *)characters length:(NSUInteger)length

Declaration
From- (id)initWithCharactersNoCopy:(unichar *)characters length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer
To- (instancetype)initWithCharactersNoCopy:(unichar *)characters length:(NSUInteger)length freeWhenDone:(BOOL)freeBuffer

Declaration
From- (id)initWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)enc error:(NSError **)error
To- (instancetype)initWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)enc error:(NSError **)error

Declaration
From- (id)initWithContentsOfFile:(NSString *)path usedEncoding:(NSStringEncoding *)enc error:(NSError **)error
To- (instancetype)initWithContentsOfFile:(NSString *)path usedEncoding:(NSStringEncoding *)enc error:(NSError **)error

Declaration
From- (id)initWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)enc error:(NSError **)error
To- (instancetype)initWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)enc error:(NSError **)error

Declaration
From- (id)initWithContentsOfURL:(NSURL *)url usedEncoding:(NSStringEncoding *)enc error:(NSError **)error
To- (instancetype)initWithContentsOfURL:(NSURL *)url usedEncoding:(NSStringEncoding *)enc error:(NSError **)error

Declaration
From- (id)initWithData:(NSData *)data encoding:(NSStringEncoding)encoding
To- (instancetype)initWithData:(NSData *)data encoding:(NSStringEncoding)encoding

Declaration
From- (id)initWithFormat:(NSString *)format, ...
To- (instancetype)initWithFormat:(NSString *)format, ...

Declaration
From- (id)initWithFormat:(NSString *)format arguments:(va_list)argList
To- (instancetype)initWithFormat:(NSString *)format arguments:(va_list)argList

Declaration
From- (id)initWithFormat:(NSString *)format locale:(id)locale, ...
To- (instancetype)initWithFormat:(NSString *)format locale:(id)locale, ...

Declaration
From- (id)initWithFormat:(NSString *)format locale:(id)locale arguments:(va_list)argList
To- (instancetype)initWithFormat:(NSString *)format locale:(id)locale arguments:(va_list)argList

Declaration
From- (id)initWithString:(NSString *)aString
To- (instancetype)initWithString:(NSString *)aString

Declaration
From- (id)initWithUTF8String:(const char *)nullTerminatedCString
To- (instancetype)initWithUTF8String:(const char *)nullTerminatedCString

Declaration
From+ (id)localizedStringWithFormat:(NSString *)format, ...
To+ (instancetype)localizedStringWithFormat:(NSString *)format, ...

Declaration
From+ (id)string
To+ (instancetype)string

Declaration
From+ (id)stringWithCString:(const char *)cString encoding:(NSStringEncoding)enc
To+ (instancetype)stringWithCString:(const char *)cString encoding:(NSStringEncoding)enc

Declaration
From+ (id)stringWithCharacters:(const unichar *)characters length:(NSUInteger)length
To+ (instancetype)stringWithCharacters:(const unichar *)characters length:(NSUInteger)length

Declaration
From+ (id)stringWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)enc error:(NSError **)error
To+ (instancetype)stringWithContentsOfFile:(NSString *)path encoding:(NSStringEncoding)enc error:(NSError **)error

Declaration
From+ (id)stringWithContentsOfFile:(NSString *)path usedEncoding:(NSStringEncoding *)enc error:(NSError **)error
To+ (instancetype)stringWithContentsOfFile:(NSString *)path usedEncoding:(NSStringEncoding *)enc error:(NSError **)error

Declaration
From+ (id)stringWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)enc error:(NSError **)error
To+ (instancetype)stringWithContentsOfURL:(NSURL *)url encoding:(NSStringEncoding)enc error:(NSError **)error

Declaration
From+ (id)stringWithContentsOfURL:(NSURL *)url usedEncoding:(NSStringEncoding *)enc error:(NSError **)error
To+ (instancetype)stringWithContentsOfURL:(NSURL *)url usedEncoding:(NSStringEncoding *)enc error:(NSError **)error

Declaration
From+ (id)stringWithFormat:(NSString *)format, ...
To+ (instancetype)stringWithFormat:(NSString *)format, ...

Declaration
From+ (id)stringWithString:(NSString *)string
To+ (instancetype)stringWithString:(NSString *)string

Declaration
From+ (id)stringWithUTF8String:(const char *)nullTerminatedCString
To+ (instancetype)stringWithUTF8String:(const char *)nullTerminatedCString

NSURL.h
Added NSCharacterSet(NSURLUtilities)
Deprecation
Fromnone
ToOS X 10.9

Deprecation
Fromnone
ToOS X 10.9

NSURLAuthenticationChallenge.h
Protocols
FromNSCoding
ToNSSecureCoding

NSURLConnection.h
Declaration
From+ (void)sendAsynchronousRequest:(NSURLRequest *)request queue:(NSOperationQueue *)queue completionHandler:(void (^)(NSURLResponse *, NSData *, NSError *))handler
To+ (void)sendAsynchronousRequest:(NSURLRequest *)request queue:(NSOperationQueue *)queue completionHandler:(void (^)(NSURLResponse *response, NSData *data, NSError *connectionError))handler

NSURLCredential.h
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSURLProtectionSpace.h
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSURLRequest.h
Modified NSURLRequest
Protocols
FromNSCoding, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying, NSSecureCoding

NSURLResponse.h
Modified NSURLResponse
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSURLSession.h
Added -[NSURLSession dataTaskWithHTTPGetRequest:]
Added -[NSURLSession dataTaskWithHTTPGetRequest:completionHandler:]
Added NSURLSession(NSURLSessionAsynchronousConvenience)
Added NSURLSession(NSURLSessionDeprecated)
NSUserDefaults.h
Deprecation
Fromnone
ToOS X 10.9

Deprecation
Fromnone
ToOS X 10.9

NSXPCConnection.h
Declaration
From- (id)remoteObjectProxyWithErrorHandler:(void (^)(NSError *))handler
To- (id)remoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler

Declaration
From- (id)remoteObjectProxyWithErrorHandler:(void (^)(NSError *))handler
To- (id)remoteObjectProxyWithErrorHandler:(void (^)(NSError *error))handler