InitializerSwift

init(stringLiteral:)

Creates an instance initialized to the given string value.

init(stringLiteral value: String)

Parameters

value

The value of the new instance.