Contents

canLoadObject(ofClass:)

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

Declaration

func canLoadObject<T>(ofClass: T.Type) -> Bool where T : _ObjectiveCBridgeable, T._ObjectiveCType : NSItemProviderReading

Parameters

  • ofClass:

    The object class for comparison.

See Also

Querying the provider’s contents