Quote:
Originally Posted by roberthuttinger
is there a 'cheat sheet for how to do these basic things?
|
Yes, its all in the documentation.
1 + arc4random() %10
would return a random number between 1-10.
You will need to define the image for each number in the if. Scan through the documentation for "UIImageView"