GithubHelp home page GithubHelp logo

raybon-lee / uikitdynamics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiaofei86/uikitdynamics

0.0 2.0 0.0 17.17 MB

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

License: MIT License

Objective-C 100.00%

uikitdynamics's Introduction

#UIKitDynamics

LICENSE  PLATFORM  SUPPORT  BLOG 

学习UIKitDynamics时做的Demo,把UIKitDynamics的所有Behavior都进行了实践,还有三个实际场景的应用和一个独立项目。UIKitDynamics是iOS7新加入UIKIt家族的动画,使用场景比较少。由于是基于UIView的动画,效率肯定不会有CoreAnimation高。但是借此可以做出来复杂的仿真动画效果,甚至可以算是简单的2D物理引擎了。

  • 由于GIF图片较多,首次加载的时候播放很卡,可以等所有图片加载完再看。

#独立项目(LPSolarSystem)

独立项目使用UIKitDynamics模拟太阳系制作随机数生成器。图片由于GIF帧数过低,效果很差,可以在这里下载视频或者在项目找到Images/11.mov观看。

##重力行为(UIGravityBehavior) 图片备用链接

##碰撞行为(UICollisionBehavior) [图片备用链接](http://d.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=8902b8faaed3fd1f3209a13200755422/63d0f703918fa0ec03734fd9209759ee3c6ddba9.jpg)

##连接行为(UIAttachmentBehavior) [图片备用链接](http://g.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=9ed898fc307adab439d0184bbbefc221/8435e5dde71190ef1007b90bc81b9d16fcfa6061.jpg)

##吸附行为(UISnapBehavior) [图片备用链接](http://g.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=627e8a0af61f3a295ec8d6c6a91ecd0c/4bed2e738bd4b31c692bbf6f81d6277f9f2ff8cb.jpg)

##推动行为(UIPushBehavior) [图片备用链接](http://a.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=82d0f7b4332ac65c6305657bcbc9c32c/80cb39dbb6fd5266684117c0ad18972bd50736ff.jpg)

##仿真行为(UIDynamicItemBehavior) [图片备用链接](http://g.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=62de8a0af61f3a295ec8d6c6a91ecd0c/4bed2e738bd4b31c698bbf6f81d6277f9f2ff8ab.jpg)

##综合应用(UIPendulumViewController) [图片备用链接](http://h.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=65edcef20f24ab18e416e23f05c197f0/14ce36d3d539b6000d782463ef50352ac75cb7ab.jpg)

##场景应用(UIPhotoWallViewController) [图片备用链接](http://b.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=35cd70e21b950a7b71354dcc3aea13e4/bd315c6034a85edff474d5f74f540923dc54756d.jpg)

##场景应用(UITransformViewController) [图片备用链接](http://g.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=d07917139652982201333acbe7f10af6/241f95cad1c8a7865f4d61da6109c93d71cf50fa.jpg)

##场景应用(UIAlertViewController) [图片备用链接](http://g.picphotos.baidu.com/album/s%3D680%3Bq%3D90/sign=9e4298fc307adab439d0184bbbefc221/8435e5dde71190ef109db90bc81b9d16fcfa60fb.jpg)

uikitdynamics's People

Contributors

xiaofei86 avatar

Watchers

 avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.