Foundation macOS 12.3 to 13.0 API Differences

FoundationErrors.h
Added NSXPCConnectionCodeSigningRequirementFailure
NSAppleEventManager.h
Modified NSAppleEventManagerWillProcessFirstEventNotification
Declaration
FromNSNotificationName NSAppleEventManagerWillProcessFirstEventNotification
Toconst NSNotificationName NSAppleEventManagerWillProcessFirstEventNotification

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
NSClassDescription.h
Modified NSClassDescriptionNeededForClassNotification
Declaration
FromNSNotificationName NSClassDescriptionNeededForClassNotification
Toconst NSNotificationName NSClassDescriptionNeededForClassNotification

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
NSScriptKeyValueCoding.h
Modified NSOperationNotSupportedForKeyException
Declaration
FromNSString *NSOperationNotSupportedForKeyException
ToNSString *const NSOperationNotSupportedForKeyException

NSURL.h
Added NSURLComponents.encodedHost
Modified NSURLFileScheme
Declaration
FromNSString *NSURLFileScheme
ToNSString *const NSURLFileScheme

Modified NSURLComponents.percentEncodedHost
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse encodedHost instead

NSURLHandle.h
Modified NSHTTPPropertyStatusCodeKey
Declaration
FromNSString *NSHTTPPropertyStatusCodeKey
ToNSString *const NSHTTPPropertyStatusCodeKey

Modified NSHTTPPropertyStatusReasonKey
Declaration
FromNSString *NSHTTPPropertyStatusReasonKey
ToNSString *const NSHTTPPropertyStatusReasonKey

Modified NSHTTPPropertyServerHTTPVersionKey
Declaration
FromNSString *NSHTTPPropertyServerHTTPVersionKey
ToNSString *const NSHTTPPropertyServerHTTPVersionKey

Modified NSHTTPPropertyRedirectionHeadersKey
Declaration
FromNSString *NSHTTPPropertyRedirectionHeadersKey
ToNSString *const NSHTTPPropertyRedirectionHeadersKey

Modified NSHTTPPropertyErrorPageDataKey
Declaration
FromNSString *NSHTTPPropertyErrorPageDataKey
ToNSString *const NSHTTPPropertyErrorPageDataKey

Modified NSHTTPPropertyHTTPProxy
Declaration
FromNSString *NSHTTPPropertyHTTPProxy
ToNSString *const NSHTTPPropertyHTTPProxy

Modified NSFTPPropertyUserLoginKey
Declaration
FromNSString *NSFTPPropertyUserLoginKey
ToNSString *const NSFTPPropertyUserLoginKey

Modified NSFTPPropertyUserPasswordKey
Declaration
FromNSString *NSFTPPropertyUserPasswordKey
ToNSString *const NSFTPPropertyUserPasswordKey

Modified NSFTPPropertyActiveTransferModeKey
Declaration
FromNSString *NSFTPPropertyActiveTransferModeKey
ToNSString *const NSFTPPropertyActiveTransferModeKey

Modified NSFTPPropertyFileOffsetKey
Declaration
FromNSString *NSFTPPropertyFileOffsetKey
ToNSString *const NSFTPPropertyFileOffsetKey

Modified NSFTPPropertyFTPProxy
Declaration
FromNSString *NSFTPPropertyFTPProxy
ToNSString *const NSFTPPropertyFTPProxy

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