Asynchronously loads an object of a specified class to an item provider, returning a Progress
object.
SDKs
- iOS 11.0+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 11.0+
- watchOS 4.0+
Framework
- Foundation
Declaration
func loadObject(ofClass aClass: NSItem Provider Reading.Type, completionHandler: @escaping (NSItem Provider Reading?, Error?) -> Void) -> Progress