Re: Why add a nil item to an NSArray ?
Re: Why add a nil item to an NSArray ?
- Subject: Re: Why add a nil item to an NSArray ?
- From: Ondra Cada <email@hidden>
- Date: Tue, 28 Jun 2005 00:30:14 +0200
Mark,
On 28.6.2005, at 0:20, Mark Munz (DevList) wrote:
Is this maybe something left over from the past?
Yeah, from the glamorous past :)
The variable argument method already has process a variable list of
arguments already and can easily determine when the end is reached.
... using the nil argument :)
Other methods like [NSString stringWithFormat:(NSString*)format,...]
work as you would expect.
Have you ever tried [NSString stringWithFormat:@"%@"]? :)))
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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