enumerateResults(_:)
Enumerates the current set of results using the given block.
Declaration
func enumerateResults(_ block: (Any, Int, UnsafeMutablePointer<ObjCBool>) -> Void)Parameters
- 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. Use enumerateResults(options:using:) if you want to use concurrent or reverse iteration.