QLPreviewControllerDataSource
The protocol that a data source for a preview controller needs to adopt to provide preview items to the controller.
Declaration
@MainActor protocol QLPreviewControllerDataSourceOverview
Besides providing a QLPreviewController with items to preview, this protocol is responsible for telling the preview controller how many items it needs to include in a preview item navigation list.