├── Example └── JRSplitVCExample │ ├── Podfile │ ├── JRSplitVCExample.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── project.pbxproj │ ├── JRSplitVCExample │ ├── UIDetailVC.h │ ├── UIListVC.h │ ├── AppDelegate.h │ ├── main.m │ ├── Classes │ │ ├── JRSplitVC.h │ │ └── JRSplitVC.m │ ├── UIDetailVC.m │ ├── Info.plist │ ├── AppDelegate.m │ ├── Base.lproj │ │ ├── LaunchScreen.xib │ │ └── Main.storyboard │ └── UIListVC.m │ ├── JRSplitVCExample.xcworkspace │ └── contents.xcworkspacedata │ └── JRSplitVCExampleTests │ ├── Info.plist │ └── JRSplitVCExampleTests.m ├── images ├── JRSplitVC ├── JRSplitVC2 └── JRSplitVC3.gif ├── Pod └── Classes │ ├── UIGestureRecognizer+functions.h │ ├── UISplitViewController+function.h │ ├── UIGestureRecognizer+functions.m │ ├── JRSplitVC.h │ ├── UISplitViewController+function.m │ └── JRSplitVC.m ├── .gitignore ├── LICENSE ├── README.md └── JRSplitVC.podspec /Example/JRSplitVCExample/Podfile: -------------------------------------------------------------------------------- 1 | pod 'JRSplitVC' 2 | -------------------------------------------------------------------------------- /images/JRSplitVC: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tommypeps/JRSplitVC/HEAD/images/JRSplitVC -------------------------------------------------------------------------------- /images/JRSplitVC2: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tommypeps/JRSplitVC/HEAD/images/JRSplitVC2 -------------------------------------------------------------------------------- /images/JRSplitVC3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tommypeps/JRSplitVC/HEAD/images/JRSplitVC3.gif -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/UIDetailVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIDetailVC.h 3 | // JRSplitVCExample 4 | // 5 | // Created by José Roldán Jiménez on 6/9/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIDetailVC : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/UIListVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIListVC.h 3 | // JRSplitVCExample 4 | // 5 | // Created by José Roldán Jiménez on 6/9/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIListVC : UITableViewController 12 | 13 | 14 | @end 15 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Pod/Classes/UIGestureRecognizer+functions.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIGestureRecognizer+functions.h 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 10/5/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIGestureRecognizer (functions) 12 | -(CGFloat)fractionTouch; 13 | @end 14 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // JRSplitVCExample 4 | // 5 | // Created by José Roldán Jiménez on 6/9/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface AppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | 16 | @end 17 | 18 | -------------------------------------------------------------------------------- /Pod/Classes/UISplitViewController+function.h: -------------------------------------------------------------------------------- 1 | // 2 | // UISplitViewController+function.h 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 14/8/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UISplitViewController (function) 12 | -(void)insertDisplayModeButtonAnimated2:(BOOL)animated; 13 | -(UIViewController*)masterView; 14 | -(UIViewController*)detailView; 15 | @end 16 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/main.m: -------------------------------------------------------------------------------- 1 | 2 | // 3 | // main.m 4 | // JRSplitVCExample 5 | // 6 | // Created by José Roldán Jiménez on 6/9/15. 7 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 8 | // 9 | 10 | #import 11 | #import "AppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) { 14 | @autoreleasepool { 15 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 16 | } 17 | } 18 | -------------------------------------------------------------------------------- /Pod/Classes/UIGestureRecognizer+functions.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIGestureRecognizer+functions.m 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 10/5/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import "UIGestureRecognizer+functions.h" 10 | 11 | @implementation UIGestureRecognizer (functions) 12 | 13 | -(CGFloat)fractionTouch 14 | { 15 | CGPoint location = [self locationInView:self.view]; 16 | CGFloat width = self.view.frame.size.width; 17 | CGFloat pCent = location.x/width ; 18 | return pCent; 19 | 20 | } 21 | @end 22 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/Classes/JRSplitVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 19/4/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface JRSplitVC : UISplitViewController 13 | /** 14 | * Insert a Button for change mode of detailview 15 | * 16 | * @param value YES o NO 17 | */ 18 | //-(void)insertDisplayModeButton:(BOOL)value; 19 | -(void)insertDisplayModeButtonAnimated:(BOOL)animated; 20 | -(void)extractDisplayModeButtonAnimated:(BOOL)animated; 21 | @end 22 | 23 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExampleTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.roldanjimenez.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | BNDL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | 24 | 25 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | # 3 | build/ 4 | *.pbxuser 5 | !default.pbxuser 6 | *.mode1v3 7 | !default.mode1v3 8 | *.mode2v3 9 | !default.mode2v3 10 | *.perspectivev3 11 | !default.perspectivev3 12 | xcuserdata 13 | *.xccheckout 14 | *.moved-aside 15 | DerivedData 16 | *.hmap 17 | *.ipa 18 | *.xcuserstate 19 | 20 | # CocoaPods 21 | # 22 | # We recommend against adding the Pods directory to your .gitignore. However 23 | # you should judge for yourself, the pros and cons are mentioned at: 24 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 25 | # 26 | #Pods/ 27 | Example/JRSplitVCExample/.idea/.name 28 | Example/JRSplitVCExample/.idea/encodings.xml 29 | Example/JRSplitVCExample/.idea/JRSplitVCExample.iml 30 | Example/JRSplitVCExample/.idea/modules.xml 31 | Example/JRSplitVCExample/.idea/vcs.xml 32 | Example/JRSplitVCExample/.idea/workspace.xml 33 | Example/JRSplitVCExample/.idea/xcode.xml 34 | Example/JRSplitVCExample/.idea/scopes/scope_settings.xml 35 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/UIDetailVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIDetailVC.m 3 | // JRSplitVCExample 4 | // 5 | // Created by José Roldán Jiménez on 6/9/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import "UIDetailVC.h" 10 | #import "JRSplitVC.h" 11 | @implementation UIDetailVC 12 | - (IBAction)changeMode:(id)sender { 13 | if (self.splitViewController.displayMode == 3) { 14 | [self.splitViewController setPreferredDisplayMode:UISplitViewControllerDisplayModeAutomatic]; 15 | }else{ 16 | [self.splitViewController setPreferredDisplayMode:self.splitViewController.displayMode +1]; 17 | } 18 | 19 | } 20 | - (IBAction)fullView:(id)sender { 21 | JRSplitVC *JRSplit =(JRSplitVC*) self.splitViewController; 22 | if (!self.navigationItem.leftBarButtonItem) { 23 | [JRSplit insertDisplayModeButtonAnimated:YES]; 24 | }else{ 25 | [JRSplit extractDisplayModeButtonAnimated:YES]; 26 | } 27 | 28 | 29 | 30 | } 31 | 32 | 33 | 34 | @end 35 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExampleTests/JRSplitVCExampleTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // JRSplitVCExampleTests.m 3 | // JRSplitVCExampleTests 4 | // 5 | // Created by José Roldán Jiménez on 6/9/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface JRSplitVCExampleTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation JRSplitVCExampleTests 17 | 18 | - (void)setUp { 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 | // Put teardown code here. This method is called after the invocation of each test method in the class. 25 | [super tearDown]; 26 | } 27 | 28 | - (void)testExample { 29 | // This is an example of a functional test case. 30 | XCTAssert(YES, @"Pass"); 31 | } 32 | 33 | - (void)testPerformanceExample { 34 | // This is an example of a performance test case. 35 | [self measureBlock:^{ 36 | // Put the code you want to measure the time of here. 37 | }]; 38 | } 39 | 40 | @end 41 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 José Roldán Jiménez 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Pod/Classes/JRSplitVC.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 19/4/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface JRSplitVC : UISplitViewController 13 | @property (strong, nonatomic) UIGestureRecognizer *longpres; 14 | @property NSString *storyboardFile; 15 | @property NSString *primaryViewControllerCollapsed; 16 | @property NSString *primaryViewControllerExpand; 17 | /** 18 | * Contructor 19 | * 20 | * @param storyBoard String with Storybard 21 | * 22 | * @return new object 23 | */ 24 | -(instancetype) initWithStoryBoardID:(NSString*)storyBoard; 25 | 26 | -(instancetype) initWithStoryBoardID:(NSString*)storyBoard 27 | withPrimaryViewCollapsed:(NSString*)primaryViewControllerCollapsed 28 | withPrimaryViewExpand:(NSString*)primaryViewControllerExpand; 29 | 30 | - (void)changePreferredPrimaryColumnWidth; 31 | /** 32 | * Insert a Button for change mode of detailview 33 | * 34 | */ 35 | -(void)insertDisplayModeButtonAnimated:(BOOL)animated; 36 | /** 37 | * Extract a Button dans SplitviewController 38 | * 39 | */ 40 | -(void)extractDisplayModeButtonAnimated:(BOOL)animated; 41 | 42 | @end 43 | 44 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JRSplitVC 2 | 3 | ![Example](images/JRSplitVC) 4 | 5 | [![CI Status](http://img.shields.io/travis/José Roldán Jiménez/JRSplitVC.svg?style=flat)](https://travis-ci.org/José Roldán Jiménez/JRSplitVC) 6 | [![Version](https://img.shields.io/cocoapods/v/JRSplitVC.svg?style=flat)](http://cocoapods.org/pods/JRSplitVC) 7 | [![License](https://img.shields.io/cocoapods/l/JRSplitVC.svg?style=flat)](http://cocoapods.org/pods/JRSplitVC) 8 | [![Platform](https://img.shields.io/cocoapods/p/JRSplitVC.svg?style=flat)](http://cocoapods.org/pods/JRSplitVC) 9 | 10 | ## Usage 11 | 12 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 13 | 14 | ### new customview on collapseview 15 | Custom primary view 16 | 17 | ``` Objective-C 18 | self.primaryViewControllerCollapsed = @"MyCustonViewCollapse"; 19 | self.primaryViewControllerExpand = @"MyMasterViewStorybard"; 20 | self.storyboardFile = @"MyStoryBoardFile"; 21 | ``` 22 | ![Example](images/JRSplitVC3.gif) 23 | ## Installation 24 | 25 | JRSplitVC is available through [CocoaPods](http://cocoapods.org). To install 26 | it, simply add the following line to your Podfile: 27 | 28 | ```ruby 29 | pod "JRSplitVC" 30 | ``` 31 | 32 | ## Author 33 | 34 | José Roldán Jiménez, nosoycomplicao@gmail.com 35 | 36 | ## License 37 | 38 | JRSplitVC is available under the MIT license. See the LICENSE file for more info. 39 | -------------------------------------------------------------------------------- /JRSplitVC.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint JRSplitVC.podspec' to ensure this is a 3 | # valid spec before submitting. 4 | # 5 | # Any lines starting with a # are optional, but their use is encouraged 6 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | s.name = "JRSplitVC" 11 | s.version = "0.1.13" 12 | s.summary = "A UISplitViewController with adaptative layouts" 13 | 14 | # This description is used to generate tags and improve search results. 15 | # * Think: What does it do? Why did you write it? What is the focus? 16 | # * Try to keep it short, snappy and to the point. 17 | # * Write the description between the DESC delimiters below. 18 | # * Finally, don't worry about the indent, CocoaPods strips it! 19 | s.description = "UISplitViewController made easy, resize view's with gestures ;)" 20 | 21 | s.homepage = "https://github.com/tommypeps/JRSplitVC" 22 | # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" 23 | s.license = 'MIT' 24 | s.author = { "José Roldán Jiménez" => "nosoycomplicao@gmail.com" } 25 | s.source = { :git => "https://github.com/tommypeps/JRSplitVC.git", :tag => s.version.to_s } 26 | # s.social_media_url = 'https://twitter.com/tommypeps' 27 | 28 | s.platform = :ios, '8.0' 29 | s.requires_arc = true 30 | 31 | s.source_files = 'Pod/Classes/*' 32 | s.resource_bundles = { 33 | 'JRSplitVC' => ['Pod/Assets/*.png'] 34 | } 35 | 36 | # s.public_header_files = 'Pod/Classes/**/*.{h,m}' 37 | # s.frameworks = 'UIKit', 'MapKit' 38 | # s.dependency 'AFNetworking', '~> 2.3' 39 | end 40 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.roldanjimenez.$(PRODUCT_NAME:rfc1034identifier) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundleName 14 | $(PRODUCT_NAME) 15 | CFBundlePackageType 16 | APPL 17 | CFBundleShortVersionString 18 | 1.0 19 | CFBundleSignature 20 | ???? 21 | CFBundleVersion 22 | 1 23 | LSRequiresIPhoneOS 24 | 25 | UILaunchStoryboardName 26 | LaunchScreen 27 | UIMainStoryboardFile 28 | Main 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | UISupportedInterfaceOrientations~ipad 40 | 41 | UIInterfaceOrientationPortrait 42 | UIInterfaceOrientationPortraitUpsideDown 43 | UIInterfaceOrientationLandscapeLeft 44 | UIInterfaceOrientationLandscapeRight 45 | 46 | 47 | 48 | -------------------------------------------------------------------------------- /Pod/Classes/UISplitViewController+function.m: -------------------------------------------------------------------------------- 1 | // 2 | // UISplitViewController+function.m 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 14/8/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import "UISplitViewController+function.h" 10 | 11 | @implementation UISplitViewController (function) 12 | -(void)insertDisplayModeButtonAnimated2:(BOOL)animated 13 | { 14 | UINavigationController *nc = [self.viewControllers objectAtIndex:[@1 integerValue]]; 15 | if (nc) { 16 | UIViewController *vc = [nc topViewController]; 17 | if (vc) { 18 | [vc.navigationItem setLeftItemsSupplementBackButton:YES]; 19 | [vc.navigationItem setLeftBarButtonItem:[self displayModeButtonItem] 20 | animated:animated]; 21 | 22 | } 23 | 24 | } 25 | } 26 | -(UIViewController*)masterView 27 | { 28 | if ([self.viewControllers count]) { 29 | id vc = self.viewControllers[0]; 30 | if ([vc isKindOfClass:[UINavigationController class]]) { 31 | return [vc topViewController]; 32 | }else if ([vc isKindOfClass:[UIViewController class]]){ 33 | return vc; 34 | }else{ 35 | return nil; 36 | } 37 | } 38 | return nil; 39 | } 40 | -(UIViewController*)detailView 41 | { 42 | 43 | if ([self.viewControllers count] == [@2 intValue]) { 44 | 45 | id vc = self.viewControllers[1]; 46 | if ([vc isKindOfClass:[UINavigationController class]]) { 47 | return [vc topViewController]; 48 | }else if ([vc isKindOfClass:[UIViewController class]]){ 49 | return vc; 50 | }else{ 51 | return nil; 52 | } 53 | } 54 | return nil; 55 | } 56 | @end 57 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // JRSplitVCExample 4 | // 5 | // Created by José Roldán Jiménez on 6/9/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | #import 11 | @interface AppDelegate () 12 | 13 | @end 14 | 15 | @implementation AppDelegate 16 | 17 | 18 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions { 19 | // Override point for customization after application launch. 20 | 21 | // JRSplitVC *vc =[[JRSplitVC alloc] initWithStoryBoardID:@"Main" 22 | // withPrimaryViewCollapsed:@"collapse" 23 | // withPrimaryViewExpand:@"collapse"]; 24 | // [self.window setRootViewController:vc]; 25 | // [vc setStoryboardFile:@"Main"]; 26 | // [self.window makeKeyAndVisible]; 27 | 28 | return YES; 29 | } 30 | 31 | - (void)applicationWillResignActive:(UIApplication *)application { 32 | // 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. 33 | // 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. 34 | } 35 | 36 | - (void)applicationDidEnterBackground:(UIApplication *)application { 37 | // 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. 38 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 39 | } 40 | 41 | - (void)applicationWillEnterForeground:(UIApplication *)application { 42 | // 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. 43 | } 44 | 45 | - (void)applicationDidBecomeActive:(UIApplication *)application { 46 | // 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. 47 | } 48 | 49 | - (void)applicationWillTerminate:(UIApplication *)application { 50 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 51 | } 52 | 53 | @end 54 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/Base.lproj/LaunchScreen.xib: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 20 | 26 | 27 | 28 | 29 | 30 | 31 | 32 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/UIListVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIListVC.m 3 | // JRSplitVCExample 4 | // 5 | // Created by José Roldán Jiménez on 6/9/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import "UIListVC.h" 10 | #import "UIDetailVC.h" 11 | #import "JRSplitVC.h" 12 | @interface UIListVC () 13 | @property NSArray *list; 14 | @end 15 | @implementation UIListVC 16 | 17 | -(void)viewDidLoad 18 | { 19 | self.list = @[@"Full Screen",@"Full Screen disappear", @"UIPanGestureRecognizer",@"UILongPressGestureRecognizer"]; 20 | self.title =@"JRSSplitVC"; 21 | JRSplitVC *vc =(JRSplitVC*) self.splitViewController; 22 | [vc setStoryboardFile:@"Main"]; 23 | [vc setPrimaryViewControllerExpand:@"MyMasterViewStorybard"]; 24 | [vc setPrimaryViewControllerCollapsed:@"MyCustonViewCollapse"]; 25 | } 26 | #pragma mark - UITableViewDelegate 27 | 28 | #pragma mark - UITableViewDataSource 29 | 30 | 31 | 32 | - (NSInteger)tableView:(UITableView *)tableView 33 | numberOfRowsInSection:(NSInteger)section 34 | { 35 | return [self.list count]; 36 | } 37 | 38 | - (UITableViewCell *)tableView:(UITableView *)tableView 39 | cellForRowAtIndexPath:(NSIndexPath *)indexPath 40 | { 41 | static NSString *cellIdentifier = @"Cell"; 42 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier 43 | forIndexPath:indexPath]; 44 | 45 | 46 | [cell.textLabel setText:[self.list objectAtIndex:indexPath.row]]; 47 | return cell; 48 | } 49 | -(void)tableView:(UITableView *)tableView 50 | didSelectRowAtIndexPath:(NSIndexPath *)indexPath 51 | { 52 | UIStoryboard *story = [UIStoryboard storyboardWithName:@"Main" 53 | bundle:[NSBundle mainBundle ]]; 54 | 55 | UIDetailVC *detailVC = [story instantiateViewControllerWithIdentifier:@"UIDetailVC"]; 56 | UINavigationController *nc = [UINavigationController new]; 57 | [nc addChildViewController:detailVC]; 58 | 59 | switch (indexPath.row) { 60 | case 0: 61 | { 62 | 63 | //TODO: get view of StoryBoard 64 | 65 | [self showDetailViewController:nc 66 | sender:self]; 67 | JRSplitVC *vc = self.splitViewController; 68 | [vc insertDisplayModeButtonAnimated:YES]; 69 | } 70 | break; 71 | case 1: 72 | { 73 | 74 | //TODO: get view of StoryBoard 75 | JRSplitVC *vc = self.splitViewController; 76 | [vc extractDisplayModeButtonAnimated:YES]; 77 | 78 | [self showDetailViewController:nc 79 | sender:self]; 80 | 81 | 82 | } 83 | break; 84 | 85 | case 2: 86 | { 87 | 88 | UIPanGestureRecognizer *pan =[[UIPanGestureRecognizer alloc]initWithTarget:self.splitViewController 89 | action:@selector(changePreferredPrimaryColumnWidth)]; 90 | [self.splitViewController setValue:pan 91 | forKey:@"longpres"]; 92 | } 93 | break; 94 | case 3: 95 | { 96 | UILongPressGestureRecognizer *longpress = [[UILongPressGestureRecognizer alloc] initWithTarget:self.splitViewController 97 | action:@selector(changePreferredPrimaryColumnWidth)]; 98 | [self.splitViewController setValue:longpress 99 | forKey:@"longpres"]; 100 | 101 | } 102 | break; 103 | default: 104 | break; 105 | } 106 | } 107 | @end -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/Classes/JRSplitVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 19/4/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import "JRSplitVC.h" 10 | 11 | 12 | #import "UIGestureRecognizer+functions.h" 13 | 14 | @interface JRSplitVC () 15 | @property (strong, nonatomic) UIGestureRecognizer *longpres; 16 | //@property CGPoint lastLongpress; 17 | //@property CGPoint newLongpress; 18 | //@property CGFloat last_fraction; 19 | 20 | 21 | 22 | @end 23 | 24 | @implementation JRSplitVC 25 | 26 | - (void)viewDidLoad 27 | { 28 | [super viewDidLoad]; 29 | [self setDelegate:self]; 30 | [self testobserve]; 31 | [self setPresentsWithGesture:YES]; 32 | [self setPreferredPrimaryColumnWidthFraction:0.5]; 33 | [self setMaximumPrimaryColumnWidth:self.view.frame.size.width]; 34 | [self setMinimumPrimaryColumnWidth:0]; 35 | [self setPreferredDisplayMode:UISplitViewControllerDisplayModeAllVisible]; 36 | 37 | UIViewController *vc = [[UIViewController alloc] init]; 38 | UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:vc]; 39 | [self.splitViewController showDetailViewController:nc 40 | sender:self]; 41 | 42 | // [self setMaximumPrimaryColumnWidth:self.view.frame.size.width]; 43 | 44 | _longpres = [[UILongPressGestureRecognizer alloc]initWithTarget:self 45 | action:@selector(longPres)]; 46 | // [_longpres setMinimumNumberOfTouches:@0]; 47 | if ([_longpres respondsToSelector:@selector(setMinimumNumberOfTouches:)]) { 48 | [_longpres setValue:0 forKey:@"numberOfTouchesRequired"]; 49 | } 50 | [self.view addGestureRecognizer:_longpres]; 51 | 52 | 53 | // Do any additional setup after loading the view, typically from a nib. 54 | } 55 | - (void)longPres 56 | { 57 | CGFloat f = [_longpres fractionTouch]; 58 | [self setPreferredPrimaryColumnWidthFraction:f]; 59 | 60 | } 61 | 62 | - (void)didReceiveMemoryWarning 63 | { 64 | [super didReceiveMemoryWarning]; 65 | // Dispose of any resources that can be recreated. 66 | } 67 | 68 | - (void)viewWillLayoutSubviews 69 | { 70 | [super viewWillLayoutSubviews]; 71 | 72 | } 73 | - (void)viewWillTransitionToSize:(CGSize)size 74 | withTransitionCoordinator:(id)coordinator{ 75 | [super viewWillTransitionToSize:size 76 | withTransitionCoordinator:coordinator]; 77 | 78 | [self setMaximumPrimaryColumnWidth:size.width]; 79 | [self setMinimumPrimaryColumnWidth:0]; 80 | 81 | } 82 | 83 | #pragma mark - UISplitViewControllerDelegate 84 | //- (UISplitViewControllerDisplayMode)targetDisplayModeForActionInSplitViewController:(UISplitViewController *)svc 85 | //{ 86 | // 87 | // return UISplitViewControllerDisplayModeAllVisible; 88 | //} 89 | 90 | -(void)testobserve{ 91 | 92 | //No funciona por el moomento 93 | [self addObserver:self.splitViewController 94 | forKeyPath:@"isCollapsed" 95 | options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionInitial | NSKeyValueMinusSetMutation 96 | context:nil]; 97 | } 98 | -(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context{ 99 | NSLog(@"%@",keyPath); 100 | [super observeValueForKeyPath:keyPath 101 | ofObject:object 102 | change:change 103 | context:context]; 104 | } 105 | 106 | //Funciona y está bastante guapo a mi gusto 107 | // ¿no seria mejor idea insertar este método como una categoria? 108 | -(void)insertDisplayModeButtonAnimated:(BOOL)animated 109 | { 110 | if ([self.viewControllers count]>1) { 111 | UINavigationController *nc = [self.viewControllers objectAtIndex:[@1 integerValue]]; 112 | if (nc) { 113 | UIViewController *vc = [nc topViewController]; 114 | if (vc) { 115 | [vc.navigationItem setLeftItemsSupplementBackButton:YES]; 116 | [vc.navigationItem setLeftBarButtonItem:[self displayModeButtonItem] 117 | animated:animated]; 118 | 119 | } 120 | 121 | } 122 | 123 | } 124 | } 125 | -(void)extractDisplayModeButtonAnimated:(BOOL)animated{ 126 | if ([self.viewControllers count]>1) { 127 | UINavigationController *nc = [self.viewControllers objectAtIndex:[@1 integerValue]]; 128 | if (nc) { 129 | UIViewController *vc = [nc topViewController]; 130 | if (vc) { 131 | [vc.navigationItem setLeftBarButtonItem:nil]; 132 | [vc.navigationItem setLeftItemsSupplementBackButton:YES]; 133 | 134 | } 135 | 136 | } 137 | 138 | } 139 | 140 | } 141 | 142 | @end 143 | -------------------------------------------------------------------------------- /Pod/Classes/JRSplitVC.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // testGesture 4 | // 5 | // Created by José Roldán Jiménez on 19/4/15. 6 | // Copyright (c) 2015 com.roldanjimenez. All rights reserved. 7 | // 8 | 9 | #import "JRSplitVC.h" 10 | 11 | 12 | #import "UIGestureRecognizer+functions.h" 13 | 14 | 15 | @interface JRSplitVC () 16 | 17 | 18 | 19 | @end 20 | 21 | @implementation JRSplitVC 22 | -(instancetype) initWithStoryBoardID:(NSString*)storyBoard 23 | { 24 | self = [super init]; 25 | if (self) { 26 | self.storyboardFile = storyBoard; 27 | } 28 | return self; 29 | 30 | } 31 | -(instancetype) initWithStoryBoardID:(NSString*)storyBoard 32 | withPrimaryViewCollapsed:(NSString*)primaryViewControllerCollapsed 33 | withPrimaryViewExpand:(NSString*)primaryViewControllerExpand 34 | { 35 | self = [super init]; 36 | if (self) { 37 | self.storyboardFile = storyBoard; 38 | self.primaryViewControllerCollapsed = primaryViewControllerCollapsed; 39 | self.primaryViewControllerExpand = primaryViewControllerExpand; 40 | } 41 | return self; 42 | } 43 | -(instancetype)init{ 44 | self = [super init]; 45 | if (self) { 46 | 47 | } 48 | return self; 49 | } 50 | - (void)viewDidLoad 51 | { 52 | // self.primaryViewControllerCollapsed = @"MyCustonViewCollapse"; 53 | // self.primaryViewControllerExpand = @"MyMasterViewStorybard"; 54 | // self.storyboardFile = @"Main"; 55 | [super viewDidLoad]; 56 | [self setDelegate:self]; 57 | [self setPresentsWithGesture:YES]; 58 | [self setPreferredPrimaryColumnWidthFraction:0.5]; 59 | [self setMaximumPrimaryColumnWidth:self.view.frame.size.width]; 60 | [self setMinimumPrimaryColumnWidth:0]; 61 | [self setPreferredDisplayMode:UISplitViewControllerDisplayModeAllVisible]; 62 | 63 | UIViewController *vc = [[UIViewController alloc] init]; 64 | UINavigationController *nc = [[UINavigationController alloc] initWithRootViewController:vc]; 65 | [self.splitViewController showDetailViewController:nc 66 | sender:self]; 67 | [self addObserver:self 68 | forKeyPath:@"longpres" 69 | options:NSKeyValueObservingOptionNew | NSKeyValueObservingOptionOld 70 | context:nil]; 71 | 72 | 73 | // [self setMaximumPrimaryColumnWidth:self.view.frame.size.width]; 74 | 75 | _longpres = [[UILongPressGestureRecognizer alloc]initWithTarget:self 76 | action:@selector(changePreferredPrimaryColumnWidth)]; 77 | // [_longpres setMinimumNumberOfTouches:@0]; 78 | if ([_longpres respondsToSelector:@selector(setMinimumNumberOfTouches:)]) { 79 | [_longpres setValue:0 forKey:@"numberOfTouchesRequired"]; 80 | } 81 | [self.view addGestureRecognizer:_longpres]; 82 | 83 | 84 | // Do any additional setup after loading the view, typically from a nib. 85 | } 86 | - (void)changePreferredPrimaryColumnWidth 87 | { 88 | CGFloat f = [_longpres fractionTouch]; 89 | [self setPreferredPrimaryColumnWidthFraction:f]; 90 | 91 | } 92 | 93 | - (void)didReceiveMemoryWarning 94 | { 95 | [super didReceiveMemoryWarning]; 96 | // Dispose of any resources that can be recreated. 97 | } 98 | 99 | - (void)viewWillLayoutSubviews 100 | { 101 | [super viewWillLayoutSubviews]; 102 | 103 | } 104 | - (void)viewWillTransitionToSize:(CGSize)size 105 | withTransitionCoordinator:(id)coordinator 106 | { 107 | [super viewWillTransitionToSize:size 108 | withTransitionCoordinator:coordinator]; 109 | 110 | [self setMaximumPrimaryColumnWidth:size.width]; 111 | [self setMinimumPrimaryColumnWidth:0]; 112 | 113 | } 114 | 115 | -(void)observeValueForKeyPath:(NSString *)keyPath 116 | ofObject:(id)object 117 | change:(NSDictionary *)change 118 | context:(void *)context 119 | { 120 | NSLog(@"%@",keyPath); 121 | if ([keyPath isEqualToString:@"longpres"]) { 122 | UIGestureRecognizer * old = [change valueForKey:@"old"]; 123 | UIGestureRecognizer * new = change[@"new"]; 124 | [self.view removeGestureRecognizer:old]; 125 | [self.view addGestureRecognizer:new]; 126 | } 127 | } 128 | 129 | //Funciona y está bastante guapo a mi gusto 130 | // ¿no seria mejor idea insertar este método como una categoria? 131 | -(void)insertDisplayModeButtonAnimated:(BOOL)animated 132 | { 133 | if ([self.viewControllers count]>1) { 134 | UINavigationController *nc = [self.viewControllers objectAtIndex:[@1 integerValue]]; 135 | if (nc) { 136 | UIViewController *vc = [nc topViewController]; 137 | if (vc) { 138 | [vc.navigationItem setLeftItemsSupplementBackButton:YES]; 139 | [vc.navigationItem setLeftBarButtonItem:[self displayModeButtonItem] 140 | animated:animated]; 141 | 142 | } 143 | 144 | } 145 | 146 | } 147 | } 148 | -(void)extractDisplayModeButtonAnimated:(BOOL)animated{ 149 | if ([self.viewControllers count]>1) { 150 | UINavigationController *nc = [self.viewControllers objectAtIndex:[@1 integerValue]]; 151 | if (nc) { 152 | UIViewController *vc = [nc topViewController]; 153 | if (vc) { 154 | [vc.navigationItem setLeftBarButtonItem:nil]; 155 | [vc.navigationItem setLeftItemsSupplementBackButton:YES]; 156 | 157 | } 158 | 159 | } 160 | 161 | } 162 | 163 | } 164 | #pragma mark - UISplitViewControllerDelegate 165 | //- (UISplitViewControllerDisplayMode)targetDisplayModeForActionInSplitViewController:(UISplitViewController *)svc 166 | //{ 167 | // 168 | // return UISplitViewControllerDisplayModeAllVisible; 169 | //} 170 | - (BOOL)splitViewController:(UISplitViewController *)splitViewController 171 | collapseSecondaryViewController:(UIViewController *)secondaryViewController 172 | ontoPrimaryViewController:(UIViewController *)primaryViewController 173 | { 174 | return NO; 175 | } 176 | -(UIViewController *)primaryViewControllerForCollapsingSplitViewController:(UISplitViewController *)splitViewController 177 | { 178 | //normmalm,ente hay 2 views 179 | if (!self.primaryViewControllerCollapsed) { 180 | UINavigationController *nv = [[self viewControllers ] firstObject]; 181 | //NSArray *list = self.viewControllers; 182 | return nv ; 183 | }else if (self.primaryViewControllerCollapsed && self.storyboardFile){ 184 | UIStoryboard *storyboard = [UIStoryboard storyboardWithName:self.storyboardFile 185 | bundle:[NSBundle mainBundle]]; 186 | return [storyboard instantiateViewControllerWithIdentifier:self.primaryViewControllerCollapsed]; 187 | } 188 | } 189 | - (UIViewController *)primaryViewControllerForExpandingSplitViewController:(UISplitViewController *)splitViewController 190 | { 191 | id nv = [[self viewControllers ] lastObject]; 192 | if (self.primaryViewControllerExpand && self.storyboardFile) { 193 | UIStoryboard *storyboard = [UIStoryboard storyboardWithName:self.storyboardFile 194 | bundle:[NSBundle mainBundle]]; 195 | UINavigationController *nc = [UINavigationController new]; 196 | UIViewController *vc = [storyboard instantiateViewControllerWithIdentifier:self.primaryViewControllerExpand]; 197 | [nc addChildViewController:vc]; 198 | return nc; 199 | } 200 | if ([nv respondsToSelector:@selector(topViewController)]) { 201 | return nv ; 202 | }else{ 203 | UINavigationController *nv2 = [[UINavigationController alloc] initWithRootViewController:nv]; 204 | return nv2; 205 | } 206 | } 207 | @end 208 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 30 | 40 | 41 | 42 | 43 | 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 | 74 | 75 | 76 | 77 | 78 | 79 | 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 | 112 | 113 | 114 | 115 | 116 | 117 | 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 | 154 | 155 | 156 | 157 | 158 | 159 | 160 | 161 | 162 | 163 | 164 | 165 | 166 | 167 | 168 | 169 | 170 | 171 | 172 | 173 | 174 | 175 | 176 | 177 | 178 | 179 | 180 | 181 | 182 | 183 | 184 | 185 | 186 | 187 | 188 | -------------------------------------------------------------------------------- /Example/JRSplitVCExample/JRSplitVCExample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 10F85D271B9CA2790099FC5A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 10F85D261B9CA2790099FC5A /* main.m */; }; 11 | 10F85D2A1B9CA2790099FC5A /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 10F85D291B9CA2790099FC5A /* AppDelegate.m */; }; 12 | 10F85D301B9CA2790099FC5A /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 10F85D2E1B9CA2790099FC5A /* Main.storyboard */; }; 13 | 10F85D351B9CA2790099FC5A /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 10F85D331B9CA2790099FC5A /* LaunchScreen.xib */; }; 14 | 10F85D411B9CA27A0099FC5A /* JRSplitVCExampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 10F85D401B9CA27A0099FC5A /* JRSplitVCExampleTests.m */; }; 15 | 10F85D4E1B9CA3CA0099FC5A /* UIListVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 10F85D4D1B9CA3CA0099FC5A /* UIListVC.m */; }; 16 | 10F85D611B9CB5AA0099FC5A /* UIDetailVC.m in Sources */ = {isa = PBXBuildFile; fileRef = 10F85D601B9CB5AA0099FC5A /* UIDetailVC.m */; }; 17 | 9B8CA962A1FC10687559372F /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = D0E995B4F8CDF7EF7FDD8909 /* libPods.a */; }; 18 | /* End PBXBuildFile section */ 19 | 20 | /* Begin PBXContainerItemProxy section */ 21 | 10F85D3B1B9CA27A0099FC5A /* PBXContainerItemProxy */ = { 22 | isa = PBXContainerItemProxy; 23 | containerPortal = 10F85D191B9CA2790099FC5A /* Project object */; 24 | proxyType = 1; 25 | remoteGlobalIDString = 10F85D201B9CA2790099FC5A; 26 | remoteInfo = JRSplitVCExample; 27 | }; 28 | /* End PBXContainerItemProxy section */ 29 | 30 | /* Begin PBXFileReference section */ 31 | 10F85D211B9CA2790099FC5A /* JRSplitVCExample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JRSplitVCExample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 32 | 10F85D251B9CA2790099FC5A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 33 | 10F85D261B9CA2790099FC5A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 34 | 10F85D281B9CA2790099FC5A /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 35 | 10F85D291B9CA2790099FC5A /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 36 | 10F85D2F1B9CA2790099FC5A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 37 | 10F85D341B9CA2790099FC5A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 38 | 10F85D3A1B9CA27A0099FC5A /* JRSplitVCExampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JRSplitVCExampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 39 | 10F85D3F1B9CA27A0099FC5A /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 40 | 10F85D401B9CA27A0099FC5A /* JRSplitVCExampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JRSplitVCExampleTests.m; sourceTree = ""; }; 41 | 10F85D4C1B9CA3CA0099FC5A /* UIListVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIListVC.h; sourceTree = ""; }; 42 | 10F85D4D1B9CA3CA0099FC5A /* UIListVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIListVC.m; sourceTree = ""; }; 43 | 10F85D5F1B9CB5AA0099FC5A /* UIDetailVC.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = UIDetailVC.h; sourceTree = ""; }; 44 | 10F85D601B9CB5AA0099FC5A /* UIDetailVC.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = UIDetailVC.m; sourceTree = ""; }; 45 | 42BD842EA572AC99E7E8CFA9 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; 46 | CFAB33846CD36C5F48C601F2 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; 47 | D0E995B4F8CDF7EF7FDD8909 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | /* End PBXFileReference section */ 49 | 50 | /* Begin PBXFrameworksBuildPhase section */ 51 | 10F85D1E1B9CA2790099FC5A /* Frameworks */ = { 52 | isa = PBXFrameworksBuildPhase; 53 | buildActionMask = 2147483647; 54 | files = ( 55 | 9B8CA962A1FC10687559372F /* libPods.a in Frameworks */, 56 | ); 57 | runOnlyForDeploymentPostprocessing = 0; 58 | }; 59 | 10F85D371B9CA27A0099FC5A /* Frameworks */ = { 60 | isa = PBXFrameworksBuildPhase; 61 | buildActionMask = 2147483647; 62 | files = ( 63 | ); 64 | runOnlyForDeploymentPostprocessing = 0; 65 | }; 66 | /* End PBXFrameworksBuildPhase section */ 67 | 68 | /* Begin PBXGroup section */ 69 | 10F85D181B9CA2790099FC5A = { 70 | isa = PBXGroup; 71 | children = ( 72 | 10F85D231B9CA2790099FC5A /* JRSplitVCExample */, 73 | 10F85D3D1B9CA27A0099FC5A /* JRSplitVCExampleTests */, 74 | 10F85D221B9CA2790099FC5A /* Products */, 75 | AB5D675B1117B8F152235BAB /* Pods */, 76 | 5843C33C714BE9E965862AB7 /* Frameworks */, 77 | ); 78 | sourceTree = ""; 79 | }; 80 | 10F85D221B9CA2790099FC5A /* Products */ = { 81 | isa = PBXGroup; 82 | children = ( 83 | 10F85D211B9CA2790099FC5A /* JRSplitVCExample.app */, 84 | 10F85D3A1B9CA27A0099FC5A /* JRSplitVCExampleTests.xctest */, 85 | ); 86 | name = Products; 87 | sourceTree = ""; 88 | }; 89 | 10F85D231B9CA2790099FC5A /* JRSplitVCExample */ = { 90 | isa = PBXGroup; 91 | children = ( 92 | 10F85D281B9CA2790099FC5A /* AppDelegate.h */, 93 | 10F85D291B9CA2790099FC5A /* AppDelegate.m */, 94 | 10F85D2E1B9CA2790099FC5A /* Main.storyboard */, 95 | 10F85D4C1B9CA3CA0099FC5A /* UIListVC.h */, 96 | 10F85D4D1B9CA3CA0099FC5A /* UIListVC.m */, 97 | 10F85D5F1B9CB5AA0099FC5A /* UIDetailVC.h */, 98 | 10F85D601B9CB5AA0099FC5A /* UIDetailVC.m */, 99 | 10F85D331B9CA2790099FC5A /* LaunchScreen.xib */, 100 | 10F85D241B9CA2790099FC5A /* Supporting Files */, 101 | ); 102 | path = JRSplitVCExample; 103 | sourceTree = ""; 104 | }; 105 | 10F85D241B9CA2790099FC5A /* Supporting Files */ = { 106 | isa = PBXGroup; 107 | children = ( 108 | 10F85D251B9CA2790099FC5A /* Info.plist */, 109 | 10F85D261B9CA2790099FC5A /* main.m */, 110 | ); 111 | name = "Supporting Files"; 112 | sourceTree = ""; 113 | }; 114 | 10F85D3D1B9CA27A0099FC5A /* JRSplitVCExampleTests */ = { 115 | isa = PBXGroup; 116 | children = ( 117 | 10F85D401B9CA27A0099FC5A /* JRSplitVCExampleTests.m */, 118 | 10F85D3E1B9CA27A0099FC5A /* Supporting Files */, 119 | ); 120 | path = JRSplitVCExampleTests; 121 | sourceTree = ""; 122 | }; 123 | 10F85D3E1B9CA27A0099FC5A /* Supporting Files */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 10F85D3F1B9CA27A0099FC5A /* Info.plist */, 127 | ); 128 | name = "Supporting Files"; 129 | sourceTree = ""; 130 | }; 131 | 5843C33C714BE9E965862AB7 /* Frameworks */ = { 132 | isa = PBXGroup; 133 | children = ( 134 | D0E995B4F8CDF7EF7FDD8909 /* libPods.a */, 135 | ); 136 | name = Frameworks; 137 | sourceTree = ""; 138 | }; 139 | AB5D675B1117B8F152235BAB /* Pods */ = { 140 | isa = PBXGroup; 141 | children = ( 142 | 42BD842EA572AC99E7E8CFA9 /* Pods.debug.xcconfig */, 143 | CFAB33846CD36C5F48C601F2 /* Pods.release.xcconfig */, 144 | ); 145 | name = Pods; 146 | sourceTree = ""; 147 | }; 148 | /* End PBXGroup section */ 149 | 150 | /* Begin PBXNativeTarget section */ 151 | 10F85D201B9CA2790099FC5A /* JRSplitVCExample */ = { 152 | isa = PBXNativeTarget; 153 | buildConfigurationList = 10F85D441B9CA27A0099FC5A /* Build configuration list for PBXNativeTarget "JRSplitVCExample" */; 154 | buildPhases = ( 155 | B1554B91E8F2EF0567363E7A /* Check Pods Manifest.lock */, 156 | 10F85D1D1B9CA2790099FC5A /* Sources */, 157 | 10F85D1E1B9CA2790099FC5A /* Frameworks */, 158 | 10F85D1F1B9CA2790099FC5A /* Resources */, 159 | 4E3989B95E9E815174BD5F98 /* Copy Pods Resources */, 160 | EDE82C4BC3D55C604759DE3D /* Embed Pods Frameworks */, 161 | ); 162 | buildRules = ( 163 | ); 164 | dependencies = ( 165 | ); 166 | name = JRSplitVCExample; 167 | productName = JRSplitVCExample; 168 | productReference = 10F85D211B9CA2790099FC5A /* JRSplitVCExample.app */; 169 | productType = "com.apple.product-type.application"; 170 | }; 171 | 10F85D391B9CA27A0099FC5A /* JRSplitVCExampleTests */ = { 172 | isa = PBXNativeTarget; 173 | buildConfigurationList = 10F85D471B9CA27A0099FC5A /* Build configuration list for PBXNativeTarget "JRSplitVCExampleTests" */; 174 | buildPhases = ( 175 | 10F85D361B9CA27A0099FC5A /* Sources */, 176 | 10F85D371B9CA27A0099FC5A /* Frameworks */, 177 | 10F85D381B9CA27A0099FC5A /* Resources */, 178 | ); 179 | buildRules = ( 180 | ); 181 | dependencies = ( 182 | 10F85D3C1B9CA27A0099FC5A /* PBXTargetDependency */, 183 | ); 184 | name = JRSplitVCExampleTests; 185 | productName = JRSplitVCExampleTests; 186 | productReference = 10F85D3A1B9CA27A0099FC5A /* JRSplitVCExampleTests.xctest */; 187 | productType = "com.apple.product-type.bundle.unit-test"; 188 | }; 189 | /* End PBXNativeTarget section */ 190 | 191 | /* Begin PBXProject section */ 192 | 10F85D191B9CA2790099FC5A /* Project object */ = { 193 | isa = PBXProject; 194 | attributes = { 195 | LastUpgradeCheck = 0630; 196 | ORGANIZATIONNAME = com.roldanjimenez; 197 | TargetAttributes = { 198 | 10F85D201B9CA2790099FC5A = { 199 | CreatedOnToolsVersion = 6.3.1; 200 | }; 201 | 10F85D391B9CA27A0099FC5A = { 202 | CreatedOnToolsVersion = 6.3.1; 203 | TestTargetID = 10F85D201B9CA2790099FC5A; 204 | }; 205 | }; 206 | }; 207 | buildConfigurationList = 10F85D1C1B9CA2790099FC5A /* Build configuration list for PBXProject "JRSplitVCExample" */; 208 | compatibilityVersion = "Xcode 3.2"; 209 | developmentRegion = English; 210 | hasScannedForEncodings = 0; 211 | knownRegions = ( 212 | en, 213 | Base, 214 | ); 215 | mainGroup = 10F85D181B9CA2790099FC5A; 216 | productRefGroup = 10F85D221B9CA2790099FC5A /* Products */; 217 | projectDirPath = ""; 218 | projectRoot = ""; 219 | targets = ( 220 | 10F85D201B9CA2790099FC5A /* JRSplitVCExample */, 221 | 10F85D391B9CA27A0099FC5A /* JRSplitVCExampleTests */, 222 | ); 223 | }; 224 | /* End PBXProject section */ 225 | 226 | /* Begin PBXResourcesBuildPhase section */ 227 | 10F85D1F1B9CA2790099FC5A /* Resources */ = { 228 | isa = PBXResourcesBuildPhase; 229 | buildActionMask = 2147483647; 230 | files = ( 231 | 10F85D301B9CA2790099FC5A /* Main.storyboard in Resources */, 232 | 10F85D351B9CA2790099FC5A /* LaunchScreen.xib in Resources */, 233 | ); 234 | runOnlyForDeploymentPostprocessing = 0; 235 | }; 236 | 10F85D381B9CA27A0099FC5A /* Resources */ = { 237 | isa = PBXResourcesBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | ); 241 | runOnlyForDeploymentPostprocessing = 0; 242 | }; 243 | /* End PBXResourcesBuildPhase section */ 244 | 245 | /* Begin PBXShellScriptBuildPhase section */ 246 | 4E3989B95E9E815174BD5F98 /* Copy Pods Resources */ = { 247 | isa = PBXShellScriptBuildPhase; 248 | buildActionMask = 2147483647; 249 | files = ( 250 | ); 251 | inputPaths = ( 252 | ); 253 | name = "Copy Pods Resources"; 254 | outputPaths = ( 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | shellPath = /bin/sh; 258 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; 259 | showEnvVarsInLog = 0; 260 | }; 261 | B1554B91E8F2EF0567363E7A /* Check Pods Manifest.lock */ = { 262 | isa = PBXShellScriptBuildPhase; 263 | buildActionMask = 2147483647; 264 | files = ( 265 | ); 266 | inputPaths = ( 267 | ); 268 | name = "Check Pods Manifest.lock"; 269 | outputPaths = ( 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | shellPath = /bin/sh; 273 | shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n exit 1\nfi\n"; 274 | showEnvVarsInLog = 0; 275 | }; 276 | EDE82C4BC3D55C604759DE3D /* Embed Pods Frameworks */ = { 277 | isa = PBXShellScriptBuildPhase; 278 | buildActionMask = 2147483647; 279 | files = ( 280 | ); 281 | inputPaths = ( 282 | ); 283 | name = "Embed Pods Frameworks"; 284 | outputPaths = ( 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | shellPath = /bin/sh; 288 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-frameworks.sh\"\n"; 289 | showEnvVarsInLog = 0; 290 | }; 291 | /* End PBXShellScriptBuildPhase section */ 292 | 293 | /* Begin PBXSourcesBuildPhase section */ 294 | 10F85D1D1B9CA2790099FC5A /* Sources */ = { 295 | isa = PBXSourcesBuildPhase; 296 | buildActionMask = 2147483647; 297 | files = ( 298 | 10F85D611B9CB5AA0099FC5A /* UIDetailVC.m in Sources */, 299 | 10F85D2A1B9CA2790099FC5A /* AppDelegate.m in Sources */, 300 | 10F85D4E1B9CA3CA0099FC5A /* UIListVC.m in Sources */, 301 | 10F85D271B9CA2790099FC5A /* main.m in Sources */, 302 | ); 303 | runOnlyForDeploymentPostprocessing = 0; 304 | }; 305 | 10F85D361B9CA27A0099FC5A /* Sources */ = { 306 | isa = PBXSourcesBuildPhase; 307 | buildActionMask = 2147483647; 308 | files = ( 309 | 10F85D411B9CA27A0099FC5A /* JRSplitVCExampleTests.m in Sources */, 310 | ); 311 | runOnlyForDeploymentPostprocessing = 0; 312 | }; 313 | /* End PBXSourcesBuildPhase section */ 314 | 315 | /* Begin PBXTargetDependency section */ 316 | 10F85D3C1B9CA27A0099FC5A /* PBXTargetDependency */ = { 317 | isa = PBXTargetDependency; 318 | target = 10F85D201B9CA2790099FC5A /* JRSplitVCExample */; 319 | targetProxy = 10F85D3B1B9CA27A0099FC5A /* PBXContainerItemProxy */; 320 | }; 321 | /* End PBXTargetDependency section */ 322 | 323 | /* Begin PBXVariantGroup section */ 324 | 10F85D2E1B9CA2790099FC5A /* Main.storyboard */ = { 325 | isa = PBXVariantGroup; 326 | children = ( 327 | 10F85D2F1B9CA2790099FC5A /* Base */, 328 | ); 329 | name = Main.storyboard; 330 | sourceTree = ""; 331 | }; 332 | 10F85D331B9CA2790099FC5A /* LaunchScreen.xib */ = { 333 | isa = PBXVariantGroup; 334 | children = ( 335 | 10F85D341B9CA2790099FC5A /* Base */, 336 | ); 337 | name = LaunchScreen.xib; 338 | sourceTree = ""; 339 | }; 340 | /* End PBXVariantGroup section */ 341 | 342 | /* Begin XCBuildConfiguration section */ 343 | 10F85D421B9CA27A0099FC5A /* Debug */ = { 344 | isa = XCBuildConfiguration; 345 | buildSettings = { 346 | ALWAYS_SEARCH_USER_PATHS = NO; 347 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 348 | CLANG_CXX_LIBRARY = "libc++"; 349 | CLANG_ENABLE_MODULES = YES; 350 | CLANG_ENABLE_OBJC_ARC = YES; 351 | CLANG_WARN_BOOL_CONVERSION = YES; 352 | CLANG_WARN_CONSTANT_CONVERSION = YES; 353 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 354 | CLANG_WARN_EMPTY_BODY = YES; 355 | CLANG_WARN_ENUM_CONVERSION = YES; 356 | CLANG_WARN_INT_CONVERSION = YES; 357 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 358 | CLANG_WARN_UNREACHABLE_CODE = YES; 359 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 360 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 361 | COPY_PHASE_STRIP = NO; 362 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 363 | ENABLE_STRICT_OBJC_MSGSEND = YES; 364 | GCC_C_LANGUAGE_STANDARD = gnu99; 365 | GCC_DYNAMIC_NO_PIC = NO; 366 | GCC_NO_COMMON_BLOCKS = YES; 367 | GCC_OPTIMIZATION_LEVEL = 0; 368 | GCC_PREPROCESSOR_DEFINITIONS = ( 369 | "DEBUG=1", 370 | "$(inherited)", 371 | ); 372 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 373 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 374 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 375 | GCC_WARN_UNDECLARED_SELECTOR = YES; 376 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 377 | GCC_WARN_UNUSED_FUNCTION = YES; 378 | GCC_WARN_UNUSED_VARIABLE = YES; 379 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 380 | MTL_ENABLE_DEBUG_INFO = YES; 381 | ONLY_ACTIVE_ARCH = YES; 382 | SDKROOT = iphoneos; 383 | TARGETED_DEVICE_FAMILY = "1,2"; 384 | }; 385 | name = Debug; 386 | }; 387 | 10F85D431B9CA27A0099FC5A /* Release */ = { 388 | isa = XCBuildConfiguration; 389 | buildSettings = { 390 | ALWAYS_SEARCH_USER_PATHS = NO; 391 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 392 | CLANG_CXX_LIBRARY = "libc++"; 393 | CLANG_ENABLE_MODULES = YES; 394 | CLANG_ENABLE_OBJC_ARC = YES; 395 | CLANG_WARN_BOOL_CONVERSION = YES; 396 | CLANG_WARN_CONSTANT_CONVERSION = YES; 397 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 398 | CLANG_WARN_EMPTY_BODY = YES; 399 | CLANG_WARN_ENUM_CONVERSION = YES; 400 | CLANG_WARN_INT_CONVERSION = YES; 401 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 402 | CLANG_WARN_UNREACHABLE_CODE = YES; 403 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 404 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 405 | COPY_PHASE_STRIP = NO; 406 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 407 | ENABLE_NS_ASSERTIONS = NO; 408 | ENABLE_STRICT_OBJC_MSGSEND = YES; 409 | GCC_C_LANGUAGE_STANDARD = gnu99; 410 | GCC_NO_COMMON_BLOCKS = YES; 411 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 412 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 413 | GCC_WARN_UNDECLARED_SELECTOR = YES; 414 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 415 | GCC_WARN_UNUSED_FUNCTION = YES; 416 | GCC_WARN_UNUSED_VARIABLE = YES; 417 | IPHONEOS_DEPLOYMENT_TARGET = 8.3; 418 | MTL_ENABLE_DEBUG_INFO = NO; 419 | SDKROOT = iphoneos; 420 | TARGETED_DEVICE_FAMILY = "1,2"; 421 | VALIDATE_PRODUCT = YES; 422 | }; 423 | name = Release; 424 | }; 425 | 10F85D451B9CA27A0099FC5A /* Debug */ = { 426 | isa = XCBuildConfiguration; 427 | baseConfigurationReference = 42BD842EA572AC99E7E8CFA9 /* Pods.debug.xcconfig */; 428 | buildSettings = { 429 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 430 | INFOPLIST_FILE = JRSplitVCExample/Info.plist; 431 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 432 | PRODUCT_NAME = "$(TARGET_NAME)"; 433 | }; 434 | name = Debug; 435 | }; 436 | 10F85D461B9CA27A0099FC5A /* Release */ = { 437 | isa = XCBuildConfiguration; 438 | baseConfigurationReference = CFAB33846CD36C5F48C601F2 /* Pods.release.xcconfig */; 439 | buildSettings = { 440 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 441 | INFOPLIST_FILE = JRSplitVCExample/Info.plist; 442 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 443 | PRODUCT_NAME = "$(TARGET_NAME)"; 444 | }; 445 | name = Release; 446 | }; 447 | 10F85D481B9CA27A0099FC5A /* Debug */ = { 448 | isa = XCBuildConfiguration; 449 | buildSettings = { 450 | BUNDLE_LOADER = "$(TEST_HOST)"; 451 | FRAMEWORK_SEARCH_PATHS = ( 452 | "$(SDKROOT)/Developer/Library/Frameworks", 453 | "$(inherited)", 454 | ); 455 | GCC_PREPROCESSOR_DEFINITIONS = ( 456 | "DEBUG=1", 457 | "$(inherited)", 458 | ); 459 | INFOPLIST_FILE = JRSplitVCExampleTests/Info.plist; 460 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 461 | PRODUCT_NAME = "$(TARGET_NAME)"; 462 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/JRSplitVCExample.app/JRSplitVCExample"; 463 | }; 464 | name = Debug; 465 | }; 466 | 10F85D491B9CA27A0099FC5A /* Release */ = { 467 | isa = XCBuildConfiguration; 468 | buildSettings = { 469 | BUNDLE_LOADER = "$(TEST_HOST)"; 470 | FRAMEWORK_SEARCH_PATHS = ( 471 | "$(SDKROOT)/Developer/Library/Frameworks", 472 | "$(inherited)", 473 | ); 474 | INFOPLIST_FILE = JRSplitVCExampleTests/Info.plist; 475 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 476 | PRODUCT_NAME = "$(TARGET_NAME)"; 477 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/JRSplitVCExample.app/JRSplitVCExample"; 478 | }; 479 | name = Release; 480 | }; 481 | /* End XCBuildConfiguration section */ 482 | 483 | /* Begin XCConfigurationList section */ 484 | 10F85D1C1B9CA2790099FC5A /* Build configuration list for PBXProject "JRSplitVCExample" */ = { 485 | isa = XCConfigurationList; 486 | buildConfigurations = ( 487 | 10F85D421B9CA27A0099FC5A /* Debug */, 488 | 10F85D431B9CA27A0099FC5A /* Release */, 489 | ); 490 | defaultConfigurationIsVisible = 0; 491 | defaultConfigurationName = Release; 492 | }; 493 | 10F85D441B9CA27A0099FC5A /* Build configuration list for PBXNativeTarget "JRSplitVCExample" */ = { 494 | isa = XCConfigurationList; 495 | buildConfigurations = ( 496 | 10F85D451B9CA27A0099FC5A /* Debug */, 497 | 10F85D461B9CA27A0099FC5A /* Release */, 498 | ); 499 | defaultConfigurationIsVisible = 0; 500 | defaultConfigurationName = Release; 501 | }; 502 | 10F85D471B9CA27A0099FC5A /* Build configuration list for PBXNativeTarget "JRSplitVCExampleTests" */ = { 503 | isa = XCConfigurationList; 504 | buildConfigurations = ( 505 | 10F85D481B9CA27A0099FC5A /* Debug */, 506 | 10F85D491B9CA27A0099FC5A /* Release */, 507 | ); 508 | defaultConfigurationIsVisible = 0; 509 | defaultConfigurationName = Release; 510 | }; 511 | /* End XCConfigurationList section */ 512 | }; 513 | rootObject = 10F85D191B9CA2790099FC5A /* Project object */; 514 | } 515 | --------------------------------------------------------------------------------