A Quick Look preview of an item that you can embed into your view hierarchy.
SDK
- macOS 10.6+
Framework
- Quartz
Declaration
@interface QLPreviewView : NSView
A Quick Look preview of an item that you can embed into your view hierarchy.
SDK
Framework
@interface QLPreviewView : NSView
- init With Frame: style:
Initializes a QLPreview
object with a specific frame and style.
- init With Frame:
Initializes a QLPreview
object with a specific frame.
preview Item
The item to preview.
- refresh Preview Item
Updates the preview to display the currently previewed item.
display State
The current display state of the preview
.
autostarts
A Boolean value that determines whether the preview starts automatically.
should Close With Window
A Boolean value that determines whether the preview should close when its window closes.
- close
Closes the receiver, releasing the current preview
.
QLPreview View Style
Styles for a QLPreview
object.