Contents

loadDataRepresentation(forTypeIdentifier:completionHandler:)

Asynchronously copies the provided, typed data into a generic data object, returning a progress object.

Declaration

func loadDataRepresentation(forTypeIdentifier typeIdentifier: String, completionHandler: @escaping  @Sendable (Data?, (any Error)?) -> Void) -> Progress

Discussion

If the source app provides a folder URL, the Data object contains a zip archive with the folder as its top-level entry.

See Also

Loading the provider’s contents