• 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: NSArray losing its data
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSArray losing its data


  • Subject: Re: NSArray losing its data
  • From: "Jean-Olivier Lanctôt-D." <email@hidden>
  • Date: Sun, 17 Nov 2002 14:43:26 -0500

That's not true. Where you got the impression from?
The Doc@ http://developer.apple.com/techpubs/macosx/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSArray.html

I don't see -initWithCapacity.
I tried to do this

NSArray *array = [[NSArray alloc] initWithCapacity:0];

in the init method of some random project and it gave me this

*** Uncaught exception: <NSInvalidArgumentException> *** -[NSPlaceholderArray initWithCapacity:]: selector not recognized

Maybe it's just me, tough....

Wrong, unless you meant those two negatives to cancel each other ;)

What negatives :-D

-- Jean-Olivier


On Sunday, November 17, 2002, at 02:19 PM, Ondra Cada wrote:
_______________________________________________
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.

References: 
 >Re: NSArray losing its data (From: Ondra Cada <email@hidden>)

  • Prev by Date: Re: Re[2]: ANN: GDL2
  • Next by Date: Re: NSArray losing its data
  • Previous by thread: Re: NSArray losing its data
  • Next by thread: Re: NSArray losing its data
  • Index(es):
    • Date
    • Thread