AnyDiffableViewModel
public struct AnyDiffableViewModel
MARK: - DifferenceKit Helpers
Creates a type-erased Differentiable for DiffableViewModel.
These are only created internally from either TableCellViewModel or CollectionCellViewModel,
so that we can safely force cast the models back to those types.
-
The type-erased
DiffableViewModelDeclaration
Swift
public let model: DiffableViewModel
View on GitHub
AnyDiffableViewModel Structure Reference