SupplementaryHeaderViewModel
public protocol SupplementaryHeaderViewModel : SupplementaryViewModel
Defines a view model that describes and configures a header view for a section in the collection view.
-
kind
Default implementationThe collection view header element kind.
Default Implementation
Default implementation. Returns a section header kind.
Declaration
Swift
static var kind: SupplementaryViewKind { get }
-
registration
Extension methodA default registration for this header view model for class-based views.
Warning
Does not work for nib-based views.Declaration
Swift
public var registration: ViewRegistration { get }