StringInterpolationConvertible

protocol StringInterpolationConvertible

Conforming types can be initialized with string interpolations containing \(...) clauses.

Inheritance View Protocol Hierarchy →
Import import Swift

Initializers

init(stringInterpolation:) Required

Create an instance by concatenating the elements of strings

Declaration

init(stringInterpolation strings: Self...)
init(stringInterpolationSegment:) Required

Create an instance containing expr's print representation

Declaration

init<T>(stringInterpolationSegment expr: T)