πŸ‰ An Xcode source editor extension that shows hex color info
Switch branches/tags
Nothing to show
Clone or download
Latest commit d3df663 Oct 23, 2017
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
Carthage/Checkouts/Farge Use Carthage to fetch files Apr 29, 2017
Screenshots Update gif May 8, 2017
XSEE Update app icon May 2, 2017
XcodeColorSense2.xcodeproj Add color literal May 2, 2017
XcodeColorSense2 Update app icon May 2, 2017
.gitignore Use Carthage to fetch files Apr 29, 2017
Cartfile Use Carthage to fetch files Apr 29, 2017
Cartfile.resolved Use Carthage to fetch files Apr 29, 2017
LICENSE.md Initial commit Apr 27, 2017
README.md Update README.md Oct 23, 2017

README.md

XcodeColorSense2

Story

What is that hex color? πŸ€”

All my apps use hex color now. But when browsing the source code, it's hard to know which color it is, I normally need an app or go to Chrome to checkout the color, I want to do that within Xcode

That's why I made XcodeColorSense, which shows us the color for a particular hex or rgb color. But from Xcode 8+ it is not possible to have Xcode plugin.

So this is my 2nd attempt to make that available in Xcode, through Xcode Source Editor Extension. I used Farge to find name of a hex color

I want to use framework in the extension, but Xcode keeps complaining about that http://stackoverflow.com/questions/43673353/how-to-use-framework-in-xcode-source-editor-extension

I use GifCapture to capture the gif. Here I use key binding Cmd+Ctrl+S to toggle color info

How to install

How to use

  • Color Sense is available in Editor -> Color Sense -> Color Sense. Click it to show color name, click it again to hide color name

  • Use key binding to make it more convenient

Author

Khoa Pham, onmyway133@gmail.com

Credit

  • Thanks Chris for showing me color literal