TechnologiesUI & App Frameworks

PreferencePanes

iOSmacOStvOSwatchOSvisionOS

PreferencePanes lets you build preference pane bundles that appear in System Preferences/Settings on macOS, where users configure system settings. You implement a pane by subclassing NSPreferencePane, which manages the lifecycle of your pane's interface as it is selected and deselected. When a user moves away from your pane, you return an NSPreferencePaneUnselectReply to allow, defer, or cancel the switch.

Preference Panes 1

Subclass this class to implement and manage a macOS preference pane's interface and lifecycle.

  • Cl
    NSPreferencePane
    An object you subclass to implement a System Preferences/Settings preference pane and manage its selection lifecycle.

Pane Switching 1

Values that control whether the system may switch away from your pane.

  • En
    NSPreferencePaneUnselectReply
    Constants that specify whether to allow, defer, or cancel switching away from the current preference pane.

Extends 1

NSNotification
← UI & App Frameworks