uh

UIColor-HexString

Easy, Android-compatible hex strings to UIColor.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

48

Maintenance

Last Commit

5yrs ago

Contributors

4

Package

Dependencies

0

License

BSD

Categories

Readme

UIColor-HexString

Easy, Android-compatible hex strings to UIColor. Code from Micah Hainline, found on http://stackoverflow.com/questions/1560081/how-can-i-create-a-uicolor-from-a-hex-string/7180905#7180905. All I've done is package it for CocoaPods.

Example:

[UIColor colorWithHexString:@"#2D9EDF"]

Or, in Swift:

UIColor.init(hexString:"#2D9EDF")

Has support for the following hex formats:

  • #RGB
  • #ARGB
  • #RRGGBB
  • #AARRGGBB

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100