Foundation macOS 10.13 to 10.14 API Differences

NSExtensionItem.h
Declaration
From@property (atomic, copy, nullable) NSArray *attachments
To@property (atomic, copy, nullable) NSArray<NSItemProvider *> *attachments

NSFileWrapper.h
Modified NSFileWrapper
Protocols
FromNSCoding
ToNSSecureCoding

NSHashTable.h
Modified NSHashTable
Protocols
FromNSCoding, NSCopying, NSFastEnumeration
ToNSCopying, NSFastEnumeration, NSSecureCoding

NSItemProvider.h
NSKeyedArchiver.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -initRequiringSecureCoding: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -initRequiringSecureCoding: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse +archivedDataWithRootObject:requiringSecureCoding:error: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse +archivedDataWithRootObject:requiringSecureCoding:error: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -initForReadingFromData:error: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse +unarchivedObjectOfClass:fromData:error: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse +unarchivedObjectOfClass:fromData:error: instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse +unarchivedObjectOfClass:fromData:error: instead

NSMapTable.h
Modified NSMapTable
Protocols
FromNSCoding, NSCopying, NSFastEnumeration
ToNSCopying, NSFastEnumeration, NSSecureCoding

NSObjCRuntime.h
Removed #def FOUNDATION_SWIFT_SDK_EPOCH_LESS_THAN
Added #def NS_CLOSED_ENUM
Added #def NS_SWIFT_BRIDGED_TYPEDEF
NSPointerArray.h
Protocols
FromNSCoding, NSCopying, NSFastEnumeration
ToNSCopying, NSFastEnumeration, NSSecureCoding

NSURLRequest.h
NSUserActivity.h
NSUserNotification.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedAll NSUserNotifications API should be replaced with UserNotifications.frameworks API

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedAll NSUserNotifications API should be replaced with UserNotifications.frameworks API

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedAll NSUserNotifications API should be replaced with UserNotifications.frameworks API

Availability
FromAvailable
ToDeprecated

Availability
FromAvailable
ToDeprecated

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedAll NSUserNotifications API should be replaced with UserNotifications.frameworks API

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedAll NSUserNotifications API should be replaced with UserNotifications.frameworks API

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedAll NSUserNotifications API should be replaced with UserNotifications.frameworks API

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedAll NSUserNotifications API should be replaced with UserNotifications.frameworks API

NSValueTransformer.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSSecureUnarchiveFromDataTransformerName

AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSSecureUnarchiveFromDataTransformerName