Contents

quickLookPreviewableItems(inRanges:)

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

Declaration

func quickLookPreviewableItems(inRanges ranges: [NSValue]) -> [any QLPreviewItem]

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