Possible Duplicate:
Picking a Random Object in an NSArray
How to select the random item from an array
NSMutableArray *array= [[NSMutableArray alloc] initWithObjects:@"first", @"second", @"third", @"fourth", nil];
What is the way to select random item from an array containing n number of elements
To get unique value every time use srand() with time stamp.