Skip to content

Translation 🌍

You can translate or improve the translation of this page.

Contribute

EXTENSION

TemplateString

swift
extension TemplateString: ExpressibleByStringLiteral

Properties

description

swift
public var description: String

Methods

init(stringLiteral:)

swift
public init(stringLiteral: String)

Parameters

NameDescription
valueThe value of the new instance.

init(stringInterpolation:)

swift
public init(stringInterpolation: StringInterpolation)

Parameters

NameDescription
stringInterpolationAn instance of StringInterpolation which has had each segment of the string literal appended to it.

Released under the MIT License.