Currently I'm populating an array in one line, e.g.
self.monthMonths = [[NSArray alloc] initWithObjects:@"January", @"February", @"March", @"April", @"May", @"June",@"July",@"August",@"September",@"October",@"November",@"December", nil];
What is the syntax to add these elements one at a time as I want to pull the data from a database. I'm using the months of the year as an example.
while([results next]) {
NSString *months = [results stringForColumn:@"month"];
self.month = [[NSArray alloc] initWithObjects:@"month",nil];
//[NSArray
NSLog(@"Month: %@",month);
}