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
.
Challenge
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