Rightpoint / RZViewActions

A category on UIView that provides animation structure similar to SKAction from SpriteKit.
Other
103 stars 13 forks source link

Springy animation? #16

Closed x4080 closed 8 years ago

x4080 commented 8 years ago

Hi, can springy animation work with this cool library ? Little question not an issue actually :)

jvisenti commented 8 years ago

@x4080 There is support for this via

+ (RZViewAction *)springAction:(RZViewActionBlock)action 
                   withDamping:(CGFloat)dampingRatio
               initialVelocity:(CGFloat)velocity
                       options:(UIViewAnimationOptions)options
                      duration:(NSTimeInterval)duration;

If this method isn't working for you please let me know!

x4080 commented 8 years ago

Thanks @jvisenti

jvisenti commented 8 years ago

Sure thing. Closing this until something else comes up regarding springy animations