Instance Property


A Boolean value indicating whether the generated thumbnail request should include icon decorations.


var iconMode: Bool { get set }


Set this property to true to generate a thumbnail that’s appropriate to use as a file icon. Depending on the platform, the thumbnail may be embedded in a frame, show a curled corner, or display a background or drop shadow. If this property’s value is false, QLThumbnailGenerator generates a raw, undecorated thumbnail.

The default value of this property is false.

See Also

Describing the Requested Thumbnail

var size: CGSize

The size of the thumbnails.

var scale: CGFloat

The scale of the thumbnails.

var minimumDimension: CGFloat

The minimum dimension for a thumbnail.

struct QLThumbnailGenerator.Request.RepresentationTypes

The various types of thumbnails that you can request.