Class

QLPreviewView

A Quick Look preview of an item that you can embed into your view hierarchy.

Declaration

@interface QLPreviewView : NSView

Topics

Initializing a QLPreviewView

- initWithFrame:style:

Initializes a QLPreviewView object with a specific frame and style.

- initWithFrame:

Initializes a QLPreviewView object with a specific frame.

Displaying a Preview

previewItem

The item to preview.

- refreshPreviewItem

Updates the preview to display the currently previewed item.

displayState

The current display state of the previewItem.

autostarts

A Boolean value that determines whether the preview starts automatically.

Closing a Preview

shouldCloseWithWindow

A Boolean value that determines whether the preview should close when its window closes.

- close

Closes the receiver, releasing the current previewItem.

Constants

QLPreviewViewStyle

Styles for a QLPreviewView object.

Relationships

Inherits From