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