---
title: attachments
framework: quicklook
role: symbol
role_heading: Instance Property
path: quicklook/qlpreviewreply/attachments
---

# attachments

Attachments for HTML data previews. The keys of the dictionary are the attachment identifiers (eg foo) that can be referenced with the cid:id URL (eg cid:foo).

## Declaration

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