Instance Method

enumerateResults(options:using:)

Enumerates the current set of results using the given options and block.

Declaration

func enumerateResults(options opts: NSEnumerationOptions = [], using block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)

Parameters

opts

Options for the enumeration. For a complete list of options, see NSEnumerationOptions.

block

The block to execute for each current result.

Discussion

This method disables the query at the start of the iteration and reenables it upon completion.

See Also

Related Symbols

func enumerateResults((Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)

Enumerates the current set of results using the given block.