Learn how to make iOS Animations in Swift 4 through a series of hands-on tutorials and challenges.
This book is for iOS developers who already know the basics of iOS and Swift 4, and want to dive deep into animations.
Start with basic view animations and move all the way to layer animations, animating constraints, view controller transitions, and more!
You’ll learn how to move, scale and fade views. You’ll create a number of different animations to get comfortable with Swift and the basic UIKit APIs.
You’ll build on the concepts of linear animation and create more eye-catching effects using spring-driven animations. Boiiing!
You’ll learn about several class methods in UIKit that help you animate views in or out of the screen. These one-line API calls make transition effects easy to achieve.
This chapter teaches you how to combine techniques you’ve already learned in creative ways to build up even cooler animations.
You’ll use keyframe animations to unlock the ultimate achievement of an impressive UI: creating elaborate animation sequences built from a number of distinct stages.
This is a crash course on Auto Layout in case you’re not familiar with it already; you’ll need this for the next chapter.
Once you’ve worked through the project in Chapter 6, you’ll add a number of animations to it and put your newfound knowledge to good use.
You’ll start with the simplest layer animations, but also learn about debugging animations gone wrong.
Here you gain more control over the currently running animations and use delegate methods to react to animation events.
In this chapter you combine a number of simple animations and run them together as a group.
Take a tour of the shiny new CASpringAnimation class in iOS 9, which allows you to easily create layer spring animations.
Here you’ll learn about layer keyframe animations, which are powerful and slightly different than view keyframe animations.
Draw shapes on the screen via CAShapeLayer and animate its special path property.
Learn how to use CAGradientLayer to help you draw and animate gradients.
Here you will draw shapes interactively and work with some powerful features of keyframe animations.
Learn about the little known but powerful CAReplicatorLayer class.
Learn how to present view controllers via custom animated transitions.
You’ll build upon your skills with presenting view controllers and develop a really neat reveal transition for a navigation controller app.
Learn how to make the reveal transition interactive: the user will be able to scrub back and forth through the animated transition!
Learn how to create basic view animations and keyframe animations. You’ll look into using custom timing that goes beyond the built-in easing curves.
In this chapter you are going to learn about using animators with Auto Layout. Further, you will learn how to reverse animations or make additive animations for smoother changes along the way.
Learn how to drive your animations interactively based on the user’s input. For extra fun you’ll look into both basic and keyframe animations interactivity.
Create custom View Controller transitions using a UIViewPropertyAnimator to drive the transition animations. You will create both static and interactive transitions.
Learn how to set up your layers in 3D space, how to choose the distance from the camera to your layer, and how to create animations in your 3D scene.
Go further into 3D space and learn about some of the more advanced ways to create 3D Animations.
Learn how to use UIKit’s built-in particle emitters to create a fun snowfall effect.
Learn how to sequence multiple images together into a flipbook-style animation.
Very useful from a practical point of view. After reading a few chapters you are ready to be an animation rock star. Seriously worth reading.Jon M.
This book has become my single authoritative source for iOS animations. Marin introduces the rich complexities of the technology and distills it down into easily digestible layers.Jefferson W.
Hands down the best book to start learning animations for the iOS platform. Clear, concise writing with a lot of diagrams to help the reader follow along.Sagar N.