What a long chapter that turned out to be. As mentioned already, the available space only allows us to introduce a subset of the features accessible through Core Animation.
You have learned the following in this chapter:
- How to use CALayer for graphics rendering
- Using CALayer's subclasses: CAShapeLayer, CATextLayer, and CATransformLayer
- Rotating, resizing, and translating layers
- Using implicit animation with CALayer
- The purposes and methods of several flavors of animation, including basic, key-frame, and group animations
- Using CAMediaTiming objects to coordinate several staggered animations
- Wrapping property changes in CATransaction blocks, and how to nest transactions
- 3D drawing and a brief look at its matrix-based model
- Animating NSViews directly using NSAnimationContext
In the next chapter, we'll take a look at Swift's error-handling features.