Instance Method

quickLookPreviewableItemsInRanges:

Returns an array of URLs for items that can be displayed by QuickLook in the specified ranges.

Declaration

- (NSArray<id<QLPreviewItem>> *)quickLookPreviewableItemsInRanges:(NSArray<NSValue *> *)ranges;

Parameters

ranges

An array of ranges.

Return Value

Returns an array of document URLs for text attachment content, if available.

Discussion

Each preview item must conform to the QLPreviewItem protocol.

See Also

Supporting QuickLook

- updateQuickLookPreviewPanel

Notifies the QuickLook panel that an update may be required.

- toggleQuickLookPreviewPanel:

An action message that toggles the visibility state of the Quick Look preview panel.