Re: Multidimensiaon Arrays in Cocoa
Re: Multidimensiaon Arrays in Cocoa
- Subject: Re: Multidimensiaon Arrays in Cocoa
- From: Andreas Monitzer <email@hidden>
- Date: Sun, 23 Sep 2001 13:50:46 +0200
On Sunday, September 23, 2001, at 01:35 , email@hidden wrote:
Am I missing something or are there no multidimensional arrays in Cocoa's
NSArray? What do we do, just implement them the old fashioned way with
Objective-C?
You should use NSArrays of NSArrays:
(
(
one,
two
),
(
three,
four
),
(
five,
six
)
)
to get "three" use [[array objectAtIndex:1] objectAtIndex:0].
andy
--
"He was addicted to life. But we cured him"