author | smxx |
Mon, 22 Mar 2010 20:57:49 +0000 | |
changeset 3050 | d6937fc885a1 |
parent 2687 | 28b8330b8af1 |
child 3116 | 97dc65a47b15 |
permissions | -rw-r--r-- |
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 |
/* |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
32 |
// 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
|
33 |
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
34 |
// Return YES for supported orientations |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
35 |
return (interfaceOrientation == UIInterfaceOrientationPortrait); |
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 |
*/ |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
38 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
39 |
- (void)didReceiveMemoryWarning { |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
40 |
// 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
|
41 |
[super didReceiveMemoryWarning]; |
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 |
// 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
|
44 |
} |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
45 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
46 |
- (void)viewDidUnload { |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
47 |
// Release any retained subviews of the main view. |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
48 |
// e.g. self.myOutlet = nil; |
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 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
51 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
52 |
- (void)dealloc { |
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
53 |
[super dealloc]; |
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 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
56 |
|
28b8330b8af1
add stub files for other views and prevent useless crashes
koda
parents:
diff
changeset
|
57 |
@end |