129 points · by jpdlla · 12y ago · 24 comments
I started a little example project too. So far, I have some sliders that let you play with the decay animation.
https://github.com/callmeed/pop-playground
If anyone wants to help, drop me an email.
That said, I still have a hard time seeing how Pop is much different than iOS 7's animate with springs API.
If you are referring to the UIKit keyframe animation API that was added in iOS 7, that API has existed for some time at the Core Animation level. Keyframes are difficult to get right, and don't model physical systems like springs very well.
Could be useful for some things.
So I tried with a custom transitionController and it doesn't play along nicely without using CADisplayLink.
It's the same concept as CAAnimation, you need to manually step through the animation.
It's not bad per say, if you need to morph some layers or animate stuff like shadows or anything that doesn't work out of the box with [UIView animate:....]
http://facebook.github.io/rebound
http://github.com/facebook/rebound
twitter: @rebound_lib