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 implementation

    The collection view header element kind.

    Default Implementation

    Default implementation. Returns a section header kind.

    Declaration

    Swift

    static var kind: SupplementaryViewKind { get }
  • registration Extension method

    A 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 }