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.