Version: 1.0

Posted: 2006-10-09

Build Requirements: Xcode 2.3

Runtime Requirements: Mac OS X 10.3

View Source Code:

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



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.

Did this document help you?
Yes: Tell us what works for you.
It’s good, but: Report typos, inaccuracies, and so forth.
It wasn’t helpful: Tell us what would have helped.