Latest 0.3.4
Homepage https://github.com/noppefoxwolf/Animator
License MIT
Platforms ios 10.0
Authors

[![CI Status](http://img.shields.io/travis/Tomoya Hirano/Animator.svg?style=flat)](https://travis-ci.org/Tomoya Hirano/Animator)
Version
License
Platform

Animator

Example

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()

create curve

Curve(calc: { (x) -> CGFloat in
      return CGFloat(1.0 - pow(1.0 - x, 2.0))
})

x is 0.0 to 1.0.

Requirements

Installation

Animator is available through CocoaPods. To install
it, simply add the following line to your Podfile:

pod "Animator"

Author

Tomoya Hirano, [email protected]

License

Animator is available under the MIT license. See the LICENSE file for more info.

Latest podspec

{
    "name": "Animator",
    "version": "0.3.4",
    "summary": "Curve value creator.",
    "description": "Animator is able to create original curve value. and able to set framerate.",
    "homepage": "https://github.com/noppefoxwolf/Animator",
    "license": {
        "type": "MIT",
        "file": "LICENSE"
    },
    "authors": {
        "Tomoya Hirano": "[email protected]"
    },
    "source": {
        "git": "https://github.com/noppefoxwolf/Animator.git",
        "tag": "0.3.4"
    },
    "platforms": {
        "ios": "10.0"
    },
    "source_files": "Animator/Classes/**/*"
}

Pin It on Pinterest

Share This