NSMetadataQueryMBS class

Online Documentation   -   Statistics   -   FAQ   -   Plugin Parts (All, Dependencies)   -   Class hierarchy

New in Version 22.2 22.3 22.4 22.5 23.0 23.1 23.2 23.3 23.4 23.5 24.0 24.1

The list of the   topics,   classes,   interfaces,   controls,   modules,   global methods by category,   global methods by name,   screenshots,   licenses   and   examples.

Platforms to show: All Mac Windows Linux Cross-Platform

NSMetadataQueryMBS class

Type Topic Plugin Version macOS Windows Linux iOS Targets
class iCloud MBS MacCloud Plugin 11.3 ✅ Yes ❌ No ❌ No ✅ Yes All
The NSMetadataQuery class encapsulates the functionality provided by the MDQuery opaque type for querying the Spotlight metadata.

You may prefer MDQueryMBS class from our plugins. NSMetadataQueryMBS exists as it supports iCloud search.

NSMetadataQuery objects provide metadata query results in several ways:


Queries have two phases: the initial gathering phase that collects all currently matching results and a second live-update phase.
By default the receiver has no limitation on its search scope. Use setSearchScopes to customize.
By default, notification of updated results occurs at 1.0 seconds. Use setNotificationBatchingInterval to customize.
You must set a predicate with the setPredicate method before starting a query.

This class has no sub classes.

Some examples using this class:

Blog Entries


The items on this page are in the following plugins: MBS MacCloud Plugin.


NSMetadataItemMBS   -   NSMetadataQueryResultGroupMBS


💬 Ask a question or report a problem