Instance Method

didSelect()

Notifies the preference pane that the main app has just displayed the preference pane’s main view.

Declaration

func didSelect()

Discussion

Default implementation does nothing. Override this method to perform actions right after the main view has been placed into a window on the screen.

See Also

Selecting and Deselecting the Preference Pane

func willSelect()

Notifies the preference pane that the main app is about to display the preference pane’s main view.

func willUnselect()

Notifies the preference pane that the main app is about to stop displaying the preference pane’s main view.

func didUnselect()

Notifies the preference pane that the main app has just stopped displaying the preference pane’s main view.

var isSelected: Bool

A Boolean value that indicates whether the preference pane is currently selected.

var shouldUnselect: NSPreferencePaneUnselectReply

A Boolean value that indicates whether the preference pane is able to be deselected.

enum NSPreferencePaneUnselectReply

Constants that indicate the preference pane's availability to be deselected.

func reply(toShouldUnselect: Bool)

Notifies the main application of the preference pane's ability to be deselected.