TextTableRepresentable
public protocol TextTableRepresentable
A protocol used to create a TextTable from an object.
-
tableHeaderDefault implementationThe text table header.
Default Implementation
Returns
nil.Declaration
Swift
static var tableHeader: String? -
An array column headers to represent this object’s data.
Declaration
Swift
static var columnHeaders: [String] -
The values to render in the text table. Should have the same count as
columnHeaders.Declaration
Swift
var tableValues: [CustomStringConvertible]
TextTableRepresentable Protocol Reference