project_files/HedgewarsMobile/Classes/GeneralSettingsViewController.m
changeset 3574 78fc6e61570b
parent 3547 02875b1145b7
child 3659 f8d5ac50e307
equal deleted inserted replaced
3573:c84067629035 3574:78fc6e61570b
   347 -(CGFloat) tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
   347 -(CGFloat) tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section {
   348     return 57.0;
   348     return 57.0;
   349 }
   349 }
   350 */
   350 */
   351 
   351 
   352 
   352 /*
       
   353  causes segfault if pressing twice cancel
   353 #pragma mark -
   354 #pragma mark -
   354 #pragma mark Table view delegate
   355 #pragma mark Table view delegate
   355 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
   356 -(void) tableView:(UITableView *)aTableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath {
   356     UITableViewCell *cell;
   357     UITableViewCell *cell;
   357     if (kNetworkFields == [indexPath section]) {
   358     if (kNetworkFields == [indexPath section]) {
   363             }
   364             }
   364         }
   365         }
   365         [aTableView deselectRowAtIndexPath:indexPath animated:NO];
   366         [aTableView deselectRowAtIndexPath:indexPath animated:NO];
   366     }
   367     }
   367 }
   368 }
   368 
   369 */
   369 
   370 
   370 #pragma mark -
   371 #pragma mark -
   371 #pragma mark Memory management
   372 #pragma mark Memory management
   372 -(void) didReceiveMemoryWarning {
   373 -(void) didReceiveMemoryWarning {
   373     // Releases the view if it doesn't have a superview.
   374     // Releases the view if it doesn't have a superview.