AppKit is the core macOS application UI framework, providing the windows, views, controls, alerts, and event handling you use to build Mac apps. You assemble interfaces from cells and controls such as NSActionCell, present modal warnings through types coordinated by NSAlertDelegate, and support assistive technologies with a broad accessibility layer including NSAccessibilityElement, NSAccessibilityCustomRotor, and protocols like NSAccessibilityButton, NSAccessibilitySlider, and NSAccessibilityTable. The framework also covers text layout through NSATSTypesetter and pointer-precision interactions via NSAlignmentFeedbackFilter.
App Structure 12
The application object and supporting infrastructure that bootstrap and coordinate a Mac app at runtime.
- ClNSApplicationThe centralized object that controls and coordinates the execution of a Mac app.
- ClNSRunningApplicationmacOS 10.6+`NSRunningApplication` is a class to manipulate and provide information for a single instance of an application. Only user applications are tracked; this does not provide information about every proce
- ClNSScreenAn object that describes the attributes of a connected display.
- ClNSDockTilemacOS 10.5+An object that represents an app's tile in the Dock and lets you customize its appearance.
- ClNSNibAn object that represents the contents of a loaded nib file.
- ClNSStoryboardmacOS 10.10+An object that represents the contents of a storyboard and instantiates its controllers.
- ClNSStoryboardSeguemacOS 10.10+An object that represents a transition between two scenes in a storyboard.
- ClNSPersistentDocumentA document subclass that integrates with Core Data for persistent storage.
- ClNSControllerThe abstract base class for controllers that support Cocoa bindings.
- ClNSObjectControllerA controller that mediates binding access to a single model object.
- ClNSDataAssetmacOS 10.11+An object that loads a named data asset from an asset catalog.
- ClNSBindingSelectionMarkermacOS 10.14+An object that represents a special selection state, such as multiple or no selection, in bindings.
Windows, Panels, and Containers 19
Top-level containers, system panels, and view controllers that arrange and present interface content.
- ClNSDrawerA view container that slides out from the edge of a window to reveal additional content.
- ClNSPopovermacOS 10.7+An object that displays transient content in a window anchored to a view.
- ClNSBoxA view that draws a titled or untitled border around a group of related controls.
- ClNSColorPanelA shared panel that lets people select and apply colors.
- ClNSFontPanelA shared panel that lets people select and preview fonts.
- ClNSOpenPanelA panel that lets a person choose files and directories to open.
- ClNSSplitViewA view that arranges two or more subviews with adjustable dividers.
- ClNSSplitViewControllermacOS 10.10+NSSplitViewController is a container view controller that manages side-by-side (horizontal or vertical) children view controllers.
- ClNSSplitViewItemmacOS 10.10+NSSplitViewItem implements the items used in an NSSplitViewController.
- ClNSSplitViewItemAccessoryViewControllermacOS 26.0+A view controller that supplies an accessory view for a split view item.
- ClNSTabViewA view that presents multiple pages, one at a time, selected by a row of tabs.
- ClNSTabViewControllermacOS 10.10+NSTabViewController is a container view controller that displays a single child view controller at a time from its \c childViewControllers.
- ClNSTabViewItemAn object that represents a single page and tab within a tab view.
- ClNSPageControllermacOS 10.8+An object that manages navigation between a sequence of content pages.
- ClNSStackViewmacOS 10.9+A view that arranges its subviews in a horizontal or vertical line.
- ClNSGridViewmacOS 10.12+A view that arranges its subviews in a flexible grid of rows and columns.
- ClNSGlassEffectViewmacOS 26.0+A view that embeds its content view in a dynamic glass effect.
- ClNSGlassEffectContainerViewmacOS 26.0+A view that efficiently merges descendant glass effect views together when they are within a specified proximity to each other.
- ClNSBackgroundExtensionViewmacOS 26.0+A view that extends content to fill its own bounds.
Controls 19
Interactive controls such as buttons, sliders, fields, and pickers that let people act on your app.
- ClNSControlThe abstract superclass for views that display and let people act on a value.
- ClNSButtonA control that performs an action when a person clicks or presses it.
- ClNSPopUpButtonA button that displays a menu of mutually exclusive choices.
- ClNSComboButtonmacOS 13.0+A button that combines a primary action with a pull-down menu of related choices.
- ClNSComboBoxA control that combines a text field with a pop-up list of selectable values.
- ClNSSegmentedControlA control that presents a horizontal set of selectable segments.
- ClNSSliderA control that lets a person select a value from a continuous or discrete range.
- ClNSStepperA control with up and down arrows for incrementing or decrementing a value.
- ClNSSwitchmacOS 10.15+A control that offers a binary on or off choice.
- ClNSLevelIndicatorA control that visually displays a value as a level, rating, or capacity.
- ClNSProgressIndicatorA control that shows the progress of a task as a bar or spinning indicator.
- ClNSColorWellA control that displays a color value and lets a person edit it.
- ClNSDatePickerA control for displaying and editing dates and times.
- ClNSSearchFieldA text field optimized for entering and submitting search queries.
- ClNSSecureTextFieldA text field that conceals the characters a person types.
- ClNSFormA control that displays a vertical column of labeled text-entry fields.
- ClNSMatrixA control that arranges a grid of cells of the same size and type.
- ClNSPathControlmacOS 10.5+A control that displays a path and lets a person navigate or edit its components.
- ClNSPathControlItemmacOS 10.10+An object that represents a single component displayed in a path control.
Cells 17
Lightweight cell objects that draw and handle interaction for controls and matrices.
- ClNSActionCellA cell that defines an active area in a control and sends an action to a target.
- ClNSButtonCellA cell that defines the appearance and behavior of a button.
- ClNSPopUpButtonCellA cell that implements the behavior of a pop-up or pull-down button.
- ClNSComboBoxCellA cell that implements the behavior of a combo box.
- ClNSSegmentedCellA cell that implements the behavior of a segmented control.
- ClNSSliderCellA cell that implements the appearance and behavior of a slider.
- ClNSStepperCellA cell that implements the behavior of a stepper control.
- ClNSLevelIndicatorCellA cell that implements the appearance and behavior of a level indicator.
- ClNSDatePickerCellA cell that implements the date and time selection behavior of a date picker.
- ClNSSearchFieldCellA cell that implements the behavior of a search field.
- ClNSSecureTextFieldCellA cell that implements the secure-entry behavior of a secure text field.
- ClNSFormCellA cell that represents a single labeled field within a form.
- ClNSImageCellA cell that displays an image within a control.
- ClNSMenuItemCellA cell that draws and handles interaction for a menu item.
- ClNSBrowserCellA cell used to display an item within a column of a browser.
- ClNSPathCellmacOS 10.5+A cell that displays a file system or virtual path as a series of components.
- ClNSPathComponentCellmacOS 10.5+A cell that represents one component within a path control.
Lists and Hierarchical Views 6
Views that display rows, columns, outlines, and collections of selectable data.
- ClNSBrowserA control that displays hierarchical data in a series of scrolling columns.
- ClNSOutlineViewA view that displays hierarchical data in an expandable, indented list of rows.
- ClNSCollectionViewmacOS 10.5+A view that displays an ordered collection of items in a configurable layout.
- ClNSCollectionViewItemmacOS 10.5+An object that represents and manages the view for a single item in a collection view.
- ClNSDiffableDataSourceSnapshotReferencemacOS 10.15+A reference type that captures the state of items and sections for a diffable data source.
- ClNSCollectionViewDiffableDataSourceReferencemacOS 10.15+A reference type that manages a collection view's data using diffable snapshots.
Collection View Layout 9
Layout objects that arrange items, groups, and supplementary views within a collection view.
- ClNSCollectionViewCompositionalLayoutmacOS 10.15+A flexible collection view layout composed of nested groups, items, and sections.
- ClNSCollectionLayoutGroupmacOS 10.15+A layout component that arranges a set of items in a row, column, or custom pattern.
- ClNSCollectionLayoutSupplementaryItemmacOS 10.15+A layout item that adds a supplementary view anchored to another item in a compositional layout.
- ClNSCollectionLayoutBoundarySupplementaryItemmacOS 10.15+A layout item that adds a supplementary view such as a header or footer at a section or layout boundary.
- ClNSCollectionLayoutDecorationItemmacOS 10.15+A layout item that adds a background decoration view behind a section in a compositional layout.
- ClNSCollectionViewFlowLayoutmacOS 10.11+A layout that arranges collection view items in a flowing grid of rows or columns.
- ClNSCollectionViewFlowLayoutInvalidationContextmacOS 10.11+An object that describes which parts of a flow layout to invalidate and recompute.
- ClNSCollectionViewGridLayoutmacOS 10.11+A layout that arranges collection view items in a fixed grid.
- ClNSCollectionViewTransitionLayoutmacOS 10.11+A layout that manages the interactive transition between two collection view layouts.
Scrolling and Rulers 5
Views that support scrollable content, scroll bars, clipping, and measurement rulers.
- ClNSScrollViewA view that provides scrolling for content larger than its visible area.
- ClNSScrollerA control that displays a scroll bar and reports scrolling actions.
- ClNSClipViewA view that clips and scrolls the document view inside a scroll view.
- ClNSRulerViewA view that displays a ruler and its markers alongside scrolling content.
- ClNSRulerMarkerAn object that represents an adjustable marker, such as a tab or margin, on a ruler.
Scrubbers 9
Touch Bar scrubber control, its item views, and the layouts that arrange them.
- ClNSScrubbermacOS 10.12.2+@class NSScrubber
- ClNSScrubberArrangedViewmacOS 10.12.2+The base view for items and selection backgrounds arranged within a scrubber.
- ClNSScrubberSelectionViewmacOS 10.12.2+@class NSScrubberSelectionView
- ClNSScrubberItemViewmacOS 10.12.2+@class NSScrubberItemView
- ClNSScrubberTextItemViewmacOS 10.12.2+@class NSScrubberTextItemView
- ClNSScrubberImageItemViewmacOS 10.12.2+@class NSScrubberTextItemView
- ClNSScrubberLayoutAttributesmacOS 10.12.2+@class NSScrubberLayoutAttributes
- ClNSScrubberFlowLayoutmacOS 10.12.2+@class NSScrubberFlowLayout
- ClNSScrubberProportionalLayoutmacOS 10.12.2+@class NSScrubberProportionalLayout
Menus and Status Bar 7
Menus, menu items, and the status bar elements that surface commands and indicators.
- ClNSMenuAn object that manages an app's menus and the items they contain.
- ClNSMenuItemAn object that represents a single command or submenu within a menu.
- ClNSMenuItemBadgemacOS 14.0+A badge used to provide additional quantitative information specific
- ClNSStatusBarAn object that provides access to the system menu bar's status area.
- ClNSStatusBarButtonmacOS 10.10+Status bar buttons are the visual representation of `NSStatusItem`s, and are primarily displayed on the right side of the menu bar.
- ClNSStatusItemAn object that represents an app's item displayed in the system status bar.
- ClNSStatusItemExpandedInterfaceSessionmacOS 27.0+An object that manages an expanded interface session for a status item.
Toolbar and Touch Bar Items 13
Items that populate window toolbars and the Touch Bar with controls and accessories.
- ClNSMenuToolbarItemmacOS 10.15+A toolbar item that presents a menu when clicked.
- ClNSSearchToolbarItemmacOS 11.0+`NSSearchToolbarItem` provides the standard UI behavior for integrating a search field into the toolbar.
- ClNSSharingServicePickerToolbarItemmacOS 10.15+A toolbar item that presents a sharing service picker.
- ClNSCustomTouchBarItemmacOS 10.12.2+A Touch Bar item that displays a custom view or view controller.
- ClNSGroupTouchBarItemmacOS 10.12.2+A Touch Bar item that groups several items together as a single unit.
- ClNSButtonTouchBarItemmacOS 10.15+A Touch Bar item that displays a button.
- ClNSCandidateListTouchBarItemmacOS 10.12.2+A Touch Bar item that displays text input candidates for selection.
- ClNSColorPickerTouchBarItemmacOS 10.12.2+A Touch Bar item that presents controls for selecting a color.
- ClNSPickerTouchBarItemmacOS 10.15+A Touch Bar item that presents a set of selectable options.
- ClNSPopoverTouchBarItemmacOS 10.12.2+A Touch Bar item that presents a popover of additional controls.
- ClNSSharingServicePickerTouchBarItemmacOS 10.12.2+A Touch Bar item that presents a sharing service picker.
- ClNSSliderTouchBarItemmacOS 10.12.2+A Touch Bar item that displays a slider.
- ClNSStepperTouchBarItemmacOS 10.15+A Touch Bar item that displays a stepper.
Layout and Auto Layout 7
Anchors, constraints, and guides that position views using Auto Layout.
- ClNSLayoutAnchormacOS 10.11+The abstract superclass for factory objects that create Auto Layout constraints.
- ClNSLayoutXAxisAnchormacOS 10.11+An anchor that represents a horizontal edge or center for creating layout constraints.
- ClNSLayoutYAxisAnchormacOS 10.11+An anchor that represents a vertical edge or center for creating layout constraints.
- ClNSLayoutDimensionmacOS 10.11+An anchor that represents a width or height for creating sizing constraints.
- ClNSLayoutConstraintmacOS 10.7+An object that defines a relationship between two interface elements for Auto Layout.
- ClNSLayoutGuidemacOS 10.11+A rectangular region that participates in Auto Layout without being a visible view.
- ClNSViewAnimationAn object that animates changes to the frame, position, or visibility of one or more views.
Animation and Appearance 3
Types that animate interface changes and adapt presentation to the system appearance.
- ClNSAnimationAn object that manages the timing and progress of an animation in your interface.
- ClNSAnimationContextmacOS 10.5+An object that groups animations and configures their duration and timing curve.
- ClNSAppearancemacOS 10.9+An object that adapts the look of your interface to a system appearance such as light or dark mode.
Color 6
Color values, color spaces, and the panels and pickers people use to choose colors.
- ClNSColorAn object that stores color data and an optional alpha value defining opacity.
- ClNSColorListAn object that manages an ordered, named list of colors.
- ClNSColorSpaceAn object that represents a color space and its conversion between color models.
- ClNSColorPickerAn object that provides a custom mode of color selection within the color panel.
- ClNSColorSamplermacOS 10.15+Manages a color sampling interface to allow the user to select a color from their screen.
- ClNSGradientmacOS 10.5+An object that draws a smooth color transition for filling shapes and paths.
Images and Image Representations 10
Image objects and the representations that decode specific image formats.
- ClNSImageAn object that manages image data and its representations for display and drawing.
- ClNSImageViewA view that displays a single image or an animated sequence of images.
- ClNSImageRepThe abstract superclass for objects that render an image from a specific data format.
- ClNSBitmapImageRepAn image representation that renders an image from bitmap pixel data.
- ClNSCIImageRepAn image representation backed by a Core Image image.
- ClNSCustomImageRepAn image representation that renders its content using a custom drawing handler.
- ClNSEPSImageRepmacOS 14.0+An object that can render an image from encapsulated PostScript (EPS) code.
- ClNSPDFImageRepAn image representation backed by PDF data.
- ClNSPICTImageRepAn image representation backed by legacy PICT data.
- ClNSAdaptiveImageGlyphmacOS 15.0+An object representing an image glyph that adapts inline within text content.
Drawing and Graphics 7
Drawing primitives and the graphics context that render shapes, paths, and effects.
- ClNSBezierPathAn object that defines a path of straight and curved line segments for drawing and filling.
- ClNSGraphicsContextAn object that represents a destination for drawing operations such as a window or image.
- ClNSShadowmacOS 10.0+An object that describes the attributes of a drop shadow used in drawing.
- ClNSOpenGLPixelFormatAn object that specifies the pixel format attributes for an OpenGL rendering context.
- ClNSOpenGLContextAn object that represents an OpenGL rendering context and its associated state.
- ClNSOpenGLLayerA Core Animation layer that renders its content using OpenGL.
- ClNSOpenGLViewA view that displays content rendered with OpenGL.
Text and Fonts 15
Font objects, typesetting, glyph generation, and paragraph styling for laying out text.
- ClNSFontAn object that represents a font for rendering text in your interface.
- ClNSFontDescriptorAn object that describes a font by its attributes for matching and instantiation.
- ClNSFontManagerAn object that coordinates font conversions and the state of the font panel.
- ClNSFontCollectionmacOS 10.7+An object that groups a set of font descriptors under a named collection.
- ClNSMutableFontCollectionmacOS 10.7+A mutable font collection whose set of font descriptors you can modify.
- ClNSFontAssetRequestmacOS 10.13+An object that requests the download of fonts not currently installed on the system.
- ClNSATSTypesetterAn object that performs the layout of glyphs into lines during text typesetting.
- ClNSLayoutManagermacOS 10.7+An object that performs glyph layout and coordinates the display of text.
- ClNSGlyphGeneratorAn object that maps characters to the glyphs used during text layout.
- ClNSGlyphInfoAn object that associates a glyph with a character for use in attributed text.
- ClNSParagraphStylemacOS 10.0+An object that encapsulates the paragraph and ruler attributes applied to text.
- ClNSMutableParagraphStylemacOS 10.0+A mutable paragraph style whose alignment, spacing, and tab stops you can modify.
- ClNSTextTabmacOS 10.0+An object that defines a tab stop and its alignment within a paragraph.
- ClNSStringDrawingContextmacOS 10.11+An object that holds context for drawing and measuring attributed strings.
- ClNSSpellCheckerAn object that provides spelling, grammar, and text-checking services.
Events and Gestures 10
Event objects and gesture recognizers that capture and interpret user input.
- ClNSEventAn object that describes a single user input or system event such as a key press or mouse click.
- ClNSClickGestureRecognizermacOS 10.10+A gesture recognizer that interprets a sequence of clicks.
- ClNSPanGestureRecognizermacOS 10.10+A gesture recognizer that interprets dragging gestures.
- ClNSPressGestureRecognizermacOS 10.10+A gesture recognizer that interprets a press-and-hold gesture.
- ClNSRotationGestureRecognizermacOS 10.10+A gesture recognizer that interprets rotation gestures.
- ClNSMagnificationGestureRecognizermacOS 10.10+A gesture recognizer that interprets pinch gestures for magnification.
- ClNSPressureConfigurationmacOS 10.10.3+An object that configures the behavior and stages of pressure-sensitive input.
- ClNSCursormacOS 10.0+An object that defines the appearance and behavior of the mouse cursor.
- ClNSAlignmentFeedbackFiltermacOS 10.11+An object that generates haptic alignment feedback as objects move into alignment.
- ClNSHapticFeedbackManagermacOS 10.11+An object that provides access to the system's haptic feedback performers.
Drag and Drop and Pasteboard 7
Pasteboard, dragging, and file-promise types that move content within and between apps.
- ClNSPasteboardAn object that manages data shared through copy, paste, and drag-and-drop.
- ClNSPasteboardItemmacOS 10.6+An object that represents a single item and its multiple data representations on the pasteboard.
- ClNSDraggingItemmacOS 10.7+An object that represents a single item and its image during a drag operation.
- ClNSDraggingImageComponentmacOS 10.7+An object that defines one visual component of a dragging item's image.
- ClNSDraggingSessionmacOS 10.7+An object that manages the state of an active drag-and-drop operation.
- ClNSFilePromiseProvidermacOS 10.12+An object that promises to provide a file's contents on demand during a drag or copy.
- ClNSFilePromiseReceivermacOS 10.12+An object that accepts promised files and triggers their delivery to a destination.
Sharing and Media 7
Services for sharing content and browsing system media libraries.
- ClNSSharingServicemacOS 10.8+NSSharingService can be used to share items to different kinds of local and remote services. Items are objects which respond to the NSPasteboardWriting protocol, like NSURL, NSImage or NSString. If an
- ClNSSharingServicePickermacOS 10.8+An object that presents the available sharing services for a set of items.
- ClNSPreviewRepresentingActivityItemmacOS 13.0+An object that supplies a preview and metadata for an item presented in a share sheet.
- ClNSMediaLibraryBrowserControllermacOS 10.9+@abstract This class configures and displays a media browser panel.
- ClNSSoundAn object that loads and plays a sound.
- ClNSSpeechRecognizerAn object that recognizes spoken commands from a defined vocabulary.
- ClNSSpeechSynthesizerAn object that converts text into spoken audio.
Data Binding and Editors 6
Controllers and editor controls that bind, arrange, and edit structured data and predicates.
- ClNSArrayControllerA controller that manages and mediates access to an ordered collection of objects.
- ClNSDictionaryControllermacOS 10.5+A controller that mediates binding access to the entries of a dictionary.
- ClNSDictionaryControllerKeyValuePairmacOS 10.11+An object that represents a single key-value pair managed by a dictionary controller.
- ClNSPredicateEditormacOS 10.5+A control that lets a person build a predicate from configurable row templates.
- ClNSPredicateEditorRowTemplatemacOS 10.5+An object that describes the available components for one row of a predicate editor.
- ClNSRuleEditorA control that lets a person create and edit a set of nested rules.
Printing 3
Types that describe printers, print jobs, and PDF output.
- ClNSPrintInfoAn object that stores the settings used to configure and run a print job.
- ClNSPrinterAn object that represents a printer and its capabilities.
- ClNSPDFInfomacOS 10.9+An object that stores settings used when generating PDF output.
Accessibility 3
Elements and custom actions that expose your interface to assistive technologies.
- ClNSAccessibilityElementmacOS 10.10+An object that represents a discrete element in the accessibility hierarchy of your interface.
- ClNSAccessibilityCustomActionmacOS 10.13+An object that defines a custom action that assistive technologies can perform on an element.
- ClNSAccessibilityCustomRotormacOS 10.13+@brief NSAccessibilityCustomRotors allow assistive technologies, like
Classes 106
- ClNSAlertA modal dialog or sheet attached to a document window.
- ClNSCell
- ClNSCollectionViewCompositionalLayoutConfigurationmacOS 10.15+
- ClNSCollectionLayoutSectionmacOS 10.15+
- ClNSCollectionLayoutItemmacOS 10.15+
- ClNSCollectionLayoutGroupCustomItemmacOS 10.15+
- ClNSCollectionLayoutDimensionmacOS 10.15+
- ClNSCollectionLayoutSizemacOS 10.15+
- ClNSCollectionLayoutSpacingmacOS 10.15+
- ClNSCollectionLayoutEdgeSpacingmacOS 10.15+
- ClNSCollectionLayoutAnchormacOS 10.15+
- ClNSCollectionViewLayoutAttributesmacOS 10.11+
- ClNSCollectionViewUpdateItemmacOS 10.11+
- ClNSCollectionViewLayoutInvalidationContextmacOS 10.11+
- ClNSCollectionViewLayoutmacOS 10.11+
- ClNSDocument
Show 90 more
- ClNSDocumentController
- ClNSGestureRecognizermacOS 10.10+
- ClNSGridRowmacOS 10.12+
- ClNSGridColumnmacOS 10.12+
- ClNSGridCellmacOS 10.12+
- ClNSHelpManager
- ClNSPDFPanelmacOS 10.9+
- ClNSPageLayout
- ClNSPanel
- ClNSPrintOperation
- ClNSPrintPanel
- ClNSRefreshControllermacOS 27.0+A controller that provides pull-to-refresh functionality for scroll views.
- ClNSResponder
- ClNSSavePanel
- ClNSScrollEdgeEffectStylemacOS 26.1+Styles for a scroll view’s edge effect.
- ClNSScrubberSelectionStylemacOS 10.12.2+@class NSScrubberSelectionStyle
- ClNSScrubberLayoutmacOS 10.12.2+@class NSScrubberLayout
- ClNSSliderAccessorymacOS 10.12+
- ClNSSliderAccessoryBehaviormacOS 10.12+
- ClNSTableCellViewmacOS 10.7+
- ClNSTableColumn
- ClNSTableHeaderCell
- ClNSTableHeaderView
- ClNSTableRowViewmacOS 10.7+
- ClNSTableView
- ClNSTableViewDiffableDataSourceReferencemacOS 11.0+
- ClNSTableViewRowActionmacOS 10.11+
- ClNSText
- ClNSTextAlternativesmacOS 10.8+
- ClNSTextAttachmentmacOS 10.0+
- ClNSTextAttachmentViewProvidermacOS 12.0+
- ClNSTextAttachmentCell
- ClNSTextCheckingControllermacOS 10.15+
- ClNSTextContainermacOS 10.0+
- ClNSTextContentManagermacOS 12.0+
- ClNSTextContentStoragemacOS 12.0+
- ClNSTextElementmacOS 12.0+
- ClNSTextParagraphmacOS 12.0+
- ClNSTextField
- ClNSTextFieldCell
- ClNSTextFindermacOS 10.7+
- ClNSTextInputContextmacOS 10.6+
- ClNSTextInsertionIndicatormacOS 14.0+
- ClNSTextLayoutFragmentmacOS 12.0+
- ClNSTextLayoutManagermacOS 12.0+
- ClNSTextLineFragmentmacOS 12.0+
- ClNSTextListmacOS 10.0+
- ClNSTextListElementmacOS 13.0+
- ClNSTextRangemacOS 12.0+A class that represents a contiguous range between two locations inside document contents.
- ClNSTextSelectionmacOS 12.0+
- ClNSTextSelectionManagermacOS 27.0+An object that coordinates text selection behavior for custom text views.
- ClNSTextSelectionNavigationmacOS 12.0+
- ClNSTextStoragemacOS 10.0+
- ClNSTextBlockmacOS 10.0+
- ClNSTextTableBlockmacOS 10.0+
- ClNSTextTablemacOS 10.0+
- ClNSTextView
- ClNSTextViewportLayoutControllermacOS 12.0+
- ClNSTintConfigurationmacOS 11.0+
- ClNSTitlebarAccessoryViewControllermacOS 10.10+
- ClNSTokenField
- ClNSTokenFieldCell
- ClNSToolbar
- ClNSToolbarItem
- ClNSToolbarItemGroupmacOS 10.5+
- ClNSTouchmacOS 10.6+
- ClNSTouchBarmacOS 10.12.2+
- ClNSTouchBarItemmacOS 10.12.2+
- ClNSTrackingAreamacOS 10.5+
- ClNSTrackingSeparatorToolbarItemmacOS 11.0+
- ClNSTreeController
- ClNSTreeNodemacOS 10.5+
- ClNSTypesetter
- ClNSUserDefaultsController
- ClNSUserInterfaceCompressionOptionsmacOS 10.13+
- ClNSView
- ClNSViewControllermacOS 10.5+
- ClNSViewCornerConfigurationmacOS 27.0+A configuration object that defines the corner styles of a view’s overall shape.
- ClNSViewCornerRadiimacOS 27.0+Provides a structured way to define custom corner radii for each corner of a view, along with a corner curve.
- ClNSViewCornerRadiusmacOS 27.0+Represents a radius used to round a corner. It supports fixed and adaptive configurations.
- ClNSVisualEffectViewmacOS 10.10+
- ClNSWindow
- ClNSWindowController
- ClNSWindowTabmacOS 10.13+
- ClNSWindowTabGroupmacOS 10.13+
- ClNSWorkspace
- ClNSWritingToolsCoordinatormacOS 15.2+An object that manages interactions between Writing Tools and
- ClNSTextPreviewmacOS 15.2+A snapshot of the text in your view, which the system uses to create
- ClNSCollectionViewDiffableDataSourcemacOS 10.15.1+
- ClNSTableViewDiffableDataSourcemacOS 11.0+
Structures 29
- StNSAccessibility
- StNSAccessibilitySearchKey
- StNSAppKitVersion
- StNSUnderlineStylemacOS 10.0+Attribute values
- StNSDirectionalRectEdgemacOS 10.15+
- StNSDirectionalEdgeInsetsmacOS 10.15+
- StNSDragOperation
- StNSDraggingItemEnumerationOptionsmacOS 10.7+
- StNSSpringLoadingOptionsmacOS 10.11+
- StNSFontCollectionMatchingOptionKey
- StNSFontTraitMask
- StNSFontCollectionOptions
- StNSColorSpaceName
- StNSDeviceDescriptionKey
- StNSBindingName
- StNSBindingOption
Show 13 more
- StNSBindingInfoKey
- StNSWritingToolsResultOptionsmacOS 15.0+
- StNSTextContentType
- StNSTextStorageEditActionsmacOS 10.11+
- StNSTextAttachmentViewProviderReusePolicy
- StNSToolbarUserInfoKey
- StNSTypesetterControlCharacterAction
- StNSUserInterfaceItemIdentifier
- StNSDiffableDataSourceSnapshotmacOS 10.15.1+
- StNSItemBadgemacOS 26.0+`NSItemBadge` represents a badge that can be attached to an `NSToolbarItem`.
- StNSSuggestionItemmacOS 15.0+The items that appear in suggestion menus.
- StNSSuggestionItemResponsemacOS 15.0+Describes the result of a batch of suggestion items from a search
- StNSSuggestionItemSectionmacOS 15.0+Describes a section of suggestions items in a suggestions menu
Enumerations 48
- EnNSAccessibilityAnnotationPositionmacOS 10.13+
- EnNSAccessibilityOrientationmacOS 10.10+
- EnNSAccessibilitySortDirectionmacOS 10.10+
- EnNSAccessibilityRulerMarkerTypemacOS 10.10+
- EnNSAccessibilityUnitsmacOS 10.10+
- EnNSAccessibilityPriorityLevelmacOS 10.9+
- EnNSWritingDirectionFormatTypemacOS 10.11+
- EnNSTextScalingTypemacOS 10.15+
- EnNSImageScalingmacOS 10.5+
- EnNSControlTint
- EnNSRectAlignmentmacOS 10.15+
- EnNSCollectionLayoutSectionOrthogonalScrollingBehaviormacOS 10.15+
- EnNSCollectionElementCategorymacOS 10.11+
- EnNSDraggingFormationmacOS 10.7+
- EnNSDraggingContextmacOS 10.7+
- EnNSSpringLoadingHighlightmacOS 10.11+
Show 32 more
- EnNSFontRenderingModeScreen Font Rendering Mode
- EnNSMultibyteGlyphPacking
- EnNSFontAction
- EnNSCharacterCollection
- EnNSCompositingOperation
- EnNSFocusRingPlacement
- EnNSFocusRingType
- EnNSColorRenderingIntentmacOS 10.5+
- EnNSDisplayGamutmacOS 10.12+
- EnNSAnimationEffect
- EnNSImageInterpolation
- EnNSImageAlignment
- EnNSOpenGLGlobalOption
- EnNSLineBreakModemacOS 10.0+
- EnNSSharingCollaborationModemacOS 15.0+Represents the types of sharing (collaborating on an item vs. sending a copy of the item)
- EnNSWritingDirectionmacOS 10.0+
- EnNSTextAlignmentmacOS 10.0+
- EnNSTextMovement
- EnNSTextInputTraitType
- EnNSWritingToolsBehaviormacOS 15.0+
- EnNSTextCursorAccessoryPlacementmacOS 14.0+
- EnNSSelectionGranularity
- EnNSSelectionAffinity
- EnNSFindPanelAction
- EnNSFindPanelSubstringMatchType
- EnNSTintProminencemacOS 26.0+Controls how strongly the tint color applies in a view.
- EnNSUserInterfaceLayoutDirection
- EnNSUserInterfaceLayoutOrientationmacOS 10.9+
- EnNSBorderType
- EnNSTitlebarSeparatorStylemacOS 11.0+
- EnNSHorizontalDirectionmacOS 15.0+An absolute direction on the horizontal axis.
- EnNSVerticalDirectionmacOS 15.0+A direction on the vertical axis.
Protocols 151
- PrNSAccessibilityColormacOS 11.0+
- PrNSAccessibilityCustomRotorItemSearchDelegatemacOS 10.13+
- PrNSAccessibilityElementProtocol
- PrNSAccessibilityGroup
- PrNSAccessibilityButton
- PrNSAccessibilitySwitch
- PrNSAccessibilityRadioButton
- PrNSAccessibilityCheckBox
- PrNSAccessibilityStaticText
- PrNSAccessibilityNavigableStaticText
- PrNSAccessibilityProgressIndicator
- PrNSAccessibilityStepper
- PrNSAccessibilitySlider
- PrNSAccessibilityImage
- PrNSAccessibilityContainsTransientUI
- PrNSAccessibilityTable
Show 135 more
- PrNSAccessibilityOutline
- PrNSAccessibilityList
- PrNSAccessibilityRow
- PrNSAccessibilityLayoutArea
- PrNSAccessibilityLayoutItem
- PrNSAccessibilityElementLoadingmacOS 10.13+
- PrNSAccessibilityProtocol
- PrNSAlertDelegateA set of optional methods implemented by the delegate of an `NSAlert` object to respond to a user’s request for help.
- PrNSAlignmentFeedbackToken
- PrNSAnimationDelegate
- PrNSAnimatablePropertyContainermacOS 10.5+
- PrNSAppearanceCustomization
- PrNSApplicationDelegate
- PrNSServicesMenuRequestor
- PrNSBrowserDelegate
- PrNSCandidateListTouchBarItemDelegate
- PrNSCollectionViewElement
- PrNSCollectionViewSectionHeaderView
- PrNSCollectionViewDataSource
- PrNSCollectionViewPrefetching
- PrNSCollectionViewDelegate
- PrNSCollectionLayoutContainermacOS 10.15+
- PrNSCollectionLayoutEnvironmentmacOS 10.15+
- PrNSCollectionLayoutVisibleItemmacOS 10.15+
- PrNSCollectionViewDelegateFlowLayout
- PrNSColorChanging
- PrNSColorPickingDefault
- PrNSColorPickingCustom
- PrNSComboBoxDataSource
- PrNSComboBoxDelegate
- PrNSComboBoxCellDataSource
- PrNSControlTextEditingDelegate
- PrNSDatePickerCellDelegate
- PrNSDockTilePlugIn
- PrNSDraggingInfo
- PrNSDraggingDestination
- PrNSDraggingSource
- PrNSSpringLoadingDestination
- PrNSDrawerDelegate
- PrNSFilePromiseProviderDelegate
- PrNSFontChanging
- PrNSGestureRecognizerDelegate
- PrNSGlyphStorage
- PrNSHapticFeedbackPerformer
- PrNSImageDelegate
- PrNSTextInput
- PrNSInputServiceProvider
- PrNSInputServerMouseTracker
- PrNSEditor
- PrNSEditorRegistration
- PrNSTextLayoutOrientationProvidermacOS 10.0+
- PrNSLayoutManagerDelegate
- PrNSMatrixDelegate
- PrNSMenuItemValidation
- PrNSMenuDelegate
- PrNSOutlineViewDataSource
- PrNSOutlineViewDelegate
- PrNSPageControllerDelegate
- PrNSPasteboardTypeOwner
- PrNSPasteboardWriting
- PrNSPasteboardReading
- PrNSPasteboardItemDataProvider
- PrNSPathCellDelegate
- PrNSPathControlDelegate
- PrNSPopoverDelegate
- PrNSPreviewRepresentableActivityItemmacOS 13.0+
- PrNSPrintPanelAccessorizing
- PrNSStandardKeyBindingResponding
- PrNSRuleEditorDelegate
- PrNSOpenSavePanelDelegate
- PrNSScrubberDataSource
- PrNSScrubberDelegate
- PrNSScrubberFlowLayoutDelegate
- PrNSSearchFieldDelegate
- PrNSSharingServiceDelegate
- PrNSCloudSharingServiceDelegate
- PrNSSharingServicePickerDelegate
- PrNSSharingServicePickerToolbarItemDelegate
- PrNSSharingServicePickerTouchBarItemDelegate
- PrNSSoundDelegate
- PrNSSpeechRecognizerDelegate
- PrNSSpeechSynthesizerDelegate
- PrNSChangeSpelling
- PrNSIgnoreMisspelledWords
- PrNSSplitViewDelegate
- PrNSStackViewDelegate
- PrNSStatusItemExpandedInterfaceDelegatemacOS 27.0+
- PrNSSeguePerforming
- PrNSTabViewDelegate
- PrNSTableViewDelegate
- PrNSTableViewDataSource
- PrNSTextDelegate
- PrNSTextAttachmentLayoutmacOS 12.0+
- PrNSTextAttachmentContainermacOS 10.11+
- PrNSTextAttachmentCellProtocol
- PrNSTextInputTraits
- PrNSTextCheckingClient
- PrNSTextContent
- PrNSTextElementProvidermacOS 12.0+
- PrNSTextContentManagerDelegatemacOS 12.0+
- PrNSTextContentStorageDelegatemacOS 12.0+
- PrNSTextFieldDelegate
- PrNSTextFinderClient
- PrNSTextFinderBarContainer
- PrNSTextInputClient
- PrNSTextLayoutManagerDelegatemacOS 12.0+
- PrNSTextLocationmacOS 12.0+
- PrNSTextSelectionDataSourcemacOS 12.0+
- PrNSTextStorageDelegatemacOS 10.11+NSTextStorage delegate methods
- PrNSTextStorageObservingmacOS 12.0+
- PrNSTextViewDelegate
- PrNSTextViewportLayoutControllerDelegatemacOS 12.0+
- PrNSTextViewportRenderingSurfacemacOS 27.0+
- PrNSTextViewportRenderingSurfaceKeymacOS 15.0+
- PrNSTokenFieldDelegate
- PrNSTokenFieldCellDelegate
- PrNSToolbarDelegate
- PrNSToolbarItemValidation
- PrNSCloudSharingValidation
- PrNSTouchBarDelegate
- PrNSTouchBarProvider
- PrNSUserActivityRestoring
- PrNSUserInterfaceCompression
- PrNSUserInterfaceItemIdentification
- PrNSUserInterfaceItemSearching
- PrNSValidatedUserInterfaceItem
- PrNSUserInterfaceValidations
- PrNSViewLayerContentScaleDelegate
- PrNSViewToolTipOwner
- PrNSViewContentSelectionInfo@protocol `NSViewContentSelectionInfo`
- PrNSViewControllerPresentationAnimator
- PrNSWindowDelegate
- PrNSWindowRestoration
- PrNSTextSuggestionsDelegatemacOS 15.0+A protocol for suggestion delegates of text fields to conform to in order to provide text suggestions in response to the user typing.
- PrNSViewInvalidatingmacOS 12+
Type Aliases 17
- TyNSAccessibilityLoadingToken
- TyNSAccessibilityDateTimeComponentsFlags
- TyNSAnimatablePropertyKey
- TyNSServiceProviderName
- TyNSCollectionViewCompositionalLayoutSectionProvider
- TyNSCollectionLayoutSectionVisibleItemsInvalidationHandler
- TyNSCollectionLayoutGroupCustomItemProvider
- TyNSCollectionViewDiffableDataSourceReferenceItemProvider
- TyNSCollectionViewDiffableDataSourceReferenceSupplementaryViewProvider
- TyNSGlyphDeprecated API
- TyNSFontSymbolicTraits
- TyNSFontFamilyClass
- TyNSOpenGLPixelFormatAttribute
- TyNSTableViewDiffableDataSourceReferenceCellProvider
- TyNSTableViewDiffableDataSourceReferenceRowProvider
- TyNSTableViewDiffableDataSourceReferenceSectionHeaderViewProvider
Show 1 more
- TyNSTextInputSourceIdentifier