<!--
{
  "availability" : [
    "iOS: 13.0.0 -",
    "iPadOS: 13.0.0 -",
    "macCatalyst: 13.0.0 -",
    "macOS: 10.15.0 -",
    "tvOS: 13.0.0 -",
    "visionOS: 1.0.0 -",
    "watchOS: 6.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "SwiftUI",
  "identifier" : "/documentation/SwiftUI/LocalizedStringKey/StringInterpolation/appendInterpolation(_:)-378v9",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Method",
  "symbol" : {
    "kind" : "Instance Method",
    "modules" : [
      "SwiftUI"
    ],
    "preciseIdentifier" : "s:7SwiftUI18LocalizedStringKeyV0D13InterpolationV06appendF0yyxAA18_FormatSpecifiableRzlF"
  },
  "title" : "appendInterpolation(_:)"
}
-->

# appendInterpolation(_:)

Appends a type, convertible to a string by using a default format
specifier, to a string interpolation.

```
mutating func appendInterpolation<T>(_ value: T) where T : _FormatSpecifiable
```

## Parameters

`value`

A primitive type to append, such as
<doc://com.apple.documentation/documentation/swift/Int>,
<doc://com.apple.documentation/documentation/swift/UInt32>, or
<doc://com.apple.documentation/documentation/swift/Double>.

## Discussion

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

---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)