Instance Method

refreshCurrentPreviewItem()

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

Declaration

func refreshCurrentPreviewItem()

Discussion

This method does not refresh the visible item if it has not changed.

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.

var currentPreviewItemIndex: Int

The index of the current preview item.

var currentPreviewItem: QLPreviewItem!

The currently previewed item.

var displayState: Any!

The preview panel’s display state.