Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
UIColor category / extension to make hex color creation from NSString possible
Objective-C
Branch: master
Pull request Compare This branch is 9 commits ahead of jonasschnelli:master.

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
CHANGELOG
COPYRIGHT
LICENSE
README
TODO
UIColor+i7HexColor.h
UIColor+i7HexColor.m

README

This UIColor Categorie (Extend) will allow you to create UIColor instances with a "Color-Hex-NSString".
Example:
---
label.textColor = [UIColor colorWithHexString:@"ff0000"]; // red color
//or
label.textColor = [UIColor colorWithHexString:@"f00"]; // red color
//or
label.textColor = [UIColor colorWithHexString:@"ff000055"]; // red color with some alpha 
---

or 
UIColor *redColor = [UIColor colorWithHex:0xff0000ff];


Version
=======
0.2

License
=======
BSD


Author
======
Jonas Schnelli / include7 AG - www.include7.ch

Edited by
======
Vladimir Boichentsov  - http://www.developers-life.com/uicolor-from-hex.html


URL
===
https://github.com/sakrist/UIColor-i7HexColor

Info
====
Have fun while using and extending this package.
Something went wrong with that request. Please try again.