SwiftextensionlibswiftUniformTypeIdentifiers
extension NSItemProvider
Structure
What a query’s scopes step through. Every node here can be matched — see the syntax.
extends{}
classNSItemProvider
Members 5
- func
loadDataRepresentation(for: UniformTypeIdentifiers.UTType, completionHandler: @Sendable (Foundation.Data?, Error?) -> ()) -> NSProgress - func
loadFileRepresentation(for: UniformTypeIdentifiers.UTType, openInPlace: Bool, completionHandler: @Sendable (Foundation.URL?, Bool, Error?) -> ()) -> NSProgress - func
registerDataRepresentation(for: UniformTypeIdentifiers.UTType, visibility: NSItemProviderRepresentationVisibility, loadHandler: @Sendable ((Foundation.Data?, Error?) -> ()) -> NSProgress?) -> () - func
registerFileRepresentation(for: UniformTypeIdentifiers.UTType, visibility: NSItemProviderRepresentationVisibility, openInPlace: Bool, loadHandler: @Sendable ((Foundation.URL?, Bool, Error?) -> ()) -> NSProgress?) -> () - init
init(contentsOf: Foundation.URL, contentType: UniformTypeIdentifiers.UTType?, openInPlace: Bool, coordinated: Bool, visibility: NSItemProviderRepresentationVisibility) -> NSItemProvider
Header
extension __C.NSItemProvider { init(contentsOf: Foundation.URL, contentType: UniformTypeIdentifiers.UTType?, openInPlace: Swift.Bool, coordinated: Swift.Bool, visibility: __C.NSItemProviderRepresentationVisibility) func loadDataRepresentation(for: UniformTypeIdentifiers.UTType, completionHandler: @escaping @Sendable (Foundation.Data?, (any Swift.Error)?) -> ()) -> __C.NSProgress func loadFileRepresentation(for: UniformTypeIdentifiers.UTType, openInPlace: Swift.Bool, completionHandler: @escaping @Sendable (Foundation.URL?, Swift.Bool, (any Swift.Error)?) -> ()) -> __C.NSProgress func registerDataRepresentation(for: UniformTypeIdentifiers.UTType, visibility: __C.NSItemProviderRepresentationVisibility, loadHandler: @escaping @Sendable (_: @escaping (Foundation.Data?, (any Swift.Error)?) -> ()) -> __C.NSProgress?) func registerFileRepresentation(for: UniformTypeIdentifiers.UTType, visibility: __C.NSItemProviderRepresentationVisibility, openInPlace: Swift.Bool, loadHandler: @escaping @Sendable (_: @escaping (Foundation.URL?, Swift.Bool, (any Swift.Error)?) -> ()) -> __C.NSProgress?) }