iOS 7 UIKit Dynamics: Gravity and Collisions

UIKit Dynamics is an API added in iOS 7. Dynamics animations are meant to take UIKit controls and mimic real world analogs such as an object falling due to gravity. In this post, we’ll examine how to make views fall and collide with Dynamic Behaviors.

To demonstrate Dynamics, we’ll use this little guy, hereby known as Block Man.

UIKit Dynamics

Continue reading