Simple tween library for swift
let tween = Tween(10) // Tweening during 10 sec
tween.start() // Start tweening
if tween.isTweening {
print(tween.position) // position 0.0~1.0
}
tween.pause() // Pause tweening
tween.start() // Restart
Add the following to your Cartfile
:
github "natmark/simple-tween"
simple-tween is available under the MIT license. See the LICENSE file for more info.