equal
deleted
inserted
replaced
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]; |