Required Initializerswift 6.0.1Swift

    init(stringLiteral:)

    Creates an instance initialized to the given string value.

    init(stringLiteral value: Self.StringLiteralType)

    Parameters

    value

    The value of the new instance.

    Other requirements

    Type members