CollectionCellViewModel
public protocol CollectionCellViewModel : DiffableViewModel, ReusableCellViewModelProtocolView model for the individual cells of a UICollectionView.
- 
                  
                  CollectionViewDriverwill automatically apply anaccessibilityIdentifierto the cell based on this formatDeclarationSwift var accessibilityFormat: CellAccessibilityFormat { get }
- 
                  shouldHighlightDefault implementationWhether or not this cell should be highlighted. Default ImplementationDefault implementation, returns true.DeclarationSwift var shouldHighlight: Bool { get }
- 
                  didSelectDefault implementationInvoked when a cell has been selected. Default ImplementationDefault implementation, returns nil.DeclarationSwift var didSelect: DidSelectClosure? { get }
- 
                  didDeselectDefault implementationInvoked when an accessory button is tapped. Default ImplementationDefault implementation, returns nil.DeclarationSwift var didDeselect: DidDeselectClosure? { get }
- 
                  
                  Asks the cell model to update the UICollectionViewCellwith the content in the cell model and return the updated cell.DeclarationSwift func applyViewModelToCell(_ cell: UICollectionViewCell)Parameterscellthe cell which’s content need to be updated. 
 View on GitHub
View on GitHub CollectionCellViewModel Protocol Reference
        CollectionCellViewModel Protocol Reference