A set of methods that provides a way to add color pickers—custom user interfaces for color selection—to an app’s color panel.
SDK
- macOS 10.0+
Framework
- App
Kit
Declaration
protocol NSColorPickingCustom
Overview
NSColor
works with the NSColor
protocol—which provides basic behavior for a color picker—to enable custom color pickers.
Note
This protocol must be implemented by a custom picker, or an error will occur.