API Differences in AppKit in macOS 26.0

It's more difficult than it used to be to find what changed in Apple SDKs. This page is automatically generated and shows what is new in AppKit in the macOS 26.0 SDK.

Table of Contents

Structs

NSApplication
ShouldBeginSuppressingHighDynamicRangeContent
NSApplication
ShouldEndSuppressingHighDynamicRangeContent
NSItemBadge
NSView
LayoutRegion
NSWorkspace
AccessibilityDisplayOptionsDidChangeMessage
NSWorkspace
ActiveSpaceDidChangeMessage
NSWorkspace
DidActivateApplicationMessage
NSWorkspace
DidChangeFileLabelsMessage
NSWorkspace
DidDeactivateApplicationMessage
NSWorkspace
DidHideApplicationMessage
NSWorkspace
DidLaunchApplicationMessage
NSWorkspace
DidMountVolumeMessage
NSWorkspace
DidRenameVolumeMessage
NSWorkspace
DidTerminateApplicationMessage
NSWorkspace
DidUnhideApplicationMessage
NSWorkspace
DidUnmountVolumeMessage
NSWorkspace
DidWakeMessage
NSWorkspace
ScreensDidSleepMessage
NSWorkspace
ScreensDidWakeMessage
NSWorkspace
SessionDidBecomeActiveMessage
NSWorkspace
SessionDidResignActiveMessage
NSWorkspace
WillLaunchApplicationMessage
NSWorkspace
WillSleepMessage
NSWorkspace
WillUnmountVolumeMessage

Functions & Methods

NSView
public func edgeInsets(for region: AppKit.NSView.LayoutRegion) -> Foundation.NSEdgeInsets
NSView
public func layoutGuide(for region: AppKit.NSView.LayoutRegion) -> AppKit.NSLayoutGuide
NSView
public func rect(for region: AppKit.NSView.LayoutRegion) -> Foundation.NSRect
NSResponder
- (void)mouseCancelled:(nonnull NSEvent *)event;
NSImageSymbolConfiguration
+ (nonnull instancetype)configurationWithVariableValueMode:(NSImageSymbolVariableValueMode)variableValueMode;
NSImageSymbolConfiguration
+ (nonnull instancetype)configurationWithColorRenderingMode:(NSImageSymbolColorRenderingMode)mode;
LayoutRegions
- (nonnull NSLayoutGuide *)layoutGuideForLayoutRegion:(nonnull NSViewLayoutRegion *)layoutRegion;
LayoutRegions
- (NSEdgeInsets)edgeInsetsForLayoutRegion:(nonnull NSViewLayoutRegion *)layoutRegion;
LayoutRegions
- (NSRect)rectForLayoutRegion:(nonnull NSViewLayoutRegion *)layoutRegion;
NSColor
+ (nonnull NSColor *)colorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha exposure:(CGFloat)exposure;
NSColor
+ (nonnull NSColor *)colorWithRed:(CGFloat)red green:(CGFloat)green blue:(CGFloat)blue alpha:(CGFloat)alpha linearExposure:(CGFloat)linearExposure;
NSColor
- (nonnull NSColor *)colorByApplyingContentHeadroom:(CGFloat)contentHeadroom;
NSSplitViewItem
- (void)addTopAlignedAccessoryViewController:(nonnull NSSplitViewItemAccessoryViewController *)childViewController;
NSSplitViewItem
- (void)insertTopAlignedAccessoryViewController:(nonnull NSSplitViewItemAccessoryViewController *)childViewController atIndex:(NSInteger)index;
NSSplitViewItem
- (void)removeTopAlignedAccessoryViewControllerAtIndex:(NSInteger)index;
NSSplitViewItem
- (void)addBottomAlignedAccessoryViewController:(nonnull NSSplitViewItemAccessoryViewController *)childViewController;
NSSplitViewItem
- (void)insertBottomAlignedAccessoryViewController:(nonnull NSSplitViewItemAccessoryViewController *)childViewController atIndex:(NSInteger)index;
NSSplitViewItem
- (void)removeBottomAlignedAccessoryViewControllerAtIndex:(NSInteger)index;
NSSubclassUse
- (void)mouseCancelled:(nonnull NSEvent *)event;

Properties & Constants

Foundation.NotificationCenter.MessageIdentifier
public static var accessibilityDisplayOptionsDidChange: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.AccessibilityDisplayOptionsDidChangeMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var activeSpaceDidChange: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.ActiveSpaceDidChangeMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didActivateApplication: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidActivateApplicationMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didChangeFileLabels: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidChangeFileLabelsMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didDeactivateApplication: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidDeactivateApplicationMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didHideApplication: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidHideApplicationMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didLaunchApplication: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidLaunchApplicationMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didMountVolume: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidMountVolumeMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didRenameVolume: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidRenameVolumeMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didTerminateApplication: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidTerminateApplicationMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didUnhideApplication: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidUnhideApplicationMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didUnmountVolume: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidUnmountVolumeMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var didWake: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.DidWakeMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var screensDidSleep: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.ScreensDidSleepMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var screensDidWake: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.ScreensDidWakeMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var sessionDidBecomeActive: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.SessionDidBecomeActiveMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var sessionDidResignActive: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.SessionDidResignActiveMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var shouldBeginSuppressingHighDynamicRangeContent: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSApplication.ShouldBeginSuppressingHighDynamicRangeContent>
Foundation.NotificationCenter.MessageIdentifier
public static var shouldEndSuppressingHighDynamicRangeContent: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSApplication.ShouldEndSuppressingHighDynamicRangeContent>
Foundation.NotificationCenter.MessageIdentifier
public static var willLaunchApplication: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.WillLaunchApplicationMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var willSleep: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.WillSleepMessage>
Foundation.NotificationCenter.MessageIdentifier
public static var willUnmountVolume: Foundation.NotificationCenter.BaseMessageIdentifier<AppKit.NSWorkspace.WillUnmountVolumeMessage>
NSScreen
public var cgDirectDisplayID: CoreGraphics.CGDirectDisplayID?
NSToolbarItem
public var badge: AppKit.NSItemBadge?
NSApplication
@property(atomic, readonly) BOOL applicationShouldSuppressHighDynamicRangeContent;
extern ) NSNotificationName NSApplicationShouldBeginSuppressingHighDynamicRangeContentNotification
extern ) NSNotificationName NSApplicationShouldEndSuppressingHighDynamicRangeContentNotification
NSColorWell
@property(atomic, assign, unsafe_unretained, readwrite) CGFloat maximumLinearExposure;
NSSegmentedControl
@property(atomic, assign, unsafe_unretained, readwrite) NSControlBorderShape borderShape;
NSCompactControlSizeMetrics
@property(atomic, assign, unsafe_unretained, readwrite) BOOL prefersCompactControlSizeMetrics;
NSToolbarItem
@property(atomic, copy, readwrite, nullable) NSColor *backgroundTintColor;
NSToolbarItem
@property(atomic, assign, unsafe_unretained, readwrite) NSToolbarItemStyle style;
NSToolbarItem
@property(atomic, copy, readwrite, nullable) NSItemBadge *badge;
NSTextContentStorage
@property(atomic, assign, unsafe_unretained, readwrite) BOOL includesTextListMarkers;
NSTextField
@property(atomic, copy, readwrite) NSArray<NSString *> *placeholderStrings;
NSTextField
@property(atomic, copy, readwrite) NSArray<NSAttributedString *> *placeholderAttributedStrings;
NSTextField
@property(atomic, assign, unsafe_unretained, readwrite) BOOL resolvesNaturalAlignmentWithBaseWritingDirection;
NSButton
@property(atomic, assign, unsafe_unretained, readwrite) NSTintProminence tintProminence;
NSButton
@property(atomic, assign, unsafe_unretained, readwrite) NSControlBorderShape borderShape;
extern ) const NSAccessibilityAttributeName NSAccessibilityBlockQuoteLevelAttribute
extern ) const NSAccessibilityAttributeName NSAccessibilityHeadingLevelAttribute
extern ) const NSAccessibilityAttributeName NSAccessibilityLanguageAttribute
extern ) const NSAccessibilityAttributeName NSAccessibilityVisitedAttribute
extern ) const NSAttributedStringKey NSAccessibilityFontBoldAttribute
extern ) const NSAttributedStringKey NSAccessibilityFontItalicAttribute
extern ) const NSAccessibilityParameterizedAttributeName NSAccessibilityIndexForChildUIElementAttribute
extern ) const NSAccessibilityParameterizedAttributeName NSAccessibilityIndexForChildUIElementInNavigationOrderAttribute
extern ) const NSAccessibilityActionName NSAccessibilityScrollToVisibleAction
extern ) const NSAccessibilityNotificationName NSAccessibilityAutocorrectionOccurredNotification
extern ) const NSAccessibilityRole NSAccessibilityHeadingRole
extern ) const NSAccessibilityRole NSAccessibilityListMarkerRole
extern ) const NSAccessibilityRole NSAccessibilityWebAreaRole
extern ) const NSAccessibilitySubrole NSAccessibilitySuggestionSubrole
extern ) const NSAccessibilityParameterizedAttributeName NSAccessibilityUIElementsForSearchPredicateParameterizedAttribute
extern ) const NSAccessibilitySearchKey NSAccessibilityAnyTypeSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityArticleSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityBlockquoteSameLevelSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityBlockquoteSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityBoldFontSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityButtonSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityCheckBoxSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityControlSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityDifferentTypeSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityFontChangeSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityFontColorChangeSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityFrameSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityGraphicSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingLevel1SearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingLevel2SearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingLevel3SearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingLevel4SearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingLevel5SearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingLevel6SearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingSameLevelSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityHeadingSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityItalicFontSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityKeyboardFocusableSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityLandmarkSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityLinkSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityListSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityLiveRegionSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityMisspelledWordSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityOutlineSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityPlainTextSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityRadioGroupSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilitySameTypeSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityStaticTextSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityStyleChangeSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityTableSameLevelSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityTableSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityTextFieldSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityTextStateChangeTypeKey
extern ) const NSAccessibilitySearchKey NSAccessibilityTextStateSyncKey
extern ) const NSAccessibilitySearchKey NSAccessibilityUnderlineSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityUnvisitedLinkSearchKey
extern ) const NSAccessibilitySearchKey NSAccessibilityVisitedLinkSearchKey
NSColor
@property(atomic, copy, readonly) NSColor *standardDynamicRangeColor;
NSColor
@property(atomic, readonly) CGFloat linearExposure;
NSSlider
@property(atomic, assign, unsafe_unretained, readwrite) double neutralValue;
NSSlider
@property(atomic, assign, unsafe_unretained, readwrite) NSTintProminence tintProminence;
NSTextList
@property(class, atomic, readonly) BOOL includesTextListMarkers;
NSWritingToolsCoordinator
@property(atomic, assign, unsafe_unretained, readwrite) BOOL includesTextListMarkers;
NSColorPanel
@property(atomic, assign, unsafe_unretained, readwrite) CGFloat maximumLinearExposure;
NSTextLayoutManager
@property(atomic, assign, unsafe_unretained, readwrite) BOOL resolvesNaturalAlignmentWithBaseWritingDirection;
NSScreen
@property(atomic, readonly) CGDirectDisplayID CGDirectDisplayID;
NSSplitViewItem
@property(atomic, assign, unsafe_unretained, readwrite) BOOL automaticallyAdjustsSafeAreaInsets;
NSSplitViewItem
@property(atomic, copy, readwrite) NSArray<NSSplitViewItemAccessoryViewController *> *topAlignedAccessoryViewControllers;
NSSplitViewItem
@property(atomic, copy, readwrite) NSArray<NSSplitViewItemAccessoryViewController *> *bottomAlignedAccessoryViewControllers;
NSGestureRecognizer
@property(atomic, copy, readwrite, nullable) NSString *name;
NSGestureRecognizer
@property(atomic, readonly) NSEventModifierFlags modifierFlags;

Conformances

NSView.LayoutRegion.AdaptivityAxis
Swift.Hashable

Classes

NSBackgroundExtensionView
NSViewLayoutRegion
NSGlassEffectView
NSGlassEffectContainerView
NSItemBadge
NSSplitViewItemAccessoryViewController