Executes the specified block using each object in the fetch result, starting with the first object and continuing in order to the last object.
- iOS 8+
- macOS 10.13+
- Mac Catalyst 13.0+
- tvOS 10+
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.
This method executes synchronously.