Version: 1.0

Posted: 2006-10-09

Build Requirements: Xcode 2.3

Runtime Requirements: Mac OS X 10.3

View Source Code:

Download Sample Code (“MyCustomColorPicker.zip”, 51.7K)



Description

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.

Document Revision History

Date Notes
2006-10-09Shows how to write a custom color picker using Cocoa.