Log In
Or create an account ->
Imperial Library
Home
About
News
Upload
Forum
Help
Login/SignUp
Index
About This eBook
Title Page
Copyright Page
Dedication Page
Contents at a Glance
Table of Contents
About the Author
Acknowledgments
Take Our Survey
Editor’s Note: We Want to Hear from You!
Reader Services
Preface
Audience and Material
Book Structure
Before We Begin
I: The Layer Beneath
1. The Layer Tree
Layers and Views
Layer Capabilities
Working with Layers
Summary
2. The Backing Image
The contents Image
Custom Drawing
Summary
3. Layer Geometry
Layout
anchorPoint
Coordinate Systems
Hit Testing
Automatic Layout
Summary
4. Visual Effects
Rounded Corners
Layer Borders
Drop Shadows
Layer Masking
Scaling Filters
Group Opacity
Summary
5. Transforms
Affine Transforms
3D Transforms
Solid Objects
Summary
6. Specialized Layers
CAShapeLayer
CATextLayer
CATransformLayer
CAGradientLayer
CAReplicatorLayer
CAScrollLayer
CATiledLayer
CAEmitterLayer
CAEAGLLayer
AVPlayerLayer
Summary
II: Setting Things in Motion
7. Implicit Animations
Transactions
Completion Blocks
Layer Actions
Presentation Versus Model
Summary
8. Explicit Animations
Property Animations
Animation Groups
Transitions
Canceling an Animation in Progress
Summary
9. Layer Time
The CAMediaTiming Protocol
Hierarchical Time
Manual Animation
Summary
10. Easing
Animation Velocity
Custom Easing Functions
Summary
11. Timer-Based Animation
Frame Timing
Physical Simulation
Summary
III: The Performance of a Lifetime
12. Tuning for Speed
CPU Versus GPU
Measure, Don’t Guess
Instruments
A Worked Example
Summary
13. Efficient Drawing
Software Drawing
Vector Graphics
Dirty Rectangles
Asynchronous Drawing
Summary
14. Image IO
Loading and Latency
Caching
File Format
Summary
15. Layer Performance
Inexplicit Drawing
Offscreen Rendering
Blending and Overdraw
Reducing Layer Count
Summary
Index
Where Are the Companion Content Files?
← Prev
Back
Next →
← Prev
Back
Next →