init(stringLiteral:)
Creates an attributed string from the specified string literal, with no attributes.
Declaration
init(stringLiteral value: String)Parameters
- value:
The string literal that provides the attributed string’s initial content.
Creates an attributed string from the specified string literal, with no attributes.
init(stringLiteral value: String)The string literal that provides the attributed string’s initial content.