I make a test application for iOS on swift .
I have a task in front of me:
In the application, the start button is pressed - geometric figures are falling from above. When the application is minimized - when the screen is filled with figures - a push should arrive that the area is filled with figures.
I understand that you first need to deal with the animation of objects, while you need to prescribe a rule that they will not fall into each other, but will go on top. Next, you need to write a rule according to which the event will occur when the figure reaches a certain top point + to deal with the guns.
Could you tell me where to start? Which way to dig at all?
Is it possible to do this using the UIView method animateWithDuration:animations: :?
