Foundation macOS 11.3 to 12.0 API Differences

NSAttributedString.h
Added NSInlinePresentationIntent
Added NSInlinePresentationIntentEmphasized
Added NSInlinePresentationIntentStronglyEmphasized
Added NSInlinePresentationIntentCode
Added NSInlinePresentationIntentStrikethrough
Added NSInlinePresentationIntentSoftBreak
Added NSInlinePresentationIntentLineBreak
Added NSInlinePresentationIntentInlineHTML
Added NSInlinePresentationIntentBlockHTML
Added NSInlinePresentationIntentAttributeName
Added NSAlternateDescriptionAttributeName
Added NSImageURLAttributeName
Added NSLanguageIdentifierAttributeName
Added NSAttributedStringMarkdownParsingFailurePolicy
Added NSAttributedStringMarkdownParsingFailureReturnError
Added NSAttributedStringMarkdownParsingFailureReturnPartiallyParsedIfPossible
Added NSAttributedStringMarkdownInterpretedSyntax
Added NSAttributedStringMarkdownInterpretedSyntaxFull
Added NSAttributedStringMarkdownInterpretedSyntaxInlineOnly
Added NSAttributedStringMarkdownInterpretedSyntaxInlineOnlyPreservingWhitespace
Added NSAttributedStringMarkdownParsingOptions
Added -[NSAttributedStringMarkdownParsingOptions init]
Added NSAttributedStringMarkdownParsingOptions.allowsExtendedAttributes
Added NSAttributedStringMarkdownParsingOptions.interpretedSyntax
Added NSAttributedStringMarkdownParsingOptions.failurePolicy
Added NSAttributedStringMarkdownParsingOptions.languageCode
Added -[NSAttributedString initWithContentsOfMarkdownFileAtURL:options:baseURL:error:]
Added -[NSAttributedString initWithMarkdown:options:baseURL:error:]
Added -[NSAttributedString initWithMarkdownString:options:baseURL:error:]
Added NSAttributedStringFormattingOptions
Added NSAttributedStringFormattingInsertArgumentAttributesWithoutMerging
Added NSAttributedStringFormattingApplyReplacementIndexAttribute
Added -[NSAttributedString initWithFormat:options:locale:]
Added -[NSAttributedString initWithFormat:options:locale:arguments:]
Added +[NSAttributedString localizedAttributedStringWithFormat:]
Added +[NSAttributedString localizedAttributedStringWithFormat:options:]
Added -[NSMutableAttributedString appendLocalizedFormat:]
Added NSReplacementIndexAttributeName
Added -[NSAttributedString attributedStringByInflectingString]
Added NSMorphologyAttributeName
Added NSInflectionRuleAttributeName
Added NSInflectionAlternativeAttributeName
Added NSPresentationIntentAttributeName
Added NSPresentationIntentKind
Added NSPresentationIntentKindParagraph
Added NSPresentationIntentKindHeader
Added NSPresentationIntentKindOrderedList
Added NSPresentationIntentKindUnorderedList
Added NSPresentationIntentKindListItem
Added NSPresentationIntentKindCodeBlock
Added NSPresentationIntentKindBlockQuote
Added NSPresentationIntentKindThematicBreak
Added NSPresentationIntentKindTable
Added NSPresentationIntentKindTableHeaderRow
Added NSPresentationIntentKindTableRow
Added NSPresentationIntentKindTableCell
Added NSPresentationIntentTableColumnAlignment
Added NSPresentationIntentTableColumnAlignmentLeft
Added NSPresentationIntentTableColumnAlignmentCenter
Added NSPresentationIntentTableColumnAlignmentRight
Added NSPresentationIntent
Added NSPresentationIntent.intentKind
Added NSPresentationIntent.parentIntent
Added +[NSPresentationIntent paragraphIntentWithIdentity:nestedInsideIntent:]
Added +[NSPresentationIntent headerIntentWithIdentity:level:nestedInsideIntent:]
Added +[NSPresentationIntent codeBlockIntentWithIdentity:languageHint:nestedInsideIntent:]
Added +[NSPresentationIntent thematicBreakIntentWithIdentity:nestedInsideIntent:]
Added +[NSPresentationIntent orderedListIntentWithIdentity:nestedInsideIntent:]
Added +[NSPresentationIntent unorderedListIntentWithIdentity:nestedInsideIntent:]
Added +[NSPresentationIntent listItemIntentWithIdentity:ordinal:nestedInsideIntent:]
Added +[NSPresentationIntent blockQuoteIntentWithIdentity:nestedInsideIntent:]
Added +[NSPresentationIntent tableIntentWithIdentity:columnCount:alignments:nestedInsideIntent:]
Added +[NSPresentationIntent tableHeaderRowIntentWithIdentity:nestedInsideIntent:]
Added +[NSPresentationIntent tableRowIntentWithIdentity:row:nestedInsideIntent:]
Added +[NSPresentationIntent tableCellIntentWithIdentity:column:nestedInsideIntent:]
Added NSPresentationIntent.identity
Added NSPresentationIntent.ordinal
Added NSPresentationIntent.columnAlignments
Added NSPresentationIntent.columnCount
Added NSPresentationIntent.headerLevel
Added NSPresentationIntent.languageHint
Added NSPresentationIntent.column
Added NSPresentationIntent.row
Added NSPresentationIntent.indentationLevel
Added -[NSPresentationIntent isEquivalentToPresentationIntent:]
NSBundle.h
Added -[NSBundle localizedAttributedStringForKey:value:table:]
Added #def NSLocalizedAttributedString
Added #def NSLocalizedAttributedStringFromTable
Added #def NSLocalizedAttributedStringFromTableInBundle
Added #def NSLocalizedAttributedStringWithDefaultValue
NSHost.h
Modified NSHost
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse Network framework instead, see deprecation notice in <Foundation/NSHost.h>

NSInflectionRule.h
Added NSInflectionRule
Added NSInflectionRule.automaticRule
Added NSInflectionRuleExplicit
Added -[NSInflectionRuleExplicit initWithMorphology:]
Added NSInflectionRuleExplicit.morphology
Added +[NSInflectionRule canInflectLanguage:]
Added NSInflectionRule.canInflectPreferredLocalization
NSJSONSerialization.h
Added NSJSONReadingJSON5Allowed
Added NSJSONReadingTopLevelDictionaryAssumed
NSMorphology.h
Added NSGrammaticalGender
Added NSGrammaticalGenderNotSet
Added NSGrammaticalGenderFeminine
Added NSGrammaticalGenderMasculine
Added NSGrammaticalGenderNeuter
Added NSGrammaticalPartOfSpeech
Added NSGrammaticalPartOfSpeechNotSet
Added NSGrammaticalPartOfSpeechDeterminer
Added NSGrammaticalPartOfSpeechPronoun
Added NSGrammaticalPartOfSpeechLetter
Added NSGrammaticalPartOfSpeechAdverb
Added NSGrammaticalPartOfSpeechParticle
Added NSGrammaticalPartOfSpeechAdjective
Added NSGrammaticalPartOfSpeechAdposition
Added NSGrammaticalPartOfSpeechVerb
Added NSGrammaticalPartOfSpeechNoun
Added NSGrammaticalPartOfSpeechConjunction
Added NSGrammaticalPartOfSpeechNumeral
Added NSGrammaticalPartOfSpeechInterjection
Added NSGrammaticalPartOfSpeechPreposition
Added NSGrammaticalPartOfSpeechAbbreviation
Added NSGrammaticalNumber
Added NSGrammaticalNumberNotSet
Added NSGrammaticalNumberSingular
Added NSGrammaticalNumberZero
Added NSGrammaticalNumberPlural
Added NSGrammaticalNumberPluralTwo
Added NSGrammaticalNumberPluralFew
Added NSGrammaticalNumberPluralMany
Added NSMorphology
Added NSMorphology.grammaticalGender
Added NSMorphology.partOfSpeech
Added NSMorphology.number
Added -[NSMorphology customPronounForLanguage:]
Added -[NSMorphology setCustomPronoun:forLanguage:error:]
Added NSMorphologyCustomPronoun
Added +[NSMorphologyCustomPronoun isSupportedForLanguage:]
Added +[NSMorphologyCustomPronoun requiredKeysForLanguage:]
Added NSMorphologyCustomPronoun.subjectForm
Added NSMorphologyCustomPronoun.objectForm
Added NSMorphologyCustomPronoun.possessiveForm
Added NSMorphologyCustomPronoun.possessiveAdjectiveForm
Added NSMorphologyCustomPronoun.reflexiveForm
Added NSMorphology.unspecified
Added NSMorphology.userMorphology
NSNetServices.h
Modified NSNetService
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse nw_connection_t or nw_listener_t in Network framework instead

Modified NSNetServiceBrowser
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse nw_browser_t in Network framework instead

NSObjCRuntime.h
Added #def NS_SWIFT_ASYNC
Added #def NS_REFINED_FOR_SWIFT_ASYNC
Added #def NS_SWIFT_ASYNC_NAME
Added #def NS_SWIFT_ASYNC_THROWS_ON_TRUE
Added #def NS_SWIFT_ASYNC_THROWS_ON_FALSE
NSPersonNameComponentsFormatter.h
Added NSPersonNameComponentsFormatter.locale
NSProcessInfo.h
Added NSProcessInfo.lowPowerModeEnabled
Added NSProcessInfoPowerStateDidChangeNotification
NSProgress.h
Added NSProgressFileOperationKindDuplicating
NSStream.h
Modified +[NSStream getStreamsToHostWithName:port:inputStream:outputStream:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse nw_connection_t in Network framework instead

NSURL.h
Added NSURLBookmarkCreationWithoutImplicitSecurityScope
Added NSURLBookmarkResolutionWithoutImplicitStartAccessing
NSURLRequest.h
Added NSURLRequestAttribution
Added NSURLRequestAttributionDeveloper
Added NSURLRequestAttributionUser
Added NSURLRequest.attribution
Added NSMutableURLRequest.attribution
NSURLSession.h
Added NSURLSessionTask.delegate
Modified -[NSURLSession streamTaskWithNetService:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse nw_connection_t in Network framework instead

NSUUID.h
Added -[NSUUID compare:]