natmark / simple-tween

Simple tween library for swift
MIT License
0 stars 0 forks source link

simple-tween

Simple tween library for swift

Usage

let tween = Tween(10) // Tweening during 10 sec
tween.start() // Start tweening

Check tween progress

if tween.isTweening {
  print(tween.position) // position 0.0~1.0
}

pause tweening

tween.pause() // Pause tweening
tween.start() // Restart

Instration

Carthage

Add the following to your Cartfile:

  github "natmark/simple-tween"

License

simple-tween is available under the MIT license. See the LICENSE file for more info.