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

How to automatically scroll the third card when entering the page?

Jinxiansen opened this issue · comments

Hello!
I want to scroll to the specified item, but I read #23 this answer and found that there is no cardSwiper.scrollToCard method... 🤔
3

English is not my native language; please excuse typing errors.

Hi @Jinxiansen

Yes, this function is not yet released, there is a bug that needs to be fixed before I can release it.
If you want to experiment with it or try it out, you should you use the development branch.

You can also just use the development branch in your CocoaPods podfile like this:

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

There is currently still a problem with this function so I don't really recommend using it, although there are some workarounds described in the other issue.

If you have further questions about this, please post them in #23, I'll close this issue as it's essentially a duplicate.

Hope this helps.

Happy holidays,
Joni

alright, thank you very much!
Looking forward to your release version.