Documentation Archive Developer
Search

Foundation Changes

Foundation

FoundationErrors.h
NSArray.h
Declaration
From
+ (id)arrayWithContentsOfFile:(NSString *)path
To
+ (NSArray *)arrayWithContentsOfFile:(NSString *)path

Declaration
From
+ (id)arrayWithContentsOfURL:(NSURL *)url
To
+ (NSArray *)arrayWithContentsOfURL:(NSURL *)url

Declaration
From
- (id)initWithContentsOfFile:(NSString *)path
To
- (NSArray *)initWithContentsOfFile:(NSString *)path

Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url
To
- (NSArray *)initWithContentsOfURL:(NSURL *)url

NSAttributedString.h
Protocols
FromNSCoding, NSCopying, NSMutableCopying
ToNSCopying, NSMutableCopying, NSSecureCoding

Declaration
From
- (id)initWithAttributedString:(NSAttributedString *)attrStr
To
- (instancetype)initWithAttributedString:(NSAttributedString *)attrStr

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

Declaration
From
- (id)initWithString:(NSString *)str attributes:(NSDictionary *)attrs
To
- (instancetype)initWithString:(NSString *)str attributes:(NSDictionary *)attrs

NSBundle.h
Declaration
From
+ (NSBundle *)bundleWithPath:(NSString *)path
To
+ (instancetype)bundleWithPath:(NSString *)path

Declaration
From
+ (NSBundle *)bundleWithURL:(NSURL *)url
To
+ (instancetype)bundleWithURL:(NSURL *)url

Declaration
From
- (id)initWithPath:(NSString *)path
To
- (instancetype)initWithPath:(NSString *)path

Declaration
From
- (id)initWithURL:(NSURL *)url
To
- (instancetype)initWithURL:(NSURL *)url

NSByteCountFormatter.h
NSCalendar.h
Declaration
From
+ (id)autoupdatingCurrentCalendar
To
+ (NSCalendar *)autoupdatingCurrentCalendar

Declaration
From
+ (id)currentCalendar
To
+ (NSCalendar *)currentCalendar

Deprecation
From--
ToiOS 7.0

Deprecation
From--
ToiOS 7.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

NSCharacterSet.h
Declaration
From
+ (id)alphanumericCharacterSet
To
+ (NSCharacterSet *)alphanumericCharacterSet

Declaration
From
+ (id)capitalizedLetterCharacterSet
To
+ (NSCharacterSet *)capitalizedLetterCharacterSet

Declaration
From
+ (id)characterSetWithBitmapRepresentation:(NSData *)data
To
+ (NSCharacterSet *)characterSetWithBitmapRepresentation:(NSData *)data

Declaration
From
+ (id)characterSetWithCharactersInString:(NSString *)aString
To
+ (NSCharacterSet *)characterSetWithCharactersInString:(NSString *)aString

Declaration
From
+ (id)characterSetWithContentsOfFile:(NSString *)fName
To
+ (NSCharacterSet *)characterSetWithContentsOfFile:(NSString *)fName

Declaration
From
+ (id)characterSetWithRange:(NSRange)aRange
To
+ (NSCharacterSet *)characterSetWithRange:(NSRange)aRange

Declaration
From
+ (id)controlCharacterSet
To
+ (NSCharacterSet *)controlCharacterSet

Declaration
From
+ (id)decimalDigitCharacterSet
To
+ (NSCharacterSet *)decimalDigitCharacterSet

Declaration
From
+ (id)decomposableCharacterSet
To
+ (NSCharacterSet *)decomposableCharacterSet

Declaration
From
+ (id)illegalCharacterSet
To
+ (NSCharacterSet *)illegalCharacterSet

Declaration
From
+ (id)letterCharacterSet
To
+ (NSCharacterSet *)letterCharacterSet

Declaration
From
+ (id)lowercaseLetterCharacterSet
To
+ (NSCharacterSet *)lowercaseLetterCharacterSet

Declaration
From
+ (id)newlineCharacterSet
To
+ (NSCharacterSet *)newlineCharacterSet

Declaration
From
+ (id)nonBaseCharacterSet
To
+ (NSCharacterSet *)nonBaseCharacterSet

Declaration
From
+ (id)punctuationCharacterSet
To
+ (NSCharacterSet *)punctuationCharacterSet

Declaration
From
+ (id)symbolCharacterSet
To
+ (NSCharacterSet *)symbolCharacterSet

Declaration
From
+ (id)uppercaseLetterCharacterSet
To
+ (NSCharacterSet *)uppercaseLetterCharacterSet

Declaration
From
+ (id)whitespaceAndNewlineCharacterSet
To
+ (NSCharacterSet *)whitespaceAndNewlineCharacterSet

Declaration
From
+ (id)whitespaceCharacterSet
To
+ (NSCharacterSet *)whitespaceCharacterSet

NSComparisonPredicate.h
Declaration
From
- (id)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs customSelector:(SEL)selector
To
- (instancetype)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs customSelector:(SEL)selector

Declaration
From
- (id)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options
To
- (instancetype)initWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options

Declaration
From
+ (NSPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs customSelector:(SEL)selector
To
+ (NSComparisonPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs customSelector:(SEL)selector

Declaration
From
+ (NSPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options
To
+ (NSComparisonPredicate *)predicateWithLeftExpression:(NSExpression *)lhs rightExpression:(NSExpression *)rhs modifier:(NSComparisonPredicateModifier)modifier type:(NSPredicateOperatorType)type options:(NSComparisonPredicateOptions)options

NSCompoundPredicate.h
Declaration
From
+ (NSPredicate *)andPredicateWithSubpredicates:(NSArray *)subpredicates
To
+ (NSCompoundPredicate *)andPredicateWithSubpredicates:(NSArray *)subpredicates

Declaration
From
- (id)initWithType:(NSCompoundPredicateType)type subpredicates:(NSArray *)subpredicates
To
- (instancetype)initWithType:(NSCompoundPredicateType)type subpredicates:(NSArray *)subpredicates

Declaration
From
+ (NSPredicate *)notPredicateWithSubpredicate:(NSPredicate *)predicate
To
+ (NSCompoundPredicate *)notPredicateWithSubpredicate:(NSPredicate *)predicate

Declaration
From
+ (NSPredicate *)orPredicateWithSubpredicates:(NSArray *)subpredicates
To
+ (NSCompoundPredicate *)orPredicateWithSubpredicates:(NSArray *)subpredicates

NSData.h
Declaration
From
+ (id)data
To
+ (instancetype)data

Declaration
From
+ (id)dataWithBytes:(const void *)bytes length:(NSUInteger)length
To
+ (instancetype)dataWithBytes:(const void *)bytes length:(NSUInteger)length

Declaration
From
+ (id)dataWithBytesNoCopy:(void *)bytes length:(NSUInteger)length
To
+ (instancetype)dataWithBytesNoCopy:(void *)bytes length:(NSUInteger)length

Declaration
From
+ (id)dataWithBytesNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b
To
+ (instancetype)dataWithBytesNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b

Declaration
From
+ (id)dataWithContentsOfFile:(NSString *)path
To
+ (instancetype)dataWithContentsOfFile:(NSString *)path

Declaration
From
+ (id)dataWithContentsOfFile:(NSString *)path options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr
To
+ (instancetype)dataWithContentsOfFile:(NSString *)path options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr

Deprecation
FromiOS 5.0
ToiOS 8.0

Declaration
From
+ (id)dataWithContentsOfURL:(NSURL *)url
To
+ (instancetype)dataWithContentsOfURL:(NSURL *)url

Declaration
From
+ (id)dataWithContentsOfURL:(NSURL *)url options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr
To
+ (instancetype)dataWithContentsOfURL:(NSURL *)url options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr

Declaration
From
+ (id)dataWithData:(NSData *)data
To
+ (instancetype)dataWithData:(NSData *)data

Deprecation
FromiOS 4.0
ToiOS 8.0

Declaration
From
- (id)initWithBase64EncodedData:(NSData *)base64Data options:(NSDataBase64DecodingOptions)options
To
- (instancetype)initWithBase64EncodedData:(NSData *)base64Data options:(NSDataBase64DecodingOptions)options

Declaration
From
- (id)initWithBase64EncodedString:(NSString *)base64String options:(NSDataBase64DecodingOptions)options
To
- (instancetype)initWithBase64EncodedString:(NSString *)base64String options:(NSDataBase64DecodingOptions)options

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

Declaration
From
- (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length
To
- (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length

Declaration
From
- (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length deallocator:(void (^)(void *bytes, NSUInteger length))deallocator
To
- (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length deallocator:(void (^)(void *bytes, NSUInteger length))deallocator

Declaration
From
- (id)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b
To
- (instancetype)initWithBytesNoCopy:(void *)bytes length:(NSUInteger)length freeWhenDone:(BOOL)b

Declaration
From
- (id)initWithContentsOfFile:(NSString *)path
To
- (instancetype)initWithContentsOfFile:(NSString *)path

Declaration
From
- (id)initWithContentsOfFile:(NSString *)path options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr
To
- (instancetype)initWithContentsOfFile:(NSString *)path options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr

Deprecation
FromiOS 5.0
ToiOS 8.0

Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url
To
- (instancetype)initWithContentsOfURL:(NSURL *)url

Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr
To
- (instancetype)initWithContentsOfURL:(NSURL *)url options:(NSDataReadingOptions)readOptionsMask error:(NSError **)errorPtr

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

Declaration
From
+ (id)dataWithCapacity:(NSUInteger)aNumItems
To
+ (instancetype)dataWithCapacity:(NSUInteger)aNumItems

Declaration
From
+ (id)dataWithLength:(NSUInteger)length
To
+ (instancetype)dataWithLength:(NSUInteger)length

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

Declaration
From
- (id)initWithLength:(NSUInteger)length
To
- (instancetype)initWithLength:(NSUInteger)length

NSDate.h
Declaration
From
- (id)dateByAddingTimeInterval:(NSTimeInterval)ti
To
- (instancetype)dateByAddingTimeInterval:(NSTimeInterval)ti

NSDateComponentsFormatter.h (Added)
NSDateFormatter.h
NSDecimalNumber.h
Declaration
From
- (id)initWithDecimal:(NSDecimal)dcm
To
- (instancetype)initWithDecimal:(NSDecimal)dcm

Declaration
From
- (id)initWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)flag
To
- (instancetype)initWithMantissa:(unsigned long long)mantissa exponent:(short)exponent isNegative:(BOOL)flag

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

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

Declaration
From
+ (id)decimalNumberHandlerWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero
To
+ (instancetype)decimalNumberHandlerWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero

Declaration
From
+ (id)defaultDecimalNumberHandler
To
+ (NSDecimalNumberHandler *)defaultDecimalNumberHandler

Declaration
From
- (id)initWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero
To
- (instancetype)initWithRoundingMode:(NSRoundingMode)roundingMode scale:(short)scale raiseOnExactness:(BOOL)exact raiseOnOverflow:(BOOL)overflow raiseOnUnderflow:(BOOL)underflow raiseOnDivideByZero:(BOOL)divideByZero

NSDictionary.h
Declaration
From
+ (id)dictionaryWithContentsOfFile:(NSString *)path
To
+ (NSDictionary *)dictionaryWithContentsOfFile:(NSString *)path

Declaration
From
+ (id)dictionaryWithContentsOfURL:(NSURL *)url
To
+ (NSDictionary *)dictionaryWithContentsOfURL:(NSURL *)url

Declaration
From
- (id)initWithContentsOfFile:(NSString *)path
To
- (NSDictionary *)initWithContentsOfFile:(NSString *)path

Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url
To
- (NSDictionary *)initWithContentsOfURL:(NSURL *)url

Declaration
From
+ (id)dictionaryWithSharedKeySet:(id)keyset
To
+ (NSMutableDictionary *)dictionaryWithSharedKeySet:(id)keyset

NSError.h
Declaration
From
+ (id)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict
To
+ (instancetype)errorWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict

Declaration
From
- (id)initWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict
To
- (instancetype)initWithDomain:(NSString *)domain code:(NSInteger)code userInfo:(NSDictionary *)dict

NSException.h
Declaration
From
- (id)initWithName:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo
To
- (instancetype)initWithName:(NSString *)aName reason:(NSString *)aReason userInfo:(NSDictionary *)aUserInfo

NSFileHandle.h
Declaration
From
+ (id)fileHandleForReadingAtPath:(NSString *)path
To
+ (instancetype)fileHandleForReadingAtPath:(NSString *)path

Declaration
From
+ (id)fileHandleForReadingFromURL:(NSURL *)url error:(NSError **)error
To
+ (instancetype)fileHandleForReadingFromURL:(NSURL *)url error:(NSError **)error

Declaration
From
+ (id)fileHandleForUpdatingAtPath:(NSString *)path
To
+ (instancetype)fileHandleForUpdatingAtPath:(NSString *)path

Declaration
From
+ (id)fileHandleForUpdatingURL:(NSURL *)url error:(NSError **)error
To
+ (instancetype)fileHandleForUpdatingURL:(NSURL *)url error:(NSError **)error

Declaration
From
+ (id)fileHandleForWritingAtPath:(NSString *)path
To
+ (instancetype)fileHandleForWritingAtPath:(NSString *)path

Declaration
From
+ (id)fileHandleForWritingToURL:(NSURL *)url error:(NSError **)error
To
+ (instancetype)fileHandleForWritingToURL:(NSURL *)url error:(NSError **)error

Declaration
From
+ (id)fileHandleWithNullDevice
To
+ (NSFileHandle *)fileHandleWithNullDevice

Declaration
From
+ (id)fileHandleWithStandardError
To
+ (NSFileHandle *)fileHandleWithStandardError

Declaration
From
+ (id)fileHandleWithStandardInput
To
+ (NSFileHandle *)fileHandleWithStandardInput

Declaration
From
+ (id)fileHandleWithStandardOutput
To
+ (NSFileHandle *)fileHandleWithStandardOutput

Declaration
From
- (id)initWithFileDescriptor:(int)fd
To
- (instancetype)initWithFileDescriptor:(int)fd

Declaration
From
- (id)initWithFileDescriptor:(int)fd closeOnDealloc:(BOOL)closeopt
To
- (instancetype)initWithFileDescriptor:(int)fd closeOnDealloc:(BOOL)closeopt

Declaration
From
+ (id)pipe
To
+ (NSPipe *)pipe

NSFileManager.h
Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

NSFilePresenter.h
Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Declaration
From
@property(readonly) NSOperationQueue *presentedItemOperationQueue
To
@property(readonly, retain) NSOperationQueue *presentedItemOperationQueue

Declaration
From
@property(readonly) NSURL *presentedItemURL
To
@property(readonly, copy) NSURL *presentedItemURL

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

NSFileVersion.h
Declaration
From
@property(readonly) NSURL *URL
To
@property(readonly, copy) NSURL *URL

Declaration
From
@property(readonly) NSString *localizedName
To
@property(readonly, copy) NSString *localizedName

Declaration
From
@property(readonly) NSString *localizedNameOfSavingComputer
To
@property(readonly, copy) NSString *localizedNameOfSavingComputer

Declaration
From
@property(readonly) NSDate *modificationDate
To
@property(readonly, copy) NSDate *modificationDate

Declaration
From
@property(readonly) id<NSCoding> persistentIdentifier
To
@property(readonly, retain) id<NSCoding> persistentIdentifier

NSFileWrapper.h
Declaration
From
- (id)initDirectoryWithFileWrappers:(NSDictionary *)childrenByPreferredName
To
- (instancetype)initDirectoryWithFileWrappers:(NSDictionary *)childrenByPreferredName

Declaration
From
- (id)initRegularFileWithContents:(NSData *)contents
To
- (instancetype)initRegularFileWithContents:(NSData *)contents

Declaration
From
- (id)initSymbolicLinkWithDestinationURL:(NSURL *)url
To
- (instancetype)initSymbolicLinkWithDestinationURL:(NSURL *)url

Declaration
From
- (id)initWithSerializedRepresentation:(NSData *)serializeRepresentation
To
- (instancetype)initWithSerializedRepresentation:(NSData *)serializeRepresentation

Declaration
From
- (id)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError
To
- (instancetype)initWithURL:(NSURL *)url options:(NSFileWrapperReadingOptions)options error:(NSError **)outError

NSHTTPCookie.h
Declaration
From
+ (id)cookieWithProperties:(NSDictionary *)properties
To
+ (NSHTTPCookie *)cookieWithProperties:(NSDictionary *)properties

Declaration
From
- (id)initWithProperties:(NSDictionary *)properties
To
- (instancetype)initWithProperties:(NSDictionary *)properties

NSHashTable.h
Declaration
From
+ (id)hashTableWithOptions:(NSPointerFunctionsOptions)options
To
+ (NSHashTable *)hashTableWithOptions:(NSPointerFunctionsOptions)options

Declaration
From
- (id)initWithOptions:(NSPointerFunctionsOptions)options capacity:(NSUInteger)initialCapacity
To
- (instancetype)initWithOptions:(NSPointerFunctionsOptions)options capacity:(NSUInteger)initialCapacity

Declaration
From
- (id)initWithPointerFunctions:(NSPointerFunctions *)functions capacity:(NSUInteger)initialCapacity
To
- (instancetype)initWithPointerFunctions:(NSPointerFunctions *)functions capacity:(NSUInteger)initialCapacity

Declaration
From
+ (id)weakObjectsHashTable
To
+ (NSHashTable *)weakObjectsHashTable

NSIndexPath.h
Removed -[NSIndexPath init]
Modified NSIndexPath
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

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

NSKeyedArchiver.h
Declaration
From
- (id)initForWritingWithMutableData:(NSMutableData *)data
To
- (instancetype)initForWritingWithMutableData:(NSMutableData *)data

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Declaration
From
- (id)initForReadingWithData:(NSData *)data
To
- (instancetype)initForReadingWithData:(NSData *)data

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

NSLinguisticTagger.h
Declaration
From
- (id)initWithTagSchemes:(NSArray *)tagSchemes options:(NSUInteger)opts
To
- (instancetype)initWithTagSchemes:(NSArray *)tagSchemes options:(NSUInteger)opts

NSLocale.h
Removed -[NSLocale init]
Declaration
From
+ (id)autoupdatingCurrentLocale
To
+ (NSLocale *)autoupdatingCurrentLocale

Declaration
From
+ (id)currentLocale
To
+ (NSLocale *)currentLocale

Declaration
From
+ (id)systemLocale
To
+ (NSLocale *)systemLocale

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

NSLock.h
Declaration
From
- (id)initWithCondition:(NSInteger)condition
To
- (instancetype)initWithCondition:(NSInteger)condition

NSMapTable.h
Declaration
From
- (id)initWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions capacity:(NSUInteger)initialCapacity
To
- (instancetype)initWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions capacity:(NSUInteger)initialCapacity

Declaration
From
- (id)initWithKeyPointerFunctions:(NSPointerFunctions *)keyFunctions valuePointerFunctions:(NSPointerFunctions *)valueFunctions capacity:(NSUInteger)initialCapacity
To
- (instancetype)initWithKeyPointerFunctions:(NSPointerFunctions *)keyFunctions valuePointerFunctions:(NSPointerFunctions *)valueFunctions capacity:(NSUInteger)initialCapacity

Declaration
From
+ (id)mapTableWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions
To
+ (NSMapTable *)mapTableWithKeyOptions:(NSPointerFunctionsOptions)keyOptions valueOptions:(NSPointerFunctionsOptions)valueOptions

Declaration
From
+ (id)strongToStrongObjectsMapTable
To
+ (NSMapTable *)strongToStrongObjectsMapTable

Declaration
From
+ (id)strongToWeakObjectsMapTable
To
+ (NSMapTable *)strongToWeakObjectsMapTable

Declaration
From
+ (id)weakToStrongObjectsMapTable
To
+ (NSMapTable *)weakToStrongObjectsMapTable

Declaration
From
+ (id)weakToWeakObjectsMapTable
To
+ (NSMapTable *)weakToWeakObjectsMapTable

NSMetadata.h
Removed -[NSMetadataQuery init]
Optional
From--
Toyes

Optional
From--
Toyes

Introduction
FromiOS 7.0
ToiOS 8.0

Introduction
FromiOS 7.0
ToiOS 8.0

Introduction
FromiOS 7.0
ToiOS 8.0

NSNetServices.h
Declaration
From
- (id)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name
To
- (instancetype)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name

Declaration
From
- (id)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name port:(int)port
To
- (instancetype)initWithDomain:(NSString *)domain type:(NSString *)type name:(NSString *)name port:(int)port

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

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

NSNotification.h
Removed -[NSNotificationCenter init]
Declaration
From
- (id)init
To
- (instancetype)init

Declaration
From
- (id)addObserverForName:(NSString *)name object:(id)obj queue:(NSOperationQueue *)queue usingBlock:(void (^)(NSNotification *note))block
To
- (id<NSObject>)addObserverForName:(NSString *)name object:(id)obj queue:(NSOperationQueue *)queue usingBlock:(void (^)(NSNotification *note))block

Declaration
From
+ (instancetype)defaultCenter
To
+ (NSNotificationCenter *)defaultCenter

NSNotificationQueue.h
Declaration
From
+ (id)defaultQueue
To
+ (NSNotificationQueue *)defaultQueue

Declaration
From
- (id)initWithNotificationCenter:(NSNotificationCenter *)notificationCenter
To
- (instancetype)initWithNotificationCenter:(NSNotificationCenter *)notificationCenter

NSNumberFormatter.h
NSObjCRuntime.h
Added #def NS_DESIGNATED_INITIALIZER
Added #def NS_EXTENSION_UNAVAILABLE
Added #def NS_EXTENSION_UNAVAILABLE_IOS
Added #def NS_EXTENSION_UNAVAILABLE_MAC
Added #def NS_PROTOCOL_REQUIRES_EXPLICIT_IMPLEMENTATION
NSOperation.h
Added #def NSOperationQualityOfService
Added #def NSOperationQualityOfServiceBackground
Added #def NSOperationQualityOfServiceUserInitiated
Added #def NSOperationQualityOfServiceUserInteractive
Added #def NSOperationQualityOfServiceUtility
Declaration
From
+ (id)blockOperationWithBlock:(void (^)(void))block
To
+ (instancetype)blockOperationWithBlock:(void (^)(void))block

Declaration
From
- (id)initWithInvocation:(NSInvocation *)inv
To
- (instancetype)initWithInvocation:(NSInvocation *)inv

Declaration
From
- (id)initWithTarget:(id)target selector:(SEL)sel object:(id)arg
To
- (instancetype)initWithTarget:(id)target selector:(SEL)sel object:(id)arg

Declaration
From
+ (id)currentQueue
To
+ (NSOperationQueue *)currentQueue

Declaration
From
+ (id)mainQueue
To
+ (NSOperationQueue *)mainQueue

NSOrthography.h
Declaration
From
@property(readonly) NSArray *allLanguages
To
@property(readonly, copy) NSArray *allLanguages

Declaration
From
@property(readonly) NSArray *allScripts
To
@property(readonly, copy) NSArray *allScripts

Declaration
From
@property(readonly) NSString *dominantLanguage
To
@property(readonly, copy) NSString *dominantLanguage

Declaration
From
@property(readonly) NSString *dominantScript
To
@property(readonly, copy) NSString *dominantScript

Declaration
From
- (id)initWithDominantScript:(NSString *)script languageMap:(NSDictionary *)map
To
- (instancetype)initWithDominantScript:(NSString *)script languageMap:(NSDictionary *)map

Declaration
From
@property(readonly) NSDictionary *languageMap
To
@property(readonly, copy) NSDictionary *languageMap

Declaration
From
+ (id)orthographyWithDominantScript:(NSString *)script languageMap:(NSDictionary *)map
To
+ (instancetype)orthographyWithDominantScript:(NSString *)script languageMap:(NSDictionary *)map

NSPointerArray.h
Declaration
From
- (id)initWithOptions:(NSPointerFunctionsOptions)options
To
- (instancetype)initWithOptions:(NSPointerFunctionsOptions)options

Declaration
From
- (id)initWithPointerFunctions:(NSPointerFunctions *)functions
To
- (instancetype)initWithPointerFunctions:(NSPointerFunctions *)functions

Declaration
From
+ (id)pointerArrayWithOptions:(NSPointerFunctionsOptions)options
To
+ (NSPointerArray *)pointerArrayWithOptions:(NSPointerFunctionsOptions)options

Declaration
From
+ (id)pointerArrayWithPointerFunctions:(NSPointerFunctions *)functions
To
+ (NSPointerArray *)pointerArrayWithPointerFunctions:(NSPointerFunctions *)functions

Declaration
From
+ (id)strongObjectsPointerArray
To
+ (NSPointerArray *)strongObjectsPointerArray

Declaration
From
+ (id)weakObjectsPointerArray
To
+ (NSPointerArray *)weakObjectsPointerArray

NSPointerFunctions.h
Declaration
From
- (id)initWithOptions:(NSPointerFunctionsOptions)options
To
- (instancetype)initWithOptions:(NSPointerFunctionsOptions)options

Declaration
From
+ (id)pointerFunctionsWithOptions:(NSPointerFunctionsOptions)options
To
+ (NSPointerFunctions *)pointerFunctionsWithOptions:(NSPointerFunctionsOptions)options

NSPort.h
Declaration
From
- (id)initWithMachPort:(uint32_t)machPort
To
- (instancetype)initWithMachPort:(uint32_t)machPort

Declaration
From
- (id)initWithMachPort:(uint32_t)machPort options:(NSUInteger)f
To
- (instancetype)initWithMachPort:(uint32_t)machPort options:(NSUInteger)f

Optional
From--
Toyes

Optional
From--
Toyes

NSPredicate.h
Declaration
From
- (NSPredicate *)predicateWithSubstitutionVariables:(NSDictionary *)variables
To
- (instancetype)predicateWithSubstitutionVariables:(NSDictionary *)variables

NSProcessInfo.h
Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

Deprecation
From--
ToiOS 8.0

NSProgress.h
NSRange.h
NSRegularExpression.h
Declaration
From
- (id)initWithTypes:(NSTextCheckingTypes)checkingTypes error:(NSError **)error
To
- (instancetype)initWithTypes:(NSTextCheckingTypes)checkingTypes error:(NSError **)error

Declaration
From
- (id)initWithPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options error:(NSError **)error
To
- (instancetype)initWithPattern:(NSString *)pattern options:(NSRegularExpressionOptions)options error:(NSError **)error

Declaration
From
@property(readonly) NSString *pattern
To
@property(readonly, copy) NSString *pattern

NSScanner.h
Declaration
From
- (id)initWithString:(NSString *)string
To
- (instancetype)initWithString:(NSString *)string

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

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

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

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

NSSortDescriptor.h
Declaration
From
- (id)initWithKey:(NSString *)key ascending:(BOOL)ascending
To
- (instancetype)initWithKey:(NSString *)key ascending:(BOOL)ascending

Declaration
From
- (id)initWithKey:(NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr
To
- (instancetype)initWithKey:(NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr

Declaration
From
- (id)initWithKey:(NSString *)key ascending:(BOOL)ascending selector:(SEL)selector
To
- (instancetype)initWithKey:(NSString *)key ascending:(BOOL)ascending selector:(SEL)selector

Declaration
From
+ (id)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending
To
+ (instancetype)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending

Declaration
From
+ (id)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr
To
+ (instancetype)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending comparator:(NSComparator)cmptr

Declaration
From
+ (id)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending selector:(SEL)selector
To
+ (instancetype)sortDescriptorWithKey:(NSString *)key ascending:(BOOL)ascending selector:(SEL)selector

NSStream.h
Declaration
From
- (id)initWithData:(NSData *)data
To
- (instancetype)initWithData:(NSData *)data

Declaration
From
- (id)initWithFileAtPath:(NSString *)path
To
- (instancetype)initWithFileAtPath:(NSString *)path

Declaration
From
- (id)initWithURL:(NSURL *)url
To
- (instancetype)initWithURL:(NSURL *)url

Declaration
From
+ (id)inputStreamWithData:(NSData *)data
To
+ (instancetype)inputStreamWithData:(NSData *)data

Declaration
From
+ (id)inputStreamWithFileAtPath:(NSString *)path
To
+ (instancetype)inputStreamWithFileAtPath:(NSString *)path

Declaration
From
+ (id)inputStreamWithURL:(NSURL *)url
To
+ (instancetype)inputStreamWithURL:(NSURL *)url

Declaration
From
- (id)initToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity
To
- (instancetype)initToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity

Declaration
From
- (id)initToFileAtPath:(NSString *)path append:(BOOL)shouldAppend
To
- (instancetype)initToFileAtPath:(NSString *)path append:(BOOL)shouldAppend

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

Declaration
From
- (id)initWithURL:(NSURL *)url append:(BOOL)shouldAppend
To
- (instancetype)initWithURL:(NSURL *)url append:(BOOL)shouldAppend

Declaration
From
+ (id)outputStreamToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity
To
+ (instancetype)outputStreamToBuffer:(uint8_t *)buffer capacity:(NSUInteger)capacity

Declaration
From
+ (id)outputStreamToFileAtPath:(NSString *)path append:(BOOL)shouldAppend
To
+ (instancetype)outputStreamToFileAtPath:(NSString *)path append:(BOOL)shouldAppend

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

Declaration
From
+ (id)outputStreamWithURL:(NSURL *)url append:(BOOL)shouldAppend
To
+ (instancetype)outputStreamWithURL:(NSURL *)url append:(BOOL)shouldAppend

Optional
From--
Toyes

NSString.h
Declaration
From
- (id)initWithCapacity:(NSUInteger)capacity
To
- (NSMutableString *)initWithCapacity:(NSUInteger)capacity

Declaration
From
+ (id)stringWithCapacity:(NSUInteger)capacity
To
+ (NSMutableString *)stringWithCapacity:(NSUInteger)capacity

NSTextCheckingResult.h
Declaration
From
@property(readonly) NSURL *URL
To
@property(readonly, copy) NSURL *URL

Declaration
From
@property(readonly) NSDictionary *addressComponents
To
@property(readonly, copy) NSDictionary *addressComponents

Declaration
From
@property(readonly) NSArray *alternativeStrings
To
@property(readonly, copy) NSArray *alternativeStrings

Declaration
From
@property(readonly) NSDictionary *components
To
@property(readonly, copy) NSDictionary *components

Declaration
From
@property(readonly) NSDate *date
To
@property(readonly, copy) NSDate *date

Declaration
From
@property(readonly) NSArray *grammarDetails
To
@property(readonly, copy) NSArray *grammarDetails

Declaration
From
@property(readonly) NSOrthography *orthography
To
@property(readonly, copy) NSOrthography *orthography

Declaration
From
@property(readonly) NSString *phoneNumber
To
@property(readonly, copy) NSString *phoneNumber

Declaration
From
@property(readonly) NSRegularExpression *regularExpression
To
@property(readonly, copy) NSRegularExpression *regularExpression

Declaration
From
@property(readonly) NSString *replacementString
To
@property(readonly, copy) NSString *replacementString

Declaration
From
@property(readonly) NSTimeZone *timeZone
To
@property(readonly, copy) NSTimeZone *timeZone

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

Declaration
From
- (id)initWithTarget:(id)target selector:(SEL)selector object:(id)argument
To
- (instancetype)initWithTarget:(id)target selector:(SEL)selector object:(id)argument

NSTimeZone.h
Declaration
From
- (id)initWithName:(NSString *)tzName
To
- (instancetype)initWithName:(NSString *)tzName

Declaration
From
- (id)initWithName:(NSString *)tzName data:(NSData *)aData
To
- (instancetype)initWithName:(NSString *)tzName data:(NSData *)aData

Declaration
From
+ (id)timeZoneForSecondsFromGMT:(NSInteger)seconds
To
+ (instancetype)timeZoneForSecondsFromGMT:(NSInteger)seconds

Declaration
From
+ (id)timeZoneWithAbbreviation:(NSString *)abbreviation
To
+ (instancetype)timeZoneWithAbbreviation:(NSString *)abbreviation

Declaration
From
+ (id)timeZoneWithName:(NSString *)tzName
To
+ (instancetype)timeZoneWithName:(NSString *)tzName

Declaration
From
+ (id)timeZoneWithName:(NSString *)tzName data:(NSData *)aData
To
+ (instancetype)timeZoneWithName:(NSString *)tzName data:(NSData *)aData

NSTimer.h
Declaration
From
- (id)initWithFireDate:(NSDate *)date interval:(NSTimeInterval)ti target:(id)t selector:(SEL)s userInfo:(id)ui repeats:(BOOL)rep
To
- (instancetype)initWithFireDate:(NSDate *)date interval:(NSTimeInterval)ti target:(id)t selector:(SEL)s userInfo:(id)ui repeats:(BOOL)rep

NSURL.h
Added NSURL(NSPromisedItems)
Declaration
From
+ (id)URLFragmentAllowedCharacterSet
To
+ (NSCharacterSet *)URLFragmentAllowedCharacterSet

Declaration
From
+ (id)URLHostAllowedCharacterSet
To
+ (NSCharacterSet *)URLHostAllowedCharacterSet

Declaration
From
+ (id)URLPasswordAllowedCharacterSet
To
+ (NSCharacterSet *)URLPasswordAllowedCharacterSet

Declaration
From
+ (id)URLPathAllowedCharacterSet
To
+ (NSCharacterSet *)URLPathAllowedCharacterSet

Declaration
From
+ (id)URLQueryAllowedCharacterSet
To
+ (NSCharacterSet *)URLQueryAllowedCharacterSet

Declaration
From
+ (id)URLUserAllowedCharacterSet
To
+ (NSCharacterSet *)URLUserAllowedCharacterSet

Declaration
From
+ (id)URLByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL *)relativeURL bookmarkDataIsStale:(BOOL *)isStale error:(NSError **)error
To
+ (instancetype)URLByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL *)relativeURL bookmarkDataIsStale:(BOOL *)isStale error:(NSError **)error

Declaration
From
+ (id)URLWithString:(NSString *)URLString
To
+ (instancetype)URLWithString:(NSString *)URLString

Declaration
From
+ (id)URLWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL
To
+ (instancetype)URLWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL

Declaration
From
+ (id)fileURLWithFileSystemRepresentation:(const char *)path isDirectory:(BOOL)isDir relativeToURL:(NSURL *)baseURL
To
+ (NSURL *)fileURLWithFileSystemRepresentation:(const char *)path isDirectory:(BOOL)isDir relativeToURL:(NSURL *)baseURL

Declaration
From
+ (id)fileURLWithPath:(NSString *)path
To
+ (NSURL *)fileURLWithPath:(NSString *)path

Declaration
From
+ (id)fileURLWithPath:(NSString *)path isDirectory:(BOOL)isDir
To
+ (NSURL *)fileURLWithPath:(NSString *)path isDirectory:(BOOL)isDir

Declaration
From
- (id)initByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL *)relativeURL bookmarkDataIsStale:(BOOL *)isStale error:(NSError **)error
To
- (instancetype)initByResolvingBookmarkData:(NSData *)bookmarkData options:(NSURLBookmarkResolutionOptions)options relativeToURL:(NSURL *)relativeURL bookmarkDataIsStale:(BOOL *)isStale error:(NSError **)error

Declaration
From
- (id)initFileURLWithFileSystemRepresentation:(const char *)path isDirectory:(BOOL)isDir relativeToURL:(NSURL *)baseURL
To
- (instancetype)initFileURLWithFileSystemRepresentation:(const char *)path isDirectory:(BOOL)isDir relativeToURL:(NSURL *)baseURL

Declaration
From
- (id)initFileURLWithPath:(NSString *)path
To
- (instancetype)initFileURLWithPath:(NSString *)path

Declaration
From
- (id)initFileURLWithPath:(NSString *)path isDirectory:(BOOL)isDir
To
- (instancetype)initFileURLWithPath:(NSString *)path isDirectory:(BOOL)isDir

Declaration
From
- (id)initWithScheme:(NSString *)scheme host:(NSString *)host path:(NSString *)path
To
- (instancetype)initWithScheme:(NSString *)scheme host:(NSString *)host path:(NSString *)path

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

Declaration
From
- (id)initWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL
To
- (instancetype)initWithString:(NSString *)URLString relativeToURL:(NSURL *)baseURL

Declaration
From
+ (id)componentsWithString:(NSString *)URLString
To
+ (instancetype)componentsWithString:(NSString *)URLString

Declaration
From
+ (id)componentsWithURL:(NSURL *)url resolvingAgainstBaseURL:(BOOL)resolve
To
+ (instancetype)componentsWithURL:(NSURL *)url resolvingAgainstBaseURL:(BOOL)resolve

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

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

Declaration
From
- (id)initWithURL:(NSURL *)url resolvingAgainstBaseURL:(BOOL)resolve
To
- (instancetype)initWithURL:(NSURL *)url resolvingAgainstBaseURL:(BOOL)resolve

NSURLAuthenticationChallenge.h
Declaration
From
- (id)initWithAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge sender:(id<NSURLAuthenticationChallengeSender>)sender
To
- (instancetype)initWithAuthenticationChallenge:(NSURLAuthenticationChallenge *)challenge sender:(id<NSURLAuthenticationChallengeSender>)sender

Declaration
From
- (id)initWithProtectionSpace:(NSURLProtectionSpace *)space proposedCredential:(NSURLCredential *)credential previousFailureCount:(NSInteger)previousFailureCount failureResponse:(NSURLResponse *)response error:(NSError *)error sender:(id<NSURLAuthenticationChallengeSender>)sender
To
- (instancetype)initWithProtectionSpace:(NSURLProtectionSpace *)space proposedCredential:(NSURLCredential *)credential previousFailureCount:(NSInteger)previousFailureCount failureResponse:(NSURLResponse *)response error:(NSError *)error sender:(id<NSURLAuthenticationChallengeSender>)sender

Optional
From--
Toyes

Optional
From--
Toyes

NSURLCache.h
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

Declaration
From
- (id)initWithResponse:(NSURLResponse *)response data:(NSData *)data
To
- (instancetype)initWithResponse:(NSURLResponse *)response data:(NSData *)data

Declaration
From
- (id)initWithResponse:(NSURLResponse *)response data:(NSData *)data userInfo:(NSDictionary *)userInfo storagePolicy:(NSURLCacheStoragePolicy)storagePolicy
To
- (instancetype)initWithResponse:(NSURLResponse *)response data:(NSData *)data userInfo:(NSDictionary *)userInfo storagePolicy:(NSURLCacheStoragePolicy)storagePolicy

Declaration
From
- (id)initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity diskPath:(NSString *)path
To
- (instancetype)initWithMemoryCapacity:(NSUInteger)memoryCapacity diskCapacity:(NSUInteger)diskCapacity diskPath:(NSString *)path

NSURLConnection.h
Declaration
From
- (id)initWithRequest:(NSURLRequest *)request delegate:(id)delegate
To
- (instancetype)initWithRequest:(NSURLRequest *)request delegate:(id)delegate

Declaration
From
- (id)initWithRequest:(NSURLRequest *)request delegate:(id)delegate startImmediately:(BOOL)startImmediately
To
- (instancetype)initWithRequest:(NSURLRequest *)request delegate:(id)delegate startImmediately:(BOOL)startImmediately

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

DeprecationOptional
From----
ToiOS 8.0yes

DeprecationOptional
From----
ToiOS 8.0yes

Optional
From--
Toyes

DeprecationOptional
From----
ToiOS 8.0yes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

NSURLCredential.h
Declaration
From
- (id)initWithIdentity:(SecIdentityRef)identity certificates:(NSArray *)certArray persistence:(NSURLCredentialPersistence)persistence
To
- (instancetype)initWithIdentity:(SecIdentityRef)identity certificates:(NSArray *)certArray persistence:(NSURLCredentialPersistence)persistence

Declaration
From
- (id)initWithTrust:(SecTrustRef)trust
To
- (instancetype)initWithTrust:(SecTrustRef)trust

Declaration
From
- (id)initWithUser:(NSString *)user password:(NSString *)password persistence:(NSURLCredentialPersistence)persistence
To
- (instancetype)initWithUser:(NSString *)user password:(NSString *)password persistence:(NSURLCredentialPersistence)persistence

NSURLProtectionSpace.h
Declaration
From
- (id)initWithHost:(NSString *)host port:(NSInteger)port protocol:(NSString *)protocol realm:(NSString *)realm authenticationMethod:(NSString *)authenticationMethod
To
- (instancetype)initWithHost:(NSString *)host port:(NSInteger)port protocol:(NSString *)protocol realm:(NSString *)realm authenticationMethod:(NSString *)authenticationMethod

Declaration
From
- (id)initWithProxyHost:(NSString *)host port:(NSInteger)port type:(NSString *)type realm:(NSString *)realm authenticationMethod:(NSString *)authenticationMethod
To
- (instancetype)initWithProxyHost:(NSString *)host port:(NSInteger)port type:(NSString *)type realm:(NSString *)realm authenticationMethod:(NSString *)authenticationMethod

NSURLProtocol.h
Declaration
From
- (id)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)cachedResponse client:(id<NSURLProtocolClient>)client
To
- (instancetype)initWithRequest:(NSURLRequest *)request cachedResponse:(NSCachedURLResponse *)cachedResponse client:(id<NSURLProtocolClient>)client

NSURLRequest.h
Declaration
From
- (id)initWithURL:(NSURL *)URL
To
- (instancetype)initWithURL:(NSURL *)URL

Declaration
From
- (id)initWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval
To
- (instancetype)initWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval

Declaration
From
+ (id)requestWithURL:(NSURL *)URL
To
+ (instancetype)requestWithURL:(NSURL *)URL

Declaration
From
+ (id)requestWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval
To
+ (instancetype)requestWithURL:(NSURL *)URL cachePolicy:(NSURLRequestCachePolicy)cachePolicy timeoutInterval:(NSTimeInterval)timeoutInterval

NSURLResponse.h
Declaration
From
- (id)initWithURL:(NSURL *)url statusCode:(NSInteger)statusCode HTTPVersion:(NSString *)HTTPVersion headerFields:(NSDictionary *)headerFields
To
- (instancetype)initWithURL:(NSURL *)url statusCode:(NSInteger)statusCode HTTPVersion:(NSString *)HTTPVersion headerFields:(NSDictionary *)headerFields

Declaration
From
- (id)initWithURL:(NSURL *)URL MIMEType:(NSString *)MIMEType expectedContentLength:(NSInteger)length textEncodingName:(NSString *)name
To
- (instancetype)initWithURL:(NSURL *)URL MIMEType:(NSString *)MIMEType expectedContentLength:(NSInteger)length textEncodingName:(NSString *)name

NSURLSession.h
Deprecation
From--
ToiOS 8.0

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

NSUUID.h
Declaration
From
+ (id)UUID
To
+ (instancetype)UUID

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

Declaration
From
- (id)initWithUUIDBytes:(const uuid_t)bytes
To
- (instancetype)initWithUUIDBytes:(const uuid_t)bytes

Declaration
From
- (id)initWithUUIDString:(NSString *)string
To
- (instancetype)initWithUUIDString:(NSString *)string

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

Declaration
From
- (id)initWithSuiteName:(NSString *)suitename
To
- (instancetype)initWithSuiteName:(NSString *)suitename

NSValue.h
Declaration
From
- (id)initWithBool:(BOOL)value
To
- (NSNumber *)initWithBool:(BOOL)value

Declaration
From
- (id)initWithChar:(char)value
To
- (NSNumber *)initWithChar:(char)value

Declaration
From
- (id)initWithDouble:(double)value
To
- (NSNumber *)initWithDouble:(double)value

Declaration
From
- (id)initWithFloat:(float)value
To
- (NSNumber *)initWithFloat:(float)value

Declaration
From
- (id)initWithInt:(int)value
To
- (NSNumber *)initWithInt:(int)value

Declaration
From
- (id)initWithInteger:(NSInteger)value
To
- (NSNumber *)initWithInteger:(NSInteger)value

Declaration
From
- (id)initWithLong:(long)value
To
- (NSNumber *)initWithLong:(long)value

Declaration
From
- (id)initWithLongLong:(long long)value
To
- (NSNumber *)initWithLongLong:(long long)value

Declaration
From
- (id)initWithShort:(short)value
To
- (NSNumber *)initWithShort:(short)value

Declaration
From
- (id)initWithUnsignedChar:(unsigned char)value
To
- (NSNumber *)initWithUnsignedChar:(unsigned char)value

Declaration
From
- (id)initWithUnsignedInt:(unsigned int)value
To
- (NSNumber *)initWithUnsignedInt:(unsigned int)value

Declaration
From
- (id)initWithUnsignedInteger:(NSUInteger)value
To
- (NSNumber *)initWithUnsignedInteger:(NSUInteger)value

Declaration
From
- (id)initWithUnsignedLong:(unsigned long)value
To
- (NSNumber *)initWithUnsignedLong:(unsigned long)value

Declaration
From
- (id)initWithUnsignedLongLong:(unsigned long long)value
To
- (NSNumber *)initWithUnsignedLongLong:(unsigned long long)value

Declaration
From
- (id)initWithUnsignedShort:(unsigned short)value
To
- (NSNumber *)initWithUnsignedShort:(unsigned short)value

Declaration
From
- (id)initWithBytes:(const void *)value objCType:(const char *)type
To
- (instancetype)initWithBytes:(const void *)value objCType:(const char *)type

NSXMLParser.h
Declaration
From
- (id)initWithContentsOfURL:(NSURL *)url
To
- (instancetype)initWithContentsOfURL:(NSURL *)url

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

Declaration
From
- (id)initWithStream:(NSInputStream *)stream
To
- (instancetype)initWithStream:(NSInputStream *)stream

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes

Optional
From--
Toyes