Instance Property

suggestedName

The filename to use when writing the provided data to a file on disk.

Declaration

var suggestedName: String? { get set }

Discussion

Setting this property is recommended when providing NSData or text data from an item provider.

See Also

Providing the Item’s Data

func registerObject(NSItemProviderWriting, visibility: NSItemProviderRepresentationVisibility)

Adds representations of a specified object to an item provider, based on the object’s implementation of the NSItemProviderWriting protocol and adhering to a visibility specification.

func registerObject(ofClass: NSItemProviderWriting.Type, visibility: NSItemProviderRepresentationVisibility, loadHandler: (@escaping (NSItemProviderWriting?, Error?) -> Void) -> Progress?)

Lazily adds representations of a specified object to an item provider, based on the object’s implementation of the NSItemProviderWriting protocol and adhering to a visibility specification.