variable arguments in ObjC
variable arguments in ObjC
- Subject: variable arguments in ObjC
- From: Nicholas Shanks <email@hidden>
- Date: Fri, 22 Feb 2002 13:42:00 +0000
I want to write a function with a variable number of arguments, all "id"s,
and the last one being nil. (The same as NSArray's initWithObjects)
The only mention of this in association with Objective C I can find is on
a page saying "you can't do this with java", but doesn't say how to do it
with Cocoa! (
http://www.bignerdranch.com/Resources/Java.html)
Can anyone point me in the right direction?
Nicholas Shanks
--
http://nickshanks.com/
_______________________________________________
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.