├── .gitignore ├── ChildOrientationDemo ├── en.lproj │ └── InfoPlist.strings ├── leak.jpg ├── TAPortraitOnlyViewController.h ├── TAViewController.h ├── TALandscapeOnlyViewController.h ├── TAAppDelegate.h ├── main.m ├── ChildOrientationDemo-Prefix.pch ├── Images.xcassets │ ├── AppIcon.appiconset │ │ └── Contents.json │ └── LaunchImage.launchimage │ │ └── Contents.json ├── TALandscapeOnlyViewController.m ├── TAPortraitOnlyViewController.m ├── ChildOrientationDemo-Info.plist ├── Base.lproj │ ├── Main_iPad.storyboard │ └── Main_iPhone.storyboard ├── TAAppDelegate.m └── TAViewController.m ├── ChildOrientationDemoTests ├── en.lproj │ └── InfoPlist.strings ├── ChildOrientationDemoTests-Info.plist └── ChildOrientationDemoTests.m └── ChildOrientationDemo.xcodeproj └── project.pbxproj /.gitignore: -------------------------------------------------------------------------------- 1 | build 2 | xcuserdata 3 | *.pbxuser 4 | archives 5 | project.xcworkspace/ 6 | .DS_Store -------------------------------------------------------------------------------- /ChildOrientationDemo/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ChildOrientationDemoTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /ChildOrientationDemo/leak.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/steam/ChildOrientationDemo/master/ChildOrientationDemo/leak.jpg -------------------------------------------------------------------------------- /ChildOrientationDemo/TAPortraitOnlyViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // TAPortraitOnlyViewController.h 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TAPortraitOnlyViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ChildOrientationDemo/TAViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // TAViewController.h 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TAViewController : UIViewController 12 | 13 | - (void)showRandomVC; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ChildOrientationDemo/TALandscapeOnlyViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // TALandscapeOnlyViewController.h 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TALandscapeOnlyViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /ChildOrientationDemo/TAAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // TAAppDelegate.h 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TAAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /ChildOrientationDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "TAAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([TAAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /ChildOrientationDemo/ChildOrientationDemo-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #endif 17 | -------------------------------------------------------------------------------- /ChildOrientationDemoTests/ChildOrientationDemoTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | Tenderdyn-Arts.${PRODUCT_NAME:rfc1034identifier} 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /ChildOrientationDemoTests/ChildOrientationDemoTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // ChildOrientationDemoTests.m 3 | // ChildOrientationDemoTests 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ChildOrientationDemoTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation ChildOrientationDemoTests 16 | 17 | - (void)setUp 18 | { 19 | [super setUp]; 20 | // Put setup code here. This method is called before the invocation of each test method in the class. 21 | } 22 | 23 | - (void)tearDown 24 | { 25 | // Put teardown code here. This method is called after the invocation of each test method in the class. 26 | [super tearDown]; 27 | } 28 | 29 | - (void)testExample 30 | { 31 | XCTFail(@"No implementation for \"%s\"", __PRETTY_FUNCTION__); 32 | } 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /ChildOrientationDemo/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "ipad", 20 | "size" : "29x29", 21 | "scale" : "1x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "40x40", 31 | "scale" : "1x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "2x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "76x76", 41 | "scale" : "1x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "2x" 47 | } 48 | ], 49 | "info" : { 50 | "version" : 1, 51 | "author" : "xcode" 52 | } 53 | } -------------------------------------------------------------------------------- /ChildOrientationDemo/TALandscapeOnlyViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // TALandscapeOnlyViewController.m 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import "TALandscapeOnlyViewController.h" 10 | 11 | @interface TALandscapeOnlyViewController () 12 | 13 | @end 14 | 15 | @implementation TALandscapeOnlyViewController 16 | 17 | //-(void)viewDidAppear:(BOOL)animated 18 | //{ 19 | // [super viewWillAppear:animated]; 20 | // UIViewController *viewController = [[UIViewController alloc] init]; 21 | // [viewController setModalPresentationStyle:UIModalPresentationCurrentContext]; 22 | // viewController.view.frame = CGRectZero; 23 | // 24 | // [self presentViewController:viewController animated:NO completion:nil]; 25 | // [self dismissViewControllerAnimated:NO completion:nil]; 26 | //} 27 | 28 | -(void)viewDidLoad 29 | { 30 | [super viewDidLoad]; 31 | } 32 | 33 | -(NSUInteger)supportedInterfaceOrientations 34 | { 35 | return UIInterfaceOrientationMaskLandscape; 36 | } 37 | 38 | - (BOOL)shouldAutorotate 39 | { 40 | return YES; 41 | } 42 | 43 | - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation 44 | { 45 | return UIInterfaceOrientationLandscapeLeft; 46 | } 47 | 48 | @end 49 | -------------------------------------------------------------------------------- /ChildOrientationDemo/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "7.0", 8 | "scale" : "2x" 9 | }, 10 | { 11 | "orientation" : "portrait", 12 | "idiom" : "iphone", 13 | "subtype" : "retina4", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "7.0", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "orientation" : "portrait", 20 | "idiom" : "ipad", 21 | "extent" : "full-screen", 22 | "minimum-system-version" : "7.0", 23 | "scale" : "1x" 24 | }, 25 | { 26 | "orientation" : "landscape", 27 | "idiom" : "ipad", 28 | "extent" : "full-screen", 29 | "minimum-system-version" : "7.0", 30 | "scale" : "1x" 31 | }, 32 | { 33 | "orientation" : "portrait", 34 | "idiom" : "ipad", 35 | "extent" : "full-screen", 36 | "minimum-system-version" : "7.0", 37 | "scale" : "2x" 38 | }, 39 | { 40 | "orientation" : "landscape", 41 | "idiom" : "ipad", 42 | "extent" : "full-screen", 43 | "minimum-system-version" : "7.0", 44 | "scale" : "2x" 45 | } 46 | ], 47 | "info" : { 48 | "version" : 1, 49 | "author" : "xcode" 50 | } 51 | } -------------------------------------------------------------------------------- /ChildOrientationDemo/TAPortraitOnlyViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // TAPortraitOnlyViewController.m 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import "TAPortraitOnlyViewController.h" 10 | 11 | @interface TAPortraitOnlyViewController () 12 | 13 | @end 14 | 15 | @implementation TAPortraitOnlyViewController 16 | 17 | //-(void)viewWillAppear:(BOOL)animated 18 | //{ 19 | // [super viewWillAppear:animated]; 20 | // UIViewController *viewController = [[UIViewController alloc] init]; 21 | // [viewController setModalPresentationStyle:UIModalPresentationCurrentContext]; 22 | // viewController.view.frame = CGRectZero; 23 | // 24 | // [self presentViewController:viewController animated:NO completion:nil]; 25 | // [self dismissViewControllerAnimated:NO completion:nil]; 26 | //} 27 | 28 | -(void)viewDidLoad 29 | { 30 | [super viewDidLoad]; 31 | // [[UIApplication sharedApplication] setStatusBarOrientation:self.preferredInterfaceOrientationForPresentation]; 32 | } 33 | 34 | -(NSUInteger)supportedInterfaceOrientations 35 | { 36 | return UIInterfaceOrientationMaskPortrait; 37 | } 38 | 39 | - (BOOL)shouldAutorotate 40 | { 41 | return YES; 42 | } 43 | 44 | - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation 45 | { 46 | return UIInterfaceOrientationPortrait; 47 | } 48 | 49 | 50 | @end 51 | -------------------------------------------------------------------------------- /ChildOrientationDemo/ChildOrientationDemo-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | Tenderdyn-Arts.${PRODUCT_NAME:rfc1034identifier} 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UIMainStoryboardFile 28 | Main_iPhone 29 | UIMainStoryboardFile~ipad 30 | Main_iPad 31 | UIRequiredDeviceCapabilities 32 | 33 | armv7 34 | 35 | UISupportedInterfaceOrientations 36 | 37 | UIInterfaceOrientationPortrait 38 | UIInterfaceOrientationLandscapeLeft 39 | UIInterfaceOrientationLandscapeRight 40 | 41 | UISupportedInterfaceOrientations~ipad 42 | 43 | UIInterfaceOrientationPortrait 44 | UIInterfaceOrientationPortraitUpsideDown 45 | UIInterfaceOrientationLandscapeLeft 46 | UIInterfaceOrientationLandscapeRight 47 | 48 | 49 | 50 | -------------------------------------------------------------------------------- /ChildOrientationDemo/Base.lproj/Main_iPad.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /ChildOrientationDemo/TAAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // TAAppDelegate.m 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import "TAAppDelegate.h" 10 | #import "TAViewController.h" 11 | 12 | @implementation TAAppDelegate 13 | 14 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 15 | { 16 | UITapGestureRecognizer *tapGestureRecognizer = [UITapGestureRecognizer new]; 17 | tapGestureRecognizer.numberOfTapsRequired = 1; 18 | [self.window addGestureRecognizer:tapGestureRecognizer]; 19 | [tapGestureRecognizer addTarget:self action:@selector(handleTap:)]; 20 | 21 | return YES; 22 | } 23 | 24 | - (void)handleTap:(UITapGestureRecognizer *)tapRecognizer { 25 | if (tapRecognizer.state == UIGestureRecognizerStateRecognized) { 26 | TAViewController *vc = (TAViewController *)self.window.rootViewController; 27 | [vc showRandomVC]; 28 | } 29 | } 30 | 31 | - (void)applicationWillResignActive:(UIApplication *)application 32 | { 33 | // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state. 34 | // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game. 35 | } 36 | 37 | - (void)applicationDidEnterBackground:(UIApplication *)application 38 | { 39 | // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later. 40 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 41 | } 42 | 43 | - (void)applicationWillEnterForeground:(UIApplication *)application 44 | { 45 | // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background. 46 | } 47 | 48 | - (void)applicationDidBecomeActive:(UIApplication *)application 49 | { 50 | // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface. 51 | } 52 | 53 | - (void)applicationWillTerminate:(UIApplication *)application 54 | { 55 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /ChildOrientationDemo/TAViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // TAViewController.m 3 | // ChildOrientationDemo 4 | // 5 | // Created by Tad Wheeler on 8/15/14. 6 | // Copyright (c) 2014 Tad Wheeler. All rights reserved. 7 | // 8 | 9 | #import "TAViewController.h" 10 | 11 | @interface TAViewController () 12 | 13 | @property (nonatomic, weak) IBOutlet UIView *containerView; 14 | @property (nonatomic, strong) UIViewController *centerViewController; 15 | @end 16 | 17 | @implementation TAViewController 18 | 19 | - (void)viewDidLoad 20 | { 21 | [super viewDidLoad]; 22 | } 23 | 24 | - (void)viewDidAppear:(BOOL)animated 25 | { 26 | [super viewDidAppear:animated]; 27 | [self portraitTapped:nil]; 28 | } 29 | 30 | - (void)showRandomVC 31 | { 32 | int random = arc4random() % 3; 33 | 34 | switch (random) { 35 | case 0: 36 | NSLog(@"show portrait"); 37 | [self portraitTapped:nil]; 38 | break; 39 | case 1: 40 | NSLog(@"show landscape"); 41 | [self landscapeTapped:nil]; 42 | break; 43 | case 2: 44 | NSLog(@"show both"); 45 | [self both:nil]; 46 | break; 47 | default: 48 | break; 49 | } 50 | } 51 | 52 | 53 | - (BOOL)shouldAutorotate 54 | { 55 | return [self.centerViewController shouldAutorotate]; 56 | } 57 | 58 | - (NSUInteger)supportedInterfaceOrientations 59 | { 60 | return [self.centerViewController supportedInterfaceOrientations]; 61 | } 62 | 63 | - (UIInterfaceOrientation)preferredInterfaceOrientationForPresentation 64 | { 65 | return [self.centerViewController preferredInterfaceOrientationForPresentation]; 66 | } 67 | 68 | - (IBAction)portraitTapped:(id)sender 69 | { 70 | UIViewController *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"PortraitVC"]; 71 | [self showViewController:vc]; 72 | } 73 | 74 | - (IBAction)landscapeTapped:(id)sender 75 | { 76 | UIViewController *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"LandscapeVC"]; 77 | [self showViewController:vc]; 78 | } 79 | 80 | - (IBAction)both:(id)sender 81 | { 82 | UIViewController *vc = [self.storyboard instantiateViewControllerWithIdentifier:@"BothVC"]; 83 | [self showViewController:vc]; 84 | } 85 | 86 | - (void)showViewController:(UIViewController *)vc 87 | { 88 | if (self.centerViewController) 89 | { 90 | [self dismissViewControllerAnimated:NO completion:^{ 91 | self.centerViewController = vc; 92 | [self presentViewController:self.centerViewController animated:NO completion:nil]; 93 | }]; 94 | } 95 | else 96 | { 97 | self.centerViewController = vc; 98 | [self presentViewController:self.centerViewController animated:NO completion:nil]; 99 | } 100 | } 101 | 102 | @end 103 | -------------------------------------------------------------------------------- /ChildOrientationDemo/Base.lproj/Main_iPhone.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | 55 | 56 | 57 | 58 | 59 | 60 | 61 | 62 | 63 | 64 | 65 | 66 | 67 | 68 | 69 | 70 | 71 | 72 | 73 | 80 | 81 | 82 | 83 | 84 | 85 | 86 | 87 | 88 | 89 | 90 | 91 | 92 | 93 | 94 | 95 | 96 | 97 | 98 | 99 | 100 | 101 | 102 | 103 | 104 | 105 | 106 | 107 | 108 | 109 | 110 | 111 | 118 | 119 | 120 | 121 | 122 | 123 | 124 | 125 | 126 | 127 | 128 | 129 | 130 | 131 | 132 | 133 | 134 | 135 | 136 | 137 | 138 | 139 | 140 | 141 | 142 | 143 | 144 | 145 | 146 | 147 | 148 | 149 | 150 | 151 | 152 | 153 | -------------------------------------------------------------------------------- /ChildOrientationDemo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 1461FD34199FD6430050644D /* leak.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 1461FD33199FD6430050644D /* leak.jpg */; }; 11 | EE900A87199EA17A00D209A7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE900A86199EA17A00D209A7 /* Foundation.framework */; }; 12 | EE900A89199EA17A00D209A7 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE900A88199EA17A00D209A7 /* CoreGraphics.framework */; }; 13 | EE900A8B199EA17A00D209A7 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE900A8A199EA17A00D209A7 /* UIKit.framework */; }; 14 | EE900A91199EA17A00D209A7 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = EE900A8F199EA17A00D209A7 /* InfoPlist.strings */; }; 15 | EE900A93199EA17A00D209A7 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = EE900A92199EA17A00D209A7 /* main.m */; }; 16 | EE900A97199EA17A00D209A7 /* TAAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = EE900A96199EA17A00D209A7 /* TAAppDelegate.m */; }; 17 | EE900A9A199EA17A00D209A7 /* Main_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EE900A98199EA17A00D209A7 /* Main_iPhone.storyboard */; }; 18 | EE900A9D199EA17A00D209A7 /* Main_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EE900A9B199EA17A00D209A7 /* Main_iPad.storyboard */; }; 19 | EE900AA0199EA17A00D209A7 /* TAViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EE900A9F199EA17A00D209A7 /* TAViewController.m */; }; 20 | EE900AA2199EA17A00D209A7 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EE900AA1199EA17A00D209A7 /* Images.xcassets */; }; 21 | EE900AA9199EA17A00D209A7 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE900AA8199EA17A00D209A7 /* XCTest.framework */; }; 22 | EE900AAA199EA17A00D209A7 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE900A86199EA17A00D209A7 /* Foundation.framework */; }; 23 | EE900AAB199EA17A00D209A7 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EE900A8A199EA17A00D209A7 /* UIKit.framework */; }; 24 | EE900AB3199EA17A00D209A7 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = EE900AB1199EA17A00D209A7 /* InfoPlist.strings */; }; 25 | EE900AB5199EA17A00D209A7 /* ChildOrientationDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = EE900AB4199EA17A00D209A7 /* ChildOrientationDemoTests.m */; }; 26 | EE900AC0199EA1D800D209A7 /* TAPortraitOnlyViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EE900ABF199EA1D800D209A7 /* TAPortraitOnlyViewController.m */; }; 27 | EE900AC3199EA7E700D209A7 /* TALandscapeOnlyViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = EE900AC2199EA7E700D209A7 /* TALandscapeOnlyViewController.m */; }; 28 | /* End PBXBuildFile section */ 29 | 30 | /* Begin PBXContainerItemProxy section */ 31 | EE900AAC199EA17A00D209A7 /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = EE900A7B199EA17A00D209A7 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = EE900A82199EA17A00D209A7; 36 | remoteInfo = ChildOrientationDemo; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 1461FD33199FD6430050644D /* leak.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = leak.jpg; sourceTree = ""; }; 42 | EE900A83199EA17A00D209A7 /* ChildOrientationDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = ChildOrientationDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 43 | EE900A86199EA17A00D209A7 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 44 | EE900A88199EA17A00D209A7 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 45 | EE900A8A199EA17A00D209A7 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 46 | EE900A8E199EA17A00D209A7 /* ChildOrientationDemo-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ChildOrientationDemo-Info.plist"; sourceTree = ""; }; 47 | EE900A90199EA17A00D209A7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 48 | EE900A92199EA17A00D209A7 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 49 | EE900A94199EA17A00D209A7 /* ChildOrientationDemo-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "ChildOrientationDemo-Prefix.pch"; sourceTree = ""; }; 50 | EE900A95199EA17A00D209A7 /* TAAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAAppDelegate.h; sourceTree = ""; }; 51 | EE900A96199EA17A00D209A7 /* TAAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TAAppDelegate.m; sourceTree = ""; }; 52 | EE900A99199EA17A00D209A7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPhone.storyboard; sourceTree = ""; }; 53 | EE900A9C199EA17A00D209A7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPad.storyboard; sourceTree = ""; }; 54 | EE900A9E199EA17A00D209A7 /* TAViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TAViewController.h; sourceTree = ""; }; 55 | EE900A9F199EA17A00D209A7 /* TAViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TAViewController.m; sourceTree = ""; }; 56 | EE900AA1199EA17A00D209A7 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 57 | EE900AA7199EA17A00D209A7 /* ChildOrientationDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = ChildOrientationDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 58 | EE900AA8199EA17A00D209A7 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 59 | EE900AB0199EA17A00D209A7 /* ChildOrientationDemoTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "ChildOrientationDemoTests-Info.plist"; sourceTree = ""; }; 60 | EE900AB2199EA17A00D209A7 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 61 | EE900AB4199EA17A00D209A7 /* ChildOrientationDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ChildOrientationDemoTests.m; sourceTree = ""; }; 62 | EE900ABE199EA1D800D209A7 /* TAPortraitOnlyViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TAPortraitOnlyViewController.h; sourceTree = ""; }; 63 | EE900ABF199EA1D800D209A7 /* TAPortraitOnlyViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TAPortraitOnlyViewController.m; sourceTree = ""; }; 64 | EE900AC1199EA7E700D209A7 /* TALandscapeOnlyViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TALandscapeOnlyViewController.h; sourceTree = ""; }; 65 | EE900AC2199EA7E700D209A7 /* TALandscapeOnlyViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TALandscapeOnlyViewController.m; sourceTree = ""; }; 66 | /* End PBXFileReference section */ 67 | 68 | /* Begin PBXFrameworksBuildPhase section */ 69 | EE900A80199EA17A00D209A7 /* Frameworks */ = { 70 | isa = PBXFrameworksBuildPhase; 71 | buildActionMask = 2147483647; 72 | files = ( 73 | EE900A89199EA17A00D209A7 /* CoreGraphics.framework in Frameworks */, 74 | EE900A8B199EA17A00D209A7 /* UIKit.framework in Frameworks */, 75 | EE900A87199EA17A00D209A7 /* Foundation.framework in Frameworks */, 76 | ); 77 | runOnlyForDeploymentPostprocessing = 0; 78 | }; 79 | EE900AA4199EA17A00D209A7 /* Frameworks */ = { 80 | isa = PBXFrameworksBuildPhase; 81 | buildActionMask = 2147483647; 82 | files = ( 83 | EE900AA9199EA17A00D209A7 /* XCTest.framework in Frameworks */, 84 | EE900AAB199EA17A00D209A7 /* UIKit.framework in Frameworks */, 85 | EE900AAA199EA17A00D209A7 /* Foundation.framework in Frameworks */, 86 | ); 87 | runOnlyForDeploymentPostprocessing = 0; 88 | }; 89 | /* End PBXFrameworksBuildPhase section */ 90 | 91 | /* Begin PBXGroup section */ 92 | EE900A7A199EA17A00D209A7 = { 93 | isa = PBXGroup; 94 | children = ( 95 | EE900A8C199EA17A00D209A7 /* ChildOrientationDemo */, 96 | EE900AAE199EA17A00D209A7 /* ChildOrientationDemoTests */, 97 | EE900A85199EA17A00D209A7 /* Frameworks */, 98 | EE900A84199EA17A00D209A7 /* Products */, 99 | ); 100 | sourceTree = ""; 101 | }; 102 | EE900A84199EA17A00D209A7 /* Products */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | EE900A83199EA17A00D209A7 /* ChildOrientationDemo.app */, 106 | EE900AA7199EA17A00D209A7 /* ChildOrientationDemoTests.xctest */, 107 | ); 108 | name = Products; 109 | sourceTree = ""; 110 | }; 111 | EE900A85199EA17A00D209A7 /* Frameworks */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | EE900A86199EA17A00D209A7 /* Foundation.framework */, 115 | EE900A88199EA17A00D209A7 /* CoreGraphics.framework */, 116 | EE900A8A199EA17A00D209A7 /* UIKit.framework */, 117 | EE900AA8199EA17A00D209A7 /* XCTest.framework */, 118 | ); 119 | name = Frameworks; 120 | sourceTree = ""; 121 | }; 122 | EE900A8C199EA17A00D209A7 /* ChildOrientationDemo */ = { 123 | isa = PBXGroup; 124 | children = ( 125 | 1461FD33199FD6430050644D /* leak.jpg */, 126 | EE900A95199EA17A00D209A7 /* TAAppDelegate.h */, 127 | EE900A96199EA17A00D209A7 /* TAAppDelegate.m */, 128 | EE900A98199EA17A00D209A7 /* Main_iPhone.storyboard */, 129 | EE900A9B199EA17A00D209A7 /* Main_iPad.storyboard */, 130 | EE900A9E199EA17A00D209A7 /* TAViewController.h */, 131 | EE900A9F199EA17A00D209A7 /* TAViewController.m */, 132 | EE900AA1199EA17A00D209A7 /* Images.xcassets */, 133 | EE900A8D199EA17A00D209A7 /* Supporting Files */, 134 | EE900ABE199EA1D800D209A7 /* TAPortraitOnlyViewController.h */, 135 | EE900ABF199EA1D800D209A7 /* TAPortraitOnlyViewController.m */, 136 | EE900AC1199EA7E700D209A7 /* TALandscapeOnlyViewController.h */, 137 | EE900AC2199EA7E700D209A7 /* TALandscapeOnlyViewController.m */, 138 | ); 139 | path = ChildOrientationDemo; 140 | sourceTree = ""; 141 | }; 142 | EE900A8D199EA17A00D209A7 /* Supporting Files */ = { 143 | isa = PBXGroup; 144 | children = ( 145 | EE900A8E199EA17A00D209A7 /* ChildOrientationDemo-Info.plist */, 146 | EE900A8F199EA17A00D209A7 /* InfoPlist.strings */, 147 | EE900A92199EA17A00D209A7 /* main.m */, 148 | EE900A94199EA17A00D209A7 /* ChildOrientationDemo-Prefix.pch */, 149 | ); 150 | name = "Supporting Files"; 151 | sourceTree = ""; 152 | }; 153 | EE900AAE199EA17A00D209A7 /* ChildOrientationDemoTests */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | EE900AB4199EA17A00D209A7 /* ChildOrientationDemoTests.m */, 157 | EE900AAF199EA17A00D209A7 /* Supporting Files */, 158 | ); 159 | path = ChildOrientationDemoTests; 160 | sourceTree = ""; 161 | }; 162 | EE900AAF199EA17A00D209A7 /* Supporting Files */ = { 163 | isa = PBXGroup; 164 | children = ( 165 | EE900AB0199EA17A00D209A7 /* ChildOrientationDemoTests-Info.plist */, 166 | EE900AB1199EA17A00D209A7 /* InfoPlist.strings */, 167 | ); 168 | name = "Supporting Files"; 169 | sourceTree = ""; 170 | }; 171 | /* End PBXGroup section */ 172 | 173 | /* Begin PBXNativeTarget section */ 174 | EE900A82199EA17A00D209A7 /* ChildOrientationDemo */ = { 175 | isa = PBXNativeTarget; 176 | buildConfigurationList = EE900AB8199EA17A00D209A7 /* Build configuration list for PBXNativeTarget "ChildOrientationDemo" */; 177 | buildPhases = ( 178 | EE900A7F199EA17A00D209A7 /* Sources */, 179 | EE900A80199EA17A00D209A7 /* Frameworks */, 180 | EE900A81199EA17A00D209A7 /* Resources */, 181 | ); 182 | buildRules = ( 183 | ); 184 | dependencies = ( 185 | ); 186 | name = ChildOrientationDemo; 187 | productName = ChildOrientationDemo; 188 | productReference = EE900A83199EA17A00D209A7 /* ChildOrientationDemo.app */; 189 | productType = "com.apple.product-type.application"; 190 | }; 191 | EE900AA6199EA17A00D209A7 /* ChildOrientationDemoTests */ = { 192 | isa = PBXNativeTarget; 193 | buildConfigurationList = EE900ABB199EA17A00D209A7 /* Build configuration list for PBXNativeTarget "ChildOrientationDemoTests" */; 194 | buildPhases = ( 195 | EE900AA3199EA17A00D209A7 /* Sources */, 196 | EE900AA4199EA17A00D209A7 /* Frameworks */, 197 | EE900AA5199EA17A00D209A7 /* Resources */, 198 | ); 199 | buildRules = ( 200 | ); 201 | dependencies = ( 202 | EE900AAD199EA17A00D209A7 /* PBXTargetDependency */, 203 | ); 204 | name = ChildOrientationDemoTests; 205 | productName = ChildOrientationDemoTests; 206 | productReference = EE900AA7199EA17A00D209A7 /* ChildOrientationDemoTests.xctest */; 207 | productType = "com.apple.product-type.bundle.unit-test"; 208 | }; 209 | /* End PBXNativeTarget section */ 210 | 211 | /* Begin PBXProject section */ 212 | EE900A7B199EA17A00D209A7 /* Project object */ = { 213 | isa = PBXProject; 214 | attributes = { 215 | CLASSPREFIX = TA; 216 | LastUpgradeCheck = 0510; 217 | ORGANIZATIONNAME = "Tad Wheeler"; 218 | TargetAttributes = { 219 | EE900AA6199EA17A00D209A7 = { 220 | TestTargetID = EE900A82199EA17A00D209A7; 221 | }; 222 | }; 223 | }; 224 | buildConfigurationList = EE900A7E199EA17A00D209A7 /* Build configuration list for PBXProject "ChildOrientationDemo" */; 225 | compatibilityVersion = "Xcode 3.2"; 226 | developmentRegion = English; 227 | hasScannedForEncodings = 0; 228 | knownRegions = ( 229 | en, 230 | Base, 231 | ); 232 | mainGroup = EE900A7A199EA17A00D209A7; 233 | productRefGroup = EE900A84199EA17A00D209A7 /* Products */; 234 | projectDirPath = ""; 235 | projectRoot = ""; 236 | targets = ( 237 | EE900A82199EA17A00D209A7 /* ChildOrientationDemo */, 238 | EE900AA6199EA17A00D209A7 /* ChildOrientationDemoTests */, 239 | ); 240 | }; 241 | /* End PBXProject section */ 242 | 243 | /* Begin PBXResourcesBuildPhase section */ 244 | EE900A81199EA17A00D209A7 /* Resources */ = { 245 | isa = PBXResourcesBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | EE900A9D199EA17A00D209A7 /* Main_iPad.storyboard in Resources */, 249 | 1461FD34199FD6430050644D /* leak.jpg in Resources */, 250 | EE900AA2199EA17A00D209A7 /* Images.xcassets in Resources */, 251 | EE900A9A199EA17A00D209A7 /* Main_iPhone.storyboard in Resources */, 252 | EE900A91199EA17A00D209A7 /* InfoPlist.strings in Resources */, 253 | ); 254 | runOnlyForDeploymentPostprocessing = 0; 255 | }; 256 | EE900AA5199EA17A00D209A7 /* Resources */ = { 257 | isa = PBXResourcesBuildPhase; 258 | buildActionMask = 2147483647; 259 | files = ( 260 | EE900AB3199EA17A00D209A7 /* InfoPlist.strings in Resources */, 261 | ); 262 | runOnlyForDeploymentPostprocessing = 0; 263 | }; 264 | /* End PBXResourcesBuildPhase section */ 265 | 266 | /* Begin PBXSourcesBuildPhase section */ 267 | EE900A7F199EA17A00D209A7 /* Sources */ = { 268 | isa = PBXSourcesBuildPhase; 269 | buildActionMask = 2147483647; 270 | files = ( 271 | EE900AC0199EA1D800D209A7 /* TAPortraitOnlyViewController.m in Sources */, 272 | EE900AA0199EA17A00D209A7 /* TAViewController.m in Sources */, 273 | EE900A93199EA17A00D209A7 /* main.m in Sources */, 274 | EE900A97199EA17A00D209A7 /* TAAppDelegate.m in Sources */, 275 | EE900AC3199EA7E700D209A7 /* TALandscapeOnlyViewController.m in Sources */, 276 | ); 277 | runOnlyForDeploymentPostprocessing = 0; 278 | }; 279 | EE900AA3199EA17A00D209A7 /* Sources */ = { 280 | isa = PBXSourcesBuildPhase; 281 | buildActionMask = 2147483647; 282 | files = ( 283 | EE900AB5199EA17A00D209A7 /* ChildOrientationDemoTests.m in Sources */, 284 | ); 285 | runOnlyForDeploymentPostprocessing = 0; 286 | }; 287 | /* End PBXSourcesBuildPhase section */ 288 | 289 | /* Begin PBXTargetDependency section */ 290 | EE900AAD199EA17A00D209A7 /* PBXTargetDependency */ = { 291 | isa = PBXTargetDependency; 292 | target = EE900A82199EA17A00D209A7 /* ChildOrientationDemo */; 293 | targetProxy = EE900AAC199EA17A00D209A7 /* PBXContainerItemProxy */; 294 | }; 295 | /* End PBXTargetDependency section */ 296 | 297 | /* Begin PBXVariantGroup section */ 298 | EE900A8F199EA17A00D209A7 /* InfoPlist.strings */ = { 299 | isa = PBXVariantGroup; 300 | children = ( 301 | EE900A90199EA17A00D209A7 /* en */, 302 | ); 303 | name = InfoPlist.strings; 304 | sourceTree = ""; 305 | }; 306 | EE900A98199EA17A00D209A7 /* Main_iPhone.storyboard */ = { 307 | isa = PBXVariantGroup; 308 | children = ( 309 | EE900A99199EA17A00D209A7 /* Base */, 310 | ); 311 | name = Main_iPhone.storyboard; 312 | sourceTree = ""; 313 | }; 314 | EE900A9B199EA17A00D209A7 /* Main_iPad.storyboard */ = { 315 | isa = PBXVariantGroup; 316 | children = ( 317 | EE900A9C199EA17A00D209A7 /* Base */, 318 | ); 319 | name = Main_iPad.storyboard; 320 | sourceTree = ""; 321 | }; 322 | EE900AB1199EA17A00D209A7 /* InfoPlist.strings */ = { 323 | isa = PBXVariantGroup; 324 | children = ( 325 | EE900AB2199EA17A00D209A7 /* en */, 326 | ); 327 | name = InfoPlist.strings; 328 | sourceTree = ""; 329 | }; 330 | /* End PBXVariantGroup section */ 331 | 332 | /* Begin XCBuildConfiguration section */ 333 | EE900AB6199EA17A00D209A7 /* Debug */ = { 334 | isa = XCBuildConfiguration; 335 | buildSettings = { 336 | ALWAYS_SEARCH_USER_PATHS = NO; 337 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 338 | CLANG_CXX_LIBRARY = "libc++"; 339 | CLANG_ENABLE_MODULES = YES; 340 | CLANG_ENABLE_OBJC_ARC = YES; 341 | CLANG_WARN_BOOL_CONVERSION = YES; 342 | CLANG_WARN_CONSTANT_CONVERSION = YES; 343 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 344 | CLANG_WARN_EMPTY_BODY = YES; 345 | CLANG_WARN_ENUM_CONVERSION = YES; 346 | CLANG_WARN_INT_CONVERSION = YES; 347 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 348 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 349 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 350 | COPY_PHASE_STRIP = NO; 351 | GCC_C_LANGUAGE_STANDARD = gnu99; 352 | GCC_DYNAMIC_NO_PIC = NO; 353 | GCC_OPTIMIZATION_LEVEL = 0; 354 | GCC_PREPROCESSOR_DEFINITIONS = ( 355 | "DEBUG=1", 356 | "$(inherited)", 357 | ); 358 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 359 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 360 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 361 | GCC_WARN_UNDECLARED_SELECTOR = YES; 362 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 363 | GCC_WARN_UNUSED_FUNCTION = YES; 364 | GCC_WARN_UNUSED_VARIABLE = YES; 365 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 366 | ONLY_ACTIVE_ARCH = YES; 367 | SDKROOT = iphoneos; 368 | TARGETED_DEVICE_FAMILY = "1,2"; 369 | }; 370 | name = Debug; 371 | }; 372 | EE900AB7199EA17A00D209A7 /* Release */ = { 373 | isa = XCBuildConfiguration; 374 | buildSettings = { 375 | ALWAYS_SEARCH_USER_PATHS = NO; 376 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 377 | CLANG_CXX_LIBRARY = "libc++"; 378 | CLANG_ENABLE_MODULES = YES; 379 | CLANG_ENABLE_OBJC_ARC = YES; 380 | CLANG_WARN_BOOL_CONVERSION = YES; 381 | CLANG_WARN_CONSTANT_CONVERSION = YES; 382 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 383 | CLANG_WARN_EMPTY_BODY = YES; 384 | CLANG_WARN_ENUM_CONVERSION = YES; 385 | CLANG_WARN_INT_CONVERSION = YES; 386 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 387 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 388 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 389 | COPY_PHASE_STRIP = YES; 390 | ENABLE_NS_ASSERTIONS = NO; 391 | GCC_C_LANGUAGE_STANDARD = gnu99; 392 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 393 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 394 | GCC_WARN_UNDECLARED_SELECTOR = YES; 395 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 396 | GCC_WARN_UNUSED_FUNCTION = YES; 397 | GCC_WARN_UNUSED_VARIABLE = YES; 398 | IPHONEOS_DEPLOYMENT_TARGET = 7.1; 399 | SDKROOT = iphoneos; 400 | TARGETED_DEVICE_FAMILY = "1,2"; 401 | VALIDATE_PRODUCT = YES; 402 | }; 403 | name = Release; 404 | }; 405 | EE900AB9199EA17A00D209A7 /* Debug */ = { 406 | isa = XCBuildConfiguration; 407 | buildSettings = { 408 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 409 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 410 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 411 | GCC_PREFIX_HEADER = "ChildOrientationDemo/ChildOrientationDemo-Prefix.pch"; 412 | INFOPLIST_FILE = "ChildOrientationDemo/ChildOrientationDemo-Info.plist"; 413 | PRODUCT_NAME = "$(TARGET_NAME)"; 414 | WRAPPER_EXTENSION = app; 415 | }; 416 | name = Debug; 417 | }; 418 | EE900ABA199EA17A00D209A7 /* Release */ = { 419 | isa = XCBuildConfiguration; 420 | buildSettings = { 421 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 422 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 423 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 424 | GCC_PREFIX_HEADER = "ChildOrientationDemo/ChildOrientationDemo-Prefix.pch"; 425 | INFOPLIST_FILE = "ChildOrientationDemo/ChildOrientationDemo-Info.plist"; 426 | PRODUCT_NAME = "$(TARGET_NAME)"; 427 | WRAPPER_EXTENSION = app; 428 | }; 429 | name = Release; 430 | }; 431 | EE900ABC199EA17A00D209A7 /* Debug */ = { 432 | isa = XCBuildConfiguration; 433 | buildSettings = { 434 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/ChildOrientationDemo.app/ChildOrientationDemo"; 435 | FRAMEWORK_SEARCH_PATHS = ( 436 | "$(SDKROOT)/Developer/Library/Frameworks", 437 | "$(inherited)", 438 | "$(DEVELOPER_FRAMEWORKS_DIR)", 439 | ); 440 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 441 | GCC_PREFIX_HEADER = "ChildOrientationDemo/ChildOrientationDemo-Prefix.pch"; 442 | GCC_PREPROCESSOR_DEFINITIONS = ( 443 | "DEBUG=1", 444 | "$(inherited)", 445 | ); 446 | INFOPLIST_FILE = "ChildOrientationDemoTests/ChildOrientationDemoTests-Info.plist"; 447 | PRODUCT_NAME = "$(TARGET_NAME)"; 448 | TEST_HOST = "$(BUNDLE_LOADER)"; 449 | WRAPPER_EXTENSION = xctest; 450 | }; 451 | name = Debug; 452 | }; 453 | EE900ABD199EA17A00D209A7 /* Release */ = { 454 | isa = XCBuildConfiguration; 455 | buildSettings = { 456 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/ChildOrientationDemo.app/ChildOrientationDemo"; 457 | FRAMEWORK_SEARCH_PATHS = ( 458 | "$(SDKROOT)/Developer/Library/Frameworks", 459 | "$(inherited)", 460 | "$(DEVELOPER_FRAMEWORKS_DIR)", 461 | ); 462 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 463 | GCC_PREFIX_HEADER = "ChildOrientationDemo/ChildOrientationDemo-Prefix.pch"; 464 | INFOPLIST_FILE = "ChildOrientationDemoTests/ChildOrientationDemoTests-Info.plist"; 465 | PRODUCT_NAME = "$(TARGET_NAME)"; 466 | TEST_HOST = "$(BUNDLE_LOADER)"; 467 | WRAPPER_EXTENSION = xctest; 468 | }; 469 | name = Release; 470 | }; 471 | /* End XCBuildConfiguration section */ 472 | 473 | /* Begin XCConfigurationList section */ 474 | EE900A7E199EA17A00D209A7 /* Build configuration list for PBXProject "ChildOrientationDemo" */ = { 475 | isa = XCConfigurationList; 476 | buildConfigurations = ( 477 | EE900AB6199EA17A00D209A7 /* Debug */, 478 | EE900AB7199EA17A00D209A7 /* Release */, 479 | ); 480 | defaultConfigurationIsVisible = 0; 481 | defaultConfigurationName = Release; 482 | }; 483 | EE900AB8199EA17A00D209A7 /* Build configuration list for PBXNativeTarget "ChildOrientationDemo" */ = { 484 | isa = XCConfigurationList; 485 | buildConfigurations = ( 486 | EE900AB9199EA17A00D209A7 /* Debug */, 487 | EE900ABA199EA17A00D209A7 /* Release */, 488 | ); 489 | defaultConfigurationIsVisible = 0; 490 | defaultConfigurationName = Release; 491 | }; 492 | EE900ABB199EA17A00D209A7 /* Build configuration list for PBXNativeTarget "ChildOrientationDemoTests" */ = { 493 | isa = XCConfigurationList; 494 | buildConfigurations = ( 495 | EE900ABC199EA17A00D209A7 /* Debug */, 496 | EE900ABD199EA17A00D209A7 /* Release */, 497 | ); 498 | defaultConfigurationIsVisible = 0; 499 | defaultConfigurationName = Release; 500 | }; 501 | /* End XCConfigurationList section */ 502 | }; 503 | rootObject = EE900A7B199EA17A00D209A7 /* Project object */; 504 | } 505 | --------------------------------------------------------------------------------