Protocols
The following protocols are available globally.
-
View model for the individual cells of a
See moreUICollectionView.Declaration
Swift
public protocol CollectionCellViewModel : DiffableViewModel, ReusableCellViewModelProtocol -
View model for supplementary views in collection views.
See moreDeclaration
Swift
public protocol CollectionSupplementaryViewModel : ReusableSupplementaryViewModelProtocol
-
A view model that can participate in an automatic diffing algorithm.
See moreDeclaration
Swift
public protocol DiffableViewModel
-
Describes a cell view model. Unifies table cell and collection cell view models.
See moreDeclaration
Swift
public protocol ReusableCellViewModelProtocol -
Describes a supplementary view model. Unifies table supplementary and collection supplementary view models.
See moreDeclaration
Swift
public protocol ReusableSupplementaryViewModelProtocol
-
View model for the individual cells of a
See moreTableViewModel.Declaration
Swift
public protocol TableCellViewModel : DiffableViewModel, ReusableCellViewModelProtocol -
Protocol that needs to be implemented by table view cell view models that want to provide edit actions.
See moreDeclaration
Swift
public protocol TableViewCellModelEditActions -
Protocol that needs to be implemented by custom header footer view models.
See moreDeclaration
Swift
public protocol TableSectionHeaderFooterViewModel : ReusableSupplementaryViewModelProtocol
-
Describes a reusable cell and specifies how to register it.
See moreDeclaration
Swift
public protocol ReusableCellProtocol
View on GitHub
Protocols Reference