UIColor(ColorWithHex) Category Reference
| Declared in | UIColor+ColorWithHex.h |
Class Methods
colorWithHex:
Returns a UIColor instance based on the hexidecimal color value hexValue.
+ (UIColor *)colorWithHex:(int)hexParameters
- hex
A six-digit hexidecimal integer.
Return Value
A UIColor object.
Availability
v1.0
Declared In
UIColor+ColorWithHex.hcolorWithHex:alpha:
Returns a UIColor instance based on the hexidecimal color value hexValue with an opacity of alpha.
+ (UIColor *)colorWithHex:(int)hex alpha:(CGFloat)alphaParameters
- hex
A six-digit hexidecimal integer.
- alpha
An alpha value from 0 to 1.
Return Value
A UIColor object.
Availability
v1.0
Declared In
UIColor+ColorWithHex.h