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

How can I change the size of card view? #80

Closed IKorabel closed 3 years ago

IKorabel commented 3 years ago

Hello, it could be stupid question. How can I change the size of the card view?

JoniVR commented 3 years ago

Hi,

You can implement the sizeForItem method of VerticalCardSwiperDelegate or change the topInset and sideInset properties as mentioned in the readme.