《Core Animation Cookbook》.pdf
文本预览下载声明
Core Animation
Cookbook
Contents
CoreAnimationCookbook 4
Organization of This Document 4
See Also 4
Drawing 5
Drawing Layer Content With Application Kit Classes 5
Timing 7
Using a Single Timing Function For a Keyframe Animation 7
DocumentRevisionHistory 9
2008-03-11 | Copyright © 2008 Apple Inc. All Rights Reserved.
2
Listings
Drawing 5
Listing 1 Drawing into a layer using Application Kit classes 5
Timing 7
Listing 1 Using a single timing function for a keyframe animation 7
2008-03-11 | Copyright © 2008 Apple Inc. All Rights Reserved.
3
Core Animation Cookbook
This document provides instructions and code fragments that describe how to perform common Core Animation
tasks.
Organization of This Document
This document has the following chapters:
● “Drawing” (page 5) describes various drawing techniques when working with layers.
● “Timing” (page 7) describes various timing techniques when working with animations.
See Also
These programming guides discuss some of the technologies that are used by Core Animation:
● CoreAnimationProgrammingGuide describes the Core Animation technology and shows how to use the
Core Animation API.
● Quartz2DProgrammingGuide describes the two-dimensional drawing engine used to draw the content
of an CALayer instance.
● CoreImageProgrammingGuide describes the OS X image processing technology and shows how to use
the Core Image API.
2008-03-11 | Copyright © 2008 Apple Inc. All Rights Reserved.
4
Drawing
This chapter discusses drawing issues when using Core Animation and other technologies.
Drawing Layer Content With Application Kit Classes
Core Animation CALayerclass defi
显示全部