Chapter 6. Layers and Core Animation

Despite its name, core animation is much more than just animation. At the core of this framework, there is the CALayer class that, as we'll discuss in this chapter, is fundamental for the UIView class as a "presenter" for any view's drawing operation.

In this chapter, you'll learn how to work with layers and perform simple and complex animations with core animation and the UIView helper functions.

Exploring layers

Layers are behind almost all the views you encounter in iOS, and they are the very base of anything you do with core animation.

The CALayer class represents layers, and their main role is presenting content in a lightweight mode. The content is almost never drawn by the layer itself, but it is received ...

Get Learning iOS UI Development now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.