Instance Method

canReadItemWithDataConformingToTypes:

Returns a Boolean value that indicates whether the receiver contains any items that conform to the specified UTIs.

Declaration

- (BOOL)canReadItemWithDataConformingToTypes:(NSArray<NSString *> *)types;

Parameters

types

An array of NSString objects containing UTIs.

Return Value

YES if the receiver contains any items that conform to the UTIs specified in types, otherwise NO.

See Also

Validating Contents

- availableTypeFromArray:

Scans the specified types for a type that the receiver supports.

- canReadObjectForClasses:options:

Returns a Boolean value that indicates whether the receiver contains any items that can be represented as an instance of any class in a given array.

types

An array of the receiver’s supported data types.

+ typesFilterableTo:

Returns the data types that can be converted to the specified type using the available filter services.