Instance Method

canLoadObjectOfClass:

Returns a Boolean value indicating whether an item provider can load objects of a given class.

Declaration

- (BOOL)canLoadObjectOfClass:(Class<NSItemProviderReading>)aClass;

See Also

Getting the Item’s Data

- hasItemConformingToTypeIdentifier:

A convenience method equivalent to the hasRepresentationConformingToTypeIdentifier:fileOptions: method, but with the fileOptions parameter set to a value of 0.

- loadItemForTypeIdentifier:options:completionHandler:

Loads the item’s data and coerces it (as needed) to the specified type.

- loadDataRepresentationForTypeIdentifier:completionHandler:

Asynchronously copies the provided, typed data into an NSData object, returning an NSProgress object.

- loadFileRepresentationForTypeIdentifier:completionHandler:

Asynchronously writes a copy of the provided, typed data to a temporary file, returning an NSProgress object.

- loadInPlaceFileRepresentationForTypeIdentifier:completionHandler:

Asynchronously opens a file in place, if doing so is possible, returning an NSProgress object.

- loadObjectOfClass:completionHandler:

Asynchronously loads an object of a specified class to an item provider, returning an NSProgress object.

- hasRepresentationConformingToTypeIdentifier:fileOptions:

Returns a Boolean value indicating whether an item provider contains a data representation conforming to a specified uniform type identifier (UTI) and to specified open-in-place behavior.

- registeredTypeIdentifiersWithFileOptions:

Returns an array with a subset of type identifiers for the item provider, according to the specified file options, listed in the same order in which they were registered.