SebastianBoldt / Jelly

🌊 - Jelly is a library for animated, non-interactive & interactive viewcontroller transitions and presentations with the focus on a simple and yet flexible API.
http://www.sebastianboldt.com/
MIT License
2.45k stars 121 forks source link

Changed jellyness velocity to double to support decimal velocity values #56

Closed darko55555 closed 5 years ago

darko55555 commented 5 years ago

What is done

Changed jellyness velocity to double.

Why

To support decimal velocity values.

SebastianBoldt commented 5 years ago

I think this is not compatible with the the new Jelly Version 2.0.0 anymore. What we need to do know is to extend the Spring Parameter with a custom case that receives damping and velocity and we also need to update the Spring+Values.swift Extension to adapt to this changes. I will take a look at this later this week and open up a new Pull Request and add you as a reviewer.

SebastianBoldt commented 5 years ago

I added a case named custom to the Spring Type, so velocity and damping can be specified with custom CGFloat values in #58