Contents

canLoadObjects(ofClass:)

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

Declaration

func canLoadObjects(ofClass aClass: any NSItemProviderReading.Type) -> Bool

Parameters

Return Value

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

See Also

Checking for drag items