Foundation watchOS 3.2 to 4.0 API Differences

FoundationErrors.h
NSArray.h
Declaration
From- (void)getObjects:(ObjectType _Nonnull [])objects range:(NSRange)range
To- (void)getObjects:(nonnull ObjectType _Nonnull [])objects range:(NSRange)range

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

Declaration
From- (void)getObjects:(ObjectType _Nonnull [])objects
To- (void)getObjects:(nonnull ObjectType _Nonnull [])objects

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

NSAttributedString.h
Declaration
From- (nonnull NSDictionary<NSString *,id> *)attributesAtIndex:(NSUInteger)location effectiveRange:(nullable NSRangePointer)range
To- (nonnull NSDictionary<NSAttributedStringKey,id> *)attributesAtIndex:(NSUInteger)location effectiveRange:(nullable NSRangePointer)range

Declaration
From- (nullable id)attribute:(nonnull NSString *)attrName atIndex:(NSUInteger)location effectiveRange:(nullable NSRangePointer)range
To- (nullable id)attribute:(nonnull NSAttributedStringKey)attrName atIndex:(NSUInteger)location effectiveRange:(nullable NSRangePointer)range

Declaration
From- (nonnull NSDictionary<NSString *,id> *)attributesAtIndex:(NSUInteger)location longestEffectiveRange:(nullable NSRangePointer)range inRange:(NSRange)rangeLimit
To- (nonnull NSDictionary<NSAttributedStringKey,id> *)attributesAtIndex:(NSUInteger)location longestEffectiveRange:(nullable NSRangePointer)range inRange:(NSRange)rangeLimit

Declaration
From- (nullable id)attribute:(nonnull NSString *)attrName atIndex:(NSUInteger)location longestEffectiveRange:(nullable NSRangePointer)range inRange:(NSRange)rangeLimit
To- (nullable id)attribute:(nonnull NSAttributedStringKey)attrName atIndex:(NSUInteger)location longestEffectiveRange:(nullable NSRangePointer)range inRange:(NSRange)rangeLimit

Declaration
From- (nonnull instancetype)initWithString:(nonnull NSString *)str attributes:(nullable NSDictionary<NSString *,id> *)attrs
To- (nonnull instancetype)initWithString:(nonnull NSString *)str attributes:(nullable NSDictionary<NSAttributedStringKey,id> *)attrs

Declaration
From- (void)enumerateAttributesInRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(nonnull void (^)(NSDictionary<NSString *,id> * _Nonnull, NSRange, BOOL * _Nonnull))block
To- (void)enumerateAttributesInRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(nonnull void (^)(NSDictionary<NSAttributedStringKey,id> * _Nonnull, NSRange, BOOL * _Nonnull))block

Declaration
From- (void)enumerateAttribute:(nonnull NSString *)attrName inRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(nonnull void (^)(id _Nullable, NSRange, BOOL * _Nonnull))block
To- (void)enumerateAttribute:(nonnull NSAttributedStringKey)attrName inRange:(NSRange)enumerationRange options:(NSAttributedStringEnumerationOptions)opts usingBlock:(nonnull void (^)(id _Nullable, NSRange, BOOL * _Nonnull))block

Declaration
From- (void)setAttributes:(nullable NSDictionary<NSString *,id> *)attrs range:(NSRange)range
To- (void)setAttributes:(nullable NSDictionary<NSAttributedStringKey,id> *)attrs range:(NSRange)range

Declaration
From- (void)addAttribute:(nonnull NSString *)name value:(nonnull id)value range:(NSRange)range
To- (void)addAttribute:(nonnull NSAttributedStringKey)name value:(nonnull id)value range:(NSRange)range

Declaration
From- (void)addAttributes:(nonnull NSDictionary<NSString *,id> *)attrs range:(NSRange)range
To- (void)addAttributes:(nonnull NSDictionary<NSAttributedStringKey,id> *)attrs range:(NSRange)range

Declaration
From- (void)removeAttribute:(nonnull NSString *)name range:(NSRange)range
To- (void)removeAttribute:(nonnull NSAttributedStringKey)name range:(NSRange)range

NSCoder.h
Availability
FromAvailable
ToDeprecated

NSDateComponentsFormatter.h
NSDecimalNumber.h
Declaration
From+ (nonnull NSDecimalNumberHandler *)defaultDecimalNumberHandler
To@property (class, readonly, strong, nonnull) NSDecimalNumberHandler *defaultDecimalNumberHandler

NSDictionary.h
Declaration
From- (void)getObjects:(ObjectType _Nonnull [])objects andKeys:(KeyType _Nonnull [])keys count:(NSUInteger)count
To- (void)getObjects:(nullable ObjectType _Nonnull [])objects andKeys:(nullable KeyType _Nonnull [])keys count:(NSUInteger)count

Declaration
From- (void)getObjects:(ObjectType _Nonnull [])objects andKeys:(KeyType _Nonnull [])keys
To- (void)getObjects:(nullable ObjectType _Nonnull [])objects andKeys:(nullable KeyType _Nonnull [])keys

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

Declaration
From+ (nonnull instancetype)dictionaryWithObjects:(const ObjectType _Nonnull [])objects forKeys:(const KeyType<NSCopying> _Nonnull [])keys count:(NSUInteger)cnt
To+ (nonnull instancetype)dictionaryWithObjects:(nullable ObjectType _Nonnull const [])objects forKeys:(nullable KeyType<NSCopying> _Nonnull const [])keys count:(NSUInteger)cnt

NSError.h
Declaration
FromNSString *const _Nonnull NSUnderlyingErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSUnderlyingErrorKey

Declaration
FromNSString *const _Nonnull NSLocalizedDescriptionKey
Toconst NSErrorUserInfoKey _Nonnull NSLocalizedDescriptionKey

Declaration
FromNSString *const _Nonnull NSLocalizedFailureReasonErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSLocalizedFailureReasonErrorKey

Declaration
FromNSString *const _Nonnull NSLocalizedRecoverySuggestionErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSLocalizedRecoverySuggestionErrorKey

Declaration
FromNSString *const _Nonnull NSLocalizedRecoveryOptionsErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSLocalizedRecoveryOptionsErrorKey

Declaration
FromNSString *const _Nonnull NSRecoveryAttempterErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSRecoveryAttempterErrorKey

Declaration
FromNSString *const _Nonnull NSHelpAnchorErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSHelpAnchorErrorKey

Declaration
FromNSString *const _Nonnull NSStringEncodingErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSStringEncodingErrorKey

Modified NSURLErrorKey
Declaration
FromNSString *const _Nonnull NSURLErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSURLErrorKey

Declaration
FromNSString *const _Nonnull NSFilePathErrorKey
Toconst NSErrorUserInfoKey _Nonnull NSFilePathErrorKey

Declaration
From- (nonnull instancetype)initWithDomain:(nonnull NSErrorDomain)domain code:(NSInteger)code userInfo:(nullable NSDictionary *)dict
To- (nonnull instancetype)initWithDomain:(nonnull NSErrorDomain)domain code:(NSInteger)code userInfo:(nullable NSDictionary<NSErrorUserInfoKey,id> *)dict

Declaration
From+ (nonnull instancetype)errorWithDomain:(nonnull NSErrorDomain)domain code:(NSInteger)code userInfo:(nullable NSDictionary *)dict
To+ (nonnull instancetype)errorWithDomain:(nonnull NSErrorDomain)domain code:(NSInteger)code userInfo:(nullable NSDictionary<NSErrorUserInfoKey,id> *)dict

Declaration
From@property (readonly, copy, nonnull) NSDictionary *userInfo
To@property (readonly, copy, nonnull) NSDictionary<NSErrorUserInfoKey,id> *userInfo

Declaration
From+ (void)setUserInfoValueProviderForDomain:(nonnull NSErrorDomain)errorDomain provider:(nullable id _Nullable (^)(NSError * _Nonnull, NSString * _Nonnull))provider
To+ (void)setUserInfoValueProviderForDomain:(nonnull NSErrorDomain)errorDomain provider:(nullable id _Nullable (^)(NSError * _Nonnull, NSErrorUserInfoKey _Nonnull))provider

Declaration
From+ (nullable id _Nullable (^)(NSError * _Nonnull, NSString * _Nonnull))userInfoValueProviderForDomain:(nonnull NSErrorDomain)errorDomain
To+ (nullable id _Nullable (^)(NSError * _Nonnull, NSErrorUserInfoKey _Nonnull))userInfoValueProviderForDomain:(nonnull NSErrorDomain)errorDomain

NSExpression.h
Declaration
From+ (nonnull NSExpression *)expressionForAggregate:(nonnull NSArray *)subexpressions
To+ (nonnull NSExpression *)expressionForAggregate:(nonnull NSArray<NSExpression *> *)subexpressions

Declaration
From+ (nonnull NSExpression *)expressionForSubquery:(nonnull NSExpression *)expression usingIteratorVariable:(nonnull NSString *)variable predicate:(nonnull id)predicate
To+ (nonnull NSExpression *)expressionForSubquery:(nonnull NSExpression *)expression usingIteratorVariable:(nonnull NSString *)variable predicate:(nonnull NSPredicate *)predicate

Declaration
From+ (nonnull NSExpression *)expressionForBlock:(nonnull id _Nonnull (^)(id _Nullable, NSArray * _Nonnull, NSMutableDictionary * _Nullable))block arguments:(nullable NSArray<NSExpression *> *)arguments
To+ (nonnull NSExpression *)expressionForBlock:(nonnull id _Nonnull (^)(id _Nullable, NSArray<NSExpression *> * _Nonnull, NSMutableDictionary * _Nullable))block arguments:(nullable NSArray<NSExpression *> *)arguments

Declaration
From@property (readonly, copy, nonnull) id _Nonnull (^)(id _Nullable, NSArray * _Nonnull, NSMutableDictionary * _Nullable) expressionBlock
To@property (readonly, copy, nonnull) id _Nonnull (^)(id _Nullable, NSArray<NSExpression *> * _Nonnull, NSMutableDictionary * _Nullable) expressionBlock

NSFileManager.h
Declaration
From- (BOOL)createDirectoryAtURL:(nonnull NSURL *)url withIntermediateDirectories:(BOOL)createIntermediates attributes:(nullable NSDictionary<NSString *,id> *)attributes error:(nullable NSError * _Nullable *)error
To- (BOOL)createDirectoryAtURL:(nonnull NSURL *)url withIntermediateDirectories:(BOOL)createIntermediates attributes:(nullable NSDictionary<NSFileAttributeKey,id> *)attributes error:(nullable NSError * _Nullable *)error

Declaration
From- (BOOL)createDirectoryAtPath:(nonnull NSString *)path withIntermediateDirectories:(BOOL)createIntermediates attributes:(nullable NSDictionary<NSString *,id> *)attributes error:(nullable NSError * _Nullable *)error
To- (BOOL)createDirectoryAtPath:(nonnull NSString *)path withIntermediateDirectories:(BOOL)createIntermediates attributes:(nullable NSDictionary<NSFileAttributeKey,id> *)attributes error:(nullable NSError * _Nullable *)error

Declaration
From- (BOOL)createFileAtPath:(nonnull NSString *)path contents:(nullable NSData *)data attributes:(nullable NSDictionary<NSString *,id> *)attr
To- (BOOL)createFileAtPath:(nonnull NSString *)path contents:(nullable NSData *)data attributes:(nullable NSDictionary<NSFileAttributeKey,id> *)attr

NSFormatter.h
Declaration
From- (nullable NSAttributedString *)attributedStringForObjectValue:(nonnull id)obj withDefaultAttributes:(nullable NSDictionary<NSString *,id> *)attrs
To- (nullable NSAttributedString *)attributedStringForObjectValue:(nonnull id)obj withDefaultAttributes:(nullable NSDictionary<NSAttributedStringKey,id> *)attrs

NSIndexPath.h
Declaration
From+ (nonnull instancetype)indexPathWithIndexes:(const NSUInteger [])indexes length:(NSUInteger)length
To+ (nonnull instancetype)indexPathWithIndexes:(nullable const NSUInteger [])indexes length:(NSUInteger)length

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

NSISO8601DateFormatter.h
NSItemProvider.h
Declaration
From@property (nonatomic, readonly, copy, nonnull) NSArray *registeredTypeIdentifiers
To@property (atomic, readonly, copy, nonnull) NSArray<NSString *> *registeredTypeIdentifiers

Declaration
FromNSString *const _Null_unspecified NSItemProviderPreferredImageSizeKey
ToNSString *const _Nonnull NSItemProviderPreferredImageSizeKey

Declaration
From@property (nonatomic, copy, nullable) NSItemProviderLoadHandler previewImageHandler
To@property (atomic, copy, nullable) NSItemProviderLoadHandler previewImageHandler

Declaration
FromNSString *const _Null_unspecified NSItemProviderErrorDomain
ToNSString *const _Nonnull NSItemProviderErrorDomain

NSJSONSerialization.h
NSLinguisticTagger.h
Declaration
FromNSString *const _Nonnull NSLinguisticTagSchemeTokenType
Toconst NSLinguisticTagScheme _Nonnull NSLinguisticTagSchemeTokenType

Declaration
FromNSString *const _Nonnull NSLinguisticTagSchemeLexicalClass
Toconst NSLinguisticTagScheme _Nonnull NSLinguisticTagSchemeLexicalClass

Declaration
FromNSString *const _Nonnull NSLinguisticTagSchemeNameType
Toconst NSLinguisticTagScheme _Nonnull NSLinguisticTagSchemeNameType

Declaration
FromNSString *const _Nonnull NSLinguisticTagSchemeNameTypeOrLexicalClass
Toconst NSLinguisticTagScheme _Nonnull NSLinguisticTagSchemeNameTypeOrLexicalClass

Declaration
FromNSString *const _Nonnull NSLinguisticTagSchemeLemma
Toconst NSLinguisticTagScheme _Nonnull NSLinguisticTagSchemeLemma

Declaration
FromNSString *const _Nonnull NSLinguisticTagSchemeLanguage
Toconst NSLinguisticTagScheme _Nonnull NSLinguisticTagSchemeLanguage

Declaration
FromNSString *const _Nonnull NSLinguisticTagSchemeScript
Toconst NSLinguisticTagScheme _Nonnull NSLinguisticTagSchemeScript

Declaration
FromNSString *const _Nonnull NSLinguisticTagWord
Toconst NSLinguisticTag _Nonnull NSLinguisticTagWord

Declaration
FromNSString *const _Nonnull NSLinguisticTagPunctuation
Toconst NSLinguisticTag _Nonnull NSLinguisticTagPunctuation

Declaration
FromNSString *const _Nonnull NSLinguisticTagWhitespace
Toconst NSLinguisticTag _Nonnull NSLinguisticTagWhitespace

Declaration
FromNSString *const _Nonnull NSLinguisticTagOther
Toconst NSLinguisticTag _Nonnull NSLinguisticTagOther

Declaration
FromNSString *const _Nonnull NSLinguisticTagNoun
Toconst NSLinguisticTag _Nonnull NSLinguisticTagNoun

Declaration
FromNSString *const _Nonnull NSLinguisticTagVerb
Toconst NSLinguisticTag _Nonnull NSLinguisticTagVerb

Declaration
FromNSString *const _Nonnull NSLinguisticTagAdjective
Toconst NSLinguisticTag _Nonnull NSLinguisticTagAdjective

Declaration
FromNSString *const _Nonnull NSLinguisticTagAdverb
Toconst NSLinguisticTag _Nonnull NSLinguisticTagAdverb

Declaration
FromNSString *const _Nonnull NSLinguisticTagPronoun
Toconst NSLinguisticTag _Nonnull NSLinguisticTagPronoun

Declaration
FromNSString *const _Nonnull NSLinguisticTagDeterminer
Toconst NSLinguisticTag _Nonnull NSLinguisticTagDeterminer

Declaration
FromNSString *const _Nonnull NSLinguisticTagParticle
Toconst NSLinguisticTag _Nonnull NSLinguisticTagParticle

Declaration
FromNSString *const _Nonnull NSLinguisticTagPreposition
Toconst NSLinguisticTag _Nonnull NSLinguisticTagPreposition

Declaration
FromNSString *const _Nonnull NSLinguisticTagNumber
Toconst NSLinguisticTag _Nonnull NSLinguisticTagNumber

Declaration
FromNSString *const _Nonnull NSLinguisticTagConjunction
Toconst NSLinguisticTag _Nonnull NSLinguisticTagConjunction

Declaration
FromNSString *const _Nonnull NSLinguisticTagInterjection
Toconst NSLinguisticTag _Nonnull NSLinguisticTagInterjection

Declaration
FromNSString *const _Nonnull NSLinguisticTagClassifier
Toconst NSLinguisticTag _Nonnull NSLinguisticTagClassifier

Declaration
FromNSString *const _Nonnull NSLinguisticTagIdiom
Toconst NSLinguisticTag _Nonnull NSLinguisticTagIdiom

Declaration
FromNSString *const _Nonnull NSLinguisticTagOtherWord
Toconst NSLinguisticTag _Nonnull NSLinguisticTagOtherWord

Declaration
FromNSString *const _Nonnull NSLinguisticTagSentenceTerminator
Toconst NSLinguisticTag _Nonnull NSLinguisticTagSentenceTerminator

Declaration
FromNSString *const _Nonnull NSLinguisticTagOpenQuote
Toconst NSLinguisticTag _Nonnull NSLinguisticTagOpenQuote

Declaration
FromNSString *const _Nonnull NSLinguisticTagCloseQuote
Toconst NSLinguisticTag _Nonnull NSLinguisticTagCloseQuote

Declaration
FromNSString *const _Nonnull NSLinguisticTagOpenParenthesis
Toconst NSLinguisticTag _Nonnull NSLinguisticTagOpenParenthesis

Declaration
FromNSString *const _Nonnull NSLinguisticTagCloseParenthesis
Toconst NSLinguisticTag _Nonnull NSLinguisticTagCloseParenthesis

Declaration
FromNSString *const _Nonnull NSLinguisticTagWordJoiner
Toconst NSLinguisticTag _Nonnull NSLinguisticTagWordJoiner

Declaration
FromNSString *const _Nonnull NSLinguisticTagDash
Toconst NSLinguisticTag _Nonnull NSLinguisticTagDash

Declaration
FromNSString *const _Nonnull NSLinguisticTagOtherPunctuation
Toconst NSLinguisticTag _Nonnull NSLinguisticTagOtherPunctuation

Declaration
FromNSString *const _Nonnull NSLinguisticTagParagraphBreak
Toconst NSLinguisticTag _Nonnull NSLinguisticTagParagraphBreak

Declaration
FromNSString *const _Nonnull NSLinguisticTagOtherWhitespace
Toconst NSLinguisticTag _Nonnull NSLinguisticTagOtherWhitespace

Declaration
FromNSString *const _Nonnull NSLinguisticTagPersonalName
Toconst NSLinguisticTag _Nonnull NSLinguisticTagPersonalName

Declaration
FromNSString *const _Nonnull NSLinguisticTagPlaceName
Toconst NSLinguisticTag _Nonnull NSLinguisticTagPlaceName

Declaration
FromNSString *const _Nonnull NSLinguisticTagOrganizationName
Toconst NSLinguisticTag _Nonnull NSLinguisticTagOrganizationName

Declaration
From- (nonnull instancetype)initWithTagSchemes:(nonnull NSArray<NSString *> *)tagSchemes options:(NSUInteger)opts
To- (nonnull instancetype)initWithTagSchemes:(nonnull NSArray<NSLinguisticTagScheme> *)tagSchemes options:(NSUInteger)opts

Declaration
From@property (readonly, copy, nonnull) NSArray<NSString *> *tagSchemes
To@property (readonly, copy, nonnull) NSArray<NSLinguisticTagScheme> *tagSchemes

Declaration
From+ (nonnull NSArray<NSString *> *)availableTagSchemesForLanguage:(nonnull NSString *)language
To+ (nonnull NSArray<NSLinguisticTagScheme> *)availableTagSchemesForLanguage:(nonnull NSString *)language

Declaration
From- (void)enumerateTagsInRange:(NSRange)range scheme:(nonnull NSString *)tagScheme options:(NSLinguisticTaggerOptions)opts usingBlock:(nonnull void (^)(NSString * _Nonnull, NSRange, NSRange, BOOL * _Nonnull))block
To- (void)enumerateTagsInRange:(NSRange)range scheme:(nonnull NSLinguisticTagScheme)tagScheme options:(NSLinguisticTaggerOptions)opts usingBlock:(nonnull void (^)(NSLinguisticTag _Nullable, NSRange, NSRange, BOOL * _Nonnull))block

Declaration
From- (nullable NSString *)tagAtIndex:(NSUInteger)charIndex scheme:(nonnull NSString *)tagScheme tokenRange:(nullable NSRangePointer)tokenRange sentenceRange:(nullable NSRangePointer)sentenceRange
To- (nullable NSLinguisticTag)tagAtIndex:(NSUInteger)charIndex scheme:(nonnull NSLinguisticTagScheme)scheme tokenRange:(nullable NSRangePointer)tokenRange sentenceRange:(nullable NSRangePointer)sentenceRange

Declaration
From- (nonnull NSArray<NSString *> *)linguisticTagsInRange:(NSRange)range scheme:(nonnull NSString *)tagScheme options:(NSLinguisticTaggerOptions)opts orthography:(nullable NSOrthography *)orthography tokenRanges:(nullable NSArray<NSValue *> * _Nullable *)tokenRanges
To- (nonnull NSArray<NSLinguisticTag> *)linguisticTagsInRange:(NSRange)range scheme:(nonnull NSLinguisticTagScheme)scheme options:(NSLinguisticTaggerOptions)options orthography:(nullable NSOrthography *)orthography tokenRanges:(nullable NSArray<NSValue *> * _Nullable *)tokenRanges

Declaration
From- (void)enumerateLinguisticTagsInRange:(NSRange)range scheme:(nonnull NSString *)tagScheme options:(NSLinguisticTaggerOptions)opts orthography:(nullable NSOrthography *)orthography usingBlock:(nonnull void (^)(NSString * _Nonnull, NSRange, NSRange, BOOL * _Nonnull))block
To- (void)enumerateLinguisticTagsInRange:(NSRange)range scheme:(nonnull NSLinguisticTagScheme)scheme options:(NSLinguisticTaggerOptions)options orthography:(nullable NSOrthography *)orthography usingBlock:(nonnull void (^)(NSLinguisticTag _Nullable, NSRange, NSRange, BOOL * _Nonnull))block

NSObjCRuntime.h
Added #def NS_TYPED_ENUM
Added #def NS_TYPED_EXTENSIBLE_ENUM
Added #def NS_ERROR_ENUM
NSOrderedSet.h
Declaration
From- (void)getObjects:(ObjectType _Nonnull [])objects range:(NSRange)range
To- (void)getObjects:(nullable ObjectType _Nonnull [])objects range:(NSRange)range

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

Declaration
From- (void)addObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)count
To- (void)addObjects:(nullable ObjectType _Nonnull const [])objects count:(NSUInteger)count

Declaration
From- (void)replaceObjectsInRange:(NSRange)range withObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)count
To- (void)replaceObjectsInRange:(NSRange)range withObjects:(nullable ObjectType _Nonnull const [])objects count:(NSUInteger)count

NSOrthography.h
NSProcessInfo.h
NSProgress.h
Declaration
From- (nonnull instancetype)initWithParent:(nullable NSProgress *)parentProgressOrNil userInfo:(nullable NSDictionary *)userInfoOrNil
To- (nonnull instancetype)initWithParent:(nullable NSProgress *)parentProgressOrNil userInfo:(nullable NSDictionary<NSProgressUserInfoKey,id> *)userInfoOrNil

NSSet.h
Declaration
From+ (nonnull instancetype)setWithObjects:(const ObjectType _Nonnull [])objects count:(NSUInteger)cnt
To+ (nonnull instancetype)setWithObjects:(nonnull ObjectType _Nonnull const [])objects count:(NSUInteger)cnt

NSString.h
Modified NSString
Protocols
FromNSCopying, NSMutableCopying, NSSecureCoding
ToNSCopying, NSItemProviderReading, NSItemProviderWriting, NSMutableCopying, NSSecureCoding

Declaration
From- (BOOL)applyTransform:(nonnull NSString *)transform reverse:(BOOL)reverse range:(NSRange)range updatedRange:(nullable NSRangePointer)resultingRange
To- (BOOL)applyTransform:(nonnull NSStringTransform)transform reverse:(BOOL)reverse range:(NSRange)range updatedRange:(nullable NSRangePointer)resultingRange

NSTextCheckingResult.h
Declaration
From@property (readonly, copy, nullable) NSDictionary<NSString *,NSString *> *components
To@property (readonly, copy, nullable) NSDictionary<NSTextCheckingKey,NSString *> *components

Declaration
From@property (readonly, copy, nullable) NSDictionary<NSString *,NSString *> *addressComponents
To@property (readonly, copy, nullable) NSDictionary<NSTextCheckingKey,NSString *> *addressComponents

Declaration
FromNSString *const _Nonnull NSTextCheckingNameKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingNameKey

Declaration
FromNSString *const _Nonnull NSTextCheckingJobTitleKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingJobTitleKey

Declaration
FromNSString *const _Nonnull NSTextCheckingOrganizationKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingOrganizationKey

Declaration
FromNSString *const _Nonnull NSTextCheckingStreetKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingStreetKey

Declaration
FromNSString *const _Nonnull NSTextCheckingCityKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingCityKey

Declaration
FromNSString *const _Nonnull NSTextCheckingStateKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingStateKey

Declaration
FromNSString *const _Nonnull NSTextCheckingZIPKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingZIPKey

Declaration
FromNSString *const _Nonnull NSTextCheckingCountryKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingCountryKey

Declaration
FromNSString *const _Nonnull NSTextCheckingPhoneKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingPhoneKey

Declaration
FromNSString *const _Nonnull NSTextCheckingAirlineKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingAirlineKey

Declaration
FromNSString *const _Nonnull NSTextCheckingFlightKey
Toconst NSTextCheckingKey _Nonnull NSTextCheckingFlightKey

Declaration
From+ (nonnull NSTextCheckingResult *)addressCheckingResultWithRange:(NSRange)range components:(nonnull NSDictionary<NSString *,NSString *> *)components
To+ (nonnull NSTextCheckingResult *)addressCheckingResultWithRange:(NSRange)range components:(nonnull NSDictionary<NSTextCheckingKey,NSString *> *)components

Declaration
From+ (nonnull NSTextCheckingResult *)transitInformationCheckingResultWithRange:(NSRange)range components:(nonnull NSDictionary<NSString *,NSString *> *)components
To+ (nonnull NSTextCheckingResult *)transitInformationCheckingResultWithRange:(NSRange)range components:(nonnull NSDictionary<NSTextCheckingKey,NSString *> *)components

NSUbiquitousKeyValueStore.h
Removed +[NSUbiquitousKeyValueStore defaultStore]
NSURL.h
Modified NSURL
Protocols
FromNSCopying, NSSecureCoding
ToNSCopying, NSItemProviderReading, NSItemProviderWriting, NSSecureCoding

NSURLSession.h
Protocols
FromNSCopying
ToNSCopying, NSProgressReporting

NSUserActivity.h
Declaration
From@property (copy, nonnull) NSSet<NSString *> *requiredUserInfoKeys
To@property (copy, nullable) NSSet<NSString *> *requiredUserInfoKeys

Declaration
From@property (copy, nonnull) NSDate *expirationDate
To@property (copy, nullable) NSDate *expirationDate

Declaration
From- (void)userActivity:(nullable NSUserActivity *)userActivity didReceiveInputStream:(nonnull NSInputStream *)inputStream outputStream:(nonnull NSOutputStream *)outputStream
To- (void)userActivity:(nonnull NSUserActivity *)userActivity didReceiveInputStream:(nonnull NSInputStream *)inputStream outputStream:(nonnull NSOutputStream *)outputStream

NSUUID.h
Declaration
From- (nonnull instancetype)initWithUUIDBytes:(const uuid_t)bytes
To- (nonnull instancetype)initWithUUIDBytes:(nullable uuid_t)bytes

Declaration
From- (void)getUUIDBytes:(uuid_t)uuid
To- (void)getUUIDBytes:(nonnull uuid_t)uuid

NSValue.h
Availability
FromAvailable
ToDeprecated

NSXPCConnection.h