Contents

MDQueryGetResultCount(_:)

Returns the number of results currently collected by the query.

Declaration

func MDQueryGetResultCount(_ query: MDQuery!) -> CFIndex

Parameters

  • query:

    The query.

Return Value

The number of results in the query.

Discussion

Note that the number of results in a query will change over time as the query's result list is updated.

See Also

Getting Query Result Values