File tree Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Expand file tree Collapse file tree 1 file changed +11
-0
lines changed Original file line number Diff line number Diff line change 2
2
UIKit Dynamic UIDynamicAnimator UIDynamicBehavior
3
3
4
4
##主要用来理解实战iOS7的物理引擎
5
+
6
+ ![ 图片三] ( https://github.com/ZhipingYang/UIKitDynamics/raw/master/demo.png )
7
+
8
+ UIKitDynamics | 作用及用法
9
+ ----- | -----
10
+ UIDynamicAnimator | 引擎载体
11
+ [ UIGravityBehavior] ( https://github.com/ZhipingYang/UIKitDynamics/blob/master/DynamicsDemo/GravityViewController.m ) | 重力行为
12
+ [ UICollisionBehavior] ( https://github.com/ZhipingYang/UIKitDynamics/blob/master/DynamicsDemo/CollosionViewController.m ) | 碰撞行为
13
+ [ UIAttachmentBehavior] ( https://github.com/ZhipingYang/UIKitDynamics/blob/master/DynamicsDemo/AttachmentViewController.m ) | 链接行为(弹簧效果)
14
+ [ UISnapBehavior] ( https://github.com/ZhipingYang/UIKitDynamics/blob/master/DynamicsDemo/SnapViewController.m ) | 吸附行为
15
+ [ UIPushBehavior] ( https://github.com/ZhipingYang/UIKitDynamics/blob/master/DynamicsDemo/PushViewController.m ) | 受力行为
You can’t perform that action at this time.
0 commit comments