MyCustomColorPicker: Writing a custom NSColorPicker
Version 2.0, 2017-03-09
Upgraded to macOS 10.10 SDK, improved debugging procedures.
(Full Revision History)
macOS 10.10 or later
macOS 10.10 SDK or later
The Mac OS X color pickers come in different varieties. The built in pickers are: Grayscale-Alpha, Red-Green-Blue, Cyan-Yellow-Magenta-Black, Hue Saturation-Brightness, Custom palette, Custom color list, and Color wheel. This sample picks common colors: red, green, blue, white and even a custom color.