pronebird / UIScrollView-InfiniteScroll

UIScrollView ∞ scroll category
MIT License
1.06k stars 148 forks source link

addInfiniteScroll is not called when horizontal collection view scrolled till end. #48

Closed monica18p closed 6 years ago

monica18p commented 7 years ago

Hi Pronebird, I have a horizontal collectionview i.e. it could be scrolled only horizontally.

self.view.addSubview(self.collectionView!)
collectionView?.addInfiniteScroll(handler: { [weak self] (scrollView) in
            let collectionView = scrollView
            ....
.....

        })

This closure is not called when collection view is scrolled till end.

pronebird commented 7 years ago

Hi @monica18p,

So far it only supports vertical flow, but it would great to see horizontal behavior implemented.

monica18p commented 7 years ago

Alrighty!

pronebird commented 6 years ago

Fixed in #71