11. Color Pickers
“Yellow and blue make green.”
—Basic scientific fact
I remember my first color computer; it was a Macintosh IIcx and was purchased with the help of my Uncle David. Moving from a Macintosh Plus to a Macintosh IIcx was an incredible experience. Not only did I have a faster computer that was truly expandable (via NuBus slots—remember those), but also I could finally program in color!
So here I am, programming in color, making icons, color tables, simple games, and utilities. The first thing I learned to do programmatically was how to let the user choose the color she wanted for any particular need. The Macintosh OS has had a system color picker since Color QuickDraw, now called the color panel. With OS X, it is better than ever ...
Get Mac OS® X Advanced Development Techniques now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.