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

Custom Diffing algorithms for tables and collections #29

Open
stefanomondino opened this issue Feb 14, 2021 · 0 comments
Open

Custom Diffing algorithms for tables and collections #29

stefanomondino opened this issue Feb 14, 2021 · 0 comments

Comments

@stefanomondino
Copy link
Collaborator

At the moment, Boomerang does a great job handling differences and animations in table and collections when used with the RxSwiftDataSources integration.

The Core version doesn't implement anything like that and simply defer the diffing/updating logic to the developer, resulting in a naive implementation with reloadData() that may be not the best choice for large datasets.

This also prevents ReactiveSwift users to get a custom implementation of Boomerang, since there's no RxDataSources equivalent on that platform.

We should investigate to find an alternative to the (excellent) RxDataSources diffing algorithm (Differentiator + custom implementations for views) so that:

  1. it's available outside Rx environments
  2. it's compatible with macOS and watchOS (see macOS and watchOS basic support #28)

At the moment, this should be a low-prioritized task, more like an inquiry: RxDataSources is battle-tested and works really good, there should be enough valid reasons to reinvent the wheel.

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