Under the Bridge

ColorSense for Xcode

Now here’s a nifty plugin for your colour programming:

ColorSense for Xcode

ColorSense is an Xcode plugin that makes working with UIColor (and NSColor) more visual.

There are many tools that allow you to insert a UIColor/NSColor from a color picker or by picking a color from the screen. But once you’ve inserted it, it can be hard to remember which color you’re actually looking at in your code because you basically just have a series of numbers.

This is where ColorSense comes in: When you put the caret on one of your colors, it automatically shows the actual color as an overlay, and you can even adjust it on-the-fly with the standard Mac OS X color picker…

Screen Shot 2012-09-16 at 11.25.58 AM.png

Pretty neat, huh? Handy functionality and a lovely open source example of how to write an Xcode plugin, too!

h/t: @steipete!

1