you can make the dictionary in a separatte class..for example Mydic and in MyDic you make the NSdictionary for set and get the rgb..
But i think what if you call this for others views you can make a plist and set and get this values more easy. and the advantage is what you can use the same data in all views..
Only need what make a class for sharing the code read a write plist and import to the view controller.
|