O'Reilly logo

iOS Core Animation: Advanced Techniques by Nick Lockwood

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

13. Efficient Drawing

More computing sins are committed in the name of efficiency (without necessarily achieving it) than for any other single reason—including blind stupidity.

William Allan Wulf

In Chapter 12, “Tuning for Speed,” we looked at how to diagnose Core Animation performance problems using Instruments. There are many potential performance pitfalls when building iOS apps, but in this chapter, we focus on issues relating specifically to drawing performance.

Software Drawing

The term drawing is usually used in the context of Core Animation to mean software drawing (that is, drawing that is not GPU assisted). Software drawing in iOS is done primarily using the Core Graphics framework, and while sometimes necessary, it’s really slow compared ...

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