The queue on which query result notifications are posted.
- iOS 7.0+
- macOS 10.9+
- UIKit for Mac 13.0+Beta
- tvOS 9.0+
- watchOS 2.0+
Use this property to decouple the processing of results from the thread used to execute the query. This makes it easier to synchronize query result processing with other related operations—such as updating the data model or user interface—which you might want to perform on the main queue.
Getting Query Results
An array containing the query’s results.
The number of results returned by the query. (read-only)
Returns the index of a query result object in the receiver’s results array.
An array containing hierarchical groups of query results. (read-only)
A dictionary containing the value lists generated by the query.
NSMetadataQueryAttributeValueTuple class represents attribute-value tuples, which are objects that contain the attribute name and value of a metadata attribute.
This documentation contains preliminary information about an API or technology in development. This information is subject to change, and software implemented according to this documentation should be tested with final operating system software.Learn more about using Apple's beta software