Contents

QLPreviewRequestGetGeneratorBundle(_:)

Get the bundle of the generator receiving the preview request.

Declaration

func QLPreviewRequestGetGeneratorBundle(_ preview: QLPreviewRequest!) -> Unmanaged<CFBundle>!

Parameters

  • preview:

    The preview request object.

Return Value

A reference to a bundle object representing the generator’s bundle.

Discussion

Thread-safety: This function should be called in the same thread as the preview request is made in; generally, this is the same thread in which the GeneratePreviewForURL callback was invoked.

See Also

Requesting previews