appendInterpolation(_:specifier:)
Appends a type, convertible to a string with a format specifier, to a string interpolation.
Declaration
mutating func appendInterpolation<T>(_ value: T, specifier: String) where T : _FormatSpecifiableParameters
- value:
The value to append.
- specifier:
A format specifier to convert
subjectto a string representation, like%ffor a Double, or%xto create a hexidecimal representation of a Uint32. For a list of available specifier strings, see TP40004265.
Discussion
Don’t call this method directly; it’s used by the compiler when interpreting string interpolations.