Contents

QLPreviewRequestGetDocumentObject(_:)

Returns the object that’s stored as part of a preview request.

Declaration

func QLPreviewRequestGetDocumentObject(_ preview: QLPreviewRequest!) -> UnsafeRawPointer!

Parameters

  • preview:

    The preview request object.

Return Value

The object that’s stored as part of the preview request.

Discussion

Use this method to get the object that you stored previously with the preview request using QLPreviewRequestSetDocumentObject(_:_:_:).

See Also

Requesting previews