picofuse-objc

NXFastEnumeration.h
Go to the documentation of this file.
1 
6 #pragma once
7 
8 // The state of a for...in loop. Only the name is public: GCC has it built in, and the
9 // fields are defined for clang where Foundation's collections are implemented.
10 struct __objcFastEnumerationState;
11 
17 typedef struct __objcFastEnumerationState NXFastEnumerationState;
18 
29 
39 - (unsigned long)countByEnumeratingWithState:(NXFastEnumerationState *)state
40  objects:(id *)objects
41  count:(unsigned long)count;
42 
43 @end
Objects which can be gone through with a for...in loop.
struct __objcFastEnumerationState NXFastEnumerationState
The state of a for...in loop, passed to countByEnumeratingWithState:objects:count:.