Contents

itemProviders(for:)

Finds item providers that conform to at least one of the specified uniform type identifiers.

Declaration

func itemProviders(for contentTypes: [UTType]) -> [NSItemProvider]

Parameters

  • contentTypes:

    The uniform type identifiers to query for.

Return Value

The item providers that conforms to contentTypes.

Discussion

This function is only valid during the performDrop() action.

See Also

Checking for items