I have a quick question:
How can I return a C-style 2 dimensional array from an Objective C method, containing pointers to various objects that I can address using myArray[x][y].someProperty or [myArray[x][y] someMethodCall:myArgument]? I'm guessing that something like NSData would need to be used to "package" the return data, which would be unpackaged on the other end.
The objects that need to be addressed like so are stored internally inside the Objective C class as a 1 dimensional NSMutableArray, which has a capacity equal to width*height. I'm aware that some pointer magic is going to have to happen here to translate between the C-style 2D array and the actual 1 dimensional NSMutableArray.
Is this possible?
Cheers, -Keven Tipping
x = func();tofunc(&x);, though with arrays the&is not exactly correct depending on how you declare it).