Contents

schedule(in:forMode:)

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

Declaration

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

Parameters

  • inRunLoop:

    The run loop.

  • inMode:

    The mode of the run loop.

Discussion

A delegate must be set prior to calling this method; otherwise, results may be lost due to the lack of a receiver.

See Also

Managing Asynchronous Queries