September 2002
Intermediate to advanced
1272 pages
31h 12m
English
Color wells are the user interface that Cocoa provides for selecting and displaying a color. A color well displays a swatch representing the current color settings, and when clicked, the color panel is presented to the user. Most color wells are configured to show a border around them, which indicates if the color well is the active color well in the application, as shown in Figure 17.3. Color wells can be the target of a color dragging operation as well as an originator.

NSColorWell, a subclass of NSControl, is the implementation class of the color well user ...
Read now
Unlock full access