Contents

canLoadObject(ofClass:)

Returns a Boolean value indicating whether an item provider can load objects of a specified class.

Declaration

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

Parameters

  • aClass:

    The object class for comparison.

Return Value

true if the item provider can load objects of the class.

See Also

Querying the provider’s contents