This protocol is implemented by the data provider of a pasteboard item to provide the data for a particular UTI type.
You can specify an object as a pasteboard data provider for a pasteboard item using
setDataProvider:forTypes: method. The data provider must implement this protocol to provide data upon request.
Asks the receiver to provide data for a specified type to a given pasteboard.
A pasteboard to which the receiver has promised to provide data.
A pasteboard item for which the receiver has promised to provide data
A UTI type string.
The receiver was previously set as the provider using
Informs the receiver that the pasteboard no longer needs the data provider for any of its pasteboard items.
- (void)pasteboardFinishedWithDataProvider:(NSPasteboard *)
One data provider can provide data for more than one pasteboard item. This method is called when the pasteboard no longer needs the data provider for any of its pasteboard items. This can be either because the data provider has fulfilled all promises, or because ownership of the pasteboard has changed.