[![CI Status](http://img.shields.io/travis/Tomoya Hirano/Animator.svg?style=flat)](https://travis-ci.org/Tomoya Hirano/Animator)
To run the example project, clone the repo, and run pod install
from the Example directory first.
#Usage
Animator(duration: 1.0, frameRate: 30.0, curve: Curve.easeOut(), animations: { (value) in
self.v.center = CGPoint(x: self.view.bounds.width * value, y: 300)
}).resume()
Curve(calc: { (x) -> CGFloat in
return CGFloat(1.0 - pow(1.0 - x, 2.0))
})
x is 0.0 to 1.0.
Animator is available through CocoaPods. To install it, simply add the following line to your Podfile:
pod "Animator"
Tomoya Hirano, [email protected]
Animator is available under the MIT license. See the LICENSE file for more info.