Tuesday 30 April 2013

What is UIColor?

UIColor is a subclass of UIKit. Its an object which represent color. You can create it based on RGB or HSB and even patterns (UIImage).

Colors can also have alpha (UIColor *color = [otherColor colorWithAlphaComponent: 0.3]).

A handful of "standard" colors have class methods (e.g. [UIColor greenColor]).

written by: infinitywebseo  

No comments:

Post a Comment