Foundation watchOS 8.5 to 9.0 API Differences

FoundationErrors.h
Added NSXPCConnectionCodeSigningRequirementFailure
NSAttributedString.h
Added NSMarkdownSourcePositionAttributeName
Added NSAttributedStringMarkdownSourcePosition
Added NSAttributedStringMarkdownSourcePosition.startLine
Added NSAttributedStringMarkdownSourcePosition.startColumn
Added NSAttributedStringMarkdownSourcePosition.endLine
Added NSAttributedStringMarkdownSourcePosition.endColumn
Added -[NSAttributedStringMarkdownSourcePosition initWithStartLine:startColumn:endLine:endColumn:]
Added -[NSAttributedStringMarkdownSourcePosition rangeInString:]
Added NSAttributedStringMarkdownParsingOptions.appliesSourcePositionAttributes
NSInvocation.h
Added -[NSInvocation invokeUsingIMP:]
NSObjCRuntime.h
Added #def NS_HEADER_AUDIT_BEGIN
Added #def NS_HEADER_AUDIT_END
NSProcessInfo.h
Added NSActivityAnimationTrackingEnabled
Added NSActivityTrackingEnabled
Added NSActivityUserInteractive
NSUbiquitousKeyValueStore.h
Added NSUbiquitousKeyValueStore
Added NSUbiquitousKeyValueStore.defaultStore
Added -[NSUbiquitousKeyValueStore objectForKey:]
Added -[NSUbiquitousKeyValueStore setObject:forKey:]
Added -[NSUbiquitousKeyValueStore removeObjectForKey:]
Added -[NSUbiquitousKeyValueStore stringForKey:]
Added -[NSUbiquitousKeyValueStore arrayForKey:]
Added -[NSUbiquitousKeyValueStore dictionaryForKey:]
Added -[NSUbiquitousKeyValueStore dataForKey:]
Added -[NSUbiquitousKeyValueStore longLongForKey:]
Added -[NSUbiquitousKeyValueStore doubleForKey:]
Added -[NSUbiquitousKeyValueStore boolForKey:]
Added -[NSUbiquitousKeyValueStore setString:forKey:]
Added -[NSUbiquitousKeyValueStore setData:forKey:]
Added -[NSUbiquitousKeyValueStore setArray:forKey:]
Added -[NSUbiquitousKeyValueStore setDictionary:forKey:]
Added -[NSUbiquitousKeyValueStore setLongLong:forKey:]
Added -[NSUbiquitousKeyValueStore setDouble:forKey:]
Added -[NSUbiquitousKeyValueStore setBool:forKey:]
Added NSUbiquitousKeyValueStore.dictionaryRepresentation
Added -[NSUbiquitousKeyValueStore synchronize]
NSURL.h
Added NSURLComponents.encodedHost
Modified NSURLFileScheme
Declaration
FromNSString *NSURLFileScheme
ToNSString *const NSURLFileScheme

Modified NSURLComponents.percentEncodedHost
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse encodedHost instead

NSURLRequest.h
Added NSMutableURLRequest.requiresDNSSECValidation
NSURLSession.h
Added NSURLSessionConfiguration.requiresDNSSECValidation
Added -[NSURLSessionTaskDelegate URLSession:didCreateTask:]
NSXPCConnection.h
Added -[NSXPCConnection activate]
Added -[NSXPCListener activate]