equal
deleted
inserted
replaced
|
1 // |
|
2 // SettingsViewController.m |
|
3 // hwengine |
|
4 // |
|
5 // Created by Vittorio on 08/01/10. |
|
6 // Copyright 2010 __MyCompanyName__. All rights reserved. |
|
7 // |
|
8 |
|
9 #import "SettingsViewController.h" |
|
10 |
|
11 |
|
12 @implementation SettingsViewController |
|
13 |
|
14 /* |
|
15 // The designated initializer. Override if you create the controller programmatically and want to perform customization that is not appropriate for viewDidLoad. |
|
16 - (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil { |
|
17 if (self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]) { |
|
18 // Custom initialization |
|
19 } |
|
20 return self; |
|
21 } |
|
22 */ |
|
23 |
|
24 /* |
|
25 // Implement viewDidLoad to do additional setup after loading the view, typically from a nib. |
|
26 - (void)viewDidLoad { |
|
27 [super viewDidLoad]; |
|
28 } |
|
29 */ |
|
30 |
|
31 /* |
|
32 // Override to allow orientations other than the default portrait orientation. |
|
33 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation { |
|
34 // Return YES for supported orientations |
|
35 return (interfaceOrientation == UIInterfaceOrientationPortrait); |
|
36 } |
|
37 */ |
|
38 |
|
39 - (void)didReceiveMemoryWarning { |
|
40 // Releases the view if it doesn't have a superview. |
|
41 [super didReceiveMemoryWarning]; |
|
42 |
|
43 // Release any cached data, images, etc that aren't in use. |
|
44 } |
|
45 |
|
46 - (void)viewDidUnload { |
|
47 // Release any retained subviews of the main view. |
|
48 // e.g. self.myOutlet = nil; |
|
49 } |
|
50 |
|
51 |
|
52 - (void)dealloc { |
|
53 [super dealloc]; |
|
54 } |
|
55 |
|
56 |
|
57 @end |