arnauddorgans / InfiniteLayout

Horizontal and Vertical infinite scrolling feature for UICollectionView with Paging, NSProxy delegate, Reactive extension, SectionModel & AnimatableSectionModel support
MIT License
516 stars 63 forks source link

Not Called UICollectionViewDelegate and UICollectionViewDelegateFlowLayout #7

Open vkcldhkd opened 5 years ago

vkcldhkd commented 5 years ago

Hi. Thanks for making a good library.

The methods in UICollectionViewDelegate and UICollectionViewDelegateFlowLayout have not been called since pod update.

installed InfiniteLayout from an empty project, it will be called properly. But not called in my project.

When using InfiniteLayout / Rx, the app dies in setupRx(setDelegate).

스크린샷 2019-03-28 오후 5 39 33

Why isn't it called only in my project??????? I need your help....

arnauddorgans commented 5 years ago

Hi!

Can i see your code please ? :)

vkcldhkd commented 5 years ago

I used the source in the example..

arnauddorgans commented 5 years ago

Are you setting RxInfiniteCollectionView delegate somewhere ? because you don't have to. If you want to add additional flow delegate or whatever you have to use:

infiniteCollectionView.rx.setDelegate(YOURDELEGATE)
vkcldhkd commented 5 years ago

i'm not set delegate in storyboard and code.. It seems to collide somewhere, but I don't know the answer.

neil-degoo commented 5 years ago

I have the same crash with the latest version