• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Multidimensiaon Arrays in Cocoa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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"


References: 
 >Multidimensiaon Arrays in Cocoa (From: email@hidden)

  • Prev by Date: Re: NSImage lockFocus
  • Next by Date: Re: Multidimensiaon Arrays in Cocoa
  • Previous by thread: Multidimensiaon Arrays in Cocoa
  • Next by thread: Re: Multidimensiaon Arrays in Cocoa
  • Index(es):
    • Date
    • Thread