Reputation: 976
I saved colors in a NSArray like this:
NSArray *arr = [[NSArray alloc] initWithObjects:[UIColor blackColor], [UIColor darkGrayColor], nil];
The problem is that I don't know how to pick randomly the UIColor from this NSArray.
How to do this?
Thanks in advance.
Upvotes: 1
Views: 480