ilgaar
1
int main(int argc, const char * argv[]) {
@autoreleasepool {
NSMutableArray *groceryList = [NSMutableArray array];
[groceryList addObject:@"Loaf of bread"];
[groceryList addObject:@"Container of milk"];
[groceryList addObject:@"Stick of butter"];
[groceryList addObject:@"A bag of potatos"];
[groceryList addObject:@"A box of apples"];
[groceryList addObject:@"Six eggs"];
NSLog(@"My grocery list is:");
for (NSString *item in groceryList) {
NSLog(@"%@", item);
}
}
return 0;
}