Contents

canReadItem(withDataConformingToTypes:)

Returns a Boolean value that indicates whether the receiver contains any items that conform to the specified UTIs.

Declaration

func canReadItem(withDataConformingToTypes types: [String]) -> Bool

Parameters

  • types:

    An array of NSString objects containing UTIs.

Return Value

true if the receiver contains any items that conform to the UTIs specified in types, otherwise false.

See Also

Related Documentation

Validating contents