UIColor(TKCategory) Category Reference
Declared in | UIColor+TKCategory.h UIColor+TKCategory.m |
Class Methods
colorWithHex:
Creates and returns a color object using the specific hex value.
+ (UIColor *)colorWithHex:(unsigned int)hex
Parameters
- hex
The hex value that will decide the color.
Return Value
The UIColor
object.
Declared In
UIColor+TKCategory.h
colorWithHex:alpha:
Creates and returns a color object using the specific hex value.
+ (UIColor *)colorWithHex:(unsigned int)hex alpha:(CGFloat)alpha
Parameters
- hex
The hex value that will decide the color.
- alpha
The opacity of the color.
Return Value
The UIColor
object.
Declared In
UIColor+TKCategory.h
colorWithHexString:
Creates and returns a color object using the specific hex value.
+ (UIColor *)colorWithHexString:(NSString *)hexString
Parameters
- hexString
The hex value that will decide the color.
Return Value
The UIColor
object.
Declared In
UIColor+TKCategory.h