Chapter 12. Performance

In This Chapter

Hardware Acceleration

Rules of Thumb

Tiled Layers

Multithreaded Animation

Core Animation was designed with performance in mind. It first appeared as Layer Kit and was designed to run on a small device (the iPhone and iPod touch), which had a limited amount of RAM, a small CPU, and unlike most desktop computers, a tiny GPU. Core Animation was built for speed and efficiency, but that doesn’t mean you can’t tweak your code even more.

As with any other complex system, performance is a consideration when dealing with Core Animation. Fortunately, Core Animation does a lot of the heavy performance lifting for you. However, when working with a complex animation, you can refine the code even further to ...

Get Core Animation: Simplified Animation Techniques for Mac now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.