setPickerMode(_:)
Specifies the color panel’s initial picker.
Declaration
class func setPickerMode(_ mode: NSColorPanel.Mode)Parameters
- mode:
A constant specifying which color picker mode is initially visible. This is one of the symbolic constants described in
Color Panel Modes.
Discussion
This method may be called at any time, whether or not an application’s NSColorPanel has been instantiated.