Instance Method インスタンスメソッド

appendInterpolation(_:)

Appends a literal string segment to a string interpolation.

Declaration 宣言

mutating func appendInterpolation(_ string: String)

Parameters パラメータ

string

The literal string to append.

Discussion 議論

Don’t call this method directly; it’s used by the compiler when interpreting string interpolations.

See Also 参照

Appending to an Interpolation