Protocols
The following protocols are available globally.
-
Conforming objects are responsible for handling various cell events.
See moreDeclaration
Swift
@MainActor public protocol CellEventCoordinator : AnyObject
-
Defines a view model that describes and configures a cell in the collection view.
See moreDeclaration
Swift
public protocol CellViewModel : DiffableViewModel, ViewRegistrationProvider
-
Describes a view model that is uniquely identifiable and diffable.
See moreDeclaration
Swift
public protocol DiffableViewModel : Hashable, Identifiable, Sendable
-
Defines a view model that describes and configures a footer view for a section in the collection view.
See moreDeclaration
Swift
public protocol SupplementaryFooterViewModel : SupplementaryViewModel
-
Defines a view model that describes and configures a header view for a section in the collection view.
See moreDeclaration
Swift
public protocol SupplementaryHeaderViewModel : SupplementaryViewModel
-
Defines a view model that describes and configures a supplementary view in a collection.
See moreDeclaration
Swift
public protocol SupplementaryViewModel : DiffableViewModel, ViewRegistrationProvider
-
Provides registration information for a reusable view in a
See moreUICollectionView
.Declaration
Swift
public protocol ViewRegistrationProvider