project_files/HedgewarsMobile/Classes/TeamSettingsViewController.m
changeset 3662 a44406f4369b
parent 3660 bc125bea5849
child 3697 d5b30d6373fc
equal deleted inserted replaced
3661:2378ada8a6ee 3662:a44406f4369b
    15 
    15 
    16 
    16 
    17 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    17 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    18     return rotationManager(interfaceOrientation);
    18     return rotationManager(interfaceOrientation);
    19 }
    19 }
    20 
       
    21 
    20 
    22 #pragma mark -
    21 #pragma mark -
    23 #pragma mark View lifecycle
    22 #pragma mark View lifecycle
    24 // add an edit button
    23 // add an edit button
    25 -(void) viewDidLoad {
    24 -(void) viewDidLoad {
   150 }
   149 }
   151 
   150 
   152 -(void) viewDidUnload {
   151 -(void) viewDidUnload {
   153     self.listOfTeams = nil;
   152     self.listOfTeams = nil;
   154     childController = nil;
   153     childController = nil;
       
   154     MSG_DIDUNLOAD();
   155     [super viewDidUnload];
   155     [super viewDidUnload];
   156     MSG_DIDUNLOAD();
       
   157 }
   156 }
   158 
   157 
   159 -(void) dealloc {
   158 -(void) dealloc {
   160     [self.listOfTeams release];
   159     [self.listOfTeams release];
   161     [childController release];
   160     [childController release];