FoundationExtension
FoundationExtension is common Foundation/UIKit/Cocoa shortcuts and snippets collection.
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Pages
UIAColorComponents Class Reference

UIColor component interface. More...

#import <UIColor.h>

Inheritance diagram for UIAColorComponents:

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

Detailed Description

UIColor component interface.

Method Documentation

+ (instancetype) componentsWithColor: (UIColor *)  color

Creates and returns color components from color.

See also
- initWithColor:
- (instancetype) initWithColor: (UIColor *)  color

Initialize color components from color.

Parameters
colorAn UIColor

Property Documentation

- (CGFloat) alpha
readnonatomicassign

Alpha component.

- (CGFloat) blue
readnonatomicassign

Blue component.

- (CGFloat) green
readnonatomicassign

Green component.

- (CGFloat) red
readnonatomicassign

Red component.


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