Inherits from TiProxy : NSObject
Declared in TiColor.h

Overview

The UIColor proxy for cases where you need to return the color that was set and you need to return the original value (like #fff) back to the user – UIColor doesn’t give you a way to get the RGB complements so this proxy does it for you.

Tasks

Properties

color

Returns the color.

@property (nonatomic, readonly) UIColor *color

Return Value

The color.

Declared In

TiColor.h

name

Returns the color name.

@property (nonatomic, readonly) NSString *name

Return Value

The color name.

Declared In

TiColor.h

Class Methods

colorNamed:

Returns color proxy by name.

+ (id)colorNamed:(NSString *)name

Parameters

name

The color name.

Return Value

The color proxy object.

Declared In

TiColor.h

Instance Methods

initWithColor:name:

Initializes the color proxy with color and name.

- (id)initWithColor:(UIColor *)color name:(NSString *)name

Parameters

color

The color.

name

The color name.

Declared In

TiColor.h