Re: Array question
Re: Array question
- Subject: Re: Array question
- From: "John C. Randolph" <email@hidden>
- Date: Mon, 18 Jul 2005 07:37:04 -0700
On Jul 17, 2005, at 1:32 PM, Derrick Carlin wrote:
I've been searching on-line and was able to learn how to create an
array like so...
NSMutableArray *productArray;
productArray = [[NSMutableArray alloc] init];
[productArray addObject: @"Pack 1"];
NSLog(@"Array description: %@ items.\n", productArray);
How can I send several items to an array at the same time:
Like "pack1", "pack2" etc.
As it happens, the Q&A I wrote on variadic methods in Obj-C does
exactly this:
http://developer.apple.com/qa/qa2005/qa1405.html
-jcr
John C. Randolph <email@hidden> (408) 914-0013
Roaming Cocoa Engineer,
Available for your projects at great Expense and Inconvenience.
_______________________________________________
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