Instance Method

initWithObject:

Initializes a new item provider, employing a specified object’s type identifiers to specify the data representations eligible to be loaded by the provider.

Declaration

- (instancetype)initWithObject:(id<NSItemProviderWriting>)object;

See Also

Initializing an Item Provider

- initWithContentsOfURL:

Provides data backed by the contents of an existing file. The system uses the URL’s filename extension to select an appropriate UTI.

- initWithItem:typeIdentifier:

Initializes an item provider with an object, according to the NSItemProvider type coercion policy.

- init

Instantiates an empty item provider to which you can later register a data or file representation.