Type Method

typesFilterableTo:

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

Declaration

+ (NSArray<NSPasteboardType> *)typesFilterableTo:(NSPasteboardType)type;

Parameters

type

The target data type.

Return Value

An array of NSString objects containing the types that can be converted to the target data type.

Discussion

The array also contains the original type.

See Also

Validating Contents

- availableTypeFromArray:

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

- canReadItemWithDataConformingToTypes:

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

- 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.