Instance Property

writableTypeIdentifiersForItemProvider

An array of UTI strings representing the types of data that can be loaded for an item provider.

Declaration

optional var writableTypeIdentifiersForItemProvider: [String] { get }

Discussion

Provide uniform type identifiers (UTIs) in order from highest fidelity to lowest. If your app employs a native data representation, place that first in the array.

Use the instance version of this property when you initialize an item provider with an object. As possible, implement this property to provide an extended array of UTIs based on the object. For example, for an NSURL object, your implementation could offer the public.file-url UTI, in addition to the public.url UTI, if your implementation detects that the stored URL uses the file:// scheme.

See Also

Getting the Writable Type Identifiers

static var writableTypeIdentifiersForItemProvider: [String]

An array of UTI strings representing the types of data that can be loaded for an item provider.

Required.

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