JoniVR / VerticalCardSwiper

A marriage between the Shazam Discover UI and Tinder, built with UICollectionView in Swift.
MIT License
1.4k stars 101 forks source link

Can i set transperent view above the right or left selection? #50

Closed DhavalUmraliya closed 5 years ago

DhavalUmraliya commented 5 years ago

I want to set the view on left or right swipe. in short i need to differentiate like and dislike with Above view

JoniVR commented 5 years ago

Hi @DhavalUmraliya

If I understand your question correctly you should be able to do this using the didDragCard function from the VerticalCardSwiperDelegate.

Then you can add your own subview on top of the card to show the like or dislike view how you want it. See the VerticalCardSwiperDelegate documentation.