QLPreviewingController
A protocol for implementing a custom controller to create previews of files.
Declaration
protocol QLPreviewingController : NSObjectProtocolOverview
A controller that implements the QLPreviewingController protocol must at least implement preparePreviewOfSearchableItem(identifier:queryString:completionHandler:) or preparePreviewOfFile(at:completionHandler:).