TechnologiesUI & App Frameworks

AppKit

iOSmacOStvOSwatchOSvisionOS

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.

  • Cl
    NSApplication
    The centralized object that controls and coordinates the execution of a Mac app.
  • Cl
    NSRunningApplicationmacOS 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
  • Cl
    NSScreen
    An object that describes the attributes of a connected display.
  • Cl
    NSDockTilemacOS 10.5+
    An object that represents an app's tile in the Dock and lets you customize its appearance.
  • Cl
    NSNib
    An object that represents the contents of a loaded nib file.
  • Cl
    NSStoryboardmacOS 10.10+
    An object that represents the contents of a storyboard and instantiates its controllers.
  • Cl
    NSStoryboardSeguemacOS 10.10+
    An object that represents a transition between two scenes in a storyboard.
  • Cl
    NSPersistentDocument
    A document subclass that integrates with Core Data for persistent storage.
  • Cl
    NSController
    The abstract base class for controllers that support Cocoa bindings.
  • Cl
    NSObjectController
    A controller that mediates binding access to a single model object.
  • Cl
    NSDataAssetmacOS 10.11+
    An object that loads a named data asset from an asset catalog.
  • Cl
    NSBindingSelectionMarkermacOS 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.

  • Cl
    NSDrawer
    A view container that slides out from the edge of a window to reveal additional content.
  • Cl
    NSPopovermacOS 10.7+
    An object that displays transient content in a window anchored to a view.
  • Cl
    NSBox
    A view that draws a titled or untitled border around a group of related controls.
  • Cl
    NSColorPanel
    A shared panel that lets people select and apply colors.
  • Cl
    NSFontPanel
    A shared panel that lets people select and preview fonts.
  • Cl
    NSOpenPanel
    A panel that lets a person choose files and directories to open.
  • Cl
    NSSplitView
    A view that arranges two or more subviews with adjustable dividers.
  • Cl
    NSSplitViewControllermacOS 10.10+
    NSSplitViewController is a container view controller that manages side-by-side (horizontal or vertical) children view controllers.
  • Cl
    NSSplitViewItemmacOS 10.10+
    NSSplitViewItem implements the items used in an NSSplitViewController.
  • Cl
    NSSplitViewItemAccessoryViewControllermacOS 26.0+
    A view controller that supplies an accessory view for a split view item.
  • Cl
    NSTabView
    A view that presents multiple pages, one at a time, selected by a row of tabs.
  • Cl
    NSTabViewControllermacOS 10.10+
    NSTabViewController is a container view controller that displays a single child view controller at a time from its \c childViewControllers.
  • Cl
    NSTabViewItem
    An object that represents a single page and tab within a tab view.
  • Cl
    NSPageControllermacOS 10.8+
    An object that manages navigation between a sequence of content pages.
  • Cl
    NSStackViewmacOS 10.9+
    A view that arranges its subviews in a horizontal or vertical line.
  • Cl
    NSGridViewmacOS 10.12+
    A view that arranges its subviews in a flexible grid of rows and columns.
  • Cl
    NSGlassEffectViewmacOS 26.0+
    A view that embeds its content view in a dynamic glass effect.
  • Cl
    NSGlassEffectContainerViewmacOS 26.0+
    A view that efficiently merges descendant glass effect views together when they are within a specified proximity to each other.
  • Cl
    NSBackgroundExtensionViewmacOS 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.

  • Cl
    NSControl
    The abstract superclass for views that display and let people act on a value.
  • Cl
    NSButton
    A control that performs an action when a person clicks or presses it.
  • Cl
    NSPopUpButton
    A button that displays a menu of mutually exclusive choices.
  • Cl
    NSComboButtonmacOS 13.0+
    A button that combines a primary action with a pull-down menu of related choices.
  • Cl
    NSComboBox
    A control that combines a text field with a pop-up list of selectable values.
  • Cl
    NSSegmentedControl
    A control that presents a horizontal set of selectable segments.
  • Cl
    NSSlider
    A control that lets a person select a value from a continuous or discrete range.
  • Cl
    NSStepper
    A control with up and down arrows for incrementing or decrementing a value.
  • Cl
    NSSwitchmacOS 10.15+
    A control that offers a binary on or off choice.
  • Cl
    NSLevelIndicator
    A control that visually displays a value as a level, rating, or capacity.
  • Cl
    NSProgressIndicator
    A control that shows the progress of a task as a bar or spinning indicator.
  • Cl
    NSColorWell
    A control that displays a color value and lets a person edit it.
  • Cl
    NSDatePicker
    A control for displaying and editing dates and times.
  • Cl
    NSSearchField
    A text field optimized for entering and submitting search queries.
  • Cl
    NSSecureTextField
    A text field that conceals the characters a person types.
  • Cl
    NSForm
    A control that displays a vertical column of labeled text-entry fields.
  • Cl
    NSMatrix
    A control that arranges a grid of cells of the same size and type.
  • Cl
    NSPathControlmacOS 10.5+
    A control that displays a path and lets a person navigate or edit its components.
  • Cl
    NSPathControlItemmacOS 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.

  • Cl
    NSActionCell
    A cell that defines an active area in a control and sends an action to a target.
  • Cl
    NSButtonCell
    A cell that defines the appearance and behavior of a button.
  • Cl
    NSPopUpButtonCell
    A cell that implements the behavior of a pop-up or pull-down button.
  • Cl
    NSComboBoxCell
    A cell that implements the behavior of a combo box.
  • Cl
    NSSegmentedCell
    A cell that implements the behavior of a segmented control.
  • Cl
    NSSliderCell
    A cell that implements the appearance and behavior of a slider.
  • Cl
    NSStepperCell
    A cell that implements the behavior of a stepper control.
  • Cl
    NSLevelIndicatorCell
    A cell that implements the appearance and behavior of a level indicator.
  • Cl
    NSDatePickerCell
    A cell that implements the date and time selection behavior of a date picker.
  • Cl
    NSSearchFieldCell
    A cell that implements the behavior of a search field.
  • Cl
    NSSecureTextFieldCell
    A cell that implements the secure-entry behavior of a secure text field.
  • Cl
    NSFormCell
    A cell that represents a single labeled field within a form.
  • Cl
    NSImageCell
    A cell that displays an image within a control.
  • Cl
    NSMenuItemCell
    A cell that draws and handles interaction for a menu item.
  • Cl
    NSBrowserCell
    A cell used to display an item within a column of a browser.
  • Cl
    NSPathCellmacOS 10.5+
    A cell that displays a file system or virtual path as a series of components.
  • Cl
    NSPathComponentCellmacOS 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.

  • Cl
    NSBrowser
    A control that displays hierarchical data in a series of scrolling columns.
  • Cl
    NSOutlineView
    A view that displays hierarchical data in an expandable, indented list of rows.
  • Cl
    NSCollectionViewmacOS 10.5+
    A view that displays an ordered collection of items in a configurable layout.
  • Cl
    NSCollectionViewItemmacOS 10.5+
    An object that represents and manages the view for a single item in a collection view.
  • Cl
    NSDiffableDataSourceSnapshotReferencemacOS 10.15+
    A reference type that captures the state of items and sections for a diffable data source.
  • Cl
    NSCollectionViewDiffableDataSourceReferencemacOS 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.

  • Cl
    NSCollectionViewCompositionalLayoutmacOS 10.15+
    A flexible collection view layout composed of nested groups, items, and sections.
  • Cl
    NSCollectionLayoutGroupmacOS 10.15+
    A layout component that arranges a set of items in a row, column, or custom pattern.
  • Cl
    NSCollectionLayoutSupplementaryItemmacOS 10.15+
    A layout item that adds a supplementary view anchored to another item in a compositional layout.
  • Cl
    NSCollectionLayoutBoundarySupplementaryItemmacOS 10.15+
    A layout item that adds a supplementary view such as a header or footer at a section or layout boundary.
  • Cl
    NSCollectionLayoutDecorationItemmacOS 10.15+
    A layout item that adds a background decoration view behind a section in a compositional layout.
  • Cl
    NSCollectionViewFlowLayoutmacOS 10.11+
    A layout that arranges collection view items in a flowing grid of rows or columns.
  • Cl
    NSCollectionViewFlowLayoutInvalidationContextmacOS 10.11+
    An object that describes which parts of a flow layout to invalidate and recompute.
  • Cl
    NSCollectionViewGridLayoutmacOS 10.11+
    A layout that arranges collection view items in a fixed grid.
  • Cl
    NSCollectionViewTransitionLayoutmacOS 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.

  • Cl
    NSScrollView
    A view that provides scrolling for content larger than its visible area.
  • Cl
    NSScroller
    A control that displays a scroll bar and reports scrolling actions.
  • Cl
    NSClipView
    A view that clips and scrolls the document view inside a scroll view.
  • Cl
    NSRulerView
    A view that displays a ruler and its markers alongside scrolling content.
  • Cl
    NSRulerMarker
    An 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.

  • Cl
    NSScrubbermacOS 10.12.2+
    @class NSScrubber
  • Cl
    NSScrubberArrangedViewmacOS 10.12.2+
    The base view for items and selection backgrounds arranged within a scrubber.
  • Cl
    NSScrubberSelectionViewmacOS 10.12.2+
    @class NSScrubberSelectionView
  • Cl
    NSScrubberItemViewmacOS 10.12.2+
    @class NSScrubberItemView
  • Cl
    NSScrubberTextItemViewmacOS 10.12.2+
    @class NSScrubberTextItemView
  • Cl
    NSScrubberImageItemViewmacOS 10.12.2+
    @class NSScrubberTextItemView
  • Cl
    NSScrubberLayoutAttributesmacOS 10.12.2+
    @class NSScrubberLayoutAttributes
  • Cl
    NSScrubberFlowLayoutmacOS 10.12.2+
    @class NSScrubberFlowLayout
  • Cl
    NSScrubberProportionalLayoutmacOS 10.12.2+
    @class NSScrubberProportionalLayout

Menus and Status Bar 7

Menus, menu items, and the status bar elements that surface commands and indicators.

  • Cl
    NSMenu
    An object that manages an app's menus and the items they contain.
  • Cl
    NSMenuItem
    An object that represents a single command or submenu within a menu.
  • Cl
    NSMenuItemBadgemacOS 14.0+
    A badge used to provide additional quantitative information specific
  • Cl
    NSStatusBar
    An object that provides access to the system menu bar's status area.
  • Cl
    NSStatusBarButtonmacOS 10.10+
    Status bar buttons are the visual representation of `NSStatusItem`s, and are primarily displayed on the right side of the menu bar.
  • Cl
    NSStatusItem
    An object that represents an app's item displayed in the system status bar.
  • Cl
    NSStatusItemExpandedInterfaceSessionmacOS 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.

  • Cl
    NSMenuToolbarItemmacOS 10.15+
    A toolbar item that presents a menu when clicked.
  • Cl
    NSSearchToolbarItemmacOS 11.0+
    `NSSearchToolbarItem` provides the standard UI behavior for integrating a search field into the toolbar.
  • Cl
    NSSharingServicePickerToolbarItemmacOS 10.15+
    A toolbar item that presents a sharing service picker.
  • Cl
    NSCustomTouchBarItemmacOS 10.12.2+
    A Touch Bar item that displays a custom view or view controller.
  • Cl
    NSGroupTouchBarItemmacOS 10.12.2+
    A Touch Bar item that groups several items together as a single unit.
  • Cl
    NSButtonTouchBarItemmacOS 10.15+
    A Touch Bar item that displays a button.
  • Cl
    NSCandidateListTouchBarItemmacOS 10.12.2+
    A Touch Bar item that displays text input candidates for selection.
  • Cl
    NSColorPickerTouchBarItemmacOS 10.12.2+
    A Touch Bar item that presents controls for selecting a color.
  • Cl
    NSPickerTouchBarItemmacOS 10.15+
    A Touch Bar item that presents a set of selectable options.
  • Cl
    NSPopoverTouchBarItemmacOS 10.12.2+
    A Touch Bar item that presents a popover of additional controls.
  • Cl
    NSSharingServicePickerTouchBarItemmacOS 10.12.2+
    A Touch Bar item that presents a sharing service picker.
  • Cl
    NSSliderTouchBarItemmacOS 10.12.2+
    A Touch Bar item that displays a slider.
  • Cl
    NSStepperTouchBarItemmacOS 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.

  • Cl
    NSLayoutAnchormacOS 10.11+
    The abstract superclass for factory objects that create Auto Layout constraints.
  • Cl
    NSLayoutXAxisAnchormacOS 10.11+
    An anchor that represents a horizontal edge or center for creating layout constraints.
  • Cl
    NSLayoutYAxisAnchormacOS 10.11+
    An anchor that represents a vertical edge or center for creating layout constraints.
  • Cl
    NSLayoutDimensionmacOS 10.11+
    An anchor that represents a width or height for creating sizing constraints.
  • Cl
    NSLayoutConstraintmacOS 10.7+
    An object that defines a relationship between two interface elements for Auto Layout.
  • Cl
    NSLayoutGuidemacOS 10.11+
    A rectangular region that participates in Auto Layout without being a visible view.
  • Cl
    NSViewAnimation
    An 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.

  • Cl
    NSAnimation
    An object that manages the timing and progress of an animation in your interface.
  • Cl
    NSAnimationContextmacOS 10.5+
    An object that groups animations and configures their duration and timing curve.
  • Cl
    NSAppearancemacOS 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.

  • Cl
    NSColor
    An object that stores color data and an optional alpha value defining opacity.
  • Cl
    NSColorList
    An object that manages an ordered, named list of colors.
  • Cl
    NSColorSpace
    An object that represents a color space and its conversion between color models.
  • Cl
    NSColorPicker
    An object that provides a custom mode of color selection within the color panel.
  • Cl
    NSColorSamplermacOS 10.15+
    Manages a color sampling interface to allow the user to select a color from their screen.
  • Cl
    NSGradientmacOS 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.

  • Cl
    NSImage
    An object that manages image data and its representations for display and drawing.
  • Cl
    NSImageView
    A view that displays a single image or an animated sequence of images.
  • Cl
    NSImageRep
    The abstract superclass for objects that render an image from a specific data format.
  • Cl
    NSBitmapImageRep
    An image representation that renders an image from bitmap pixel data.
  • Cl
    NSCIImageRep
    An image representation backed by a Core Image image.
  • Cl
    NSCustomImageRep
    An image representation that renders its content using a custom drawing handler.
  • Cl
    NSEPSImageRepmacOS 14.0+
    An object that can render an image from encapsulated PostScript (EPS) code.
  • Cl
    NSPDFImageRep
    An image representation backed by PDF data.
  • Cl
    NSPICTImageRep
    An image representation backed by legacy PICT data.
  • Cl
    NSAdaptiveImageGlyphmacOS 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.

  • Cl
    NSBezierPath
    An object that defines a path of straight and curved line segments for drawing and filling.
  • Cl
    NSGraphicsContext
    An object that represents a destination for drawing operations such as a window or image.
  • Cl
    NSShadowmacOS 10.0+
    An object that describes the attributes of a drop shadow used in drawing.
  • Cl
    NSOpenGLPixelFormat
    An object that specifies the pixel format attributes for an OpenGL rendering context.
  • Cl
    NSOpenGLContext
    An object that represents an OpenGL rendering context and its associated state.
  • Cl
    NSOpenGLLayer
    A Core Animation layer that renders its content using OpenGL.
  • Cl
    NSOpenGLView
    A view that displays content rendered with OpenGL.

Text and Fonts 15

Font objects, typesetting, glyph generation, and paragraph styling for laying out text.

  • Cl
    NSFont
    An object that represents a font for rendering text in your interface.
  • Cl
    NSFontDescriptor
    An object that describes a font by its attributes for matching and instantiation.
  • Cl
    NSFontManager
    An object that coordinates font conversions and the state of the font panel.
  • Cl
    NSFontCollectionmacOS 10.7+
    An object that groups a set of font descriptors under a named collection.
  • Cl
    NSMutableFontCollectionmacOS 10.7+
    A mutable font collection whose set of font descriptors you can modify.
  • Cl
    NSFontAssetRequestmacOS 10.13+
    An object that requests the download of fonts not currently installed on the system.
  • Cl
    NSATSTypesetter
    An object that performs the layout of glyphs into lines during text typesetting.
  • Cl
    NSLayoutManagermacOS 10.7+
    An object that performs glyph layout and coordinates the display of text.
  • Cl
    NSGlyphGenerator
    An object that maps characters to the glyphs used during text layout.
  • Cl
    NSGlyphInfo
    An object that associates a glyph with a character for use in attributed text.
  • Cl
    NSParagraphStylemacOS 10.0+
    An object that encapsulates the paragraph and ruler attributes applied to text.
  • Cl
    NSMutableParagraphStylemacOS 10.0+
    A mutable paragraph style whose alignment, spacing, and tab stops you can modify.
  • Cl
    NSTextTabmacOS 10.0+
    An object that defines a tab stop and its alignment within a paragraph.
  • Cl
    NSStringDrawingContextmacOS 10.11+
    An object that holds context for drawing and measuring attributed strings.
  • Cl
    NSSpellChecker
    An object that provides spelling, grammar, and text-checking services.

Events and Gestures 10

Event objects and gesture recognizers that capture and interpret user input.

  • Cl
    NSEvent
    An object that describes a single user input or system event such as a key press or mouse click.
  • Cl
    NSClickGestureRecognizermacOS 10.10+
    A gesture recognizer that interprets a sequence of clicks.
  • Cl
    NSPanGestureRecognizermacOS 10.10+
    A gesture recognizer that interprets dragging gestures.
  • Cl
    NSPressGestureRecognizermacOS 10.10+
    A gesture recognizer that interprets a press-and-hold gesture.
  • Cl
    NSRotationGestureRecognizermacOS 10.10+
    A gesture recognizer that interprets rotation gestures.
  • Cl
    NSMagnificationGestureRecognizermacOS 10.10+
    A gesture recognizer that interprets pinch gestures for magnification.
  • Cl
    NSPressureConfigurationmacOS 10.10.3+
    An object that configures the behavior and stages of pressure-sensitive input.
  • Cl
    NSCursormacOS 10.0+
    An object that defines the appearance and behavior of the mouse cursor.
  • Cl
    NSAlignmentFeedbackFiltermacOS 10.11+
    An object that generates haptic alignment feedback as objects move into alignment.
  • Cl
    NSHapticFeedbackManagermacOS 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.

  • Cl
    NSPasteboard
    An object that manages data shared through copy, paste, and drag-and-drop.
  • Cl
    NSPasteboardItemmacOS 10.6+
    An object that represents a single item and its multiple data representations on the pasteboard.
  • Cl
    NSDraggingItemmacOS 10.7+
    An object that represents a single item and its image during a drag operation.
  • Cl
    NSDraggingImageComponentmacOS 10.7+
    An object that defines one visual component of a dragging item's image.
  • Cl
    NSDraggingSessionmacOS 10.7+
    An object that manages the state of an active drag-and-drop operation.
  • Cl
    NSFilePromiseProvidermacOS 10.12+
    An object that promises to provide a file's contents on demand during a drag or copy.
  • Cl
    NSFilePromiseReceivermacOS 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.

  • Cl
    NSSharingServicemacOS 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
  • Cl
    NSSharingServicePickermacOS 10.8+
    An object that presents the available sharing services for a set of items.
  • Cl
    NSPreviewRepresentingActivityItemmacOS 13.0+
    An object that supplies a preview and metadata for an item presented in a share sheet.
  • Cl
    NSMediaLibraryBrowserControllermacOS 10.9+
    @abstract This class configures and displays a media browser panel.
  • Cl
    NSSound
    An object that loads and plays a sound.
  • Cl
    NSSpeechRecognizer
    An object that recognizes spoken commands from a defined vocabulary.
  • Cl
    NSSpeechSynthesizer
    An 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.

  • Cl
    NSArrayController
    A controller that manages and mediates access to an ordered collection of objects.
  • Cl
    NSDictionaryControllermacOS 10.5+
    A controller that mediates binding access to the entries of a dictionary.
  • Cl
    NSDictionaryControllerKeyValuePairmacOS 10.11+
    An object that represents a single key-value pair managed by a dictionary controller.
  • Cl
    NSPredicateEditormacOS 10.5+
    A control that lets a person build a predicate from configurable row templates.
  • Cl
    NSPredicateEditorRowTemplatemacOS 10.5+
    An object that describes the available components for one row of a predicate editor.
  • Cl
    NSRuleEditor
    A control that lets a person create and edit a set of nested rules.

Printing 3

Types that describe printers, print jobs, and PDF output.

  • Cl
    NSPrintInfo
    An object that stores the settings used to configure and run a print job.
  • Cl
    NSPrinter
    An object that represents a printer and its capabilities.
  • Cl
    NSPDFInfomacOS 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.

  • Cl
    NSAccessibilityElementmacOS 10.10+
    An object that represents a discrete element in the accessibility hierarchy of your interface.
  • Cl
    NSAccessibilityCustomActionmacOS 10.13+
    An object that defines a custom action that assistive technologies can perform on an element.
  • Cl
    NSAccessibilityCustomRotormacOS 10.13+
    @brief NSAccessibilityCustomRotors allow assistive technologies, like

Classes 106

  • Cl
    NSAlert
    A modal dialog or sheet attached to a document window.
  • Cl
    NSCell
  • Cl
    NSCollectionViewCompositionalLayoutConfigurationmacOS 10.15+
  • Cl
    NSCollectionLayoutSectionmacOS 10.15+
  • Cl
    NSCollectionLayoutItemmacOS 10.15+
  • Cl
    NSCollectionLayoutGroupCustomItemmacOS 10.15+
  • Cl
    NSCollectionLayoutDimensionmacOS 10.15+
  • Cl
    NSCollectionLayoutSizemacOS 10.15+
  • Cl
    NSCollectionLayoutSpacingmacOS 10.15+
  • Cl
    NSCollectionLayoutEdgeSpacingmacOS 10.15+
  • Cl
    NSCollectionLayoutAnchormacOS 10.15+
  • Cl
    NSCollectionViewLayoutAttributesmacOS 10.11+
  • Cl
    NSCollectionViewUpdateItemmacOS 10.11+
  • Cl
    NSCollectionViewLayoutInvalidationContextmacOS 10.11+
  • Cl
    NSCollectionViewLayoutmacOS 10.11+
  • Cl
    NSDocument
Show 90 more
  • Cl
    NSDocumentController
  • Cl
    NSGestureRecognizermacOS 10.10+
  • Cl
    NSGridRowmacOS 10.12+
  • Cl
    NSGridColumnmacOS 10.12+
  • Cl
    NSGridCellmacOS 10.12+
  • Cl
    NSHelpManager
  • Cl
    NSPDFPanelmacOS 10.9+
  • Cl
    NSPageLayout
  • Cl
    NSPanel
  • Cl
    NSPrintOperation
  • Cl
    NSPrintPanel
  • Cl
    NSRefreshControllermacOS 27.0+
    A controller that provides pull-to-refresh functionality for scroll views.
  • Cl
    NSResponder
  • Cl
    NSSavePanel
  • Cl
    NSScrollEdgeEffectStylemacOS 26.1+
    Styles for a scroll view’s edge effect.
  • Cl
    NSScrubberSelectionStylemacOS 10.12.2+
    @class NSScrubberSelectionStyle
  • Cl
    NSScrubberLayoutmacOS 10.12.2+
    @class NSScrubberLayout
  • Cl
    NSSliderAccessorymacOS 10.12+
  • Cl
    NSSliderAccessoryBehaviormacOS 10.12+
  • Cl
    NSTableCellViewmacOS 10.7+
  • Cl
    NSTableColumn
  • Cl
    NSTableHeaderCell
  • Cl
    NSTableHeaderView
  • Cl
    NSTableRowViewmacOS 10.7+
  • Cl
    NSTableView
  • Cl
    NSTableViewDiffableDataSourceReferencemacOS 11.0+
  • Cl
    NSTableViewRowActionmacOS 10.11+
  • Cl
    NSText
  • Cl
    NSTextAlternativesmacOS 10.8+
  • Cl
    NSTextAttachmentmacOS 10.0+
  • Cl
    NSTextAttachmentViewProvidermacOS 12.0+
  • Cl
    NSTextAttachmentCell
  • Cl
    NSTextCheckingControllermacOS 10.15+
  • Cl
    NSTextContainermacOS 10.0+
  • Cl
    NSTextContentManagermacOS 12.0+
  • Cl
    NSTextContentStoragemacOS 12.0+
  • Cl
    NSTextElementmacOS 12.0+
  • Cl
    NSTextParagraphmacOS 12.0+
  • Cl
    NSTextField
  • Cl
    NSTextFieldCell
  • Cl
    NSTextFindermacOS 10.7+
  • Cl
    NSTextInputContextmacOS 10.6+
  • Cl
    NSTextInsertionIndicatormacOS 14.0+
  • Cl
    NSTextLayoutFragmentmacOS 12.0+
  • Cl
    NSTextLayoutManagermacOS 12.0+
  • Cl
    NSTextLineFragmentmacOS 12.0+
  • Cl
    NSTextListmacOS 10.0+
  • Cl
    NSTextListElementmacOS 13.0+
  • Cl
    NSTextRangemacOS 12.0+
    A class that represents a contiguous range between two locations inside document contents.
  • Cl
    NSTextSelectionmacOS 12.0+
  • Cl
    NSTextSelectionManagermacOS 27.0+
    An object that coordinates text selection behavior for custom text views.
  • Cl
    NSTextSelectionNavigationmacOS 12.0+
  • Cl
    NSTextStoragemacOS 10.0+
  • Cl
    NSTextBlockmacOS 10.0+
  • Cl
    NSTextTableBlockmacOS 10.0+
  • Cl
    NSTextTablemacOS 10.0+
  • Cl
    NSTextView
  • Cl
    NSTextViewportLayoutControllermacOS 12.0+
  • Cl
    NSTintConfigurationmacOS 11.0+
  • Cl
    NSTitlebarAccessoryViewControllermacOS 10.10+
  • Cl
    NSTokenField
  • Cl
    NSTokenFieldCell
  • Cl
    NSToolbar
  • Cl
    NSToolbarItem
  • Cl
    NSToolbarItemGroupmacOS 10.5+
  • Cl
    NSTouchmacOS 10.6+
  • Cl
    NSTouchBarmacOS 10.12.2+
  • Cl
    NSTouchBarItemmacOS 10.12.2+
  • Cl
    NSTrackingAreamacOS 10.5+
  • Cl
    NSTrackingSeparatorToolbarItemmacOS 11.0+
  • Cl
    NSTreeController
  • Cl
    NSTreeNodemacOS 10.5+
  • Cl
    NSTypesetter
  • Cl
    NSUserDefaultsController
  • Cl
    NSUserInterfaceCompressionOptionsmacOS 10.13+
  • Cl
    NSView
  • Cl
    NSViewControllermacOS 10.5+
  • Cl
    NSViewCornerConfigurationmacOS 27.0+
    A configuration object that defines the corner styles of a view’s overall shape.
  • Cl
    NSViewCornerRadiimacOS 27.0+
    Provides a structured way to define custom corner radii for each corner of a view, along with a corner curve.
  • Cl
    NSViewCornerRadiusmacOS 27.0+
    Represents a radius used to round a corner. It supports fixed and adaptive configurations.
  • Cl
    NSVisualEffectViewmacOS 10.10+
  • Cl
    NSWindow
  • Cl
    NSWindowController
  • Cl
    NSWindowTabmacOS 10.13+
  • Cl
    NSWindowTabGroupmacOS 10.13+
  • Cl
    NSWorkspace
  • Cl
    NSWritingToolsCoordinatormacOS 15.2+
    An object that manages interactions between Writing Tools and
  • Cl
    NSTextPreviewmacOS 15.2+
    A snapshot of the text in your view, which the system uses to create
  • Cl
    NSCollectionViewDiffableDataSourcemacOS 10.15.1+
  • Cl
    NSTableViewDiffableDataSourcemacOS 11.0+

Structures 29

  • St
    NSAccessibility
  • St
    NSAccessibilitySearchKey
  • St
    NSAppKitVersion
  • St
    NSUnderlineStylemacOS 10.0+
    Attribute values
  • St
    NSDirectionalRectEdgemacOS 10.15+
  • St
    NSDirectionalEdgeInsetsmacOS 10.15+
  • St
    NSDragOperation
  • St
    NSDraggingItemEnumerationOptionsmacOS 10.7+
  • St
    NSSpringLoadingOptionsmacOS 10.11+
  • St
    NSFontCollectionMatchingOptionKey
  • St
    NSFontTraitMask
  • St
    NSFontCollectionOptions
  • St
    NSColorSpaceName
  • St
    NSDeviceDescriptionKey
  • St
    NSBindingName
  • St
    NSBindingOption
Show 13 more
  • St
    NSBindingInfoKey
  • St
    NSWritingToolsResultOptionsmacOS 15.0+
  • St
    NSTextContentType
  • St
    NSTextStorageEditActionsmacOS 10.11+
  • St
    NSTextAttachmentViewProviderReusePolicy
  • St
    NSToolbarUserInfoKey
  • St
    NSTypesetterControlCharacterAction
  • St
    NSUserInterfaceItemIdentifier
  • St
    NSDiffableDataSourceSnapshotmacOS 10.15.1+
  • St
    NSItemBadgemacOS 26.0+
    `NSItemBadge` represents a badge that can be attached to an `NSToolbarItem`.
  • St
    NSSuggestionItemmacOS 15.0+
    The items that appear in suggestion menus.
  • St
    NSSuggestionItemResponsemacOS 15.0+
    Describes the result of a batch of suggestion items from a search
  • St
    NSSuggestionItemSectionmacOS 15.0+
    Describes a section of suggestions items in a suggestions menu

Enumerations 48

  • En
    NSAccessibilityAnnotationPositionmacOS 10.13+
  • En
    NSAccessibilityOrientationmacOS 10.10+
  • En
    NSAccessibilitySortDirectionmacOS 10.10+
  • En
    NSAccessibilityRulerMarkerTypemacOS 10.10+
  • En
    NSAccessibilityUnitsmacOS 10.10+
  • En
    NSAccessibilityPriorityLevelmacOS 10.9+
  • En
    NSWritingDirectionFormatTypemacOS 10.11+
  • En
    NSTextScalingTypemacOS 10.15+
  • En
    NSImageScalingmacOS 10.5+
  • En
    NSControlTint
  • En
    NSRectAlignmentmacOS 10.15+
  • En
    NSCollectionLayoutSectionOrthogonalScrollingBehaviormacOS 10.15+
  • En
    NSCollectionElementCategorymacOS 10.11+
  • En
    NSDraggingFormationmacOS 10.7+
  • En
    NSDraggingContextmacOS 10.7+
  • En
    NSSpringLoadingHighlightmacOS 10.11+
Show 32 more
  • En
    NSFontRenderingMode
    Screen Font Rendering Mode
  • En
    NSMultibyteGlyphPacking
  • En
    NSFontAction
  • En
    NSCharacterCollection
  • En
    NSCompositingOperation
  • En
    NSFocusRingPlacement
  • En
    NSFocusRingType
  • En
    NSColorRenderingIntentmacOS 10.5+
  • En
    NSDisplayGamutmacOS 10.12+
  • En
    NSAnimationEffect
  • En
    NSImageInterpolation
  • En
    NSImageAlignment
  • En
    NSOpenGLGlobalOption
  • En
    NSLineBreakModemacOS 10.0+
  • En
    NSSharingCollaborationModemacOS 15.0+
    Represents the types of sharing (collaborating on an item vs. sending a copy of the item)
  • En
    NSWritingDirectionmacOS 10.0+
  • En
    NSTextAlignmentmacOS 10.0+
  • En
    NSTextMovement
  • En
    NSTextInputTraitType
  • En
    NSWritingToolsBehaviormacOS 15.0+
  • En
    NSTextCursorAccessoryPlacementmacOS 14.0+
  • En
    NSSelectionGranularity
  • En
    NSSelectionAffinity
  • En
    NSFindPanelAction
  • En
    NSFindPanelSubstringMatchType
  • En
    NSTintProminencemacOS 26.0+
    Controls how strongly the tint color applies in a view.
  • En
    NSUserInterfaceLayoutDirection
  • En
    NSUserInterfaceLayoutOrientationmacOS 10.9+
  • En
    NSBorderType
  • En
    NSTitlebarSeparatorStylemacOS 11.0+
  • En
    NSHorizontalDirectionmacOS 15.0+
    An absolute direction on the horizontal axis.
  • En
    NSVerticalDirectionmacOS 15.0+
    A direction on the vertical axis.

Protocols 151

  • Pr
    NSAccessibilityColormacOS 11.0+
  • Pr
    NSAccessibilityCustomRotorItemSearchDelegatemacOS 10.13+
  • Pr
    NSAccessibilityElementProtocol
  • Pr
    NSAccessibilityGroup
  • Pr
    NSAccessibilityButton
  • Pr
    NSAccessibilitySwitch
  • Pr
    NSAccessibilityRadioButton
  • Pr
    NSAccessibilityCheckBox
  • Pr
    NSAccessibilityStaticText
  • Pr
    NSAccessibilityNavigableStaticText
  • Pr
    NSAccessibilityProgressIndicator
  • Pr
    NSAccessibilityStepper
  • Pr
    NSAccessibilitySlider
  • Pr
    NSAccessibilityImage
  • Pr
    NSAccessibilityContainsTransientUI
  • Pr
    NSAccessibilityTable
Show 135 more
  • Pr
    NSAccessibilityOutline
  • Pr
    NSAccessibilityList
  • Pr
    NSAccessibilityRow
  • Pr
    NSAccessibilityLayoutArea
  • Pr
    NSAccessibilityLayoutItem
  • Pr
    NSAccessibilityElementLoadingmacOS 10.13+
  • Pr
    NSAccessibilityProtocol
  • Pr
    NSAlertDelegate
    A set of optional methods implemented by the delegate of an `NSAlert` object to respond to a user’s request for help.
  • Pr
    NSAlignmentFeedbackToken
  • Pr
    NSAnimationDelegate
  • Pr
    NSAnimatablePropertyContainermacOS 10.5+
  • Pr
    NSAppearanceCustomization
  • Pr
    NSApplicationDelegate
  • Pr
    NSServicesMenuRequestor
  • Pr
    NSBrowserDelegate
  • Pr
    NSCandidateListTouchBarItemDelegate
  • Pr
    NSCollectionViewElement
  • Pr
    NSCollectionViewSectionHeaderView
  • Pr
    NSCollectionViewDataSource
  • Pr
    NSCollectionViewPrefetching
  • Pr
    NSCollectionViewDelegate
  • Pr
    NSCollectionLayoutContainermacOS 10.15+
  • Pr
    NSCollectionLayoutEnvironmentmacOS 10.15+
  • Pr
    NSCollectionLayoutVisibleItemmacOS 10.15+
  • Pr
    NSCollectionViewDelegateFlowLayout
  • Pr
    NSColorChanging
  • Pr
    NSColorPickingDefault
  • Pr
    NSColorPickingCustom
  • Pr
    NSComboBoxDataSource
  • Pr
    NSComboBoxDelegate
  • Pr
    NSComboBoxCellDataSource
  • Pr
    NSControlTextEditingDelegate
  • Pr
    NSDatePickerCellDelegate
  • Pr
    NSDockTilePlugIn
  • Pr
    NSDraggingInfo
  • Pr
    NSDraggingDestination
  • Pr
    NSDraggingSource
  • Pr
    NSSpringLoadingDestination
  • Pr
    NSDrawerDelegate
  • Pr
    NSFilePromiseProviderDelegate
  • Pr
    NSFontChanging
  • Pr
    NSGestureRecognizerDelegate
  • Pr
    NSGlyphStorage
  • Pr
    NSHapticFeedbackPerformer
  • Pr
    NSImageDelegate
  • Pr
    NSTextInput
  • Pr
    NSInputServiceProvider
  • Pr
    NSInputServerMouseTracker
  • Pr
    NSEditor
  • Pr
    NSEditorRegistration
  • Pr
    NSTextLayoutOrientationProvidermacOS 10.0+
  • Pr
    NSLayoutManagerDelegate
  • Pr
    NSMatrixDelegate
  • Pr
    NSMenuItemValidation
  • Pr
    NSMenuDelegate
  • Pr
    NSOutlineViewDataSource
  • Pr
    NSOutlineViewDelegate
  • Pr
    NSPageControllerDelegate
  • Pr
    NSPasteboardTypeOwner
  • Pr
    NSPasteboardWriting
  • Pr
    NSPasteboardReading
  • Pr
    NSPasteboardItemDataProvider
  • Pr
    NSPathCellDelegate
  • Pr
    NSPathControlDelegate
  • Pr
    NSPopoverDelegate
  • Pr
    NSPreviewRepresentableActivityItemmacOS 13.0+
  • Pr
    NSPrintPanelAccessorizing
  • Pr
    NSStandardKeyBindingResponding
  • Pr
    NSRuleEditorDelegate
  • Pr
    NSOpenSavePanelDelegate
  • Pr
    NSScrubberDataSource
  • Pr
    NSScrubberDelegate
  • Pr
    NSScrubberFlowLayoutDelegate
  • Pr
    NSSearchFieldDelegate
  • Pr
    NSSharingServiceDelegate
  • Pr
    NSCloudSharingServiceDelegate
  • Pr
    NSSharingServicePickerDelegate
  • Pr
    NSSharingServicePickerToolbarItemDelegate
  • Pr
    NSSharingServicePickerTouchBarItemDelegate
  • Pr
    NSSoundDelegate
  • Pr
    NSSpeechRecognizerDelegate
  • Pr
    NSSpeechSynthesizerDelegate
  • Pr
    NSChangeSpelling
  • Pr
    NSIgnoreMisspelledWords
  • Pr
    NSSplitViewDelegate
  • Pr
    NSStackViewDelegate
  • Pr
    NSStatusItemExpandedInterfaceDelegatemacOS 27.0+
  • Pr
    NSSeguePerforming
  • Pr
    NSTabViewDelegate
  • Pr
    NSTableViewDelegate
  • Pr
    NSTableViewDataSource
  • Pr
    NSTextDelegate
  • Pr
    NSTextAttachmentLayoutmacOS 12.0+
  • Pr
    NSTextAttachmentContainermacOS 10.11+
  • Pr
    NSTextAttachmentCellProtocol
  • Pr
    NSTextInputTraits
  • Pr
    NSTextCheckingClient
  • Pr
    NSTextContent
  • Pr
    NSTextElementProvidermacOS 12.0+
  • Pr
    NSTextContentManagerDelegatemacOS 12.0+
  • Pr
    NSTextContentStorageDelegatemacOS 12.0+
  • Pr
    NSTextFieldDelegate
  • Pr
    NSTextFinderClient
  • Pr
    NSTextFinderBarContainer
  • Pr
    NSTextInputClient
  • Pr
    NSTextLayoutManagerDelegatemacOS 12.0+
  • Pr
    NSTextLocationmacOS 12.0+
  • Pr
    NSTextSelectionDataSourcemacOS 12.0+
  • Pr
    NSTextStorageDelegatemacOS 10.11+
    NSTextStorage delegate methods
  • Pr
    NSTextStorageObservingmacOS 12.0+
  • Pr
    NSTextViewDelegate
  • Pr
    NSTextViewportLayoutControllerDelegatemacOS 12.0+
  • Pr
    NSTextViewportRenderingSurfacemacOS 27.0+
  • Pr
    NSTextViewportRenderingSurfaceKeymacOS 15.0+
  • Pr
    NSTokenFieldDelegate
  • Pr
    NSTokenFieldCellDelegate
  • Pr
    NSToolbarDelegate
  • Pr
    NSToolbarItemValidation
  • Pr
    NSCloudSharingValidation
  • Pr
    NSTouchBarDelegate
  • Pr
    NSTouchBarProvider
  • Pr
    NSUserActivityRestoring
  • Pr
    NSUserInterfaceCompression
  • Pr
    NSUserInterfaceItemIdentification
  • Pr
    NSUserInterfaceItemSearching
  • Pr
    NSValidatedUserInterfaceItem
  • Pr
    NSUserInterfaceValidations
  • Pr
    NSViewLayerContentScaleDelegate
  • Pr
    NSViewToolTipOwner
  • Pr
    NSViewContentSelectionInfo
    @protocol `NSViewContentSelectionInfo`
  • Pr
    NSViewControllerPresentationAnimator
  • Pr
    NSWindowDelegate
  • Pr
    NSWindowRestoration
  • Pr
    NSTextSuggestionsDelegatemacOS 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.
  • Pr
    NSViewInvalidatingmacOS 12+

Type Aliases 17

  • Ty
    NSAccessibilityLoadingToken
  • Ty
    NSAccessibilityDateTimeComponentsFlags
  • Ty
    NSAnimatablePropertyKey
  • Ty
    NSServiceProviderName
  • Ty
    NSCollectionViewCompositionalLayoutSectionProvider
  • Ty
    NSCollectionLayoutSectionVisibleItemsInvalidationHandler
  • Ty
    NSCollectionLayoutGroupCustomItemProvider
  • Ty
    NSCollectionViewDiffableDataSourceReferenceItemProvider
  • Ty
    NSCollectionViewDiffableDataSourceReferenceSupplementaryViewProvider
  • Ty
    NSGlyph
    Deprecated API
  • Ty
    NSFontSymbolicTraits
  • Ty
    NSFontFamilyClass
  • Ty
    NSOpenGLPixelFormatAttribute
  • Ty
    NSTableViewDiffableDataSourceReferenceCellProvider
  • Ty
    NSTableViewDiffableDataSourceReferenceRowProvider
  • Ty
    NSTableViewDiffableDataSourceReferenceSectionHeaderViewProvider
Show 1 more
  • Ty
    NSTextInputSourceIdentifier

Extends 30

NSObjectNSAttributedStringNSAffineTransformNSAppleScriptRunLoopNSNotificationNSMutableAttributedStringCIImageNSIndexPathNSSetCIColorNSExceptionNameFileWrapperBundleNSItemProviderNSManagedObjectContextNSURLNSStringCTTextAlignmentFileManagerNotificationCenterAttributeScopesAttributeDynamicLookupAttributedStringIndexPathURLResourceValuesCGRectSequencePreviewCocoaError
← UI & App Frameworks