ODQuerySetDispatchQueue(_:_:)
Retrieves results from a query asynchronously by adding the query to a dispatch queue.
Declaration
func ODQuerySetDispatchQueue(_ query: ODQueryRef!, _ queue: dispatch_queue_t!)Parameters
- query:
The query.
- queue:
The dispatch queue.
Discussion
When the query is complete, the query’s callback function is called with both inResults and inError set to NULL.