Protocol

NSMetadataQueryDelegate

An interface that enables the delegate of a metadata query to provide substitute results or attributes.

Topics

Getting Query Results

func metadataQuery(NSMetadataQuery, replacementObjectForResultObject: NSMetadataItem)

Returns a different object for a given query result object.

func metadataQuery(NSMetadataQuery, replacementValueForAttribute: String, value: Any)

Returns a different value for a given attribute and value.

Relationships

Inherits From

See Also

Queries

class NSMetadataQuery

A query that you perform against Spotlight metadata.