Re: NSArray losing its data
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.