UIColor
A UIColor represents a color.
Example:
UIView *myView =
[ [UIView alloc]
initWithFrame:[[UIScreen mainScreen]
applicationFrame] ];
myView.backgroundColor =
[UIColor blackColor];
self.view = myView;
[myView release];
/*
The following colors can be used:
+ blackColor
+ darkGrayColor
+ lightGrayColor
+ whiteColor
+ grayColor
+ redColor
+ greenColor
+ blueColor
+ cyanColor
+ yellowColor
+ magentaColor
+ orangeColor
+ purpleColor
+ brownColor
+ clearColor
You can also create your own colors:
+ colorWithRed:green:blue:alpha:
*/