Instance Property

suggestedName

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

Declaration

@property(atomic, copy) NSString *suggestedName;

Discussion

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

See Also

Providing the Item’s Data

- registerDataRepresentationForTypeIdentifier:visibility:loadHandler:

Registers a data-backed representation for an item, specifiying item visibility and a load handler.

- registerFileRepresentationForTypeIdentifier:fileOptions:visibility:loadHandler:

Registers a file-backed representation for an item, specifying file options, item visibility, and a load handler.

- registerObject:visibility:

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.

- registerObjectOfClass:visibility:loadHandler:

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.

Beta Software

This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.

Learn more about using Apple's beta software