Get Updates By E-mail 

Article Written By:
Johann Dowa

Motion – A Swift Animation Library That Enables Neatly Animating One View Into Another

  •  
  •  
  •  
  •  
  •  

Motion is an open source library from CosmicMind providing a collection of view animations, and a neat motion transition feature that will allow you to animate one view into another view.

Motion allows you to animate many different values including the location, angle and color with customizable duration and delay.

This snippet shows how to animate a view’s color and rotation:

view.motion(.backgroundColor(.blue), .rotationAngle(45))

This animation from the readme shows Motion transitions in action:

Motion

You can find Motion on Github here.

A great library for view animations.


  •  
  •  
  •  
  •  
  •  

Submit A Resource

Have you created a useful tutorial, library or tool for iOS development that you would like to get in front of our 300,000+ monthly page views from iOS developers?

You can submit the url here.

The resources we feel will appeal to our readers the most will be posted on the front page.

Comments