You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This swaps out Dwifft for DifferenceKit, which uses Paul Heckel's more efficient diffing algo (same one used by IGListKit). Most of the work here is adding layers to avoid Self/associatedtype requirements issues with our protocols. These layers could be removed in the future though, pending changes that would allow this in Swift 5 or generics changes to TableViewModel/CollectionViewModel.
This also fixes#126
Diffing for collection views with multiple sections fails. And possibly other scenarios.
We don't use this in PlanGrid, so we aren't currently affected by this.
Seems to be a bug in
Dwifft
. Switching toIGListKit/Diffing
is now a top priority.See also: #125
Currently had to disable this test:
https://github.com/plangrid/ReactiveLists/blob/master/Tests/CollectionView/CollectionViewDriverDiffingTests.swift#L78
UPDATE:
Repro steps
For both table and collection views:
The text was updated successfully, but these errors were encountered: