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.

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

©2017 iOS App Dev Libraries, Controls, Tutorials, Examples and Tools. All Rights Reserved.

Leave a Reply

Your email address will not be published. Required fields are marked *