init(id:content:)
Creates a text segment that contains the text you provide.
Declaration
init(id: String = UUID().uuidString, content: String)Parameters
- id:
A unique identifier for the segment.
- content:
The text of the segment.
Creates a text segment that contains the text you provide.
init(id: String = UUID().uuidString, content: String)A unique identifier for the segment.
The text of the segment.