Protocol

NSItemProviderReading

The protocol you implement on a class to allow an item provider to create an instance of the class.

Declaration

@protocol NSItemProviderReading

Overview

A destination app uses an object that conforms to this protocol to consume pasted or dropped items.

Topics

Creating an Object from a Pasted or Dropped Item

+ objectWithItemProviderData:typeIdentifier:error:

Creates a new instance of a class using the given data and UTI string.

Required.

Getting the Readable Type Identifiers

readableTypeIdentifiersForItemProvider

An array of UTI strings representing the data types supported by the class.

Required.

Relationships

Inherits From

See Also

Item Providers

Data Delivery with Drag and Drop

Share data between iPad apps during a drag and drop operation using an item provider.

NSItemProvider

An item provider for conveying data or a file between processes during drag and drop or copy/paste activities, or from a host app to an app extension.

NSItemProviderWriting

The protocol you implement on a class to allow an item provider to retrieve data from an instance of the class.