TextTableColumn

public struct TextTableColumn

Represents a column in a TextTable.

  • The header for the column.

    Declaration

    Swift

    public var header: String
  • Initialize a new column for inserting into a TextTable.

    Declaration

    Swift

    public init(header: String)
  • The minimum width() of the column needed to accomodate all values in this column. - Complexity: O(n)

    Declaration

    Swift

    public func width() -> Int