Summary

In this chapter, you've learned a lot about animation. You are now aware that you can easily animate a view's property using the powerful UIViewPropertyAnimator object. You learned what timing functions are and how they affect animation. Also, more importantly, you saw how to make use of springs to make your animations look more lifelike.

Once you learned the animation basics, you also learned how to add custom animations to view controller transitions. The complexity for this does not necessarily lie in the animations themselves. The web of collaborating objects makes it quite hard to grasp custom view controller transitions at first. Once you have implemented this a few times, it will get easier to make sense of all the moving parts, and you'll see how all the building blocks fall right into place.

Despite the amount of information already present in this chapter, it does not cover every single aspect of animation. Just the most important parts of animations are covered, so you can utilize them to build better, more engaging apps. If you want to learn more about animation, you should look for resources on Core Animation. This is the framework iOS uses under the hood to drive all of the animations we've created.

With these animations in place, the HelloContacts app is complete. Also, with that, the first section of this book is complete. You've learned everything you need to know about creating layouts with Auto Layout, displaying data in lists, and pushing new views to the screen. The next section will focus on Swift and how you can make use of some of Swift's most powerful features, such as protocols and value types.

..................Content has been hidden....................

You can't read the all page of ebook, please click here login for view all page.
Reset
18.218.212.102