---
title: attachments
framework: QuickLook UI
role: symbol
role_heading: Instance Property
platforms: [macOS 12.0+]
path: quicklookui/qlpreviewreply/attachments
---

# attachments

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

## Declaration

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

## Discussion

Discussion When providing an HTML reply, use the string associated with the QLPreviewReplyAttachment prefixed with cid: to reference the content within the HTML.

## See Also

### Inspecting a preview reply

- [title](quicklookui/qlpreviewreply/title.md)
- [stringEncoding](quicklookui/qlpreviewreply/stringencoding-8ahm8.md)
