variadic function
variadic function
- Subject: variadic function
- From: Roland Silver <email@hidden>
- Date: Fri, 18 May 2007 17:24:14 -0600
How can I write a variadic function foo(NSString* format, ...) in
such a way that it can have, in effect, in its body:
NSString* msg = [NSString stringWithFormat:format, ...];
?
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden