I do not fully understand the documentation for Meng To Spring.
https://github.com/MengTo/Spring
Available available features are
animate()
animateNext { ... }
animateTo()
animateToNext { ... }
and the given example for the chain:
layer.y = -50
animateToNext {
layer.animation = "fall"
layer.animateTo()
}
I do not see anywhere where these functions are actually performed. Maybe this is super straight forward, and I just missed it.
If I wanted to combine 3 animations, let's just say that layer.animation = "fall" with this, what would it look like and the difference between animateNext, animateTo and animateToNext?
source
share