equal
deleted
inserted
replaced
|
1 // |
|
2 // HelpPageLobbyViewController.m |
|
3 // Hedgewars |
|
4 // |
|
5 // Created by Vittorio on 30/08/10. |
|
6 // Copyright 2010 __MyCompanyName__. All rights reserved. |
|
7 // |
|
8 |
|
9 #import "HelpPageViewController.h" |
|
10 #import "CommodityFunctions.h" |
|
11 |
|
12 @implementation HelpPageViewController |
|
13 |
|
14 |
|
15 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation { |
|
16 return rotationManager(interfaceOrientation); |
|
17 } |
|
18 |
|
19 -(void) didReceiveMemoryWarning { |
|
20 // Releases the view if it doesn't have a superview. |
|
21 [super didReceiveMemoryWarning]; |
|
22 // Release any cached data, images, etc that aren't in use. |
|
23 } |
|
24 |
|
25 -(void) viewDidUnload { |
|
26 [super viewDidUnload]; |
|
27 // Release any retained subviews of the main view. |
|
28 // e.g. self.myOutlet = nil; |
|
29 } |
|
30 |
|
31 -(void) dealloc { |
|
32 [super dealloc]; |
|
33 } |
|
34 |
|
35 -(IBAction) dismiss { |
|
36 [UIView beginAnimations:@"helpingame" context:NULL]; |
|
37 self.view.alpha = 0; |
|
38 [UIView commitAnimations]; |
|
39 [self.view performSelector:@selector(removeFromSuperview) withObject:nil afterDelay:1]; |
|
40 } |
|
41 |
|
42 @end |