Instance Property


A Boolean value that determines whether the color picker is enabled.


var isEnabled: Bool { get set }


If the picker is currently displayed as a popover, and you set the value of this property to false, the picker is dismissed.

See Also

Configuring the Color Picker

var colorList: NSColorList!

The list of colors displayed in the color picker.

var allowedColorSpaces: [NSColorSpace]?

Controls the color spaces that the color picker can produce.

var showsAlpha: Bool

A Boolean value that controls whether the color picker allows picking of colors with alpha values other than 1.0.