Challenge 17.01 from Russia


#1
#import <Foundation/Foundation.h>

int main(int argc, const char * argv[]) {
    @autoreleasepool {
        
        NSMutableArray *groceries = [NSMutableArray arrayWithObjects: @"Load of bread", @"Container of milk", @"Stick of butter", nil];
        
        NSUInteger groceryCount = [groceries count];
        
        NSLog(@"My grocery list is:");
        for (int i = 0; i < groceryCount; i++) {
            NSLog(@"%@", groceries[i]);
        }
    }
    return 0;
}