#import <GRXNSBlockEnumerator.h>
Instance Methods | |
(instancetype) | - initWithValueSupplier: |
Concrete subclass of NSEnumerator that delegates the invocations of nextObject to a block passed on initialization.
Definition at line 25 of file GRXNSBlockEnumerator.h.
- (instancetype) initWithValueSupplier: | (id(^)(void)) | block |
The first time the passed block returns nil, the enumeration will end and the block will be released.