NSMutableArray always empty
NSMutableArray *experienceValues;
experienceValues = [NSMutableArray alloc] initWithObjects:0,83,174,276,nil];
NSLog(@"%@", [experienceValues objectAtIndex:3]);
Why does this always throw -[__NSArrayM objectAtIndex:]: index 3 beyond
bounds for empty array when it is clearly allocated and initialised in the
line just before?
No comments:
Post a Comment