Instance Method

addTypeIdentifiersForAcceptingClass:

Expands the array of accepted UTIs for a paste configuration, based on those declared as supported by a specified class.

Declaration

- (void)addTypeIdentifiersForAcceptingClass:(Class<NSItemProviderReading>)aClass;

Parameters

aClass

A class conforming to the NSItemProviderReading protocol.

Discussion

This method uses the property readableTypeIdentifiersForItemProvider, implemented on aClass, to determine the uniform type identifiers (UTIs) to add to the paste configuration's acceptableTypeIdentifiers array.

See Also

Adding Acceptable Type Identifiers

- addAcceptableTypeIdentifiers:

Adds an array of UTI strings to a paste configuration, increasing the variety of types the paste configuration accepts.