Save Custom Colors
Hi,
in my app, I define custom colors using the initWithPatternImage method. I then want to save many of these colors (possibly up to 100) for use in another view controller. I thought I could write these colors into a mutable array, write the array to NSUserDefaults, then read the array on the other end. However, this does not seem to be working, because when I load the colors from the array, they always turn out to be white. How would I do this correctly? Thanks!
|