Skip to content

Jinxiansen/DiffableExample

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 

Repository files navigation

DiffableExample

func applyDataSource(words: [WordItem]) {
    
    var snapshot = dataSource.snapshot()
    snapshot.appendSections([.word])
    snapshot.appendItems(words, toSection: .word)
    
    dataSource.apply(snapshot, animatingDifferences: true, completion: nil)
    
}

About

NSDiffableDataSourceSnapshot

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages