ViewRegistration

struct ViewRegistration

Registration info for collection view supplementary view.

  • A class for register supplementary view conforming ComponentRenderable.

    Declaration

    Swift

    public var `class`: (UICollectionReusableView & ComponentRenderable).Type
  • nib

    The nib for register supplementary view.

    Declaration

    Swift

    public var nib: UINib?
  • Create a new registration.

    Declaration

    Swift

    public init(class: (UICollectionReusableView & ComponentRenderable).Type, nib: UINib? = nil)