Class

QLThumbnailReply

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

Declaration

class QLThumbnailReply : NSObject

Topics

Creating a Thumbnail

init(contextSize: CGSize, currentContextDrawing: () -> Bool)

Creates a new thumbnail for a custom file type in the current context.

init(contextSize: CGSize, drawing: (CGContext) -> Bool)

Creates a new thumbnail for a custom file type in the given context.

init(imageFileURL: URL)

Creates a new thumbnail for a custom file type using a file at the given URL.

Relationships

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 QLThumbnailProvider

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

class QLFileThumbnailRequest

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