-
Notifications
You must be signed in to change notification settings - Fork 63
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Cards Swipe Direction #2
Comments
Hi @Gantaios! Thank you for your notice. In order to have direction of the layout vertical, not from right to left, one have to rewrite the class to use Implementing this feature is on my roadmap. I will try to add it as soon as possible. |
I have the same request. 👍 UPDATE : Looked into the code and did it myself.... https://pastebin.com/KjiYipEu |
@Viscmad Hey! That's nice! Do you want to form it in separate Pull Request? |
@filletofish Done 👍 :D |
guys, how can I do for direction left to right? :) |
I tested the @filletofish answer but the scroll has weird issues & it's not perfect. is there any other solution to change scroll direction to vertical? |
Finally I came up with this: import UIKit open class CardsCollectionViewLayout: UICollectionViewLayout {
} // MARK: - Layout computations
} |
Hi thanks for your excellent repository i just want to have this thing how to
change the swipe direction i want the cards to swipe up and down.
The text was updated successfully, but these errors were encountered: