An abstract base class for creating thumbnails of custom file types.


class QLThumbnailProvider : NSObject



func provideThumbnail(for: QLFileThumbnailRequest, (QLThumbnailReply?, Error?) -> Void)

Creates a thumbnail of a custom file type for a specific request.


Inherits From

Conforms To

See Also

Thumbnails for Custom File Types

Providing Thumbnails of Your Custom File Types

Implement a Thumbnail Extension to allow the operating system and other apps to display thumbnails of your custom files.

class QLFileThumbnailRequest

A request to generate a thumbnail for a custom file type.

class QLThumbnailReply

The object that provides a thumbnail for a custom file type.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software