Contents

currentMode()

Returns the receiver’s current mode (or submode, if applicable).

Declaration

@MainActor func currentMode() -> NSColorPanel.Mode

Return Value

The current color picker mode. The returned value should be unique to your color picker. See this protocol description’s list of the unique values for the standard color pickers used by the Application Kit.

See Also

Getting Color Picker Information