Here is implementation of color picker control which is similar to one that used in original Mac applications like Numbers, Pages, Keynote. Original one has lots of small pictures.
This control based on NSSegmentedControl and have numbers of useful thinks to know, so it's not just implementation but also good place to look:
- how to subclass NSSegmentedCell
- how is working NSTrackingArea
- create NSPopover
Control implemented for my future app, which is does not sponsored yet. So, contribution or financial support are welcome! Thank you!