About Color Label Button
OK, so the last time I released a Cocoa UI subclass was about 3 years ago, and it rendered iTunes-style table listings. I figure 3 years is long enough, and I may as well make it easier for you as well.
Have you ever wanted to use those great little color label selectors like the ones in the Finder’s “Get Info” dialogs? Well, avid readers, this is your lucky day!
This is an early version, so it is a little messy around the edges, but the basic gist is that it is dynamically rendered, so if you feel like swapping out the array of colours, go for it. Also, bindings are enabled, but I’m not convinced they are working properly.
If you have any suggestions or patches, shoot them through to me via my contact form.
Future Plans
- Add an inspector to the IB Palette to allow:
- Custom color definition;
- Whether the “clear button” shows;
- Add other UI elements?
- Get the colors the same as Apple’s colors in the Finder. They use images for their label selector (cheats).
Preview
License
Color Label Button is licensed under the
Checking Color Label Button out of the repository
svn co http://svn.tonyarnold.com/cocoa/Color%20Label%20Button/trunk