GithubHelp home page GithubHelp logo

bigday / uikitdynamics Goto Github PK

View Code? Open in Web Editor NEW

This project forked from xiaofei86/uikitdynamics

0.0 2.0 0.0 18.41 MB

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

License: MIT License

Objective-C 100.00%

uikitdynamics's Introduction

#UIKitDynamics

LICENSE  PLATFORM  SUPPORT  BLOG 

This repositorie is a demo of UIKit dynamics animation. All the dynamic behaviors are practiced. There are 3 practical applications and 1 independent project of solar system also. UIKit dynamics is a new member of UIKit in iOS7, There are few usage scenarios. Because it is UIView based animation, the performance should be lower than CoreAnimation. But it can create complex animation with physical simulation effect like a simple 2D physics engine.

This repositorie has a lot of GIF images. So it will be very card in the first load. You can wait for the picture loading completed to view it.

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

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

LPSolarSystem(独立项目)

This independent project is a random number generator simulated the solar system. The GIF image frames is lower. You can click here to download the mov or find Images/11.mov in the project to watch .

独立项目使用 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

James Cloos 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.