I have a pickerView which has a component of colors.
I have a textField (textOther), now I have NSMutableArray of all the available colors which are explicitly defin
It´s better to create a method to convert for NSString to UIColor. You shoud have a NSString with for example whiteColor or blueColor and you can convert it in the following way:
-(UIColor *)getColor:(NSString*)col
{
SEL selColor = NSSelectorFromString(col);
UIColor *color = nil;
if ( [UIColor respondsToSelector:selColor] == YES) {
color = [UIColor performSelector:selColor];
}
return color;
}