Instance Property


The minimum dimension for a thumbnail.


var minimumDimension: CGFloat { get set }


This property defines a minimum dimension for a thumbnail, setting its width and height to greater or equal to minimumDimension * scale.

The default value for this property is 0.

If you set this property, and it’s not possible to generate a thumbnail of the defined minimumDimension for any of the requested QLThumbnailGenerator.Request.RepresentationTypes, QLThumbnailGenerator won’t generate a thumbnail.

See Also

Describing the Requested Thumbnail

var size: CGSize

The size of the thumbnails.

var scale: CGFloat

The scale of the thumbnails.

var iconMode: Bool

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

struct QLThumbnailGenerator.Request.RepresentationTypes

The various types of thumbnails that you can request.