CocoaPods trunk is moving to be read-only. Read more on the blog, there are 14 months to go.
| TestsTested | ✓ |
| LangLanguage | Obj-CObjective C |
| License | MIT |
| ReleasedLast Release | Dec 2016 |
Maintained by Angelo Villegas.
AVHexColor was inspired by the lack of hexadecimal colour integration of iOS. AVHexColor is a class with hex support for both NSColor and UIColor. Supports both prefixed with "#" and without for string-based hex colours.
And a lot of convenience methods...
// hex
UIColor *colorWithHex = [AVHexColor colorWithFullHex: 0xFFFF0000];
// string
UIColor *colorWithHex = [AVHexColor colorWithHexString: @"#8f6c"];// hex
NSColor *colorWithHex = [AVHexColor colorWithFullHex: 0xFFFF0000];
// string
NSColor *colorWithHex = [AVHexColor colorWithHexString: @"#8f6c"];via CocoaPods
platform :ios
pod 'AVHexColor', '~> 3.0.0'git subtree add --prefix=AVHexColor --squash https://github.com/anjerodesu/AVHexColor.git mastergit submodule add https://github.com/anjerodesu/AVHexColor.git AVHexColorAVHexColor.h and AVHexColor.m files and #import the header file (AVHexColor.h) to your projectColorWithHex is available under the MIT license. See the LICENSE file for more info.