FUIObjectSection

public protocol FUIObjectSection

The section object which can be displayed in FUIObjectFloorplan. This is a base type and should not be used directly. Developer should use either FUIObjectListSection or FUIObjectCollectionSection.

  • Elements of the section.

    Declaration

    Swift

    var elements: [AnyHashable] { get set }
  • headerProvider Default implementation

    Section header at specific section index.

    Default Implementation

    Declaration

    Swift

    var headerProvider: ((AnyTableBasedFloorplan, Int) -> UITableViewHeaderFooterView)? { get }

    Parameters

    floorplan

    The floorplan that owns the header.

    index

    Section index of the header.

  • footerProvider Default implementation

    Section footer at specific section index.

    Default Implementation

    Declaration

    Swift

    var footerProvider: ((AnyTableBasedFloorplan, Int) -> UITableViewHeaderFooterView)? { get }

    Parameters

    floorplan

    The floorplan that owns the footer.

    index

    Section index of the footer.

  • The cell type (should be a UITableViewCell or subtype) and its reuse identifier.

    Declaration

    Swift

    var cellTypeAndReuseIdentifier: (AnyClass, String) { get }