-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathAFAnalysisViewController.m
More file actions
40 lines (30 loc) · 930 Bytes
/
AFAnalysisViewController.m
File metadata and controls
40 lines (30 loc) · 930 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
#import "AFAnalysisViewController.h"
@interface AFAnalysisViewController ()
@end
@implementation AFAnalysisViewController
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
{
self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
if (self) {
// Custom initialization
}
return self;
}
- (void)viewDidLoad
{
[super viewDidLoad];
NSArray *nibObjects = [[NSBundle mainBundle] loadNibNamed:@"AnalysisViewOne" owner:self options:nil];
UIView *one = [nibObjects objectAtIndex:0];
NSArray *views = [NSArray arrayWithObjects:one, nil];
self.viewsArray = views;
}
- (void)viewDidUnload
{
[super viewDidUnload];
// Release any retained subviews of the main view.
}
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation
{
return (interfaceOrientation == UIInterfaceOrientationPortrait);
}
@end