Instance Property

dataSource

The Quick Look preview controller’s data source.

Declaration

weak var dataSource: QLPreviewControllerDataSource? { get set }

Discussion

To use a Quick Look preview controller, you must implement a data source. The data source is responsible for providing items for display by the controller, and for telling it how many items to include in the preview navigation list. It is described inQLPreviewControllerDataSource.

See Also

Configuring a Quick Look Preview Controller

var delegate: QLPreviewControllerDelegate?

The Quick Look preview controller’s delegate object.