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

14. Image IO

The idea of latency is worth thinking about.

Kevin Patterson

In Chapter 13, “Efficient Drawing,” we looked at performance issues relating to Core Graphics drawing and how to fix them. Closely related to drawing performance is image performance. In this chapter, we investigate how to optimize the loading and display of images from the flash drive or over a network connection.

Loading and Latency

The time taken to actually draw an image is not usually the limiting factor when it comes to performance. Images consume a lot of memory, and it may be impractical to keep all the images that your app needs to display loaded in memory at once, meaning that you will need to periodically load and unload images while the app is running.

The ...

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