Created
February 13, 2013 10:31
-
-
Save squm/4943694 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#import "DefaultViewController.h" | |
@interface DefaultViewController () | |
@end | |
@implementation DefaultViewController | |
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil | |
{ | |
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil]; | |
if (self) { | |
// Custom initialization | |
} | |
return self; | |
} | |
- (void)viewDidLoad | |
{ | |
[super viewDidLoad]; | |
// Do any additional setup after loading the view from its nib. | |
} | |
- (void)didReceiveMemoryWarning | |
{ | |
[super didReceiveMemoryWarning]; | |
// Dispose of any resources that can be recreated. | |
} | |
- (NSUInteger)supportedInterfaceOrientations { | |
return UIInterfaceOrientationMaskLandscape; | |
} | |
- (BOOL)shouldAutorotate { | |
return YES; | |
} | |
@end | |
------ | |
DefaultViewController.h | |
#import <UIKit/UIKit.h> | |
@interface DefaultViewController : UIViewController | |
@end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment