Return to Snippet

Revision: 55748
at February 21, 2012 01:59 by bradfields


Initial Code
self.theColour = [[UIColor alloc] initWithRed:(210/255.f) green:(121/255.f) blue:(156/255.f) alpha:1];

Initial URL

                                

Initial Description
Setup a colour.  Values are between 0 and 1 so need to do a little bit of maths instead of just boshing them in from Photoshop

Initial Title
Create UIColor From RGB Values

Initial Tags

                                

Initial Language
Objective C