colorWithHex:
Returns an autoreleased UIColor instance with the hexadecimal color.
+ (UIColor *)colorWithHex:(int)hex
Parameters
- hex
A color in hexadecimal notation: 0xCCCCCC
, 0xF7F7F7
, etc.
Return Value
A new autoreleased UIColor instance.
Declared In
PrettyDrawing.h