Contents

QLThumbnailRequestSetThumbnailWithURLRepresentation(_:_:_:_:_:)

Sets the default image representation for an item of a given type at the specified URL.

Declaration

func QLThumbnailRequestSetThumbnailWithURLRepresentation(_ thumbnail: QLThumbnailRequest!, _ url: CFURL!, _ contentTypeUTI: CFString!, _ previewProperties: CFDictionary!, _ properties: CFDictionary!)

Parameters

  • thumbnail:

    The thumbnail request object.

  • url:

    The url to the file of the preview response.

  • contentTypeUTI:

    The UTI of the content for the preview representation.

  • previewProperties:

    Additional properties for the preview response.

  • properties:

    A dictionary of properties for the thumbnail. macOS doesn’t support any properties.

See Also

Handling thumbnail requests