I'm traversing through a two-dimensional array like this:
for (menuViewController *aSelection in mainDataArray) {
...
}
However, how do I access the lower arrays' data? This following code doesn't work, but gives you the idea of what I mean:
for (menuViewController *aSelection in mainDataArray) {
NSLog(@"Data: %@", [aSelection objectAtIndex:2]);
}