SwiftextensionlibswiftUniformTypeIdentifiers

extension NSItemProvider

Structure

What a query’s scopes step through. Every node here can be matched — see the syntax.

extends{}

Members 5

  1. funcloadDataRepresentation(for: UniformTypeIdentifiers.UTType, completionHandler: @Sendable (Foundation.Data?, Error?) -> ()) -> NSProgress
  2. funcloadFileRepresentation(for: UniformTypeIdentifiers.UTType, openInPlace: Bool, completionHandler: @Sendable (Foundation.URL?, Bool, Error?) -> ()) -> NSProgress
  3. funcregisterDataRepresentation(for: UniformTypeIdentifiers.UTType, visibility: NSItemProviderRepresentationVisibility, loadHandler: @Sendable ((Foundation.Data?, Error?) -> ()) -> NSProgress?) -> ()
  4. funcregisterFileRepresentation(for: UniformTypeIdentifiers.UTType, visibility: NSItemProviderRepresentationVisibility, openInPlace: Bool, loadHandler: @Sendable ((Foundation.URL?, Bool, Error?) -> ()) -> NSProgress?) -> ()
  5. initinit(contentsOf: Foundation.URL, contentType: UniformTypeIdentifiers.UTType?, openInPlace: Bool, coordinated: Bool, visibility: NSItemProviderRepresentationVisibility) -> NSItemProvider
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?)
}