Skip to content
This repository has been archived by the owner on Aug 1, 2024. It is now read-only.

Collection View Datasource not getting Updated #14

Open
zappe-roman opened this issue Jul 19, 2016 · 1 comment
Open

Collection View Datasource not getting Updated #14

zappe-roman opened this issue Jul 19, 2016 · 1 comment

Comments

@zappe-roman
Copy link

I am using a single collectionview to load three collection of data based on three button clicks.First collection has say 2 items so the datasource gets updated, now if any of the remaining two collections has data more than 2 items, app crashes.

[__NSArrayM objectAtIndex:]: index 2 beyond bounds [0 .. 1]

@michaelkamphausen
Copy link
Contributor

Have you called reloadData on your collection view after you've changed the dataSource?
Anyway, this pod has not been designed with dynamically changing dataSources in mind. You might need to extend it for your use case.

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

No branches or pull requests

2 participants