Foundation iOS 15.5 to 16.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
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]