<!--
{
  "availability" : [
    "macOS: 10.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLook",
  "identifier" : "/documentation/QuickLook/kQLPreviewPropertyAttachmentsKey",
  "metadataVersion" : "0.1.0",
  "role" : "Global Variable",
  "symbol" : {
    "kind" : "Global Variable",
    "modules" : [
      "Quick Look"
    ],
    "preciseIdentifier" : "c:@kQLPreviewPropertyAttachmentsKey"
  },
  "title" : "kQLPreviewPropertyAttachmentsKey"
}
-->

# kQLPreviewPropertyAttachmentsKey

A list of attachments or sub-resources.

```
let kQLPreviewPropertyAttachmentsKey: CFString!
```

## Discussion

The value is a <doc://com.apple.documentation/documentation/CoreFoundation/CFDictionary> object. The keys of the dictionary are the attachment identifiers (<doc://com.apple.documentation/documentation/CoreFoundation/CFString> objects) that can be referenced with the `cid:id` URL. The dictionary’s values are themselves dictionaries that use the [`kQLPreviewPropertyAttachmentDataKey`](/documentation/QuickLook/kQLPreviewPropertyAttachmentDataKey), [`kQLPreviewPropertyMIMETypeKey`](/documentation/QuickLook/kQLPreviewPropertyMIMETypeKey) and [`kQLPreviewPropertyTextEncodingNameKey`](/documentation/QuickLook/kQLPreviewPropertyTextEncodingNameKey) properties.

---

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)