- (id) init { self = [super init]; if (self != nil) { _people = [[NSMutableArray alloc] init]; [_people addObject:[[Person alloc] init]]; } return self; } - (IBAction)add:(id)sender { [_people addObject:[[Person alloc] init]]; [table reloadData]; } - (void)setPeople:(NSMutableArray *)people { _people = people; } - (NSMutableArray *)people { return _people; }