Instance Property

displayState

The preview panel’s display state.

Declaration

var displayState: Any! { get set }

Discussion

The value is an opaque object—you cannot create your own display state.

See Also

Managing the Preview Items

var dataSource: QLPreviewPanelDataSource!

The preview panel data source.

func reloadData()

Asks the preview panel to reload its data from its data source.

func refreshCurrentPreviewItem()

Asks the preview panel to recompute the preview of the current preview item.

var currentPreviewItemIndex: Int

The index of the current preview item.

var currentPreviewItem: QLPreviewItem!

The currently previewed item.