brocoo / BRFlabbyTable

Bouncy and distorded table view cells, available on Cocoapods
Apache License 2.0
814 stars 84 forks source link

Smoother transitions when tapped #2

Open cerupcat opened 10 years ago

cerupcat commented 10 years ago

Any tips for adding in the ability to make it smoother when it goes from one direction to another (or tapped). Right now when you tap, it sets the velocity to 0 and it snaps into place instead of easing in.

The video below shows an example of what I mean regarding easing in (how i'd like). http://162.243.98.252/videos/MakingSwipe/MakingSwipe.hyperesources/NikeSwipe.mov

brocoo commented 10 years ago

That's funny you posted this video, I came across it a while ago and that's pretty much what got me started on BRFlabbyTable (which was also the inspiration for the Android version my flatmate did: FlabbyListView) This demo is from the Nike app: Making There's definitely room for improvement on BRFlabbyTable regarding the easing you mentioned, but I suspect the Nike app is not using a UITableView. If you download the app you can see that the scrolling has a much different feeling than a regular tableView, and the way the cells change their heights as they bounce. Let me know what you think.