AppKit macOS 12.3 to 13.0 API Differences

NSColorWell.h
Added NSColorWellStyle
Added NSColorWellStyleDefault
Added NSColorWellStyleMinimal
Added NSColorWellStyleExpanded
Added +[NSColorWell colorWellWithStyle:]
Added NSColorWell.colorWellStyle
Added NSColorWell.image
Added NSColorWell.pulldownTarget
Added NSColorWell.pulldownAction
Modified NSColorWell.bordered
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property will be deprecated in a future release.

NSComboButton.h
Added NSComboButtonStyle
Added NSComboButtonStyleSplit
Added NSComboButtonStyleUnified
Added NSComboButton
Added +[NSComboButton comboButtonWithTitle:menu:target:action:]
Added +[NSComboButton comboButtonWithImage:menu:target:action:]
Added +[NSComboButton comboButtonWithTitle:image:menu:target:action:]
Added NSComboButton.title
Added NSComboButton.image
Added NSComboButton.imageScaling
Added NSComboButton.menu
Added NSComboButton.style
NSImage.h
Added +[NSImage imageWithSymbolName:variableValue:]
Added +[NSImage imageWithSystemSymbolName:variableValue:accessibilityDescription:]
Modified NSImage
Protocols
FromNSCopying, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding
ToNSCopying, NSItemProviderReading, NSItemProviderWriting, NSPasteboardReading, NSPasteboardWriting, NSSecureCoding

Modified -[NSImage lockFocus]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis method is incompatible with resolution-independent drawing and should not be used. Instead, use +[NSImage imageWithSize:flipped:drawingHandler:] to create a block-based image describing the desired image drawing, or use +[NSGraphicsContext graphicsContextWithBitmapImageRep:] to manipulate specific bitmap image representations.

Modified -[NSImage lockFocusFlipped:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis method is incompatible with resolution-independent drawing and should not be used. Instead, use +[NSImage imageWithSize:flipped:drawingHandler:] to create a block-based image describing the desired image drawing, or use +[NSGraphicsContext graphicsContextWithBitmapImageRep:] to manipulate specific bitmap image representations.

Modified -[NSImage unlockFocus]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis method is incompatible with resolution-independent drawing and should not be used. Instead, use +[NSImage imageWithSize:flipped:drawingHandler:] to create a block-based image describing the desired image drawing, or use +[NSGraphicsContext graphicsContextWithBitmapImageRep:] to manipulate specific bitmap image representations.

NSPreviewRepresentingActivityItem.h
Added NSPreviewRepresentableActivityItem
Added NSPreviewRepresentableActivityItem.item
Added NSPreviewRepresentableActivityItem.title
Added NSPreviewRepresentableActivityItem.imageProvider
Added NSPreviewRepresentableActivityItem.iconProvider
Added NSPreviewRepresentingActivityItem
Added -[NSPreviewRepresentingActivityItem initWithItem:title:image:icon:]
Added -[NSPreviewRepresentingActivityItem initWithItem:title:imageProvider:iconProvider:]
NSSharingService.h
Added NSSharingServicePicker.standardShareMenuItem
Modified +[NSSharingService sharingServicesForItems:]
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse -[NSSharingServicePicker standardShareMenuItem] instead.

NSTextElement.h
Added NSTextElement.childElements
Added NSTextElement.parentElement
Added NSTextElement.isRepresentedElement
NSTextList.h
Added -[NSTextList initWithMarkerFormat:options:startingItemNumber:]
Added -[NSTextList initWithCoder:]
Added NSTextList.ordered
Modified NSTextList.markerFormat
Declaration
From@property (readonly, copy) NSTextListMarkerFormat markerFormat
To@property (readonly, strong) NSTextListMarkerFormat markerFormat

NSTextListElement.h
Added NSTextListElement
Added -[NSTextListElement initWithParentElement:textList:contents:markerAttributes:childElements:]
Added +[NSTextListElement textListElementWithContents:markerAttributes:textList:childElements:]
Added +[NSTextListElement textListElementWithChildElements:textList:nestingLevel:]
Added NSTextListElement.textList
Added NSTextListElement.contents
Added NSTextListElement.markerAttributes
Added NSTextListElement.attributedString
Added NSTextListElement.childElements
Added NSTextListElement.parentElement
NSToolbar.h
Added NSToolbarUserInfoKey
Added NSToolbarItemKey
Added NSToolbar.centeredItemIdentifiers
Added -[NSToolbarDelegate toolbarImmovableItemIdentifiers:]
Added -[NSToolbarDelegate toolbar:itemIdentifier:canBeInsertedAtIndex:]
Modified NSToolbarSizeModeDefault
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNSToolbarSizeMode is no longer recommended and will be ignored in the future

Modified NSToolbarSizeModeRegular
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNSToolbarSizeMode is no longer recommended and will be ignored in the future

Modified NSToolbarSizeModeSmall
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNSToolbarSizeMode is no longer recommended and will be ignored in the future

Modified NSToolbar.sizeMode
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedNSToolbarSizeMode is no longer recommended and will be ignored in the future

Modified NSToolbar.centeredItemIdentifier
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedUse the centeredItemIdentifiers property instead

NSToolbarItem.h
Added NSToolbarItem.possibleLabels
Added NSToolbarItem.visible
NSWindow.h
Modified NSWindow.showsToolbarButton
AvailabilityDeprecation Message
FromAvailablenone
ToDeprecatedThis property has no effect