cocoaTouch/FortsViewController.m
changeset 3335 2520ee7a5484
parent 3325 652a8ebdf667
child 3352 ac5d14a35482
equal deleted inserted replaced
3334:f94a52a763d4 3335:2520ee7a5484
    12 
    12 
    13 @implementation FortsViewController
    13 @implementation FortsViewController
    14 @synthesize teamDictionary, fortArray, fortSprites, lastIndexPath;
    14 @synthesize teamDictionary, fortArray, fortSprites, lastIndexPath;
    15 
    15 
    16 
    16 
    17 - (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation {
    17 -(BOOL) shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation) interfaceOrientation {
    18     return (interfaceOrientation == UIInterfaceOrientationLandscapeRight);
    18 	return rotationManager(interfaceOrientation);
    19 }
    19 }
       
    20 
    20 
    21 
    21 #pragma mark -
    22 #pragma mark -
    22 #pragma mark View lifecycle
    23 #pragma mark View lifecycle
    23 - (void)viewDidLoad {
    24 - (void)viewDidLoad {
    24     [super viewDidLoad];
    25     [super viewDidLoad];