JoniVR / VerticalCardSwiper

A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Animate card on button press [Feature]

bizlal opened this issue · comments

It would be cool if we could animate the card off the screen based on a button press. If anyone has done this already, please help.

This would be kind of like scrollToCard.

New Issue Checklist

Is your feature request related to a problem? Please describe.

A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

Describe the solution you'd like

A clear and concise description of what you want to happen.

Describe alternatives you've considered

A clear and concise description of any alternative solutions or features you've considered.

Additional context

Add any other context or screenshots about the feature request here.

Forgot to reference the issue in the commit, it's been implemented in 1ee6c5b :)
I'll try to release a new version soon but I was actually planning on testing some more stuff before that.

If you want to add it right now you could modify your podfile line to something like:

pod 'VerticalCardSwiper', :git => 'https://github.com/JoniVR/VerticalCardSwiper.git', :branch => 'master'

Version 2.1.0 has been released which includes the swipeCardAwayProgrammatically function! 🎉

Closing this now 😄 let me know if you happen to run into any issues with it.