RowLayout

public protocol RowLayout

RowLayout is a protocol that supports the RowAdapter protocol. It describes a layout of a base row.

  • An array of (baseIndex, name) pairs, where baseIndex is the index of a column in a base row, and name the name of that column.

    Declaration

    Swift

    var layoutColumns: [(Int, String)]
  • Returns the index of the leftmost column named name, in a case-insensitive way.

    Declaration

    Swift

    func layoutIndex(ofColumn name: String) -> Int?