Contents

QLPreviewReply

The class you create when providing a data-based Quick Look preview extension.

Declaration

class QLPreviewReply

Overview

Create an instance of QLPreviewReply from the method providePreview(for:completionHandler:) in your subclass of QLPreviewProvider. Create an instance to return data, such as an image, PDF, or HTML, that the system displays as the preview for the content that QLFilePreviewRequest specifies.

Topics

Creating a preview reply

Creating a PDF preview reply

Generating a preview reply

Drawing a preview reply

Inspecting a preview reply

See Also

Data-based Preview Extensions