Skip to content

Commit

Permalink
Fix use of extendedDiff in README
Browse files Browse the repository at this point in the history
Closes #80
  • Loading branch information
tonyarnold authored Jan 24, 2022
1 parent 09981b9 commit 3e1835c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ collectionView.animateItemAndSectionChanges(oldData: old, newData: new, updateDa
You can also calculate `diff` separately and use it later:
```swift
// Generate the difference first
let diff = dataSource.diff(newDataSource)
let diff = dataSource.extendedDiff(newDataSource)

// This will apply changes to dataSource.
let dataSourceUpdate = { self.dataSource = newDataSource }
Expand Down

0 comments on commit 3e1835c

Please sign in to comment.