<!--
{
  "availability" : [
    "iOS: 15.0.0 -",
    "iPadOS: 15.0.0 -",
    "macCatalyst: 15.0.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLook",
  "identifier" : "/documentation/QuickLook/QLPreviewReplyAttachment",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Quick Look"
    ],
    "preciseIdentifier" : "c:objc(cs)QLPreviewReplyAttachment"
  },
  "title" : "QLPreviewReplyAttachment"
}
-->

# QLPreviewReplyAttachment

```
class QLPreviewReplyAttachment
```

## Overview\abstract QLPreviewReplyAttachment is used to provide data for attachment in html data-based previews.

## Topics

### Initializers

[`init(data: Data, contentType: UTType)`](/documentation/QuickLook/QLPreviewReplyAttachment/init(data:contentType:))

### Instance Properties

[`var contentType: UTType`](/documentation/QuickLook/QLPreviewReplyAttachment/contentType)

The content type of the attachment for an html preview

[`var data: Data`](/documentation/QuickLook/QLPreviewReplyAttachment/data)

The data content of an html preview

## Relationships

### Conforms To

[`CustomStringConvertible`](/documentation/Swift/CustomStringConvertible)

[`Hashable`](/documentation/Swift/Hashable)

[`CVarArg`](/documentation/Swift/CVarArg)

[`NSObjectProtocol`](/documentation/ObjectiveC/NSObjectProtocol)

[`Equatable`](/documentation/Swift/Equatable)

[`CustomDebugStringConvertible`](/documentation/Swift/CustomDebugStringConvertible)

### Inherits From

[`NSObject-swift.class`](/documentation/ObjectiveC/NSObject-swift.class)

---

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)