Structures
The following structures are available globally.
-
The view model that describes a
See moreUICollectionView
.Declaration
Swift
public struct CollectionViewModel
-
View model for a collection view section.
See moreDeclaration
Swift
public struct CollectionSectionViewModel : DiffableViewModel
-
MARK: - DifferenceKit Helpers Creates a type-erased Differentiable for DiffableViewModel. These are only created internally from either
See moreTableCellViewModel
orCollectionCellViewModel
, so that we can safely force cast the models back to those types.Declaration
Swift
public struct AnyDiffableViewModel
-
Metadata thats required for setting up a supplementary view.
See moreDeclaration
Swift
public struct SupplementaryViewInfo : Equatable
-
View model for a table view section.
See moreDeclaration
Swift
public struct TableSectionViewModel : DiffableViewModel
-
The view model that describes a
See moreUITableView
.Declaration
Swift
public struct TableViewModel
-
Describes the registration information for a cell or supplementary view.
See moreDeclaration
Swift
public struct ViewRegistrationInfo : Equatable