Contents

hasItemsConforming(toTypeIdentifiers:)

Returns a Boolean value that indicates whether at least one drag item in the session conforms to at least one of the specified UTIs.

Declaration

func hasItemsConforming(toTypeIdentifiers typeIdentifiers: [String]) -> Bool

Parameters

  • typeIdentifiers:

    An array of uniform type identifier (UTI) strings.

Return Value

true if a drag item in the session conforms to any UTI in the specified array; otherwise, false.

See Also

Checking for drag items