cocoaTouch/TeamMenuViewController.m
author nemo
Sat, 03 Apr 2010 13:55:39 +0000
changeset 3287 4f7b57ed18b6
parent 3116 97dc65a47b15
permissions -rw-r--r--
New game scheme option to turn off land objects
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
2687
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     1
//
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     2
//  TeamMenuViewController.m
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     3
//  hwengine
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     4
//
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     5
//  Created by Vittorio on 08/01/10.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     6
//  Copyright 2010 __MyCompanyName__. All rights reserved.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     7
//
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     8
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
     9
#import "TeamMenuViewController.h"
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    10
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    11
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    12
@implementation TeamMenuViewController
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    13
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    14
/*
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    15
 // The designated initializer.  Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    16
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil {
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    17
    if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) {
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    18
        // Custom initialization
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    19
    }
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    20
    return self;
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    21
}
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    22
*/
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    23
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    24
/*
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    25
// Implement viewDidLoad to do additional setup after loading the view, typically from a nib.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    26
- (void)viewDidLoad {
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    27
    [super viewDidLoad];
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    28
}
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    29
*/
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    30
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    31
// Override to allow orientations other than the default portrait orientation.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    32
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    33
    // Return YES for supported orientations
3116
97dc65a47b15 branch ipad/iphone files to keep compatibility between versions
koda
parents: 2687
diff changeset
    34
    return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
2687
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    35
}
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    36
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    37
- (void)didReceiveMemoryWarning {
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    38
	// Releases the view if it doesn't have a superview.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    39
    [super didReceiveMemoryWarning];
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    40
	
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    41
	// Release any cached data, images, etc that aren't in use.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    42
}
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    43
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    44
- (void)viewDidUnload {
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    45
	// Release any retained subviews of the main view.
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    46
	// e.g. self.myOutlet = nil;
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    47
}
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    48
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    49
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    50
- (void)dealloc {
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    51
    [super dealloc];
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    52
}
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    53
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    54
28b8330b8af1 add stub files for other views and prevent useless crashes
koda
parents:
diff changeset
    55
@end