Is there a way to know whether or not the NSMetadataQuery
is still gathering metadata (or is still running)?
In my program I set the search scope to a single directory; now, the query is simple so it takes a few time to collect all the data. How can I know whether it's finished or not?
I would recommend you take a look at the NSMetadataQuery Class Reference. It has information about the NSMetadataQuery
, including two methods (-isGathering
and -isStopped
)...