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) -> BoolParameters
- aClass:
A class conforming to the Nsitemproviderreading protocol.
Return Value
true if at least one drag item in the session can create an instance of the specified class; otherwise, false.