FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
|
UIColor component interface. More...
#import <UIColor.h>
Instance Methods | |
(instancetype) | - initWithColor: |
Initialize color components from color. More... | |
Class Methods | |
(instancetype) | + componentsWithColor: |
Creates and returns color components from color. More... | |
Properties | |
CGFloat | red |
Red component. More... | |
CGFloat | green |
Green component. More... | |
CGFloat | blue |
Blue component. More... | |
CGFloat | alpha |
Alpha component. More... | |
UIColor component interface.
+ (instancetype) componentsWithColor: | (UIColor *) | color |
Creates and returns color components from color.
- (instancetype) initWithColor: | (UIColor *) | color |
Initialize color components from color.
color | An UIColor |
|
readnonatomicassign |
Alpha component.
|
readnonatomicassign |
Blue component.
|
readnonatomicassign |
Green component.
|
readnonatomicassign |
Red component.