Skip to content

Implement FetchedResultsCoordinator a wrapper for FetchedResultsController/Delegate #201

@jessesquires

Description

@jessesquires

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:

Metadata

Metadata

Assignees

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions