SwipeSelectingCollectionView
SwipeSelectingCollectionView copied to clipboard
How to customisation in project(vertically selection cell)?
I already setup swipeselectingcollectionview and working fine but i want to customisation. i want to vertically swipe and select column cell please give me suggestion how to customized in my project .
If the gif shows what you want, you can simply change the collection view's scroll direction to horizontal. But the cells will be scrolled horizontally instead of vertically.
If you want the collection view's scroll direction to be vertical and also want to select cells vertically, the library isn't capable of that.
https://github.com/ShaneQi/SwipeSelectingCollectionView/blob/master/Sources/SwipeSelectingCollectionView.swift#L63
This is where the library finds out which cell your finger is on. The code below in that method is for calculating the indices between the begin index and end index. You can try to change the logic of calculating indices.