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

11. Timer-Based Animation

I can guide you, but you must do exactly as I say.

Morpheus, The Matrix

In Chapter 10, “Easing,” we looked at CAMediaTimingFunction, which enables us to control the easing of animations to add realism by simulating physical effects such as acceleration and deceleration. But what if we want to simulate even more realistic physical interactions or to modify our animation on-the-fly in response to user input? In this chapter, we explore timer-based animations that allow us to precisely control how our animation will behave on a frame-by-frame basis.

Frame Timing

Animation appears to show continuous movement, but in reality that’s impossible when the display pixels are at fixed locations. Ordinary displays cannot display ...

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