Skip to content

xiaofei86/UIKitDynamics

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LICENSE  SUPPORT 

The repositorie is designed to help you learn UIKit dynamics animation. First, all the dynamic behaviors are practiced. Then,there are three practical applications to explore the usage scenarios. Finally,through a independent project to a comprehensive application UIKit dynamics is a new member of UIKit in iOS7, As the animation process controllability is low, performance consumption is relatively large, so the usage scenarios is relatively small. But it can create complex animation with physical simulation effect like a 2D physics engine. If such an effect is used in the right place will give the interaction pleasantly surprised, you will feel in the back of the scene application.

本项目用来帮助你学习 UIKitDynamics。先把 UIKitDynamics 的所有 Behavior 都进行了演示,然后提供三个实际场景的应用来探索它的使用场景,最后通过独立项目来进行综合应用。

UIKitDynamics 是 iOS7 新加入 UIKit 家族的动画。由于动画过程可控性低,性能消耗也比较大,所以使用场景相对较少。但是借此可以做出来复杂的仿真动画效果,甚至可以媲美 2D 物理引擎。如果把这样的效果用在合适的地方将会给交互带来惊喜,你将在后边的场景应用中感受到。

XFSolarSystem(独立项目)

The FPS of the GIF is very low. You can click here to download the mov or find Images/11.mov in the project for more details.

图片 GIF 帧数过低。你可以点击这里下载视频或者在项目找到 Images/11.mov 查看完整效果。

UIGravityBehavior(重力行为)

UICollisionBehavior(碰撞行为)

UIAttachmentBehavior(连接行为)

UISnapBehavior(吸附行为)

UIPushBehavior(推动行为)

UIDynamicItemBehavior (仿真行为)

UIPendulumViewController (综合应用)

UIPhotoWallViewController (场景应用)

UITransformViewController (场景应用)

UIAlertViewController(场景应用)

About

UIKit Dynamics demo with 11 example 学习动力学动画的11个Demo

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published