Skip to content

emiliopavia/DiffableDataSourceBug

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

This sample project highlights an issue I'm facing with diffable data sources. The app is simple: there's a table view that shows a list of items, and a bar button item that changes the text of the first visible cell. Changes are made by modifying the underlying model, creating a new snapshot and applying it to the data source. When tapping the button you can choose whether or not using animation.

When you don't animate the update, the cell is updated correctly. However when animatingDifferences is true, the cellProvider block in the data source isn't called. If you scroll the table view (making the cell disappear) and go back, the cell shows the updated value.

About

Sample project for FB7588509

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages