欢迎来到天天文库
浏览记录
ID:34573791
大小:286.82 KB
页数:21页
时间:2019-03-08
《Animation Types and Timing Programming Guide.pdf》由会员上传分享,免费在线阅读,更多相关内容在学术论文-天天文库。
1、AnimationTypesandTimingProgrammingGuideContentsIntroductiontoAnimationTypesandTimingProgrammingGuide4OrganizationofThisDocument4SeeAlso4AnimationClassRoadmap6Timing,Timespaces,andCAAnimation8MediaTimingProtocol8RepeatingAnimations9FillMode9AnimationPacing9
2、AnimationDelegates11Property-BasedAnimations12Property-BasedAbstraction12BasicAnimations13ConfiguringaBasicAnimation’sInterpolationValues13AnExampleBasicAnimation14KeyframeAnimations15ProvidingKeyframeValues15KeyframeTimingandPacingExtensions16AnExampleKey
3、frameAnimation16TransitionAnimation18CreatingaTransitionAnimation18ConfiguringaTransition18DocumentRevisionHistory202010-05-18
4、Copyright©2010AppleInc.AllRightsReserved.2Figures,Tables,andListingsAnimationClassRoadmap6Figure1CoreAnimationclassesandprotocol7
5、Timing,Timespaces,andCAAnimation8Figure1CubicBeziercurverepresentationsofthepredefinedtimingfunctions10Listing1CustomCAMediaTimingFunctioncodefragment11Property-BasedAnimations12Figure13secondbasicanimationofalayer’spositionproperty13Figure25secondkeyframe
6、animationofalayer’spositionproperty15Listing1CABasicAnimationcodefragment14Listing2CAKeyframeAnimationcodefragment16TransitionAnimation18Table1DefaultCATransitionpropertyvalues18Table2Commontransitiontypes19Table3Commontransitionsubtypes192010-05-18
7、Copyri
8、ght©2010AppleInc.AllRightsReserved.3IntroductiontoAnimationTypesandTimingProgrammingGuideThisdocumentdescribesthefundamentalconceptsinvolvingthetimingandanimationclassesusedwithCoreAnimation.CoreAnimationisanObjective-Cframeworkthatcombinesahigh-performanc
9、ecompositingenginewithasimpletouseanimationprogramminginterface.Note:Animationisaninherentlyvisualmedium.TheHTMLversionofAnimationTypesandTimingProgrammingGuidecontainsQuickTimemovies(alongwithstaticimages)thatshowexampleanimationstohelpillustrateconcepts.
10、ThePDFversioncontainsonlythestaticimages.YoushouldreadthisdocumenttogainanunderstandingofworkingwithCoreAnimationinaCocoaapplication.TheObjective-C2.0ProgrammingLanguageshouldbeconsideredaprerequisitebecauseC
此文档下载收益归作者所有