Skip to content

Commit

Permalink
Added layout work
Browse files Browse the repository at this point in the history
  • Loading branch information
terryworona committed Jun 21, 2014
1 parent 702b148 commit 6caf7ea
Show file tree
Hide file tree
Showing 8 changed files with 1,189 additions and 1,505 deletions.
1,124 changes: 562 additions & 562 deletions Pods/Pods.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

1,165 changes: 388 additions & 777 deletions anscombe-quartet-ios.xcodeproj/project.pbxproj

Large diffs are not rendered by default.

165 changes: 0 additions & 165 deletions anscombe-quartet-ios/Controllers/AQChartViewController.m

This file was deleted.

13 changes: 13 additions & 0 deletions anscombe-quartet-ios/Controllers/Base/AQBaseNavigationController.h
@@ -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 anscombe-quartet-ios/Controllers/Base/AQBaseNavigationController.m
@@ -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

0 comments on commit 6caf7ea

Please sign in to comment.