cocoaTouch/HogHatViewController.m
changeset 3312 6d8f1c76756d
parent 3308 b6dcae4b6d2c
child 3315 4e2813713358
equal deleted inserted replaced
3311:18436bb84bfe 3312:6d8f1c76756d
    47     [super viewWillAppear:animated];
    47     [super viewWillAppear:animated];
    48     self.title = [hog objectForKey:@"hogname"];
    48     self.title = [hog objectForKey:@"hogname"];
    49     // this updates the hog name and its hat
    49     // this updates the hog name and its hat
    50     [self.tableView reloadData];
    50     [self.tableView reloadData];
    51     // this moves the tableview to the top
    51     // this moves the tableview to the top
    52     [self.tableView setContentOffset:CGPointMake(0, 0) animated:NO];
    52     [self.tableView setContentOffset:CGPointMake(0,0) animated:NO];
    53 }
    53 }
    54 
    54 
    55 /*
    55 /*
    56 - (void)viewDidAppear:(BOOL)animated {
    56 - (void)viewDidAppear:(BOOL)animated {
    57     [super viewDidAppear:animated];
    57     [super viewDidAppear:animated];