I need to create a mutable two-dimensional array in Objective-C.
For example I have:
NSMutableArray *sections;
NSMutableArray *rows;
Each item in sections consists of an array rows. rows is an array that contains objects.
And I want to do something …
I have an NSMutableArray that stores mousejoints for a Box2d physics simulation. When using more than one finger to play I'll get exceptions stating
NSArray was mutated while being enumerated
I know this is because I'm deleting objects from …