Why add a nil item to an NSArray ?
Why add a nil item to an NSArray ?
- Subject: Why add a nil item to an NSArray ?
- From: Martin Ottenwaelter <email@hidden>
- Date: Mon, 27 Jun 2005 21:08:17 +0200
Hi,
Why doesn't that works :
[NSArray initWithObjects:@"First",@"Second"];
Why do I have to add that nil item for the NSArray to be ok ?
[NSArray initWithObjects:@"First",@"Second",nil];
Thanks.
--
Martin
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden