Initializer

init(frame:)

Initializes a QLPreviewView object with a specific frame.

Declaration

init!(frame: NSRect)

Parameters

frame

The frame rectangle for the initialized QLPreviewView object.

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.

See Also

Initializing a QLPreviewView

init!(frame: NSRect, style: QLPreviewViewStyle)

Initializes a QLPreviewView object with a specific frame and style.