ObjFW
|
A protocol for fast enumeration. More...
#include <ObjFW/ObjFW.h>
Instance Methods | |
(int) | - countByEnumeratingWithState:objects:count: |
A method which is called by the code produced by the compiler when doing a fast enumeration. | |
A protocol for fast enumeration.
The OFFastEnumeration protocol needs to be implemented by all classes supporting fast enumeration.
- (int) countByEnumeratingWithState: | (OFFastEnumerationState *) | state | |
objects: | (id __unsafe_unretained *) | 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 |
OFEnumerationMutationException | The object was mutated during enumeration |