SKSearch instead, which do not use a callback.
- macOS 10.3+
- Core Services
The index you are searching.
The document URL object within the index you are searching.
A Boolean value of
true for a successful search hit, or
Deprecated. Defines a pointer to a search-results filtering callback function for hit testing and processing during a search. Use this callback function to perform custom filtering on the search hits returned by the
SKSearch functions. Return
true to keep this document URL object (SKDocumentRef) in the results,
false to filter it out.