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