Contents

loadObject(ofClass:completionHandler:)

Asynchronously loads an object of a specified class to an item provider, returning a progress object.

Declaration

func loadObject(ofClass aClass: any NSItemProviderReading.Type, completionHandler: @escaping  @Sendable ((any NSItemProviderReading)?, (any Error)?) -> Void) -> Progress

See Also

Loading the provider’s contents