equal
deleted
inserted
replaced
54 numberOfSections = 2; |
54 numberOfSections = 2; |
55 |
55 |
56 [self.tableView reloadData]; |
56 [self.tableView reloadData]; |
57 // this moves the tableview to the top |
57 // this moves the tableview to the top |
58 [self.tableView setContentOffset:CGPointMake(0,0) animated:NO]; |
58 [self.tableView setContentOffset:CGPointMake(0,0) animated:NO]; |
59 } |
|
60 |
|
61 -(void) viewWillDisappear:(BOOL)animated { |
|
62 // stuff like checking that at least 1 field was selected |
|
63 } |
59 } |
64 |
60 |
65 #pragma mark - |
61 #pragma mark - |
66 #pragma mark Table view data source |
62 #pragma mark Table view data source |
67 -(NSInteger) numberOfSectionsInTableView:(UITableView *)tableView { |
63 -(NSInteger) numberOfSectionsInTableView:(UITableView *)tableView { |