Commit 62788be8 by Daniel Dahan

updated README to test new gif animations

parent 308477ce
...@@ -39,7 +39,8 @@ Motion offers a clean API to add animations to your views and layers. Simply pas ...@@ -39,7 +39,8 @@ Motion offers a clean API to add animations to your views and layers. Simply pas
| ![Rotate](http://www.cosmicmind.com/motion/rotate.gif) | Rotate | view.animate(.rotate(180)) | | ![Rotate](http://www.cosmicmind.com/motion/rotate.gif) | Rotate | view.animate(.rotate(180)) |
| ![Scale](http://www.cosmicmind.com/motion/scale.gif) | Scale | view.animate(.scale(3)) | | ![Scale](http://www.cosmicmind.com/motion/scale.gif) | Scale | view.animate(.scale(3)) |
| ![Size](http://www.cosmicmind.com/motion/size.gif) | Size | view.animate(.size(CGSize(width: 200, height: 200))) | | ![Size](http://www.cosmicmind.com/motion/size.gif) | Size | view.animate(.size(CGSize(width: 200, height: 200))) |
| ![Spin](http://www.cosmicmind.com/motion/spin.gif) | Spin | view.animate(.spin(x: 1, y: 1, z: 1)) | | ![Spin](http://www.cosmicmind.com/motion/spin.gif) | Spin | - .spin(x:CGFloat, y:CGFloat, z:CGFloat)
- .spin(_ point:CGPoint, z:CGFloat) |
| ![Spring](http://www.cosmicmind.com/motion/spring.gif) | Spring | view.animate(.spring(stiffness: 15, damping: 2)) | | ![Spring](http://www.cosmicmind.com/motion/spring.gif) | Spring | view.animate(.spring(stiffness: 15, damping: 2)) |
| ![Translate](http://www.cosmicmind.com/motion/translate.gif) | Translate | view.animate(.translate(x: 50, y: 100)) | | ![Translate](http://www.cosmicmind.com/motion/translate.gif) | Translate | view.animate(.translate(x: 50, y: 100)) |
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment