The queue on which query result notifications are posted.
- iOS 7.0+
- macOS 10.9+
- Mac Catalyst 13.0+
- 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.