• 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: Newbie Question: Multidimensional NSMutableArray Creation
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Newbie Question: Multidimensional NSMutableArray Creation


  • Subject: Re: Newbie Question: Multidimensional NSMutableArray Creation
  • From: Cyril Godefroy <email@hidden>
  • Date: Mon, 14 May 2001 12:18:53 +0200

Here's the translation:

NSMutableArray anArray = new NSMutableArray();
//bla bla bla fill the NSMutableArray...
NSMutableArray anotherArray = new NSMutableArray();
anArray.addObject(anotherArray);



I have not used Cocoa/Java, so here's a twoliner in objc. You should be
able to translate that into java...

NSMutableArray *theRows = [[NSMutableArray array] retain];
[theRows addObject: [NSMutableArray array: 3]];

This is all pretty basic stuff.


Cyril Godefroy
www.macosxfr.com
homepage.mac.com/cgodefroy


References: 
 >Re: Newbie Question: Multidimensional NSMutableArray Creation (From: Stefan Arentz <email@hidden>)

  • Prev by Date: Re: Newbie Question: Multidimensional NSMutableArray Creation
  • Next by Date: Icon for docklings Icon for docklings
  • Previous by thread: Re: Newbie Question: Multidimensional NSMutableArray Creation
  • Next by thread: Re: Newbie Question: Multidimensional NSMutableArray Creation
  • Index(es):
    • Date
    • Thread