O'Reilly logo

Learning iOS UI Development by Yari D'areglia

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

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

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required