• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Array question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Array question


  • Subject: Array question
  • From: Derrick Carlin <email@hidden>
  • Date: Sun, 17 Jul 2005 13:32:09 -0700

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


  • Follow-Ups:
    • Re: Array question
      • From: "John C. Randolph" <email@hidden>
    • Re: Array question
      • From: <email@hidden>
    • Re: Array question
      • From: Charilaos Skiadas <email@hidden>
  • Prev by Date: Re: cleanup; dealing with serious errors
  • Next by Date: Re: Array question
  • Previous by thread: Re: cleanup; dealing with serious errors
  • Next by thread: Re: Array question
  • Index(es):
    • Date
    • Thread