<!--
{
  "availability" : [
    "macOS: 12.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLookUI",
  "identifier" : "/documentation/QuickLookUI/QLPreviewReply/attachments",
  "metadataVersion" : "0.1.0",
  "role" : "Instance Property",
  "symbol" : {
    "kind" : "Instance Property",
    "modules" : [
      "Quick Look UI"
    ],
    "preciseIdentifier" : "c:objc(cs)QLPreviewReply(py)attachments"
  },
  "title" : "attachments"
}
-->

# attachments

The attachments for a preview reply that provide additional data for the system to display the preview.

```
var attachments: [String : QLPreviewReplyAttachment] { get set }
```

## Discussion

When providing an HTML reply, use the string associated with the [`QLPreviewReplyAttachment`](/documentation/QuickLookUI/QLPreviewReplyAttachment) prefixed with `cid:` to reference the content within the HTML.

---

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)