Foundation iOS 11.4 to 12.0 API Differences

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

NSFileWrapper.h
Modified NSFileWrapper
Protocols
FromNSCoding
ToNSSecureCoding

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

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
NSValueTransformer.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSSecureUnarchiveFromDataTransformerName

AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSSecureUnarchiveFromDataTransformerName