DataSources
-
A class for backporting
See moreUITableViewDiffableDataSource
introduced in iOS 13.0+, tvOS 13.0+. Represents the data model object forUITableView
that can be applies the changes with automatic diffing.Declaration
Swift
open class TableViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> : NSObject, UITableViewDataSource where SectionIdentifierType : Hashable, ItemIdentifierType : Hashable
-
A class for backporting
See moreUICollectionViewDiffableDataSource
introduced in iOS 13.0+, tvOS 13.0+. Represents the data model object forUICollectionView
that can be applies the changes with automatic diffing.Declaration
Swift
open class CollectionViewDiffableDataSource<SectionIdentifierType, ItemIdentifierType> : NSObject, UICollectionViewDataSource where SectionIdentifierType : Hashable, ItemIdentifierType : Hashable