MyCustomColorPicker: Writing a custom NSColorPicker

Last Revision:
Version 2.0, 2017-03-09
Upgraded to macOS 10.10 SDK, improved debugging procedures.
(Full Revision History)
Build Requirements:
macOS 10.10 or later
Runtime Requirements:
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.