Video Tutorial: iOS Animation with Swift Part 7: CAAnimationGroups

Learn how to group several CABasicAnimations into one group and execute them simultaneously.


Update 12/23/14: Series updated for Xcode 6.1.1

Update: As a user on the forums has noticed the color tint animation does not kick in without specifying a “fromValue” for the tint animation. Just update tintBackgroundColor(…) to include: tint.fromValue = layer.backgroundColor.


Your challenge in this tutorial is to create a method to animate the login button’s corner radius. See the Challenge PDF for full details!

Download lecture slides

Download demo starter

Download Demo Finished

Download Challenge Finished

View previous video: Part 6: Basic Layer Animations

View next video: Part 8: CAKeyframeAnimations and Animation Keys




More like this