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

Implement FetchedResultsCoordinator a wrapper for FetchedResultsController/Delegate #201

Open
3 of 9 tasks
jessesquires opened this issue Jul 4, 2021 · 0 comments
Open
3 of 9 tasks
Assignees
Milestone

Comments

@jessesquires
Copy link
Owner

jessesquires commented Jul 4, 2021

The goal is to remove all boilerplate with FRC.

The FetchedResultsCoordinator will:

  • create and own the NSFetchedResultsController
  • be the controller's delegate, implement NSFetchedResultsControllerDelegate
  • be the dataSource via DiffableDataSource APIs
  • UICollectionView only

Todo

  • implement initial FetchedResultsCoordinator (get working with configuring cells)
  • update example project
  • add support for supplementary views
  • cell interaction: didSelect, etc.
  • cell swipe actions (delete, favorite)
  • data source prefetching?
  • update guides
  • add docs
  • add tests

Notes & docs:

@jessesquires jessesquires added this to the 10.0.0 milestone Jul 4, 2021
@jessesquires jessesquires self-assigned this Jul 4, 2021
jessesquires added a commit that referenced this issue Jul 4, 2021
- update example project. completely rewrite.

ref #201
jessesquires added a commit that referenced this issue Jul 6, 2021
- Implements supplementary views for `FetchedResultsCoordinator`
- They are optional, thus need to be type-erased to satisfy generic constraints and compiler
- Update examples

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

No branches or pull requests

1 participant