equal
deleted
inserted
replaced
22 #pragma mark View lifecycle |
22 #pragma mark View lifecycle |
23 -(void) viewDidLoad { |
23 -(void) viewDidLoad { |
24 [super viewDidLoad]; |
24 [super viewDidLoad]; |
25 |
25 |
26 self.flagArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:FLAGS_DIRECTORY() error:NULL]; |
26 self.flagArray = [[NSFileManager defaultManager] contentsOfDirectoryAtPath:FLAGS_DIRECTORY() error:NULL]; |
|
27 |
|
28 self.title = NSLocalizedString(@"Set team flag",@""); |
27 } |
29 } |
28 |
30 |
29 -(void) viewWillAppear:(BOOL)animated { |
31 -(void) viewWillAppear:(BOOL)animated { |
30 [super viewWillAppear:animated]; |
32 [super viewWillAppear:animated]; |
31 [self.tableView reloadData]; |
33 [self.tableView reloadData]; |
108 |
110 |
109 -(void) viewDidUnload { |
111 -(void) viewDidUnload { |
110 self.teamDictionary = nil; |
112 self.teamDictionary = nil; |
111 self.lastIndexPath = nil; |
113 self.lastIndexPath = nil; |
112 self.flagArray = nil; |
114 self.flagArray = nil; |
|
115 MSG_DIDUNLOAD(); |
113 [super viewDidUnload]; |
116 [super viewDidUnload]; |
114 MSG_DIDUNLOAD(); |
|
115 } |
117 } |
116 |
118 |
117 -(void) dealloc { |
119 -(void) dealloc { |
118 [teamDictionary release]; |
120 [teamDictionary release]; |
119 [lastIndexPath release]; |
121 [lastIndexPath release]; |