Skip to Content
iOS Core Animation: Advanced Techniques
book

iOS Core Animation: Advanced Techniques

by Nick Lockwood
August 2013
Intermediate to advanced content levelIntermediate to advanced
356 pages
9h 54m
English
Addison-Wesley Professional
Content preview from iOS Core Animation: Advanced Techniques

12. Tuning for Speed

Code should run as fast as necessary, but no faster.

Richard E. Pattis

In Parts I and II, we learned about the awesome drawing and animation features that Core Animation has to offer. Core Animation is powerful and fast, but it’s also easy to use inefficiently if you’re not clear what’s going on behind the scenes. There is an art to getting the best performance out of it. In this chapter, we explore some of the reasons why your animations might run slowly and how you can diagnose and fix problems.

CPU Versus GPU

There are two types of processor involved in drawing and animation: The CPU (central processing unit) and GPU (graphics processing unit). On modern iOS devices, these are both programmable chips that can run (more ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Start your free trial

You might also like

Graphics and Animation on iOS

Graphics and Animation on iOS

Vandad Nahavandipoor
Swift iOS Programming for Kids

Swift iOS Programming for Kids

Steffen D. Sommer, Jim Campagno

Publisher Resources

ISBN: 9780133440744