[Solved] Get the index value each for loop [closed]

[ad_1]

NSInteger index = 0;

for(NSMutableDictionary *dict in arr_thisWeek){
    NSLog("%d",[arr_thisWeek objectATIndex:index);

    index++;
}

But you already have the item at that index so you shouldn’t need it for array iteration.

0

[ad_2]

solved Get the index value each for loop [closed]