project_files/HedgewarsMobile/Classes/FortsViewController.m
changeset 3662 a44406f4369b
parent 3547 02875b1145b7
child 3663 8c28abf427f5
equal deleted inserted replaced
3661:2378ada8a6ee 3662:a44406f4369b
    51     [spriteArray release];
    51     [spriteArray release];
    52     */
    52     */
    53     
    53     
    54     // statically set row height instead of using delegate method for performance reasons
    54     // statically set row height instead of using delegate method for performance reasons
    55     self.tableView.rowHeight = 200;
    55     self.tableView.rowHeight = 200;
       
    56     
       
    57     self.title = NSLocalizedString(@"Choose team fort",@"");
    56 }
    58 }
    57 
    59 
    58 
    60 
    59 - (void)viewWillAppear:(BOOL)animated {
    61 - (void)viewWillAppear:(BOOL)animated {
    60     [super viewWillAppear:animated];
    62     [super viewWillAppear:animated];
   141 
   143 
   142 -(void) viewDidUnload {
   144 -(void) viewDidUnload {
   143     self.teamDictionary = nil;
   145     self.teamDictionary = nil;
   144     self.lastIndexPath = nil;
   146     self.lastIndexPath = nil;
   145     self.fortArray = nil;
   147     self.fortArray = nil;
       
   148     MSG_DIDUNLOAD();
   146     [super viewDidUnload];
   149     [super viewDidUnload];
   147     MSG_DIDUNLOAD();
       
   148 }
   150 }
   149 
   151 
   150 
   152 
   151 - (void)dealloc {
   153 -(void) ealloc {
   152     [teamDictionary release];
   154     [teamDictionary release];
   153     [lastIndexPath release];
   155     [lastIndexPath release];
   154     [fortArray release];
   156     [fortArray release];
   155 //    [fortSprites release];
   157 //    [fortSprites release];
   156     [super dealloc];
   158     [super dealloc];