Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
702b148
commit 6caf7ea
Showing
8 changed files
with
1,189 additions
and
1,505 deletions.
There are no files selected for viewing
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
165 changes: 0 additions & 165 deletions
165
anscombe-quartet-ios/Controllers/AQChartViewController.m
This file was deleted.
Oops, something went wrong.
13 changes: 13 additions & 0 deletions
13
anscombe-quartet-ios/Controllers/Base/AQBaseNavigationController.h
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
// | ||
// AQBaseNavigationController.h | ||
// anscombe-quartet-ios | ||
// | ||
// Created by Terry Worona on 6/21/14. | ||
// Copyright (c) 2014 Jawbone. All rights reserved. | ||
// | ||
|
||
#import <UIKit/UIKit.h> | ||
|
||
@interface AQBaseNavigationController : UINavigationController | ||
|
||
@end |
33 changes: 33 additions & 0 deletions
33
anscombe-quartet-ios/Controllers/Base/AQBaseNavigationController.m
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
// | ||
// AQBaseNavigationController.m | ||
// anscombe-quartet-ios | ||
// | ||
// Created by Terry Worona on 6/21/14. | ||
// Copyright (c) 2014 Jawbone. All rights reserved. | ||
// | ||
|
||
#import "AQBaseNavigationController.h" | ||
|
||
@interface AQBaseNavigationController () | ||
|
||
@end | ||
|
||
@implementation AQBaseNavigationController | ||
|
||
- (BOOL)shouldAutorotate | ||
{ | ||
return self.topViewController.shouldAutorotate; | ||
} | ||
|
||
- (NSUInteger)supportedInterfaceOrientations | ||
{ | ||
return UIInterfaceOrientationMaskAllButUpsideDown; | ||
} | ||
|
||
- (BOOL)shouldAutorotateToInterfaceOrientation:(UIInterfaceOrientation)interfaceOrientation | ||
{ | ||
return (interfaceOrientation != UIInterfaceOrientationPortraitUpsideDown); | ||
} | ||
|
||
|
||
@end |
File renamed without changes.
Oops, something went wrong.