├── VertigoSample ├── VertigoSample │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── Images.xcassets │ │ ├── photo.imageset │ │ │ ├── photo.png │ │ │ └── Contents.json │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ └── LaunchImage.launchimage │ │ │ └── Contents.json │ ├── TGRViewController.h │ ├── TGRAppDelegate.h │ ├── VertigoSample-Prefix.pch │ ├── main.m │ ├── VertigoSample-Info.plist │ ├── TGRViewController.m │ ├── TGRAppDelegate.m │ └── Base.lproj │ │ └── Main.storyboard ├── VertigoSampleTests │ ├── en.lproj │ │ └── InfoPlist.strings │ ├── VertigoSampleTests-Info.plist │ └── VertigoSampleTests.m ├── VertigoSample.gif └── VertigoSample.xcodeproj │ ├── project.xcworkspace │ └── contents.xcworkspacedata │ └── project.pbxproj ├── .gitignore ├── Vertigo.podspec ├── LICENSE ├── Vertigo ├── UIImage+AspectFit.h ├── TGRImageZoomAnimationController.h ├── TGRImageViewController.h ├── UIImage+AspectFit.m ├── TGRImageViewController.m ├── TGRImageViewController.xib └── TGRImageZoomAnimationController.m └── README.md /VertigoSample/VertigoSample/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSampleTests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gonzalezreal/Vertigo/HEAD/VertigoSample/VertigoSample.gif -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/Images.xcassets/photo.imageset/photo.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/gonzalezreal/Vertigo/HEAD/VertigoSample/VertigoSample/Images.xcassets/photo.imageset/photo.png -------------------------------------------------------------------------------- /VertigoSample/VertigoSample.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- 1 | # Xcode 2 | .DS_Store 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 | profile 14 | *.moved-aside 15 | DerivedData 16 | .idea/ 17 | *.hmap -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/TGRViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // TGRViewController.h 3 | // VertigoSample 4 | // 5 | // Created by guille on 07/10/13. 6 | // Copyright (c) 2013 Guillermo Gonzalez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TGRViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/Images.xcassets/photo.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "photo.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x" 11 | } 12 | ], 13 | "info" : { 14 | "version" : 1, 15 | "author" : "xcode" 16 | } 17 | } -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/TGRAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // TGRAppDelegate.h 3 | // VertigoSample 4 | // 5 | // Created by guille on 07/10/13. 6 | // Copyright (c) 2013 Guillermo Gonzalez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface TGRAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/VertigoSample-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 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // VertigoSample 4 | // 5 | // Created by guille on 07/10/13. 6 | // Copyright (c) 2013 Guillermo Gonzalez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "TGRAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([TGRAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/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 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/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 | "info" : { 20 | "version" : 1, 21 | "author" : "xcode" 22 | } 23 | } -------------------------------------------------------------------------------- /VertigoSample/VertigoSampleTests/VertigoSampleTests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | com.gonzalezreal.${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 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSampleTests/VertigoSampleTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // VertigoSampleTests.m 3 | // VertigoSampleTests 4 | // 5 | // Created by guille on 07/10/13. 6 | // Copyright (c) 2013 Guillermo Gonzalez. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface VertigoSampleTests : XCTestCase 12 | 13 | @end 14 | 15 | @implementation VertigoSampleTests 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 | -------------------------------------------------------------------------------- /Vertigo.podspec: -------------------------------------------------------------------------------- 1 | Pod::Spec.new do |s| 2 | s.name = "Vertigo" 3 | s.version = "0.1" 4 | s.summary = "A simple image viewer which includes a custom transition that mimics the iOS 7 Photos app image zoom effect." 5 | s.description = <<-DESC 6 | **Vertigo** is a simple image viewer which includes a **custom view controller transition** that mimics the new **iOS 7 Photos app** image zoom transition effect. 7 | DESC 8 | s.homepage = "https://github.com/gonzalezreal/Vertigo" 9 | s.screenshots = "https://raw.github.com/gonzalezreal/Vertigo/master/VertigoSample/VertigoSample.gif" 10 | s.license = 'MIT' 11 | s.author = { 'Guillermo Gonzalez' => 'gonzalezreal@icloud.com' } 12 | s.platform = :ios, '7.0' 13 | s.source = { :git => "https://github.com/gonzalezreal/Vertigo.git", :tag => "0.1" } 14 | s.source_files = 'Vertigo' 15 | s.resources = "Vertigo/TGRImageViewController.xib" 16 | s.framework = 'UIKit' 17 | s.requires_arc = true 18 | end 19 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Vertigo 2 | 3 | Copyright (c) 2013 Guillermo Gonzalez 4 | 5 | Permission is hereby granted, free of charge, to any person obtaining a copy 6 | of this software and associated documentation files (the "Software"), to deal 7 | in the Software without restriction, including without limitation the rights 8 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | copies of the Software, and to permit persons to whom the Software is 10 | furnished to do so, subject to the following conditions: 11 | 12 | The above copyright notice and this permission notice shall be included in 13 | all copies or substantial portions of the Software. 14 | 15 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | THE SOFTWARE. 22 | -------------------------------------------------------------------------------- /Vertigo/UIImage+AspectFit.h: -------------------------------------------------------------------------------- 1 | // UIImage+AspectFit.h 2 | // 3 | // Copyright (c) 2013 Guillermo Gonzalez 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import 24 | 25 | @interface UIImage (AspectFit) 26 | 27 | - (CGRect)tgr_aspectFitRectForSize:(CGSize)size; 28 | 29 | @end 30 | 31 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/VertigoSample-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | com.gonzalezreal.${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 29 | UIRequiredDeviceCapabilities 30 | 31 | armv7 32 | 33 | UISupportedInterfaceOrientations 34 | 35 | UIInterfaceOrientationPortrait 36 | UIInterfaceOrientationLandscapeLeft 37 | UIInterfaceOrientationLandscapeRight 38 | 39 | 40 | 41 | -------------------------------------------------------------------------------- /Vertigo/TGRImageZoomAnimationController.h: -------------------------------------------------------------------------------- 1 | // TGRImageZoomAnimationController.h 2 | // 3 | // Copyright (c) 2013 Guillermo Gonzalez 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import 24 | 25 | // Image zoom custom transition. 26 | @interface TGRImageZoomAnimationController : NSObject 27 | 28 | // The image view that will be used as the source (zoom in) or destination 29 | // (zoom out) of the transition. 30 | @property (weak, nonatomic, readonly) UIImageView *referenceImageView; 31 | 32 | // Initializes the receiver with the specified reference image view. 33 | - (id)initWithReferenceImageView:(UIImageView *)referenceImageView; 34 | 35 | @end 36 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/TGRViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // TGRViewController.m 3 | // VertigoSample 4 | // 5 | // Created by guille on 07/10/13. 6 | // Copyright (c) 2013 Guillermo Gonzalez. All rights reserved. 7 | // 8 | 9 | #import "TGRViewController.h" 10 | #import "TGRImageViewController.h" 11 | #import "TGRImageZoomAnimationController.h" 12 | 13 | @interface TGRViewController () 14 | 15 | @property (weak, nonatomic) IBOutlet UIButton *imageButton; 16 | 17 | @end 18 | 19 | @implementation TGRViewController 20 | 21 | - (void)viewDidLoad { 22 | [super viewDidLoad]; 23 | self.imageButton.imageView.contentMode = UIViewContentModeScaleAspectFill; 24 | } 25 | 26 | #pragma mark - UIViewControllerTransitioningDelegate methods 27 | 28 | - (id)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source { 29 | if ([presented isKindOfClass:TGRImageViewController.class]) { 30 | return [[TGRImageZoomAnimationController alloc] initWithReferenceImageView:self.imageButton.imageView]; 31 | } 32 | return nil; 33 | } 34 | 35 | - (id)animationControllerForDismissedController:(UIViewController *)dismissed { 36 | if ([dismissed isKindOfClass:TGRImageViewController.class]) { 37 | return [[TGRImageZoomAnimationController alloc] initWithReferenceImageView:self.imageButton.imageView]; 38 | } 39 | return nil; 40 | } 41 | 42 | #pragma mark - Private methods 43 | 44 | - (IBAction)showImage { 45 | TGRImageViewController *viewController = [[TGRImageViewController alloc] initWithImage:[self.imageButton imageForState:UIControlStateNormal]]; 46 | viewController.transitioningDelegate = self; 47 | 48 | [self presentViewController:viewController animated:YES completion:nil]; 49 | } 50 | 51 | @end 52 | -------------------------------------------------------------------------------- /Vertigo/TGRImageViewController.h: -------------------------------------------------------------------------------- 1 | // TGRImageViewController.h 2 | // 3 | // Copyright (c) 2013 Guillermo Gonzalez 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import 24 | 25 | // Simple full screen image viewer. 26 | // 27 | // Allows the user to view an image in full screen and double tap to zoom it. 28 | // The view controller can be dismissed with a single tap. 29 | @interface TGRImageViewController : UIViewController 30 | 31 | // The scroll view used for zooming. 32 | @property (weak, nonatomic) IBOutlet UIScrollView *scrollView; 33 | 34 | // The image view that displays the image. 35 | @property (weak, nonatomic) IBOutlet UIImageView *imageView; 36 | 37 | // The image that will be shown. 38 | @property (strong, nonatomic, readonly) UIImage *image; 39 | 40 | // Initializes the receiver with the specified image. 41 | - (id)initWithImage:(UIImage *)image; 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /Vertigo/UIImage+AspectFit.m: -------------------------------------------------------------------------------- 1 | // UIImage+AspectFit.m 2 | // 3 | // Copyright (c) 2013 Guillermo Gonzalez 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import "UIImage+AspectFit.h" 24 | 25 | @implementation UIImage (AspectFit) 26 | 27 | - (CGRect)tgr_aspectFitRectForSize:(CGSize)size { 28 | CGFloat targetAspect = size.width / size.height; 29 | CGFloat sourceAspect = self.size.width / self.size.height; 30 | CGRect rect = CGRectZero; 31 | 32 | if (targetAspect > sourceAspect) { 33 | rect.size.height = size.height; 34 | rect.size.width = ceilf(rect.size.height * sourceAspect); 35 | rect.origin.x = ceilf((size.width - rect.size.width) * 0.5); 36 | } 37 | else { 38 | rect.size.width = size.width; 39 | rect.size.height = ceilf(rect.size.width / sourceAspect); 40 | rect.origin.y = ceilf((size.height - rect.size.height) * 0.5); 41 | } 42 | 43 | return rect; 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/TGRAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // TGRAppDelegate.m 3 | // VertigoSample 4 | // 5 | // Created by guille on 07/10/13. 6 | // Copyright (c) 2013 Guillermo Gonzalez. All rights reserved. 7 | // 8 | 9 | #import "TGRAppDelegate.h" 10 | 11 | @implementation TGRAppDelegate 12 | 13 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 14 | { 15 | // Override point for customization after application launch. 16 | return YES; 17 | } 18 | 19 | - (void)applicationWillResignActive:(UIApplication *)application 20 | { 21 | // 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. 22 | // 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. 23 | } 24 | 25 | - (void)applicationDidEnterBackground:(UIApplication *)application 26 | { 27 | // 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. 28 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 29 | } 30 | 31 | - (void)applicationWillEnterForeground:(UIApplication *)application 32 | { 33 | // 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. 34 | } 35 | 36 | - (void)applicationDidBecomeActive:(UIApplication *)application 37 | { 38 | // 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. 39 | } 40 | 41 | - (void)applicationWillTerminate:(UIApplication *)application 42 | { 43 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 44 | } 45 | 46 | @end 47 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # Vertigo 2 | **Vertigo** is a simple image viewer which includes a **custom view controller transition** that mimics the new **iOS 7 Photos app** image zoom transition effect. 3 |

4 | Image zoom transition 5 |

6 | 7 | ## Installation 8 | ### Requirements 9 | Vertigo requires iOS 7 or greater. 10 | ### From CocoaPods 11 | Add `pod 'Vertigo'` to your Podfile. 12 | ### Manually 13 | Drag the `Vertigo` folder into your project. If your project doesn't use ARC you must enable it for all the `.m` files under the `Vertigo` folder. 14 | 15 | ## Usage 16 | **Vertigo** includes the following classes: 17 | * `TGRImageViewController` is the image viewer itself. The user can double tap on the image to zoom it in or out. A single tap will dismiss the viewer. 18 | * `TGRImageZoomAnimationController` is the object that performs the custom transition between your view controller and a `TGRImageViewController` (that is, the **Photos app** image zoom transition effect). 19 | 20 | To present and dismiss a `TGRImageViewController` from your view controller using the custom transition effect, your view controller needs to implement the new `UIViewControllerTransitioningDelegate` protocol and return a `TGRImageZoomAnimationController` initialized with the image view that will be used as the inital (or final in case of dismissal) point of the transition. 21 | ```objc 22 | #import "TGRImageViewController.h" 23 | #import "TGRImageZoomAnimationController.h" 24 | 25 | @interface MyViewController () 26 | @end 27 | 28 | @implementation MyViewController 29 | ... 30 | - (id)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source { 31 | if ([presented isKindOfClass:TGRImageViewController.class]) { 32 | return [[TGRImageZoomAnimationController alloc] initWithReferenceImageView:self.imageView]; 33 | } 34 | return nil; 35 | } 36 | 37 | - (id)animationControllerForDismissedController:(UIViewController *)dismissed { 38 | if ([dismissed isKindOfClass:TGRImageViewController.class]) { 39 | return [[TGRImageZoomAnimationController alloc] initWithReferenceImageView:self.imageView]; 40 | } 41 | return nil; 42 | } 43 | 44 | - (IBAction)showImageViewer { 45 | TGRImageViewController *viewController = [[TGRImageViewController alloc] initWithImage:self.imageView.image]; 46 | // Don't forget to set ourselves as the transition delegate 47 | viewController.transitioningDelegate = self; 48 | 49 | [self presentViewController:viewController animated:YES completion:nil]; 50 | } 51 | ``` 52 | 53 | ## Contact 54 | [Guillermo Gonzalez](http://github.com/gonzalezreal) 55 | [@gonzalezreal](https://twitter.com/gonzalezreal) 56 | ## License 57 | Vertigo is available under the MIT license. See [LICENSE](https://github.com/gonzalezreal/Vertigo/blob/master/LICENSE). 58 | -------------------------------------------------------------------------------- /Vertigo/TGRImageViewController.m: -------------------------------------------------------------------------------- 1 | // TGRImageZoomTransition.m 2 | // 3 | // Copyright (c) 2013 Guillermo Gonzalez 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import "TGRImageViewController.h" 24 | 25 | @interface TGRImageViewController () 26 | 27 | @property (weak, nonatomic) IBOutlet UITapGestureRecognizer *singleTapGestureRecognizer; 28 | @property (weak, nonatomic) IBOutlet UITapGestureRecognizer *doubleTapGestureRecognizer; 29 | 30 | @end 31 | 32 | @implementation TGRImageViewController 33 | 34 | - (id)initWithImage:(UIImage *)image { 35 | if (self = [super init]) { 36 | _image = image; 37 | } 38 | 39 | return self; 40 | } 41 | 42 | - (void)viewDidLoad { 43 | [super viewDidLoad]; 44 | 45 | [self.singleTapGestureRecognizer requireGestureRecognizerToFail:self.doubleTapGestureRecognizer]; 46 | self.imageView.image = self.image; 47 | } 48 | 49 | - (BOOL)prefersStatusBarHidden { 50 | return YES; 51 | } 52 | 53 | #pragma mark - UIScrollViewDelegate methods 54 | 55 | - (UIView *)viewForZoomingInScrollView:(UIScrollView *)scrollView { 56 | return self.imageView; 57 | } 58 | 59 | - (void)scrollViewDidEndDragging:(UIScrollView *)scrollView willDecelerate:(BOOL)decelerate { 60 | if (self.scrollView.zoomScale == self.scrollView.minimumZoomScale) { 61 | [self dismissViewControllerAnimated:YES completion:nil]; 62 | } 63 | } 64 | 65 | #pragma mark - Private methods 66 | 67 | - (IBAction)handleSingleTap:(UITapGestureRecognizer *)tapGestureRecognizer { 68 | if (self.scrollView.zoomScale == self.scrollView.minimumZoomScale) { 69 | [self dismissViewControllerAnimated:YES completion:nil]; 70 | } 71 | else { 72 | // Zoom out 73 | [self.scrollView zoomToRect:self.scrollView.bounds animated:YES]; 74 | } 75 | } 76 | 77 | - (IBAction)handleDoubleTap:(UITapGestureRecognizer *)tapGestureRecognizer { 78 | if (self.scrollView.zoomScale == self.scrollView.minimumZoomScale) { 79 | // Zoom in 80 | CGPoint center = [tapGestureRecognizer locationInView:self.scrollView]; 81 | CGSize size = CGSizeMake(self.scrollView.bounds.size.width / self.scrollView.maximumZoomScale, 82 | self.scrollView.bounds.size.height / self.scrollView.maximumZoomScale); 83 | CGRect rect = CGRectMake(center.x - (size.width / 2.0), center.y - (size.height / 2.0), size.width, size.height); 84 | [self.scrollView zoomToRect:rect animated:YES]; 85 | } 86 | else { 87 | // Zoom out 88 | [self.scrollView zoomToRect:self.scrollView.bounds animated:YES]; 89 | } 90 | } 91 | 92 | @end 93 | -------------------------------------------------------------------------------- /Vertigo/TGRImageViewController.xib: -------------------------------------------------------------------------------- 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 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 49 | 50 | 51 | 52 | 53 | 54 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 34 | 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 | -------------------------------------------------------------------------------- /Vertigo/TGRImageZoomAnimationController.m: -------------------------------------------------------------------------------- 1 | // TGRImageZoomAnimationController.m 2 | // 3 | // Copyright (c) 2013 Guillermo Gonzalez 4 | // 5 | // Permission is hereby granted, free of charge, to any person obtaining a copy 6 | // of this software and associated documentation files (the "Software"), to deal 7 | // in the Software without restriction, including without limitation the rights 8 | // to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 9 | // copies of the Software, and to permit persons to whom the Software is 10 | // furnished to do so, subject to the following conditions: 11 | // 12 | // The above copyright notice and this permission notice shall be included in 13 | // all copies or substantial portions of the Software. 14 | // 15 | // THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 16 | // IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 17 | // FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 18 | // AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 19 | // LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 20 | // OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 21 | // THE SOFTWARE. 22 | 23 | #import "TGRImageZoomAnimationController.h" 24 | #import "TGRImageViewController.h" 25 | #import "UIImage+AspectFit.h" 26 | 27 | @implementation TGRImageZoomAnimationController 28 | 29 | - (id)initWithReferenceImageView:(UIImageView *)referenceImageView { 30 | if (self = [super init]) { 31 | NSAssert(referenceImageView.contentMode == UIViewContentModeScaleAspectFill, @"*** referenceImageView must have a UIViewContentModeScaleAspectFill contentMode!"); 32 | _referenceImageView = referenceImageView; 33 | } 34 | return self; 35 | } 36 | 37 | - (NSTimeInterval)transitionDuration:(id)transitionContext { 38 | UIViewController *viewController = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; 39 | return viewController.isBeingPresented ? 0.5 : 0.25; 40 | } 41 | 42 | - (void)animateTransition:(id)transitionContext { 43 | UIViewController *viewController = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; 44 | if (viewController.isBeingPresented) { 45 | [self animateZoomInTransition:transitionContext]; 46 | } 47 | else { 48 | [self animateZoomOutTransition:transitionContext]; 49 | } 50 | } 51 | 52 | - (void)animateZoomInTransition:(id)transitionContext { 53 | // Get the view controllers participating in the transition 54 | UIViewController *fromViewController = [transitionContext viewControllerForKey:UITransitionContextFromViewControllerKey]; 55 | TGRImageViewController *toViewController = (TGRImageViewController *)[transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; 56 | NSAssert([toViewController isKindOfClass:TGRImageViewController.class], @"*** toViewController must be a TGRImageViewController!"); 57 | 58 | // Create a temporary view for the zoom in transition and set the initial frame based 59 | // on the reference image view 60 | UIImageView *transitionView = [[UIImageView alloc] initWithImage:self.referenceImageView.image]; 61 | transitionView.contentMode = UIViewContentModeScaleAspectFill; 62 | transitionView.clipsToBounds = YES; 63 | transitionView.frame = [transitionContext.containerView convertRect:self.referenceImageView.bounds 64 | fromView:self.referenceImageView]; 65 | [transitionContext.containerView addSubview:transitionView]; 66 | 67 | // Compute the final frame for the temporary view 68 | CGRect finalFrame = [transitionContext finalFrameForViewController:toViewController]; 69 | CGRect transitionViewFinalFrame = [self.referenceImageView.image tgr_aspectFitRectForSize:finalFrame.size]; 70 | 71 | // Perform the transition using a spring motion effect 72 | NSTimeInterval duration = [self transitionDuration:transitionContext]; 73 | 74 | self.referenceImageView.alpha = 0; 75 | 76 | [UIView animateWithDuration:duration 77 | delay:0 78 | usingSpringWithDamping:0.7 79 | initialSpringVelocity:0 80 | options:UIViewAnimationOptionCurveLinear 81 | animations:^{ 82 | fromViewController.view.alpha = 0; 83 | transitionView.frame = transitionViewFinalFrame; 84 | } 85 | completion:^(BOOL finished) { 86 | fromViewController.view.alpha = 1; 87 | 88 | [transitionView removeFromSuperview]; 89 | [transitionContext.containerView addSubview:toViewController.view]; 90 | 91 | [transitionContext completeTransition:YES]; 92 | }]; 93 | } 94 | 95 | - (void)animateZoomOutTransition:(id)transitionContext { 96 | // Get the view controllers participating in the transition 97 | UIViewController *toViewController = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; 98 | TGRImageViewController *fromViewController = (TGRImageViewController *)[transitionContext viewControllerForKey:UITransitionContextFromViewControllerKey]; 99 | NSAssert([fromViewController isKindOfClass:TGRImageViewController.class], @"*** fromViewController must be a TGRImageViewController!"); 100 | 101 | // The toViewController view will fade in during the transition 102 | toViewController.view.frame = [transitionContext finalFrameForViewController:toViewController]; 103 | toViewController.view.alpha = 0; 104 | [transitionContext.containerView addSubview:toViewController.view]; 105 | [transitionContext.containerView sendSubviewToBack:toViewController.view]; 106 | 107 | // Compute the initial frame for the temporary view based on the image view 108 | // of the TGRImageViewController 109 | CGRect transitionViewInitialFrame = [fromViewController.imageView.image tgr_aspectFitRectForSize:fromViewController.imageView.bounds.size]; 110 | transitionViewInitialFrame = [transitionContext.containerView convertRect:transitionViewInitialFrame 111 | fromView:fromViewController.imageView]; 112 | 113 | // Compute the final frame for the temporary view based on the reference 114 | // image view 115 | CGRect transitionViewFinalFrame = [transitionContext.containerView convertRect:self.referenceImageView.bounds 116 | fromView:self.referenceImageView]; 117 | 118 | if (UIApplication.sharedApplication.isStatusBarHidden && ![toViewController prefersStatusBarHidden]) { 119 | transitionViewFinalFrame = CGRectOffset(transitionViewFinalFrame, 0, 20); 120 | } 121 | 122 | // Create a temporary view for the zoom out transition based on the image 123 | // view controller contents 124 | UIImageView *transitionView = [[UIImageView alloc] initWithImage:fromViewController.imageView.image]; 125 | transitionView.contentMode = UIViewContentModeScaleAspectFill; 126 | transitionView.clipsToBounds = YES; 127 | transitionView.frame = transitionViewInitialFrame; 128 | [transitionContext.containerView addSubview:transitionView]; 129 | [fromViewController.view removeFromSuperview]; 130 | 131 | // Perform the transition 132 | NSTimeInterval duration = [self transitionDuration:transitionContext]; 133 | 134 | [UIView animateWithDuration:duration 135 | delay:0 136 | options:UIViewAnimationOptionCurveEaseInOut 137 | animations:^{ 138 | toViewController.view.alpha = 1; 139 | transitionView.frame = transitionViewFinalFrame; 140 | } completion:^(BOOL finished) { 141 | self.referenceImageView.alpha = 1; 142 | [transitionView removeFromSuperview]; 143 | [transitionContext completeTransition:YES]; 144 | }]; 145 | } 146 | 147 | @end 148 | -------------------------------------------------------------------------------- /VertigoSample/VertigoSample.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 99A9FE201802D6F100074858 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 99A9FE1F1802D6F100074858 /* Foundation.framework */; }; 11 | 99A9FE221802D6F100074858 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 99A9FE211802D6F100074858 /* CoreGraphics.framework */; }; 12 | 99A9FE241802D6F100074858 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 99A9FE231802D6F100074858 /* UIKit.framework */; }; 13 | 99A9FE2A1802D6F100074858 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 99A9FE281802D6F100074858 /* InfoPlist.strings */; }; 14 | 99A9FE2C1802D6F100074858 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 99A9FE2B1802D6F100074858 /* main.m */; }; 15 | 99A9FE301802D6F100074858 /* TGRAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 99A9FE2F1802D6F100074858 /* TGRAppDelegate.m */; }; 16 | 99A9FE331802D6F100074858 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 99A9FE311802D6F100074858 /* Main.storyboard */; }; 17 | 99A9FE361802D6F100074858 /* TGRViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 99A9FE351802D6F100074858 /* TGRViewController.m */; }; 18 | 99A9FE381802D6F100074858 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 99A9FE371802D6F100074858 /* Images.xcassets */; }; 19 | 99A9FE3F1802D6F100074858 /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 99A9FE3E1802D6F100074858 /* XCTest.framework */; }; 20 | 99A9FE401802D6F100074858 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 99A9FE1F1802D6F100074858 /* Foundation.framework */; }; 21 | 99A9FE411802D6F100074858 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 99A9FE231802D6F100074858 /* UIKit.framework */; }; 22 | 99A9FE491802D6F100074858 /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 99A9FE471802D6F100074858 /* InfoPlist.strings */; }; 23 | 99A9FE4B1802D6F100074858 /* VertigoSampleTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 99A9FE4A1802D6F100074858 /* VertigoSampleTests.m */; }; 24 | 99A9FE681802D76800074858 /* TGRImageViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 99A9FE621802D76800074858 /* TGRImageViewController.m */; }; 25 | 99A9FE691802D76800074858 /* TGRImageViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 99A9FE631802D76800074858 /* TGRImageViewController.xib */; }; 26 | 99A9FE6A1802D76800074858 /* TGRImageZoomAnimationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 99A9FE651802D76800074858 /* TGRImageZoomAnimationController.m */; }; 27 | 99A9FE6B1802D76800074858 /* UIImage+AspectFit.m in Sources */ = {isa = PBXBuildFile; fileRef = 99A9FE671802D76800074858 /* UIImage+AspectFit.m */; }; 28 | /* End PBXBuildFile section */ 29 | 30 | /* Begin PBXContainerItemProxy section */ 31 | 99A9FE421802D6F100074858 /* PBXContainerItemProxy */ = { 32 | isa = PBXContainerItemProxy; 33 | containerPortal = 99A9FE141802D6F100074858 /* Project object */; 34 | proxyType = 1; 35 | remoteGlobalIDString = 99A9FE1B1802D6F100074858; 36 | remoteInfo = VertigoSample; 37 | }; 38 | /* End PBXContainerItemProxy section */ 39 | 40 | /* Begin PBXFileReference section */ 41 | 99A9FE1C1802D6F100074858 /* VertigoSample.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = VertigoSample.app; sourceTree = BUILT_PRODUCTS_DIR; }; 42 | 99A9FE1F1802D6F100074858 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 43 | 99A9FE211802D6F100074858 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 44 | 99A9FE231802D6F100074858 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 45 | 99A9FE271802D6F100074858 /* VertigoSample-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "VertigoSample-Info.plist"; sourceTree = ""; }; 46 | 99A9FE291802D6F100074858 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 47 | 99A9FE2B1802D6F100074858 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 48 | 99A9FE2D1802D6F100074858 /* VertigoSample-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "VertigoSample-Prefix.pch"; sourceTree = ""; }; 49 | 99A9FE2E1802D6F100074858 /* TGRAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TGRAppDelegate.h; sourceTree = ""; }; 50 | 99A9FE2F1802D6F100074858 /* TGRAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TGRAppDelegate.m; sourceTree = ""; }; 51 | 99A9FE321802D6F100074858 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 52 | 99A9FE341802D6F100074858 /* TGRViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = TGRViewController.h; sourceTree = ""; }; 53 | 99A9FE351802D6F100074858 /* TGRViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = TGRViewController.m; sourceTree = ""; }; 54 | 99A9FE371802D6F100074858 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 55 | 99A9FE3D1802D6F100074858 /* VertigoSampleTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = VertigoSampleTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 56 | 99A9FE3E1802D6F100074858 /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 57 | 99A9FE461802D6F100074858 /* VertigoSampleTests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "VertigoSampleTests-Info.plist"; sourceTree = ""; }; 58 | 99A9FE481802D6F100074858 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 59 | 99A9FE4A1802D6F100074858 /* VertigoSampleTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = VertigoSampleTests.m; sourceTree = ""; }; 60 | 99A9FE611802D76800074858 /* TGRImageViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TGRImageViewController.h; sourceTree = ""; }; 61 | 99A9FE621802D76800074858 /* TGRImageViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TGRImageViewController.m; sourceTree = ""; }; 62 | 99A9FE631802D76800074858 /* TGRImageViewController.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = TGRImageViewController.xib; sourceTree = ""; }; 63 | 99A9FE641802D76800074858 /* TGRImageZoomAnimationController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = TGRImageZoomAnimationController.h; sourceTree = ""; }; 64 | 99A9FE651802D76800074858 /* TGRImageZoomAnimationController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = TGRImageZoomAnimationController.m; sourceTree = ""; }; 65 | 99A9FE661802D76800074858 /* UIImage+AspectFit.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = "UIImage+AspectFit.h"; sourceTree = ""; }; 66 | 99A9FE671802D76800074858 /* UIImage+AspectFit.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = "UIImage+AspectFit.m"; sourceTree = ""; }; 67 | /* End PBXFileReference section */ 68 | 69 | /* Begin PBXFrameworksBuildPhase section */ 70 | 99A9FE191802D6F100074858 /* Frameworks */ = { 71 | isa = PBXFrameworksBuildPhase; 72 | buildActionMask = 2147483647; 73 | files = ( 74 | 99A9FE221802D6F100074858 /* CoreGraphics.framework in Frameworks */, 75 | 99A9FE241802D6F100074858 /* UIKit.framework in Frameworks */, 76 | 99A9FE201802D6F100074858 /* Foundation.framework in Frameworks */, 77 | ); 78 | runOnlyForDeploymentPostprocessing = 0; 79 | }; 80 | 99A9FE3A1802D6F100074858 /* Frameworks */ = { 81 | isa = PBXFrameworksBuildPhase; 82 | buildActionMask = 2147483647; 83 | files = ( 84 | 99A9FE3F1802D6F100074858 /* XCTest.framework in Frameworks */, 85 | 99A9FE411802D6F100074858 /* UIKit.framework in Frameworks */, 86 | 99A9FE401802D6F100074858 /* Foundation.framework in Frameworks */, 87 | ); 88 | runOnlyForDeploymentPostprocessing = 0; 89 | }; 90 | /* End PBXFrameworksBuildPhase section */ 91 | 92 | /* Begin PBXGroup section */ 93 | 99A9FE131802D6F100074858 = { 94 | isa = PBXGroup; 95 | children = ( 96 | 99A9FE601802D76700074858 /* Vertigo */, 97 | 99A9FE251802D6F100074858 /* VertigoSample */, 98 | 99A9FE441802D6F100074858 /* VertigoSampleTests */, 99 | 99A9FE1E1802D6F100074858 /* Frameworks */, 100 | 99A9FE1D1802D6F100074858 /* Products */, 101 | ); 102 | sourceTree = ""; 103 | }; 104 | 99A9FE1D1802D6F100074858 /* Products */ = { 105 | isa = PBXGroup; 106 | children = ( 107 | 99A9FE1C1802D6F100074858 /* VertigoSample.app */, 108 | 99A9FE3D1802D6F100074858 /* VertigoSampleTests.xctest */, 109 | ); 110 | name = Products; 111 | sourceTree = ""; 112 | }; 113 | 99A9FE1E1802D6F100074858 /* Frameworks */ = { 114 | isa = PBXGroup; 115 | children = ( 116 | 99A9FE1F1802D6F100074858 /* Foundation.framework */, 117 | 99A9FE211802D6F100074858 /* CoreGraphics.framework */, 118 | 99A9FE231802D6F100074858 /* UIKit.framework */, 119 | 99A9FE3E1802D6F100074858 /* XCTest.framework */, 120 | ); 121 | name = Frameworks; 122 | sourceTree = ""; 123 | }; 124 | 99A9FE251802D6F100074858 /* VertigoSample */ = { 125 | isa = PBXGroup; 126 | children = ( 127 | 99A9FE2E1802D6F100074858 /* TGRAppDelegate.h */, 128 | 99A9FE2F1802D6F100074858 /* TGRAppDelegate.m */, 129 | 99A9FE311802D6F100074858 /* Main.storyboard */, 130 | 99A9FE341802D6F100074858 /* TGRViewController.h */, 131 | 99A9FE351802D6F100074858 /* TGRViewController.m */, 132 | 99A9FE371802D6F100074858 /* Images.xcassets */, 133 | 99A9FE261802D6F100074858 /* Supporting Files */, 134 | ); 135 | path = VertigoSample; 136 | sourceTree = ""; 137 | }; 138 | 99A9FE261802D6F100074858 /* Supporting Files */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 99A9FE271802D6F100074858 /* VertigoSample-Info.plist */, 142 | 99A9FE281802D6F100074858 /* InfoPlist.strings */, 143 | 99A9FE2B1802D6F100074858 /* main.m */, 144 | 99A9FE2D1802D6F100074858 /* VertigoSample-Prefix.pch */, 145 | ); 146 | name = "Supporting Files"; 147 | sourceTree = ""; 148 | }; 149 | 99A9FE441802D6F100074858 /* VertigoSampleTests */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 99A9FE4A1802D6F100074858 /* VertigoSampleTests.m */, 153 | 99A9FE451802D6F100074858 /* Supporting Files */, 154 | ); 155 | path = VertigoSampleTests; 156 | sourceTree = ""; 157 | }; 158 | 99A9FE451802D6F100074858 /* Supporting Files */ = { 159 | isa = PBXGroup; 160 | children = ( 161 | 99A9FE461802D6F100074858 /* VertigoSampleTests-Info.plist */, 162 | 99A9FE471802D6F100074858 /* InfoPlist.strings */, 163 | ); 164 | name = "Supporting Files"; 165 | sourceTree = ""; 166 | }; 167 | 99A9FE601802D76700074858 /* Vertigo */ = { 168 | isa = PBXGroup; 169 | children = ( 170 | 99A9FE611802D76800074858 /* TGRImageViewController.h */, 171 | 99A9FE621802D76800074858 /* TGRImageViewController.m */, 172 | 99A9FE631802D76800074858 /* TGRImageViewController.xib */, 173 | 99A9FE641802D76800074858 /* TGRImageZoomAnimationController.h */, 174 | 99A9FE651802D76800074858 /* TGRImageZoomAnimationController.m */, 175 | 99A9FE661802D76800074858 /* UIImage+AspectFit.h */, 176 | 99A9FE671802D76800074858 /* UIImage+AspectFit.m */, 177 | ); 178 | name = Vertigo; 179 | path = ../Vertigo; 180 | sourceTree = ""; 181 | }; 182 | /* End PBXGroup section */ 183 | 184 | /* Begin PBXNativeTarget section */ 185 | 99A9FE1B1802D6F100074858 /* VertigoSample */ = { 186 | isa = PBXNativeTarget; 187 | buildConfigurationList = 99A9FE4E1802D6F100074858 /* Build configuration list for PBXNativeTarget "VertigoSample" */; 188 | buildPhases = ( 189 | 99A9FE181802D6F100074858 /* Sources */, 190 | 99A9FE191802D6F100074858 /* Frameworks */, 191 | 99A9FE1A1802D6F100074858 /* Resources */, 192 | ); 193 | buildRules = ( 194 | ); 195 | dependencies = ( 196 | ); 197 | name = VertigoSample; 198 | productName = VertigoSample; 199 | productReference = 99A9FE1C1802D6F100074858 /* VertigoSample.app */; 200 | productType = "com.apple.product-type.application"; 201 | }; 202 | 99A9FE3C1802D6F100074858 /* VertigoSampleTests */ = { 203 | isa = PBXNativeTarget; 204 | buildConfigurationList = 99A9FE511802D6F100074858 /* Build configuration list for PBXNativeTarget "VertigoSampleTests" */; 205 | buildPhases = ( 206 | 99A9FE391802D6F100074858 /* Sources */, 207 | 99A9FE3A1802D6F100074858 /* Frameworks */, 208 | 99A9FE3B1802D6F100074858 /* Resources */, 209 | ); 210 | buildRules = ( 211 | ); 212 | dependencies = ( 213 | 99A9FE431802D6F100074858 /* PBXTargetDependency */, 214 | ); 215 | name = VertigoSampleTests; 216 | productName = VertigoSampleTests; 217 | productReference = 99A9FE3D1802D6F100074858 /* VertigoSampleTests.xctest */; 218 | productType = "com.apple.product-type.bundle.unit-test"; 219 | }; 220 | /* End PBXNativeTarget section */ 221 | 222 | /* Begin PBXProject section */ 223 | 99A9FE141802D6F100074858 /* Project object */ = { 224 | isa = PBXProject; 225 | attributes = { 226 | CLASSPREFIX = TGR; 227 | LastUpgradeCheck = 0500; 228 | ORGANIZATIONNAME = "Guillermo Gonzalez"; 229 | TargetAttributes = { 230 | 99A9FE3C1802D6F100074858 = { 231 | TestTargetID = 99A9FE1B1802D6F100074858; 232 | }; 233 | }; 234 | }; 235 | buildConfigurationList = 99A9FE171802D6F100074858 /* Build configuration list for PBXProject "VertigoSample" */; 236 | compatibilityVersion = "Xcode 3.2"; 237 | developmentRegion = English; 238 | hasScannedForEncodings = 0; 239 | knownRegions = ( 240 | en, 241 | Base, 242 | ); 243 | mainGroup = 99A9FE131802D6F100074858; 244 | productRefGroup = 99A9FE1D1802D6F100074858 /* Products */; 245 | projectDirPath = ""; 246 | projectRoot = ""; 247 | targets = ( 248 | 99A9FE1B1802D6F100074858 /* VertigoSample */, 249 | 99A9FE3C1802D6F100074858 /* VertigoSampleTests */, 250 | ); 251 | }; 252 | /* End PBXProject section */ 253 | 254 | /* Begin PBXResourcesBuildPhase section */ 255 | 99A9FE1A1802D6F100074858 /* Resources */ = { 256 | isa = PBXResourcesBuildPhase; 257 | buildActionMask = 2147483647; 258 | files = ( 259 | 99A9FE381802D6F100074858 /* Images.xcassets in Resources */, 260 | 99A9FE2A1802D6F100074858 /* InfoPlist.strings in Resources */, 261 | 99A9FE691802D76800074858 /* TGRImageViewController.xib in Resources */, 262 | 99A9FE331802D6F100074858 /* Main.storyboard in Resources */, 263 | ); 264 | runOnlyForDeploymentPostprocessing = 0; 265 | }; 266 | 99A9FE3B1802D6F100074858 /* Resources */ = { 267 | isa = PBXResourcesBuildPhase; 268 | buildActionMask = 2147483647; 269 | files = ( 270 | 99A9FE491802D6F100074858 /* InfoPlist.strings in Resources */, 271 | ); 272 | runOnlyForDeploymentPostprocessing = 0; 273 | }; 274 | /* End PBXResourcesBuildPhase section */ 275 | 276 | /* Begin PBXSourcesBuildPhase section */ 277 | 99A9FE181802D6F100074858 /* Sources */ = { 278 | isa = PBXSourcesBuildPhase; 279 | buildActionMask = 2147483647; 280 | files = ( 281 | 99A9FE6A1802D76800074858 /* TGRImageZoomAnimationController.m in Sources */, 282 | 99A9FE301802D6F100074858 /* TGRAppDelegate.m in Sources */, 283 | 99A9FE2C1802D6F100074858 /* main.m in Sources */, 284 | 99A9FE6B1802D76800074858 /* UIImage+AspectFit.m in Sources */, 285 | 99A9FE681802D76800074858 /* TGRImageViewController.m in Sources */, 286 | 99A9FE361802D6F100074858 /* TGRViewController.m in Sources */, 287 | ); 288 | runOnlyForDeploymentPostprocessing = 0; 289 | }; 290 | 99A9FE391802D6F100074858 /* Sources */ = { 291 | isa = PBXSourcesBuildPhase; 292 | buildActionMask = 2147483647; 293 | files = ( 294 | 99A9FE4B1802D6F100074858 /* VertigoSampleTests.m in Sources */, 295 | ); 296 | runOnlyForDeploymentPostprocessing = 0; 297 | }; 298 | /* End PBXSourcesBuildPhase section */ 299 | 300 | /* Begin PBXTargetDependency section */ 301 | 99A9FE431802D6F100074858 /* PBXTargetDependency */ = { 302 | isa = PBXTargetDependency; 303 | target = 99A9FE1B1802D6F100074858 /* VertigoSample */; 304 | targetProxy = 99A9FE421802D6F100074858 /* PBXContainerItemProxy */; 305 | }; 306 | /* End PBXTargetDependency section */ 307 | 308 | /* Begin PBXVariantGroup section */ 309 | 99A9FE281802D6F100074858 /* InfoPlist.strings */ = { 310 | isa = PBXVariantGroup; 311 | children = ( 312 | 99A9FE291802D6F100074858 /* en */, 313 | ); 314 | name = InfoPlist.strings; 315 | sourceTree = ""; 316 | }; 317 | 99A9FE311802D6F100074858 /* Main.storyboard */ = { 318 | isa = PBXVariantGroup; 319 | children = ( 320 | 99A9FE321802D6F100074858 /* Base */, 321 | ); 322 | name = Main.storyboard; 323 | sourceTree = ""; 324 | }; 325 | 99A9FE471802D6F100074858 /* InfoPlist.strings */ = { 326 | isa = PBXVariantGroup; 327 | children = ( 328 | 99A9FE481802D6F100074858 /* en */, 329 | ); 330 | name = InfoPlist.strings; 331 | sourceTree = ""; 332 | }; 333 | /* End PBXVariantGroup section */ 334 | 335 | /* Begin XCBuildConfiguration section */ 336 | 99A9FE4C1802D6F100074858 /* Debug */ = { 337 | isa = XCBuildConfiguration; 338 | buildSettings = { 339 | ALWAYS_SEARCH_USER_PATHS = NO; 340 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 341 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 342 | CLANG_CXX_LIBRARY = "libc++"; 343 | CLANG_ENABLE_MODULES = YES; 344 | CLANG_ENABLE_OBJC_ARC = YES; 345 | CLANG_WARN_BOOL_CONVERSION = YES; 346 | CLANG_WARN_CONSTANT_CONVERSION = YES; 347 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 348 | CLANG_WARN_EMPTY_BODY = YES; 349 | CLANG_WARN_ENUM_CONVERSION = YES; 350 | CLANG_WARN_INT_CONVERSION = YES; 351 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 352 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 353 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 354 | COPY_PHASE_STRIP = NO; 355 | GCC_C_LANGUAGE_STANDARD = gnu99; 356 | GCC_DYNAMIC_NO_PIC = NO; 357 | GCC_OPTIMIZATION_LEVEL = 0; 358 | GCC_PREPROCESSOR_DEFINITIONS = ( 359 | "DEBUG=1", 360 | "$(inherited)", 361 | ); 362 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 363 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 364 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 365 | GCC_WARN_UNDECLARED_SELECTOR = YES; 366 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 367 | GCC_WARN_UNUSED_FUNCTION = YES; 368 | GCC_WARN_UNUSED_VARIABLE = YES; 369 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 370 | ONLY_ACTIVE_ARCH = YES; 371 | SDKROOT = iphoneos; 372 | }; 373 | name = Debug; 374 | }; 375 | 99A9FE4D1802D6F100074858 /* Release */ = { 376 | isa = XCBuildConfiguration; 377 | buildSettings = { 378 | ALWAYS_SEARCH_USER_PATHS = NO; 379 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 380 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 381 | CLANG_CXX_LIBRARY = "libc++"; 382 | CLANG_ENABLE_MODULES = YES; 383 | CLANG_ENABLE_OBJC_ARC = YES; 384 | CLANG_WARN_BOOL_CONVERSION = YES; 385 | CLANG_WARN_CONSTANT_CONVERSION = YES; 386 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 387 | CLANG_WARN_EMPTY_BODY = YES; 388 | CLANG_WARN_ENUM_CONVERSION = YES; 389 | CLANG_WARN_INT_CONVERSION = YES; 390 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 391 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 392 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 393 | COPY_PHASE_STRIP = YES; 394 | ENABLE_NS_ASSERTIONS = NO; 395 | GCC_C_LANGUAGE_STANDARD = gnu99; 396 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 397 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 398 | GCC_WARN_UNDECLARED_SELECTOR = YES; 399 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 400 | GCC_WARN_UNUSED_FUNCTION = YES; 401 | GCC_WARN_UNUSED_VARIABLE = YES; 402 | IPHONEOS_DEPLOYMENT_TARGET = 7.0; 403 | SDKROOT = iphoneos; 404 | VALIDATE_PRODUCT = YES; 405 | }; 406 | name = Release; 407 | }; 408 | 99A9FE4F1802D6F100074858 /* Debug */ = { 409 | isa = XCBuildConfiguration; 410 | buildSettings = { 411 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 412 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 413 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 414 | GCC_PREFIX_HEADER = "VertigoSample/VertigoSample-Prefix.pch"; 415 | INFOPLIST_FILE = "VertigoSample/VertigoSample-Info.plist"; 416 | PRODUCT_NAME = "$(TARGET_NAME)"; 417 | WRAPPER_EXTENSION = app; 418 | }; 419 | name = Debug; 420 | }; 421 | 99A9FE501802D6F100074858 /* Release */ = { 422 | isa = XCBuildConfiguration; 423 | buildSettings = { 424 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 425 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 426 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 427 | GCC_PREFIX_HEADER = "VertigoSample/VertigoSample-Prefix.pch"; 428 | INFOPLIST_FILE = "VertigoSample/VertigoSample-Info.plist"; 429 | PRODUCT_NAME = "$(TARGET_NAME)"; 430 | WRAPPER_EXTENSION = app; 431 | }; 432 | name = Release; 433 | }; 434 | 99A9FE521802D6F100074858 /* Debug */ = { 435 | isa = XCBuildConfiguration; 436 | buildSettings = { 437 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 438 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/VertigoSample.app/VertigoSample"; 439 | FRAMEWORK_SEARCH_PATHS = ( 440 | "$(SDKROOT)/Developer/Library/Frameworks", 441 | "$(inherited)", 442 | "$(DEVELOPER_FRAMEWORKS_DIR)", 443 | ); 444 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 445 | GCC_PREFIX_HEADER = "VertigoSample/VertigoSample-Prefix.pch"; 446 | GCC_PREPROCESSOR_DEFINITIONS = ( 447 | "DEBUG=1", 448 | "$(inherited)", 449 | ); 450 | INFOPLIST_FILE = "VertigoSampleTests/VertigoSampleTests-Info.plist"; 451 | PRODUCT_NAME = "$(TARGET_NAME)"; 452 | TEST_HOST = "$(BUNDLE_LOADER)"; 453 | WRAPPER_EXTENSION = xctest; 454 | }; 455 | name = Debug; 456 | }; 457 | 99A9FE531802D6F100074858 /* Release */ = { 458 | isa = XCBuildConfiguration; 459 | buildSettings = { 460 | ARCHS = "$(ARCHS_STANDARD_INCLUDING_64_BIT)"; 461 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/VertigoSample.app/VertigoSample"; 462 | FRAMEWORK_SEARCH_PATHS = ( 463 | "$(SDKROOT)/Developer/Library/Frameworks", 464 | "$(inherited)", 465 | "$(DEVELOPER_FRAMEWORKS_DIR)", 466 | ); 467 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 468 | GCC_PREFIX_HEADER = "VertigoSample/VertigoSample-Prefix.pch"; 469 | INFOPLIST_FILE = "VertigoSampleTests/VertigoSampleTests-Info.plist"; 470 | PRODUCT_NAME = "$(TARGET_NAME)"; 471 | TEST_HOST = "$(BUNDLE_LOADER)"; 472 | WRAPPER_EXTENSION = xctest; 473 | }; 474 | name = Release; 475 | }; 476 | /* End XCBuildConfiguration section */ 477 | 478 | /* Begin XCConfigurationList section */ 479 | 99A9FE171802D6F100074858 /* Build configuration list for PBXProject "VertigoSample" */ = { 480 | isa = XCConfigurationList; 481 | buildConfigurations = ( 482 | 99A9FE4C1802D6F100074858 /* Debug */, 483 | 99A9FE4D1802D6F100074858 /* Release */, 484 | ); 485 | defaultConfigurationIsVisible = 0; 486 | defaultConfigurationName = Release; 487 | }; 488 | 99A9FE4E1802D6F100074858 /* Build configuration list for PBXNativeTarget "VertigoSample" */ = { 489 | isa = XCConfigurationList; 490 | buildConfigurations = ( 491 | 99A9FE4F1802D6F100074858 /* Debug */, 492 | 99A9FE501802D6F100074858 /* Release */, 493 | ); 494 | defaultConfigurationIsVisible = 0; 495 | }; 496 | 99A9FE511802D6F100074858 /* Build configuration list for PBXNativeTarget "VertigoSampleTests" */ = { 497 | isa = XCConfigurationList; 498 | buildConfigurations = ( 499 | 99A9FE521802D6F100074858 /* Debug */, 500 | 99A9FE531802D6F100074858 /* Release */, 501 | ); 502 | defaultConfigurationIsVisible = 0; 503 | }; 504 | /* End XCConfigurationList section */ 505 | }; 506 | rootObject = 99A9FE141802D6F100074858 /* Project object */; 507 | } 508 | --------------------------------------------------------------------------------