Re: Array question
Re: Array question
- Subject: Re: Array question
- From: <email@hidden>
- Date: Sun, 17 Jul 2005 17:40:44 -0400
- Bounce-to: <email@hidden>
you can also use
[productArray addObjectsFromArray:[NSArray
arrayWithObjects:@"One",@"Two",@"etc...",nil]];
Mark
On 7/17/2005, "Derrick Carlin" <email@hidden> 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.
>
>D
>
>
>
>-
>Derrick Carlin
>
> _______________________________________________
>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
_______________________________________________
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