TableSectionType

public protocol TableSectionType

A type that provides the information about a section.

  • key

    Unique identifier for the section.

    Declaration

    Swift

    var key: String { get }
  • View object to display in the header of this section.

    Declaration

    Swift

    var header: TableHeaderFooterConfigType? { get }
  • View object to display in the footer of this section.

    Declaration

    Swift

    var footer: TableHeaderFooterConfigType? { get }
  • Instances of CellConfigType that represent the rows in the table view.

    Declaration

    Swift

    var rows: [CellConfigType] { get }
  • Action to perform when the header view comes in or out of view.

    Declaration

    Swift

    var headerVisibilityAction: ((_ view: UIView, _ visible: Bool) -> Void)? { get }