previewPanel(_:previewItemAt:)
Returns the item that the preview panel should preview at a given index.
Declaration
func previewPanel(_ panel: QLPreviewPanel!, previewItemAt index: Int) -> (any QLPreviewItem)!Parameters
- panel:
The preview panel.
- index:
The index of the item to preview.
Return Value
The item that the preview panel should preview at index index.