Skip to content
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

cellForItemAtIndexPath not getting called #18

Open
jalbano opened this issue Oct 12, 2016 · 1 comment
Open

cellForItemAtIndexPath not getting called #18

jalbano opened this issue Oct 12, 2016 · 1 comment

Comments

@jalbano
Copy link

jalbano commented Oct 12, 2016

This is odd. I've been using this in a project for quite a while and it was working fine. I recently did a new build and now the collection view I'm using this for doesn't show any items. In the debugger I can see that numberOfItemsInSection is returning the correct (> 0) number -- but cellForItemAtIndexPath is never getting called.

I tried switching to the cocoapod and updating to the latest -- same thing.

Anyone else seeing this? Any thoughts?

Additional info -- I've been using estimatedItemSize and a cell w/ autolayout.

If I comment out the estimatedItemSize assignment, the cells appear (but are all sized the same).

Thanks
John

@TrGiLong
Copy link

@jalbano. I have a problem like yours. I use estimatedItemSize and UICollectionView only displays a first cell.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants