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

5. Transforms

Unfortunately, no one can be told what the Matrix is. You have to see it for yourself.

Morpheus, The Matrix

In Chapter 4, “Visual Effects,” we looked at some techniques to enhance the appearance of layers and their contents. In this chapter, we investigate CGAffineTransform, which can be used to rotate, reposition, and distort our layers, and at CATransform3D, which can change boring flat rectangles (albeit rounded rectangles with drop-shadows) into three-dimensional surfaces.

Affine Transforms

In Chapter 3, “Layer Geometry,” we made use of the UIView transform property to rotate the hands on a clock, but we didn’t really explain what was going on behind the scenes. The UIView transform property is of type CGAffineTransform, and ...

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