FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
UIColor HTML color creations. More...
#import <UIColor.h>
Instance Methods | |
(UIColor *) | - initWithHTMLExpression: |
Initialize with html color code. More... | |
Class Methods | |
(UIColor *) | + colorWithHTMLExpression: |
Creates and returns color object with html color code. More... | |
UIColor HTML color creations.
+ (UIColor *) colorWithHTMLExpression: | (NSString *) | code |
Creates and returns color object with html color code.
This method accepts formats like "#fff" or "#0f0f0f" for formal colors. "#dddf" or "#fdfdfdff" for alpha value. If "#" prefix doesn't exist, select constant from HTML color name table. "orange" for css and "transperent" for clear color.
- (UIColor *) initWithHTMLExpression: | (NSString *) | code |
Initialize with html color code.
This method accepts formats like "#fff" or "#0f0f0f" for formal colors. "#dddf" or "#fdfdfdff" for alpha value. If "#" prefix doesn't exist, select constant from HTML color name table. "orange" for css and "transperent" for clear color.