--- a/cocoaTouch/MasterViewController.m Sun Apr 11 01:04:54 2010 +0000
+++ b/cocoaTouch/MasterViewController.m Sun Apr 11 03:43:13 2010 +0000
@@ -10,10 +10,17 @@
#import "DetailViewController.h"
#import "GeneralSettingsViewController.h"
#import "TeamSettingsViewController.h"
+#import "CommodityFunctions.h"
@implementation MasterViewController
@synthesize detailViewController, optionList, controllers, lastIndexPath;
+
+-(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
+ return rotationManager(interfaceOrientation);
+}
+
+
#pragma mark -
#pragma mark View lifecycle
- (void)viewDidLoad {
@@ -50,11 +57,6 @@
[array release];
}
--(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
- return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
-}
-
-
#pragma mark -
#pragma mark Table view data source