<!--
{
  "availability" : [
    "macOS: 10.0.0 - 12.0.0"
  ],
  "documentType" : "symbol",
  "framework" : "QuickLook",
  "identifier" : "/documentation/QuickLook/QLThumbnailRequestGetGeneratorBundle(_:)",
  "metadataVersion" : "0.1.0",
  "role" : "Function",
  "symbol" : {
    "kind" : "Function",
    "modules" : [
      "Quick Look"
    ],
    "preciseIdentifier" : "c:@F@QLThumbnailRequestGetGeneratorBundle"
  },
  "title" : "QLThumbnailRequestGetGeneratorBundle(_:)"
}
-->

# QLThumbnailRequestGetGeneratorBundle(_:)

Get the bundle of the generator receiving the thumbnail request.

```
func QLThumbnailRequestGetGeneratorBundle(_ thumbnail: QLThumbnailRequest!) -> Unmanaged<CFBundle>!
```

## Parameters

`thumbnail`

The thumbnail request object.

## Return Value

A reference to the bundle object representing the generator’s bundle.

## Discussion

Thread-safety: This function should be called in the same thread as the thumbnail request is made in; generally, this is the same thread in which the `GenerateThumbnailForURL` callback was invoked.

---

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)