TableViewConfiguration

public struct TableViewConfiguration

Defines most commonly used configuration properties for UITableView

  • Section header style. Default - .Title.

    Declaration

    Swift

    public var sectionHeaderStyle: SupplementarySectionStyle
  • Section footer style. Default - .Title

    Declaration

    Swift

    public var sectionFooterStyle: SupplementarySectionStyle
  • Defines, whether to show header on a section, that does not contain any items. Default is true.

    Declaration

    Swift

    public var displayHeaderOnEmptySection: Bool
  • Defines, whether to show footer on a section, that does not contain any items. Default is true.

    Declaration

    Swift

    public var displayFooterOnEmptySection: Bool
  • Minimal header height to hide it when section is empty. This defaults to .zero if UITableView.Style is .plain and .leastNormalMagnitude otherwise.

    Declaration

    Swift

    public var minimalHeaderHeightForTableView: (UITableView) -> CGFloat
  • Minimal footer height to hide it when section is empty. This defaults to .zero if UITableView.Style is .plain and .leastNormalMagnitude otherwise.

    Declaration

    Swift

    public var minimalFooterHeightForTableView: (UITableView) -> CGFloat