An ODQuery object serves as a Cocoa wrapper for an Open Directory query.


class ODQuery : NSObject


Managing Asynchronous Queries

var delegate: ODQueryDelegate!

The query’s delegate.

var operationQueue: OperationQueue!

The queue on which asynchronous results are delivered to the delegate.

func schedule(in: RunLoop!, forMode: String!)

Retrieves results from a query asynchronously by scheduling the query in a run loop.

func remove(from: RunLoop!, forMode: String!)

Removes the query from a specified run loop.

func synchronize()

Restarts a query, disposing of any results it has obtained.

Managing Synchronous Queries

func resultsAllowingPartial(Bool) -> [Any]

Returns results from a query synchronously.


Inherits From