Adding objects to NSMutableArray


#1

Though both work for what I am doing, I am wondering whether one of these is a better way to add objects to an NSMutableArray? If so, which one and why?

  1. NSMutableArray *cities = [NSMutableArray arrayWithObjects: @“London”, @“New York”, @“Bombay”, nil];

  2. NSMutableArray *cities = [[NSMutableArray alloc] initWithObjects: @“London”, @“New York”, @“Bombay”, nil];

Thanks.