Re: Variadic arguments to methods in Objective-C - How ?
Re: Variadic arguments to methods in Objective-C - How ?
- Subject: Re: Variadic arguments to methods in Objective-C - How ?
- From: "M. Uli Kusterer" <email@hidden>
- Date: Sat, 8 Jan 2005 23:26:41 +0100
At 21:38 Uhr +0200 08.01.2005, Vincent Coetzee wrote:
How does one create methods in Objective-C that use a variable
number of arguments. I am familiar with the normal C mechanism, but
does this work in Objective-C considering the hidden arguments to
methods (i.e. _self and _cmd) ? So can I use the normal C mechanism
and if not how is it done ? Some sample code would be appreciated.
Yes, you can just use it the same way as in C.
--
Cheers,
M. Uli Kusterer
------------------------------------------------------------
"The Witnesses of TeachText are everywhere..."
http://www.zathras.de
_______________________________________________
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