Weekly bite-sized screencasts on iOS development.

There are 4 episodes with tag 'animations'   Clear search

Calculating Spring Velocity

Episode #232 | 8 minutes | published on 08/19/2016
Subscribers Only
UIView has an incredibly useful spring-based animation API, but it can be difficult to know what to use for the damping and initial spring velocity parameters. In this episode, we'll break down how to compute the velocity value using the values we get from our UIPanGestureRecognizer and a little math.

Designing a Custom Download Button - Part 1

Episode #242 | 14 minutes | published on 10/27/2016
Subscribers Only
In this episode we create a custom control to serve as our download button. We start by creating a circular progress indicator using CAShapeLayer, then move on to subclassing UIControl to provide our image view and touch handling.

Designing a Custom Download Button - Part 2

Episode #243 | 14 minutes | published on 11/03/2016
Subscribers Only
Wrapping up our custom download button, this time we focus on the highlighted image and depressed state of the button, as well as transitioning to and from the progress layer.

Animating Constraints

Episode #135 | 15 minutes | published on 09/04/2014
Subscribers Only
What good is a static layout? When specifying layout using constraints, we still need to provide transitions and other animations in our interfaces. We can do this quite easily by just animating between different sets of constraints.