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

Best practices for large collection of objects in CKCollectionViewDataSource #60

Closed
siuying opened this issue Apr 4, 2015 · 3 comments
Labels

Comments

@siuying
Copy link

siuying commented Apr 4, 2015

I have a very large collection of objects, kind of like Facebook feed, and would like to present it with CKCollectionViewDataSource.

Typically I'd use NSFetchedResultsController where I can listen for changes on context for a NSFetchRequest. Do you have any recommendation to do it in ComponentKit with data backed by Core Data?

@qiaoyan
Copy link

qiaoyan commented May 19, 2015

Did you try "batchsize" in core data?

@ghost
Copy link

ghost commented Aug 4, 2015

Thank you for reporting this issue and appreciate your patience. We've notified the core team for an update on this issue. We're looking for a response within the next 30 days or the issue may be closed.

@ocrickard
Copy link
Contributor

This is not really componentkit-specific. You should handle the large number of items in the same way you would with any other collection view. Ensure batching of insertions, and you're probably going to be OK.

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

No branches or pull requests

3 participants