project_files/HedgewarsMobile/Classes/LevelViewController.m
branchios-revival
changeset 11217 e68b3e392091
parent 11206 2e80c9861818
child 12872 00215a7ec5f5
equal deleted inserted replaced
11216:76fd61a88c1e 11217:e68b3e392091
    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 {