- put random image on uibutton
- random()
- -(void)randomizeArray:(NSMutableArray *)array
- {
- int i, n = [array count];
- for(i = 0; i < n; i++) {
- int destinationIndex = random() % (n - i) + i;
- [array exchangeObjectAtIndex:i withObjectAtIndex:destinationIndex];
- }
- }