Posted By

B0nis on 07/10/10


Tagged

NSArray


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

bobbym245


Fast Enumeration Array


 / Published in: iPhone
 

  1. NSArray *array = [NSArray arrayWithObjects:
  2. @"One", @"Two", @"Three", @"Four", nil];
  3. for (NSString *element in array) {
  4. NSLog(@"element: %@", element);
  5. }

Report this snippet  

You need to login to post a comment.