Re: 2D Arrays
Re: 2D Arrays
- Subject: Re: 2D Arrays
- From: Finlay Dobbie <email@hidden>
- Date: Sat, 7 Jun 2003 23:14:15 +0100
On Saturday, June 7, 2003, at 10:53 pm, email@hidden wrote:
What would be the best way to implement a 2 dimensional (or
multi-dimensional) array in Obj-C/Cocoa?
Well, you can do it with NSArray, of course. Just insert arrays into
your array and you can do like
[[array objectAtIndex:i] objectAtIndex:j] etc
If you really need to :-)
-- Finlay
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.