ObjFW
|
A protocol for fast enumeration. More...
#import <ObjFW/OFEnumerator.h>
Instance Methods | |
(int) | - countByEnumeratingWithState:objects:count: |
A method which is called by the code produced by the compiler when doing a fast enumeration. More... | |
A protocol for fast enumeration.
The OFFastEnumeration protocol needs to be implemented by all classes supporting fast enumeration.
- (int) countByEnumeratingWithState: | (of_fast_enumeration_state_t *) | state | |
objects: | (id __unsafe_unretained OF_NONNULL *OF_NONNULL) | objects | |
count: | (int) | count | |
A method which is called by the code produced by the compiler when doing a fast enumeration.
state | Context information for the enumeration |
objects | A pointer to an array where to put the objects |
count | The number of objects that can be stored at objects |