Executes the specified block using each object in the fetch result.
- iOS 8.0+
- macOS 10.13+
- tvOS 10.0+
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
truewithin the block to cancel further processing of the fetch result.