rwbutler / AnimatedGradientView

🎞 Powerful gradient animations made simple for iOS.
https://medium.com/@rwbutler/animated-gradients-on-ios-aa117551e533
MIT License
454 stars 30 forks source link

Interruptible animations #12

Open guidedways opened 4 years ago

guidedways commented 4 years ago

It would be nice to be able to interactively control the animation and set a faction / completion / percentage as we do with UIViewPropertyAnimators.

rwbutler commented 4 years ago

I'll investigate and see what's possible here 👍

guidedways commented 4 years ago

Thanks! This may be a side-wish, but it would be nice to also support interactive animations from within a UIViewControllerAnimatedTransitioning. So for instance, when transitioning between two view controllers, the gradient view could be placed behind child view controllers and have it animate to its new colors interactively.