TextRepresentation
struct TextRepresentation : Equatable
A textual representation of a visual instruction component.
-
Initializes a text representation bearing the given abbreviatable text.
Declaration
Swift
public init(text: String, abbreviation: String?, abbreviationPriority: Int?) -
The plain text representation of this component.
Declaration
Swift
public let text: String -
An abbreviated representation of the
textproperty.Declaration
Swift
public let abbreviation: String? -
The priority for which the component should be abbreviated.
A component with a lower abbreviation priority value should be abbreviated before a component with a higher abbreviation priority value.
Declaration
Swift
public let abbreviationPriority: Int?
Install in Dash
TextRepresentation Structure Reference