Because I am a pointer, and you increase the value of the pointer, which will most likely be in step 4 (the size of the NSInteger pointer). Just remove the link to the * pointer, and you should be fine.
NSInteger i = 0;
for ( NSDictionary *teil in gText ) {
In theory, you CAN do this the hard way.
NSInteger *i;
*i = 0;
for ( NSDictionary *teil in gText ) {
...
*i = *i + 1;
...
C:
Reference for types of reference data
#if __LP64__ || TARGET_OS_EMBEDDED || TARGET_OS_IPHONE || TARGET_OS_WIN32 || NS_BUILD_32_LIKE_64
typedef long NSInteger;
#else
typedef int NSInteger;
#endif
source
share