FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
UIColor(HTMLColor) Category Reference

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...
 

Detailed Description

UIColor HTML color creations.

Method Documentation

+ (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.


The documentation for this category was generated from the following file: