I’m stuck with a problem here in UIColor.
I’ll be getting color names from webservices like
Red, Blue, Magenta ……. and so.
how can i set the backgroundColor of a view using this.
i can only find class methods with these color names ([UIColor redColor], [UIColor blueColor], [UIColor magentaColor]) but i’m not able to write a code which programatically calls these methods cause the color names i get are dynamic.
PLease Help…..
Thank you.
The Key Value Coding mechanism allows you to interact with class’s properties using string representations of the property names.