I am new to I-Phone application development.I am facing an problem.
I like to change the colour of text at run time.
I have an button I like to retrieve all the colour option as an TableView.After choosing the colour from the table the colour of text should change automatically..
How to retrieve the colour list to enter the Colour Option in an Array for implementation.
I’m pretty sure there isn’t a way to get the list of colors automatically. You need to make an
NSArrayand fill it yourself with whichever colors you want. If you want to attach each color a name, either create aclass(let’s call thisNamedColor) withUIColor *color; NSString *name;and add theclasscomponents into the array, or useNSDictionary(there are more options on doing this).