Foundation watchOS 5.3 to 6.0 API Differences

FoundationErrors.h
NSArray.h
NSByteCountFormatter.h
NSData.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSDataReadingMappedIfSafe

Modified NSMappedRead
AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSDataReadingMapped

AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSDataReadingUncached

Modified NSAtomicWrite
AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSDataWritingAtomic

NSDate.h
NSException.h
Modified NSException
Protocols
FromNSCoding, NSCopying
ToNSCopying, NSSecureCoding

NSFileHandle.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedreadDataToEndOfFileAndReturnError:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedreadDataUpToLength:error:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedwriteData:error:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedgetOffset:error:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedseekToEndReturningOffset:error:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedseekToOffset:error:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedtruncateAtOffset:error:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedsynchronizeAndReturnError:

AvailabilityReplacement
FromAvailablenone
ToDeprecatedcloseAndReturnError:

NSFileManager.h
NSHTTPCookie.h
NSJSONSerialization.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedNSJSONReadingFragmentsAllowed

NSListFormatter.h
NSObjCRuntime.h
Added #def NS_WARN_UNUSED_RESULT
NSOperation.h
Protocols
Fromnone
ToNSProgressReporting

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedaccess to operations is inherently a race condition, it should not be used. For barrier style behaviors please use addBarrierBlock: instead

AvailabilityReplacement
FromAvailablenone
ToDeprecatedprogress.completedUnitCount

NSOrderedCollectionChange.h
NSOrderedCollectionDifference.h
NSOrderedSet.h
NSProcessInfo.h
NSRelativeDateTimeFormatter.h
NSUnit.h
NSURL.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThe parameterString method is deprecated. Post deprecation for applications linked with or after the macOS 10.15, and for all iOS, watchOS, and tvOS applications, parameterString will always return nil, and the path method will return the complete path including the semicolon separator and params component if the URL string contains them.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse the QuickLookThumbnailing framework and extension point instead

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse the QuickLookThumbnailing framework and extension point instead

NSURLCache.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedinitWithMemoryCapacity:diskCapacity:directoryURL:

NSURLError.h
NSURLRequest.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse PushKit for VoIP control purposes

NSURLResponse.h
NSURLSession.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedTLS cannot be disabled once it is enabled

AvailabilityReplacement
FromAvailablenone
ToDeprecatedTLSMinimumSupportedProtocolVersion

AvailabilityReplacement
FromAvailablenone
ToDeprecatedTLSMaximumSupportedProtocolVersion

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNot supported

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNot supported

NSXPCConnection.h
Declaration
From@property (assign) id<NSXPCListenerDelegate> delegate
To@property (weak) id<NSXPCListenerDelegate> delegate