PDA

View Full Version : Multi-Dimension NSArray (or NSMutableArray)




louden
Aug 1, 2008, 03:17 PM
Is it possible to init NSArrays or NSMutableArrays wtih multiple dimensions?

From the documenation, it doesn't look like, but it would be kind of useful.



tacoman667
Aug 1, 2008, 03:47 PM
Is it possible to init NSArrays or NSMutableArrays wtih multiple dimensions?

From the documenation, it doesn't look like, but it would be kind of useful.

You will have to do it in the manual sense of the word, nested Arrays.

springframework
Aug 1, 2008, 04:53 PM
yeah ... you can have an array of arrays ...

you can even have an array of arrays of arrays ... 3D!