facebookarchive / pop

An extensible iOS and OS X animation library, useful for physics-based interactions.
Other
19.66k stars 2.88k forks source link

support more timing functions #52

Open kimon opened 10 years ago

kimon commented 10 years ago

CAMediaTimingFunction is limited to timing functions that can be modeled using a cubic-bezier curve. Add support for timing functions not otherwise expressible.

References: https://github.com/warrenm/AHEasing http://stackoverflow.com/questions/5161465/how-to-create-custom-easing-function-with-core-animation

hfossli commented 10 years ago

Ideally they are defined as blocks so it is easy to use custom timing function.

https://github.com/jjackson26/JMJParametricAnimation/blob/master/JMJParametricAnimation/JMJParametricAnimationBlocks.m

grp commented 10 years ago

If you want a custom timing function implemented as a block, POPCustomAnimation supports that use case natively.

ghost commented 9 years ago

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.