Instance Method

hasItemsConformingToTypeIdentifiers:

Returns a Boolean value that indicates whether at least one drag item in the session conforms to at least one of the specified UTIs.

Required.

Declaration

- (BOOL)hasItemsConformingToTypeIdentifiers:(NSArray<NSString *> *)typeIdentifiers;

Parameters

toTypeIdentifiers

An array of uniform type identifier (UTI) strings.

Return Value

YES if a drag item in the session conforms to any UTI in the specified array; otherwise, NO.

See Also

Checking for Drag Items

- canLoadObjectsOfClass:

Returns a Boolean value that indicates whether at least one drag item in the session can create an instance of the specified class.

Required.

items

An array of drag items in the drag session or drop session.

Required.