Skip to content

Implement FetchedResultsCoordinator a wrapper for FetchedResultsController/Delegate #201

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:

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Projects

No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions