project_files/HedgewarsMobile/Classes/SchemeWeaponConfigViewController.m
changeset 3659 f8d5ac50e307
parent 3619 1155d8970646
child 3662 a44406f4369b
equal deleted inserted replaced
3658:113cb9345be1 3659:f8d5ac50e307
    29     
    29     
    30     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
    30     if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad) {
    31         [self.tableView setBackgroundView:nil]; 
    31         [self.tableView setBackgroundView:nil]; 
    32         self.view.backgroundColor = [UIColor clearColor];
    32         self.view.backgroundColor = [UIColor clearColor];
    33     }
    33     }
       
    34     self.tableView.separatorColor = [UIColor colorWithRed:(CGFloat)0xFE/255 green:(CGFloat)0xCB/255 blue:0 alpha:1];
       
    35     self.tableView.separatorStyle = UITableViewCellSeparatorStyleNone;
    34 }
    36 }
    35 
    37 
    36 -(void) viewWillAppear:(BOOL) animated {
    38 -(void) viewWillAppear:(BOOL) animated {
    37     [super viewWillAppear:animated];
    39     [super viewWillAppear:animated];
    38 
    40 
    90         if ([[self.listOfWeapons objectAtIndex:row] isEqualToString:self.selectedWeapon]) {
    92         if ([[self.listOfWeapons objectAtIndex:row] isEqualToString:self.selectedWeapon]) {
    91             cell.accessoryType = UITableViewCellAccessoryCheckmark;
    93             cell.accessoryType = UITableViewCellAccessoryCheckmark;
    92             self.lastIndexPath_we = indexPath;
    94             self.lastIndexPath_we = indexPath;
    93         }
    95         }
    94     }
    96     }
    95 
       
    96     return cell;
    97     return cell;
    97 }
    98 }
    98 
    99 
    99 
   100 
   100 #pragma mark -
   101 #pragma mark -