cocoaTouch/iPad/DetailViewController.m
changeset 3251 221c163ad5d9
parent 3250 d5cd1a617123
child 3253 b0b1b1310b7e
equal deleted inserted replaced
3250:d5cd1a617123 3251:221c163ad5d9
    16 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
    16 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
    17 - (void)viewDidLoad {
    17 - (void)viewDidLoad {
    18     self.title =@"First";
    18     self.title =@"First";
    19     NSMutableArray *array= [[NSMutableArray alloc] init];
    19     NSMutableArray *array= [[NSMutableArray alloc] init];
    20 
    20 
    21     TeamSettingsViewController *teamSettingsViewController = [[TeamSettingsViewController alloc] initWithStyle:UITableViewStylePlain];
    21     TeamSettingsViewController *teamSettingsViewController = [[TeamSettingsViewController alloc] 
       
    22                                                               initWithStyle:UITableViewStyleGrouped];
    22     teamSettingsViewController.title =NSLocalizedString(@"Teams",@"");
    23     teamSettingsViewController.title =NSLocalizedString(@"Teams",@"");
    23     [array addObject:teamSettingsViewController];
    24     [array addObject:teamSettingsViewController];
    24     [teamSettingsViewController release];
    25     [teamSettingsViewController release];
    25     
    26     
    26     self.controllers = array;
    27     self.controllers = array;