Hi I want to put this into a function.
NSMutableArray* weekArray = [[NSMutableArray alloc] init];
[weekArray addObject:@"Before School"];
[weekArray addObject:[NSString stringWithFormat:@""]];
[weekArray addObject:[NSString stringWithFormat:@""]];
[weekArray addObject:@"Break"];
[weekArray addObject:[NSString stringWithFormat:@""]];
[weekArray addObject:[NSString stringWithFormat:@""]];
[weekArray addObject:@"Lunch"];
[weekArray addObject:[NSString stringWithFormat:@""]];
[weekArray addObject:[NSString stringWithFormat:@""]];
[weekArray addObject:@"After School"];
return weekArray;
I want to be able to call it and when called, replace weekArray with the array I choose. Possible?