Instance Method

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.

Declaration

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

Parameters

ofClass

A class conforming to the NSItemProviderReading protocol.

Return Value

YES if at least one drag item in the session can create an instance of the specified class; otherwise, NO.

See Also

Checking for Drag Items

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

items

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

Required.