Xcode plug-in for working with edelabar/EMDPalettes UIColor category to allow code-completion of colors from OSX color palettes.
NOT READY FOR USE. This plug-in is currently VERY unstable. Please check back soon for a working version, unless of course you'd like to help.
Build the EMDColorPalettes target in the Xcode project and the plug-in will automatically be installed in ~/Library/Application Support/Developer/Shared/Xcode/Plug-ins
. Relaunch Xcode and colorNamed:
will magically start autocompleting your colors.
Developed and tested against Xcode 6.1 and 6.2 beta. It will probably work with others, but you will need to add the UUIDs to the DVTPlugInCompatibilityUUIDs key in Info.plist. Please test and send a pull request with any additional versions that work.
Execute the following from your OSX Terminal:
$ defaults read /Applications/Xcode.app/Contents/Info DVTPlugInCompatibilityUUID
Add the returned UUID to the DVTPlugInCompatibilityUUIDs key in Info.plist.
This project is HEAVILY borrowed/copied/inspired by the excellent KSImageNamed-Xcode plug-in by Kent Sutherland. It would not have been possible without his source code. The entire concept is based on some great info about OSX Color Palettes in the article XCode Tip: Color Palette by Natasha Murashev (@natashatherobot).
This plug-in was started using kattrali/Xcode-Plugin-Template and everything I learned about Xcode plug-in development I got from the excellent series of articles on the topic by Black Dog Foundry starting with this one.