Section

open class Section : SectionType

Section presents a group of rows

Version

1.8.0

Date

08/10/21

Author

Adamas
  • Declaration

    Swift

    public let header: String?
  • Declaration

    Swift

    public let footer: String?
  • Declaration

    Swift

    public let rows: [RowType]
  • Declaration

    Swift

    public var reloadAction: (() -> Void)?
  • Declaration

    Swift

    public var isHidden: Bool { get set }
  • Initialize a section

    Declaration

    Swift

    public init(header: String? = nil,
                footer: String? = nil,
                rows: [RowType])

    Parameters

    header

    The header of the section.

    footer

    The footer of the section.

    rows

    Rows within the section.