How can I programmatically spawn an unlimited number of UIImageViews
on to the screen in a random location on a time increment. The random location would be:CGPoint(arc4random() % (481), arc4random() % (321),20,20)
I just don't understand how to constantly create new ones with one image variable and a for loop. Or an NSTimer
that on every increment adds a new image to the screen.
I know there are some tutorials out there for this, but the only ones I could find used automatic reference counting. It should be simple to create, and a link is fine.
Other questions:
UI is for user-interface, but since i'm not using a storyboard or xib, would there be a better type of imageView
to use.