<!--
{
  "availability" : [
    "iOS: 11.0.0 -",
    "iPadOS: 11.0.0 -",
    "macCatalyst: 13.1.0 -",
    "macOS: 10.15.0 -",
    "visionOS: 1.0.0 -"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLookThumbnailing",
  "identifier" : "/documentation/QuickLookThumbnailing/QLThumbnailReply",
  "metadataVersion" : "0.1.0",
  "role" : "Class",
  "symbol" : {
    "kind" : "Class",
    "modules" : [
      "Quick Look Thumbnailing"
    ],
    "preciseIdentifier" : "c:objc(cs)QLThumbnailReply"
  },
  "title" : "QLThumbnailReply"
}
-->

# QLThumbnailReply

The object that provides a thumbnail for a custom file type.

```
class QLThumbnailReply
```

## Topics

### Creating a Thumbnail

[`+  replyWithContextSize:currentContextDrawingBlock:`](/documentation/QuickLookThumbnailing/QLThumbnailReply/init(contextSize:currentContextDrawing:))

Creates a new thumbnail for a custom file type in the current context.

[`+  replyWithContextSize:drawingBlock:`](/documentation/QuickLookThumbnailing/QLThumbnailReply/init(contextSize:drawing:))

Creates a new thumbnail for a custom file type in the given context.

[`+  replyWithImageFileURL:`](/documentation/QuickLookThumbnailing/QLThumbnailReply/init(imageFileURL:))

Creates a new thumbnail for a custom file type using a file at the given URL.

### Customizing a Thumbnail Reply

[`extensionBadge`](/documentation/QuickLookThumbnailing/QLThumbnailReply/extensionBadge)

A short string that identifies the file type that the system uses as a badge when producing an icon thumbnail.

## Relationships

### Conforms To

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

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

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

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

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

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

### 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)