15 #import <UIKit/UIKit.h>
57 - (UIColor *)initWith8bitRed:(UInt8)red green:(UInt8)green blue:(UInt8)blue alpha:(UInt8)alpha;
62 + (UIColor *)colorWith8bitRed:(UInt8)red green:(UInt8)green blue:(UInt8)blue alpha:(UInt8)alpha;
71 - (UIColor *)initWith8bitWhite:(UInt8)white alpha:(UInt8)alpha;
77 + (UIColor *)colorWith8bitWhite:(UInt8)white alpha:(UInt8)alpha;
84 - (UIColor *)initWith32bitColor:(UInt32)value;
89 + (UIColor *)colorWith32bitColor:(UInt32)value;
102 - (UIColor *)initWithHTMLExpression:(NSString *)code;
108 + (UIColor *)colorWithHTMLExpression:(NSString *)code;
120 - (UIColor *)colorWithAlpha:(CGFloat)alpha;
125 - (UIColor *)mixedColorWithColor:(UIColor *)color ratio:(CGFloat)ratio;
136 @property(nonatomic,readonly) CGFloat red;
138 @property(nonatomic,readonly) CGFloat green;
140 @property(nonatomic,readonly) CGFloat blue;
142 @property(nonatomic,readonly) CGFloat alpha;
149 - (instancetype)initWithColor:(UIColor *)color;
154 + (instancetype)componentsWithColor:(UIColor *)color;
UIColor creations using UIAColorComponents.
Definition: UIColor.h:115
UIColor component interface.
Definition: UIColor.h:133
UIColor shortcuts.
Definition: UIColor.h:22
UIColor convinient creation methods.
Definition: UIColor.h:44
UIColor HTML color creations.
Definition: UIColor.h:96
CGColorSpaceRef CGColorSpace
CGColorSpace.
Definition: UIColor.h:32
UIAColorComponents * components
Color component property. nil if unavailable.
Definition: UIColor.h:27
CGColorSpaceModel CGColorSpaceModel
CGColorSpaceModel.
Definition: UIColor.h:36