AppKit macOS 10.15.6 to 11.0 API Differences

AppKitDefines.h
Added #def APPKIT_API_UNAVAILABLE_BEGIN_MACCATALYST
NSAccessibilityColor.h
NSAppearance.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -performAsCurrentDrawingAppearance: to temporarily set the drawing appearance, or +currentDrawingAppearance to access the currently drawing appearance.

NSApplication.h
NSAttributedString.h
NSButton.h
NSCell.h
NSColor.h
Modified NSColor
Protocols
FromNSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding
ToNSAccessibilityColor, NSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding

NSFont.h
NSFontDescriptor.h
NSImage.h
NSImageView.h
NSLayoutAnchor.h
NSMenu.h
Modified NSMenu
Protocols
FromNSAccessibility, NSAccessibilityElement, NSCoding, NSCopying, NSUserInterfaceItemIdentification
ToNSAccessibility, NSAccessibilityElement, NSAppearanceCustomization, NSCoding, NSCopying, NSUserInterfaceItemIdentification

NSNibConnector.h
Declaration
From@property (assign) id source
To@property (weak) id source

Declaration
From@property (assign) id destination
To@property (weak) id destination

NSOutlineView.h
NSParagraphStyle.h
NSSavePanel.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -allowedContentTypes instead

NSSearchField.h
AvailabilityReplacement
FromAvailablenone
ToDeprecatedsearchTextBounds

AvailabilityReplacement
FromAvailablenone
ToDeprecatedsearchButtonBounds

AvailabilityReplacement
FromAvailablenone
ToDeprecatedcancelButtonBounds

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThe placeholder centering UI design is no longer available. Setting this property is no-op.

NSSearchToolbarItem.h
NSSplitViewItem.h
NSTableView.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedSet the NSTableView.style property to NSTableViewStyleSourceList instead.

NSTableViewDiffableDataSource.h
NSTextContent.h
NSTextField.h
Modified NSTextField
Protocols
FromNSAccessibilityNavigableStaticText, NSUserInterfaceValidations
ToNSAccessibilityNavigableStaticText, NSTextContent, NSUserInterfaceValidations

NSTextView.h
Modified NSTextView
Protocols
FromNSAccessibilityNavigableStaticText, NSCandidateListTouchBarItemDelegate, NSColorChanging, NSDraggingSource, NSMenuItemValidation, NSStandardKeyBindingResponding, NSTextInput, NSTextInputClient, NSTextLayoutOrientationProvider, NSTouchBarDelegate, NSUserInterfaceValidations
ToNSAccessibilityNavigableStaticText, NSCandidateListTouchBarItemDelegate, NSColorChanging, NSDraggingSource, NSMenuItemValidation, NSStandardKeyBindingResponding, NSTextContent, NSTextInput, NSTextInputClient, NSTextLayoutOrientationProvider, NSTouchBarDelegate, NSUserInterfaceValidations

NSTintConfiguration.h
NSTitlebarAccessoryViewController.h
NSToolbarItem.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is no longer recommended. Instead, let the system automatically measure the size of the view using constraints.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property is no longer recommended. Instead, let the system automatically measure the size of the view using constraints.

NSTrackingSeparatorToolbarItem.h
NSView.h
NSWindow.h
NSWorkspace.h
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace URLForApplicationToOpenURL:] to get the URL of an application that will open a given item, or -[NSURL getResourceValue:forKey:error:] with NSURLContentTypeKey to get the type of the given item.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSWorkspace iconForContentType:] instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSURL getResourceValue:forKey:error:] with NSURLContentTypeKey instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse UTType.localizedDescription instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse UTType.preferredFilenameExtension instead.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse +[UTType typesWithTag:tagClass:conformingToType:] to get a list of candidate types, then check if the input type conforms to any of them.

AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[UTType conformsToType:] instead.