---
title: GeneratePreviewForURL
framework: quicklook
role: symbol
role_heading: Instance Property
path: quicklook/qlgeneratorinterfacestruct/generatepreviewforurl
---

# GeneratePreviewForURL

## Declaration

```swift
var GeneratePreviewForURL: ((UnsafeMutableRawPointer?, QLPreviewRequest?, CFURL?, CFString?, CFDictionary?) -> OSStatus)!
```

## See Also

### Creating a Quick Look Plug-In

- [init()](quicklook/qlgeneratorinterfacestruct/init().md)
- [QueryInterface](quicklook/qlgeneratorinterfacestruct/queryinterface.md)
- [AddRef](quicklook/qlgeneratorinterfacestruct/addref.md)
- [Release](quicklook/qlgeneratorinterfacestruct/release.md)
- [GenerateThumbnailForURL](quicklook/qlgeneratorinterfacestruct/generatethumbnailforurl.md)
- [CancelThumbnailGeneration](quicklook/qlgeneratorinterfacestruct/cancelthumbnailgeneration.md)
- [CancelPreviewGeneration](quicklook/qlgeneratorinterfacestruct/cancelpreviewgeneration.md)
