Executes the specified block using each object in the fetch result.
- iOS 8+
- macOS 10.13+
- UIKit for Mac 13.0+Beta
- tvOS 10+
A bit mask that specifies the options for the enumeration (whether it should be performed concurrently and whether it should be performed in reverse order).
The block to apply to elements in the fetch result.
The block takes three parameters:
The element in the fetch result.
The index of the element in the fetch result.
A pointer to a Boolean value. Set
YESwithin the block to cancel further processing of the fetch result.