init(frame:)
Creates a preview view with the provided frame.
Declaration
init!(frame: NSRect)Parameters
- frame:
The frame rectangle for the initialized
QLPreviewViewobject.
Return Value
Returns a QLPreviewView object with the designated frame and the default style.
Discussion
Calling this method is equivalent to calling init(frame:style:) with the style parameter being QLPreviewViewStyle.normal.