Weekly bite-sized screencasts on iOS development.

There are 3 episodes with tag 'uikit dynamics'   Clear search

Fun with UIKit Dynamics

Episode #137 | 15 minutes | published on 09/18/2014
Subscribers Only
In this episode we explore the powerful UIKit Dynamics that was introduced with iOS 7. With Dynamics you can simulate real world interactions between your views. We'll go over the basics of collision, gravity, rigid bounds, and leave off with an example of why you shouldn't use it to make games.

UIAttachments

Episode #140 | 9 minutes | published on 10/09/2014
Subscribers Only
In this episode we take another look at UIKit Dynamics, this time focusing on UIAttachmentBehavior, which allows you to create springs between elements to fix them in place or make them swing.

Simulating Rope with UIKit Dynamics

Episode #141 | 23 minutes | published on 10/16/2014
Subscribers Only
In this episode we use UIKit Dynamics to create something fun: Rope! By attaching many segments together with attachments, we can simulate the physics of a rope. We also discover the best way to move an object on the screen in conjunction with existing attachments.