为了方便大家使用本书,本节介绍一下本书中实例代码和图示的相关约定。
本书作为一本介绍编程方面的书,书中有很多实例代码,我们下载本书代码并解压代码,大家会看到下面的目录结构:
├── ch02 │ ├── 2.1.2 FillingRect │ ├── 2.1.3 StrokeRect │ ├── 2.1.4 ImageString │ ├── 2.2 StrokedFilledTriangle │ ├── 2.3 BezierCurve │ ├── 2.4.2 Quartz2UKit │ ├── 2.4.3 CTM │ ├── 2.4.3 CTM(组合变换) │ └── 2.4.4 Affine ├── ch03 │ ├── 3.1.1 ImageSample │ ├── 3.1.2 ImagePicker │ ├── 3.3 FilterEffects │ └── 3.4 FaceDetect ├── ch04 │ ├── 4.1.1 AnimationBlock │ ├── 4.1.2 │ │ ├── 4.1.2.2 AnimationCallBack2.0 │ │ └── 4.1.2.2 AnimationCallBack4.0 │ ├── 4.1.3 │ │ ├── Animation Transition2.0 │ │ └── Animation Transition4.0 │ ├── 4.2 TransitionAnimator │ ├── 4.3 DynamicBehaviorSample │ ├── 4.4 ParallaxEffect │ ├── 4.5.1 Layers │ ├── 4.5.2 Implicit Animation │ ├── 4.5.3 Explicit Animation │ ├── 4.5.4 Keyframe Animation │ └── 4.5.5 AnimationBlock ├── ch05 │ ├── 5.3.1 MusicPlayer │ ├── 5.3.2 AudioRecorder │ ├── 5.3.3 SpeechSynthesis │ ├── 5.4 SystemSound │ └── 5.5 OpenALPlayer ├── ch06 │ ├── 6.2.2 AVFoundationSample │ ├── 6.2.2 MPMoviePlayerSample │ ├── 6.3.1 VideoRecord_UIImagePickerController │ ├── 6.3.2 VideoRecord_AVFoundation │ └── 6.4 EditVideoSample ├── ch07 │ ├── 7.2 MPMoviePlayerSample │ ├── 7.3.3 MPMoviePlayerSample │ ├── 7.3.4 HybridStreamingSample ├── ch08 │ ├── 8.2.1 MPMoviePlayerSample │ ├── 8.2.2 AVFoundationSample │ └── 8.2.3 HybridStreamingSample ├── ch09 │ ├── 9.2.1~9.2.2 MusicPlayer │ ├── 9.2.3 MusicPlayer │ ├── 9.3 MusicPlayer │ └── 9.4 MusicPlayer └── ch10 └── School
目录ch02~ch10代表第2章~第9章的实例代码或一些资源文件,其中工程或工作空间的命名有如下几种形式:
为了更形象有效的说明知识点或描述操作,本书添加了很多图示,下面对图示中的一些符号含义进行简要说明:
图1-1 图中圈框
有时读者会看到图1-1所示的圈框,圈框中的内容是选中的内容、或重点要说明的需要引起注意的内容。
如图1-2、图1-3和图1-4所示,箭头用于说明用户的动作,一般箭尾是动作开始的地方,箭头指向动作结束的地方。图1-2使用实线箭头表示选中控件修改属性。图1-3使用虚线箭头表示操作。图1-4所示箭头代表界面的跳转。
图1-2 图中箭头1
图1-3 图中箭头2
图1-4 图中箭头3
为了描述操作动作我们在图中放置了
等手势符号,这说明单击或操作了该处的按钮等控件,如图1-5所示。
![]() |
![]() |
![]() |
图1-5 图中手势
上述内容包含本书使用的大部分符号,个别特殊符号将会在使用的时候再具体说明。