Core Animation for Mac OS X and the iPhone

时间:2012-08-10 04:04:31
【文件属性】:
文件名称:Core Animation for Mac OS X and the iPhone
文件大小:2.91MB
文件格式:PDF
更新时间:2012-08-10 04:04:31
Core Animation for Mac OS 1 Introduction 10 1.1 What Is Core Animation? . . . . . . . . . . . . . . . . . . 11 1.2 In This Book . . . . . . . . . . . . . . . . . . . . . . . . . 12 1.3 Acknowledgments . . . . . . . . . . . . . . . . . . . . . . 14 2 Cocoa Animation 17 2.1 Moving Without Animation . . . . . . . . . . . . . . . . . 17 2.2 Introducing Cocoa Animation . . . . . . . . . . . . . . . 20 2.3 Animation and the Animator Proxy . . . . . . . . . . . . 23 2.4 Animation and Interpolation . . . . . . . . . . . . . . . . 24 3 Animation Types 28 3.1 Basic Animation . . . . . . . . . . . . . . . . . . . . . . . 28 3.2 Keyframe Animations . . . . . . . . . . . . . . . . . . . . 29 3.3 Grouping Animations . . . . . . . . . . . . . . . . . . . . 35 3.4 Animating Transitions . . . . . . . . . . . . . . . . . . . 40 3.5 Custom Animation and Interpolation . . . . . . . . . . . 43 4 Animation Timing 45 4.1 Animation Timing Curves . . . . . . . . . . . . . . . . . 45 4.2 Cocoa Animation Timing . . . . . . . . . . . . . . . . . . 52 4.3 Chaining Animations . . . . . . . . . . . . . . . . . . . . 54 5 Layer-Backed Views 58 5.1 The Road Ahead . . . . . . . . . . . . . . . . . . . . . . . 59 5.2 View and Layer Hierarchy . . . . . . . . . . . . . . . . . 59 5.3 View Shadow . . . . . . . . . . . . . . . . . . . . . . . . . 61 5.4 View Alpha . . . . . . . . . . . . . . . . . . . . . . . . . . 63 5.5 Rotated Views and Controls . . . . . . . . . . . . . . . . 63 5.6 Layer Backing and Performance Concerns . . . . . . . 65 6 Filtered Views 68 6.1 View Filters . . . . . . . . . . . . . . . . . . . . . . . . . . 69 6.2 Background Filters . . . . . . . . . . . . . . . . . . . . . 71 6.3 Content Filters . . . . . . . . . . . . . . . . . . . . . . . . 73 6.4 Compositing Filters . . . . . . . . . . . . . . . . . . . . . 78 7 Core Animation 81 7.1 Layer-Hosting Views . . . . . . . . . . . . . . . . . . . . 82 7.2 Forming UIs with Layers . . . . . . . . . . . . . . . . . . 84 7.3 Organizing Layers in Trees . . . . . . . . . . . . . . . . . 85 7.4 Layer Layout with Constraints . . . . . . . . . . . . . . 90 8 Core Animation Layers 96 8.1 Animation Types and Layers . . . . . . . . . . . . . . . . 96 8.2 Animation Timing . . . . . . . . . . . . . . . . . . . . . . 101 8.3 Rotation and Layers . . . . . . . . . . . . . . . . . . . . . 107 8.4 Filters and Layers . . . . . . . . . . . . . . . . . . . . . . 109 8.5 Managing a Layer’s Contents . . . . . . . . . . . . . . . 109 8.6 Drawing in Layers . . . . . . . . . . . . . . . . . . . . . . 110 8.7 Tiled Layers . . . . . . . . . . . . . . . . . . . . . . . . . 111 8.8 Animations and Actions . . . . . . . . . . . . . . . . . . 115 9 Layer Scrolling and Geometry 118 9.1 Scrolling Layers . . . . . . . . . . . . . . . . . . . . . . . 118 9.2 Geometry Properties . . . . . . . . . . . . . . . . . . . . 124 9.3 Layers in 3D Space . . . . . . . . . . . . . . . . . . . . . 132 10 Layers in 3D 133 10.1 Adding Depth to Layer Appearance . . . . . . . . . . . . 133 10.2 Custom Layer Layout . . . . . . . . . . . . . . . . . . . . 137 10.3 3D Transformations . . . . . . . . . . . . . . . . . . . . 143 11 Media Layers 149 11.1 QuickTime Layers . . . . . . . . . . . . . . . . . . . . . . 149 11.2 Quartz Composer Composition Layers . . . . . . . . . . 158 11.3 OpenGL Layers . . . . . . . . . . . . . . . . . . . . . . . 161 12 Core Animation on the iPhone 165 12.1 Cocoa Touch . . . . . . . . . . . . . . . . . . . . . . . . . 165 12.2 Layers and Animations . . . . . . . . . . . . . . . . . . . 168 12.3 OpenGL Layers . . . . . . . . . . . . . . . . . . . . . . . 174 Report erratum this copy is (P1.0 printing, October 2008) Prepared exclusively

网友评论

  • 对于掌握core animation非常有帮助
  • 正在学习MAC开发,对于 core Animation很有兴趣,谢谢提供资源。