I was messing with the documentation of UIViewPropertyAnimator and I was hoping to find a way to combine two UIViewPropertyAnimator.
Something like this:
let firstAnimator = UIViewPropertyAnimator(
duration: 2,
dampingRatio: 0.4,
animations: animation1
)
let secondAnimator = UIViewPropertyAnimator(
duration: 2,
dampingRatio: 0.4,
animations: animation2
)
firstAnimator.addAnimator(secondAnimator, withDelay: 1)
firstAnimator.startAnimation()
I am missing a UIViewPropertyAnimatorGroup or something like this does this even exist?