├── Podfile ├── Pods ├── DDRevelImage │ ├── README.md │ ├── Classes │ │ ├── UIView+RevealAnimation.h │ │ └── UIView+RevealAnimation.m │ └── LICENSE ├── Headers │ ├── Private │ │ └── DDRevelImage │ │ │ └── UIView+RevealAnimation.h │ └── Public │ │ └── DDRevelImage │ │ └── UIView+RevealAnimation.h ├── Target Support Files │ ├── Pods-DDRevelImage │ │ ├── Pods-DDRevelImage.xcconfig │ │ ├── Pods-DDRevelImage-prefix.pch │ │ ├── Pods-DDRevelImage-dummy.m │ │ └── Pods-DDRevelImage-Private.xcconfig │ └── Pods │ │ ├── Pods-dummy.m │ │ ├── Pods.debug.xcconfig │ │ ├── Pods.release.xcconfig │ │ ├── Pods-environment.h │ │ ├── Pods-acknowledgements.markdown │ │ ├── Pods-acknowledgements.plist │ │ └── Pods-resources.sh ├── Pods.xcodeproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ ├── xcuserdata │ │ └── liuchendi.xcuserdatad │ │ │ └── xcschemes │ │ │ ├── xcschememanagement.plist │ │ │ ├── Pods.xcscheme │ │ │ └── Pods-DDRevelImage.xcscheme │ └── project.pbxproj └── Manifest.lock ├── Resource └── testimage.jpg ├── Podfile.lock ├── DDRevealImageDemo.xcworkspace ├── xcuserdata │ └── liuchendi.xcuserdatad │ │ ├── UserInterfaceState.xcuserstate │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist ├── contents.xcworkspacedata └── xcshareddata │ └── DDRevealImageDemo.xccheckout ├── DDRevealImageDemo.xcodeproj ├── project.xcworkspace │ ├── contents.xcworkspacedata │ ├── xcuserdata │ │ └── liuchendi.xcuserdatad │ │ │ └── UserInterfaceState.xcuserstate │ └── xcshareddata │ │ └── DDRevealImageDemo.xccheckout ├── xcuserdata │ └── liuchendi.xcuserdatad │ │ ├── xcschemes │ │ ├── xcschememanagement.plist │ │ └── DDRevealImageDemo.xcscheme │ │ └── xcdebugger │ │ └── Breakpoints_v2.xcbkptlist └── project.pbxproj ├── DDRevealImageDemo ├── ViewController.h ├── SlowRevelImageController.h ├── AppDelegate.h ├── main.m ├── SlowRevelImageController.m ├── Images.xcassets │ └── AppIcon.appiconset │ │ └── Contents.json ├── ViewController.m ├── Info.plist ├── AppDelegate.m └── Base.lproj │ ├── LaunchScreen.xib │ └── Main.storyboard ├── Classes ├── UIView+RevealAnimation.h └── UIView+RevealAnimation.m ├── DDRevealImageDemoTests ├── Info.plist └── DDRevealImageDemoTests.m ├── README.md ├── LICENSE └── DDRevelImage.podspec /Podfile: -------------------------------------------------------------------------------- 1 | pod 'DDRevelImage', '~> 1.0.1' 2 | -------------------------------------------------------------------------------- /Pods/DDRevelImage/README.md: -------------------------------------------------------------------------------- 1 | # DDRevelImage 2 | 缓慢加载图片 3 | -------------------------------------------------------------------------------- /Resource/testimage.jpg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcddhr/DDRevelImage/HEAD/Resource/testimage.jpg -------------------------------------------------------------------------------- /Pods/Headers/Private/DDRevelImage/UIView+RevealAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../DDRevelImage/Classes/UIView+RevealAnimation.h -------------------------------------------------------------------------------- /Pods/Headers/Public/DDRevelImage/UIView+RevealAnimation.h: -------------------------------------------------------------------------------- 1 | ../../../DDRevelImage/Classes/UIView+RevealAnimation.h -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-DDRevelImage/Pods-DDRevelImage.xcconfig: -------------------------------------------------------------------------------- 1 | PODS_DDREVELIMAGE_OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 5 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-DDRevelImage/Pods-DDRevelImage-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #endif 4 | 5 | #import "Pods-environment.h" 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods : NSObject 3 | @end 4 | @implementation PodsDummy_Pods 5 | @end 6 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-DDRevelImage/Pods-DDRevelImage-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_DDRevelImage : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_DDRevelImage 5 | @end 6 | -------------------------------------------------------------------------------- /Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DDRevelImage (1.0.1) 3 | 4 | DEPENDENCIES: 5 | - DDRevelImage (~> 1.0.1) 6 | 7 | SPEC CHECKSUMS: 8 | DDRevelImage: ac55e3ad37525fe31c0704c6ce45afe2ff551c50 9 | 10 | COCOAPODS: 0.37.2 11 | -------------------------------------------------------------------------------- /Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - DDRevelImage (1.0.1) 3 | 4 | DEPENDENCIES: 5 | - DDRevelImage (~> 1.0.1) 6 | 7 | SPEC CHECKSUMS: 8 | DDRevelImage: ac55e3ad37525fe31c0704c6ce45afe2ff551c50 9 | 10 | COCOAPODS: 0.37.2 11 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcworkspace/xcuserdata/liuchendi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcddhr/DDRevelImage/HEAD/DDRevealImageDemo.xcworkspace/xcuserdata/liuchendi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /DDRevealImageDemo.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcodeproj/project.xcworkspace/xcuserdata/liuchendi.xcuserdatad/UserInterfaceState.xcuserstate: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/lcddhr/DDRevelImage/HEAD/DDRevealImageDemo.xcodeproj/project.xcworkspace/xcuserdata/liuchendi.xcuserdatad/UserInterfaceState.xcuserstate -------------------------------------------------------------------------------- /DDRevealImageDemo/ViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.h 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface ViewController : UIViewController 12 | 13 | 14 | @end 15 | 16 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /DDRevealImageDemo/SlowRevelImageController.h: -------------------------------------------------------------------------------- 1 | // 2 | // SlowRevelImageController.h 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface SlowRevelImageController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /DDRevealImageDemo/AppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.h 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. 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 | -------------------------------------------------------------------------------- /Classes/UIView+RevealAnimation.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+RevealAnimation.h 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (RevealAnimation) 12 | 13 | - (void)dd_outLineAnimation; 14 | - (void)dd_revealAnimation; 15 | 16 | 17 | 18 | - (void)dd_slowRevealAnimation; 19 | @end 20 | -------------------------------------------------------------------------------- /DDRevealImageDemo/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import 10 | #import "AppDelegate.h" 11 | 12 | int main(int argc, char * argv[]) { 13 | @autoreleasepool { 14 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([AppDelegate class])); 15 | } 16 | } 17 | -------------------------------------------------------------------------------- /Pods/DDRevelImage/Classes/UIView+RevealAnimation.h: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+RevealAnimation.h 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface UIView (RevealAnimation) 12 | 13 | - (void)dd_outLineAnimation; 14 | - (void)dd_revealAnimation; 15 | 16 | 17 | 18 | - (void)dd_slowRevealAnimation; 19 | @end 20 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods-DDRevelImage/Pods-DDRevelImage-Private.xcconfig: -------------------------------------------------------------------------------- 1 | #include "Pods-DDRevelImage.xcconfig" 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/DDRevelImage" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DDRevelImage" 4 | OTHER_LDFLAGS = ${PODS_DDREVELIMAGE_OTHER_LDFLAGS} -ObjC 5 | PODS_ROOT = ${SRCROOT} 6 | SKIP_INSTALL = YES -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DDRevelImage" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DDRevelImage" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-DDRevelImage" -framework "Foundation" -framework "UIKit" 5 | OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/DDRevelImage" 3 | OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/DDRevelImage" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"Pods-DDRevelImage" -framework "Foundation" -framework "UIKit" 5 | OTHER_LIBTOOLFLAGS = $(OTHER_LDFLAGS) 6 | PODS_ROOT = ${SRCROOT}/Pods -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-environment.h: -------------------------------------------------------------------------------- 1 | 2 | // To check if a library is compiled with CocoaPods you 3 | // can use the `COCOAPODS` macro definition which is 4 | // defined in the xcconfigs so it is available in 5 | // headers also when they are imported in the client 6 | // project. 7 | 8 | 9 | // DDRevelImage 10 | #define COCOAPODS_POD_AVAILABLE_DDRevelImage 11 | #define COCOAPODS_VERSION_MAJOR_DDRevelImage 1 12 | #define COCOAPODS_VERSION_MINOR_DDRevelImage 0 13 | #define COCOAPODS_VERSION_PATCH_DDRevelImage 1 14 | 15 | -------------------------------------------------------------------------------- /DDRevealImageDemo/SlowRevelImageController.m: -------------------------------------------------------------------------------- 1 | // 2 | // SlowRevelImageController.m 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import "SlowRevelImageController.h" 10 | #import "UIView+RevealAnimation.h" 11 | 12 | @interface SlowRevelImageController () 13 | @property (weak, nonatomic) IBOutlet UIImageView *imageView; 14 | 15 | @end 16 | 17 | @implementation SlowRevelImageController 18 | 19 | 20 | - (void)viewDidLoad { 21 | 22 | [super viewDidLoad]; 23 | [self.imageView dd_slowRevealAnimation]; 24 | } 25 | @end 26 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcodeproj/xcuserdata/liuchendi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | DDRevealImageDemo.xcscheme 8 | 9 | orderHint 10 | 0 11 | 12 | 13 | SuppressBuildableAutocreation 14 | 15 | 70C8F8DE1BD097F000E9BD97 16 | 17 | primary 18 | 19 | 20 | 70C8F8F71BD097F100E9BD97 21 | 22 | primary 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /DDRevealImageDemo/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" : "29x29", 11 | "scale" : "3x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "40x40", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "40x40", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "iphone", 25 | "size" : "60x60", 26 | "scale" : "2x" 27 | }, 28 | { 29 | "idiom" : "iphone", 30 | "size" : "60x60", 31 | "scale" : "3x" 32 | } 33 | ], 34 | "info" : { 35 | "version" : 1, 36 | "author" : "xcode" 37 | } 38 | } -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/liuchendi.xcuserdatad/xcschemes/xcschememanagement.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | SchemeUserState 6 | 7 | Pods-DDRevelImage.xcscheme 8 | 9 | isShown 10 | 11 | 12 | Pods.xcscheme 13 | 14 | isShown 15 | 16 | 17 | 18 | SuppressBuildableAutocreation 19 | 20 | 19A8F037EF78BEB62305EF00 21 | 22 | primary 23 | 24 | 25 | 557B03AD2E0078BAA3CF18CB 26 | 27 | primary 28 | 29 | 30 | 31 | 32 | 33 | -------------------------------------------------------------------------------- /DDRevealImageDemoTests/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.lcd.$(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 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcodeproj/xcuserdata/liuchendi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 20 | 21 | 22 | 23 | 24 | -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | ## DDRevelImage 2 | -------------------------- 3 | 4 | 缓慢加载图片的动画,效果来源: 5 | [http://static1.squarespace.com/static/5551190fe4b03147c4b32f55/t/55522723e4b0a69c0915b5bf/1431447440480/?format=500w](http://static1.squarespace.com/static/5551190fe4b03147c4b32f55/t/55522723e4b0a69c0915b5bf/1431447440480/?format=500w) 6 | 7 | 8 | ![](http://7i7ht3.com1.z0.glb.clouddn.com/DDEmotionAnimationdemo.gif) 9 | 10 | ##如何使用 11 | + cocoapods导入: 12 | 13 | pod 'DDRevelImage', '~> 1.0.1' 14 | 15 | ##效果预览 16 | 17 | ![DDemotionAnimation](http://7i7ht3.com1.z0.glb.clouddn.com/DDEmotionAnimation.gif) 18 | 19 | 20 | ##参考资料 21 | [http://oldyellowbricks.com/blog/transitions-with-coreanimation-revealing-image](http://oldyellowbricks.com/blog/transitions-with-coreanimation-revealing-image) 22 | 23 | ##联系人 24 | 微博:[@小木头](http://weibo.com/329096966) 25 | 26 | 博客: [http://www.liuchendi.com](http://www.liuchendi.com) 27 | 28 | 微信公众号: 29 | 30 | ![](http://7i7ht3.com1.z0.glb.clouddn.com/QRCode.jpg) -------------------------------------------------------------------------------- /DDRevealImageDemo/ViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // ViewController.m 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import "ViewController.h" 10 | #import "UIView+RevealAnimation.h" 11 | 12 | @interface ViewController () 13 | @property (weak, nonatomic) IBOutlet UIImageView *imageView; 14 | @property (weak, nonatomic) IBOutlet UIView *revealView; 15 | 16 | @end 17 | 18 | @implementation ViewController 19 | 20 | - (void)viewDidLoad { 21 | [super viewDidLoad]; 22 | // Do any additional setup after loading the view, typically from a nib. 23 | 24 | 25 | } 26 | 27 | - (IBAction)startAnimation:(id)sender { 28 | 29 | [self.revealView dd_outLineAnimation]; 30 | [self.imageView dd_revealAnimation]; 31 | self.imageView.image = [UIImage imageNamed:@"testimage.jpg"]; 32 | } 33 | 34 | - (void) triggerAnimations { 35 | 36 | } 37 | 38 | - (void)didReceiveMemoryWarning { 39 | [super didReceiveMemoryWarning]; 40 | // Dispose of any resources that can be recreated. 41 | } 42 | 43 | @end 44 | -------------------------------------------------------------------------------- /DDRevealImageDemoTests/DDRevealImageDemoTests.m: -------------------------------------------------------------------------------- 1 | // 2 | // DDRevealImageDemoTests.m 3 | // DDRevealImageDemoTests 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import 10 | #import 11 | 12 | @interface DDRevealImageDemoTests : XCTestCase 13 | 14 | @end 15 | 16 | @implementation DDRevealImageDemoTests 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 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 liuchendi 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 all 13 | 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 THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Pods/DDRevelImage/LICENSE: -------------------------------------------------------------------------------- 1 | The MIT License (MIT) 2 | 3 | Copyright (c) 2015 liuchendi 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 all 13 | 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 THE 21 | SOFTWARE. 22 | 23 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## DDRevelImage 5 | 6 | The MIT License (MIT) 7 | 8 | Copyright (c) 2015 liuchendi 9 | 10 | Permission is hereby granted, free of charge, to any person obtaining a copy 11 | of this software and associated documentation files (the "Software"), to deal 12 | in the Software without restriction, including without limitation the rights 13 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 14 | copies of the Software, and to permit persons to whom the Software is 15 | furnished to do so, subject to the following conditions: 16 | 17 | The above copyright notice and this permission notice shall be included in all 18 | copies or substantial portions of the Software. 19 | 20 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 21 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 22 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 23 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 24 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 25 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 26 | SOFTWARE. 27 | 28 | 29 | Generated by CocoaPods - http://cocoapods.org 30 | -------------------------------------------------------------------------------- /DDRevealImageDemo/Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | $(EXECUTABLE_NAME) 9 | CFBundleIdentifier 10 | com.lcd.$(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 | 40 | 41 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcworkspace/xcuserdata/liuchendi.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist: -------------------------------------------------------------------------------- 1 | 2 | 5 | 6 | 8 | 20 | 21 | 22 | 24 | 36 | 37 | 38 | 39 | 40 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcworkspace/xcshareddata/DDRevealImageDemo.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 6FE6C984-8E15-4863-9CF9-61409DCB36C3 9 | IDESourceControlProjectName 10 | DDRevealImageDemo 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 14 | https://github.com/lcddhr/DDRevelImage.git 15 | 16 | IDESourceControlProjectPath 17 | DDRevealImageDemo.xcworkspace 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 21 | .. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/lcddhr/DDRevelImage.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 36 | IDESourceControlWCCName 37 | DDRevelImage 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcodeproj/project.xcworkspace/xcshareddata/DDRevealImageDemo.xccheckout: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDESourceControlProjectFavoriteDictionaryKey 6 | 7 | IDESourceControlProjectIdentifier 8 | 0B76AA2C-3C99-4A7A-AB35-E8E9A3611EFD 9 | IDESourceControlProjectName 10 | DDRevealImageDemo 11 | IDESourceControlProjectOriginsDictionary 12 | 13 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 14 | https://github.com/lcddhr/DDRevelImage.git 15 | 16 | IDESourceControlProjectPath 17 | DDRevealImageDemo.xcodeproj 18 | IDESourceControlProjectRelativeInstallPathDictionary 19 | 20 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 21 | ../.. 22 | 23 | IDESourceControlProjectURL 24 | https://github.com/lcddhr/DDRevelImage.git 25 | IDESourceControlProjectVersion 26 | 111 27 | IDESourceControlProjectWCCIdentifier 28 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 29 | IDESourceControlProjectWCConfigurations 30 | 31 | 32 | IDESourceControlRepositoryExtensionIdentifierKey 33 | public.vcs.git 34 | IDESourceControlWCCIdentifierKey 35 | CEB1FD3A4D706F5C4D6AEE37FE5A175D155503E2 36 | IDESourceControlWCCName 37 | DDRevelImage 38 | 39 | 40 | 41 | 42 | -------------------------------------------------------------------------------- /DDRevealImageDemo/AppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // AppDelegate.m 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import "AppDelegate.h" 10 | 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 | return YES; 21 | } 22 | 23 | - (void)applicationWillResignActive:(UIApplication *)application { 24 | // 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. 25 | // 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. 26 | } 27 | 28 | - (void)applicationDidEnterBackground:(UIApplication *)application { 29 | // 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. 30 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 31 | } 32 | 33 | - (void)applicationWillEnterForeground:(UIApplication *)application { 34 | // 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. 35 | } 36 | 37 | - (void)applicationDidBecomeActive:(UIApplication *)application { 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 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 43 | } 44 | 45 | @end 46 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/liuchendi.xcuserdatad/xcschemes/Pods.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-acknowledgements.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | PreferenceSpecifiers 6 | 7 | 8 | FooterText 9 | This application makes use of the following third party libraries: 10 | Title 11 | Acknowledgements 12 | Type 13 | PSGroupSpecifier 14 | 15 | 16 | FooterText 17 | The MIT License (MIT) 18 | 19 | Copyright (c) 2015 liuchendi 20 | 21 | Permission is hereby granted, free of charge, to any person obtaining a copy 22 | of this software and associated documentation files (the "Software"), to deal 23 | in the Software without restriction, including without limitation the rights 24 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 25 | copies of the Software, and to permit persons to whom the Software is 26 | furnished to do so, subject to the following conditions: 27 | 28 | The above copyright notice and this permission notice shall be included in all 29 | copies or substantial portions of the Software. 30 | 31 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 32 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 33 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 34 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 35 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 36 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE 37 | SOFTWARE. 38 | 39 | 40 | Title 41 | DDRevelImage 42 | Type 43 | PSGroupSpecifier 44 | 45 | 46 | FooterText 47 | Generated by CocoaPods - http://cocoapods.org 48 | Title 49 | 50 | Type 51 | PSGroupSpecifier 52 | 53 | 54 | StringsTable 55 | Acknowledgements 56 | Title 57 | Acknowledgements 58 | 59 | 60 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/xcuserdata/liuchendi.xcuserdatad/xcschemes/Pods-DDRevelImage.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 32 | 33 | 42 | 43 | 44 | 45 | 51 | 52 | 54 | 55 | 58 | 59 | 60 | -------------------------------------------------------------------------------- /DDRevealImageDemo/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 | -------------------------------------------------------------------------------- /Pods/Target Support Files/Pods/Pods-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | 4 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 5 | 6 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 7 | > "$RESOURCES_TO_COPY" 8 | 9 | XCASSET_FILES=() 10 | 11 | realpath() { 12 | DIRECTORY=$(cd "${1%/*}" && pwd) 13 | FILENAME="${1##*/}" 14 | echo "$DIRECTORY/$FILENAME" 15 | } 16 | 17 | install_resource() 18 | { 19 | case $1 in 20 | *.storyboard) 21 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 22 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .storyboard`.storyboardc" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 23 | ;; 24 | *.xib) 25 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile ${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib ${PODS_ROOT}/$1 --sdk ${SDKROOT}" 26 | ibtool --reference-external-strings-file --errors --warnings --notices --output-format human-readable-text --compile "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$1\" .xib`.nib" "${PODS_ROOT}/$1" --sdk "${SDKROOT}" 27 | ;; 28 | *.framework) 29 | echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 30 | mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 31 | echo "rsync -av ${PODS_ROOT}/$1 ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 32 | rsync -av "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 33 | ;; 34 | *.xcdatamodel) 35 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1"`.mom\"" 36 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodel`.mom" 37 | ;; 38 | *.xcdatamodeld) 39 | echo "xcrun momc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd\"" 40 | xcrun momc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcdatamodeld`.momd" 41 | ;; 42 | *.xcmappingmodel) 43 | echo "xcrun mapc \"${PODS_ROOT}/$1\" \"${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm\"" 44 | xcrun mapc "${PODS_ROOT}/$1" "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$1" .xcmappingmodel`.cdm" 45 | ;; 46 | *.xcassets) 47 | ABSOLUTE_XCASSET_FILE=$(realpath "${PODS_ROOT}/$1") 48 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 49 | ;; 50 | /*) 51 | echo "$1" 52 | echo "$1" >> "$RESOURCES_TO_COPY" 53 | ;; 54 | *) 55 | echo "${PODS_ROOT}/$1" 56 | echo "${PODS_ROOT}/$1" >> "$RESOURCES_TO_COPY" 57 | ;; 58 | esac 59 | } 60 | 61 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${CONFIGURATION_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 62 | if [[ "${ACTION}" == "install" ]]; then 63 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 64 | fi 65 | rm -f "$RESOURCES_TO_COPY" 66 | 67 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] 68 | then 69 | case "${TARGETED_DEVICE_FAMILY}" in 70 | 1,2) 71 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 72 | ;; 73 | 1) 74 | TARGET_DEVICE_ARGS="--target-device iphone" 75 | ;; 76 | 2) 77 | TARGET_DEVICE_ARGS="--target-device ipad" 78 | ;; 79 | *) 80 | TARGET_DEVICE_ARGS="--target-device mac" 81 | ;; 82 | esac 83 | 84 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 85 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 86 | while read line; do 87 | if [[ $line != "`realpath $PODS_ROOT`*" ]]; then 88 | XCASSET_FILES+=("$line") 89 | fi 90 | done <<<"$OTHER_XCASSETS" 91 | 92 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${IPHONEOS_DEPLOYMENT_TARGET}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 93 | fi 94 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcodeproj/xcuserdata/liuchendi.xcuserdatad/xcschemes/DDRevealImageDemo.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 29 | 35 | 36 | 37 | 38 | 39 | 44 | 45 | 47 | 53 | 54 | 55 | 56 | 57 | 63 | 64 | 65 | 66 | 75 | 77 | 83 | 84 | 85 | 86 | 87 | 88 | 94 | 96 | 102 | 103 | 104 | 105 | 107 | 108 | 111 | 112 | 113 | -------------------------------------------------------------------------------- /Classes/UIView+RevealAnimation.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+RevealAnimation.m 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import "UIView+RevealAnimation.h" 10 | 11 | static CAShapeLayer *circleLayer; 12 | static NSTimeInterval kRevealAnimationTimeInterval = 2.0f; 13 | 14 | static CGFloat kRadius = 90; 15 | //CAShapeLayer *circleLayer; 16 | @implementation UIView (RevealAnimation) 17 | 18 | 19 | - (void)dd_outLineAnimation; { 20 | 21 | [self startOutLineAnimation]; 22 | } 23 | 24 | - (void)dd_revealAnimation { 25 | 26 | [self startRevealAnimation]; 27 | } 28 | 29 | //执行动画 30 | - (void)startOutLineAnimation { 31 | 32 | [circleLayer removeFromSuperlayer]; 33 | //创建外圆的layer 34 | circleLayer = [CAShapeLayer layer]; 35 | circleLayer.lineWidth = 1.0f; 36 | circleLayer.strokeColor = [UIColor lightGrayColor].CGColor; 37 | circleLayer.fillColor = [UIColor clearColor].CGColor; 38 | circleLayer.path = [self drawOutLine].CGPath; 39 | [self.layer addSublayer:circleLayer]; 40 | 41 | //执行外圆layer的动画 42 | CABasicAnimation *circleAnimation = [CABasicAnimation animationWithKeyPath:@"strokeEnd"]; 43 | circleAnimation.duration = kRevealAnimationTimeInterval; 44 | circleAnimation.fromValue = @(0.0f); 45 | circleAnimation.toValue = @(1.0f); 46 | circleAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseOut]; 47 | [circleLayer addAnimation:circleAnimation forKey:@"outlineAnimation"]; 48 | } 49 | 50 | - (void)startRevealAnimation { 51 | 52 | self.hidden = YES; 53 | CAShapeLayer *revealLayer = [CAShapeLayer layer]; 54 | revealLayer.bounds = self.bounds; 55 | revealLayer.fillColor = [UIColor blackColor].CGColor; 56 | 57 | //开始的路径 58 | CGFloat fromRadius = 1.0f; 59 | CGFloat fromRectWidth = fromRadius * 2; 60 | CGFloat fromRectHeight = fromRadius * 2; 61 | CGRect fromRect = CGRectMake(CGRectGetMidX(self.bounds) - fromRadius, 62 | CGRectGetMidY(self.bounds) - fromRadius, 63 | fromRectWidth, 64 | fromRectHeight); 65 | 66 | UIBezierPath *fromPath = [self drawRevealPath:fromRect cornerRadius:fromRadius]; 67 | 68 | //结束的路径 69 | CGFloat endRadius = self.bounds.size.width / 2; 70 | UIBezierPath *endPath = [self drawRevealPath:self.bounds cornerRadius:endRadius]; 71 | 72 | 73 | revealLayer.path = endPath.CGPath; 74 | revealLayer.position = CGPointMake(CGRectGetMidX(self.bounds), CGRectGetMidY(self.bounds)); 75 | self.layer.mask = revealLayer; 76 | 77 | // 开始动画 78 | CABasicAnimation *revealAnimation = [CABasicAnimation animationWithKeyPath:@"path"]; 79 | revealAnimation.fromValue = (__bridge id)(fromPath.CGPath); 80 | revealAnimation.toValue = (__bridge id)(endPath.CGPath); 81 | revealAnimation.duration = kRevealAnimationTimeInterval / 2; 82 | revealAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]; 83 | revealAnimation.beginTime = CACurrentMediaTime() + kRevealAnimationTimeInterval / 2; 84 | revealAnimation.repeatCount = 1.0f; 85 | revealAnimation.fillMode = kCAFillModeForwards; 86 | 87 | dispatch_time_t timeToShow = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(kRevealAnimationTimeInterval/2.0f * NSEC_PER_SEC)); 88 | dispatch_after(timeToShow, dispatch_get_main_queue(), ^{ 89 | 90 | self.hidden = NO; 91 | }); 92 | [revealLayer addAnimation:revealAnimation forKey:@"revealAnimation"]; 93 | 94 | } 95 | 96 | 97 | - (void)dd_slowRevealAnimation { 98 | 99 | circleLayer = [CAShapeLayer layer]; 100 | circleLayer.fillColor = [UIColor clearColor].CGColor; 101 | circleLayer.strokeColor = [UIColor yellowColor].CGColor; 102 | circleLayer.path = [self pathWithRadius:kRadius].CGPath; 103 | self.layer.mask = circleLayer; 104 | 105 | //NSStringFromSelector(@selector(lineWidth) 106 | CABasicAnimation *lineWidthAnimation = [CABasicAnimation animationWithKeyPath:@"lineWidth"]; 107 | lineWidthAnimation.toValue = @(kRadius); 108 | lineWidthAnimation.duration = 2.0; 109 | lineWidthAnimation.delegate = self; 110 | lineWidthAnimation.removedOnCompletion = NO; 111 | lineWidthAnimation.fillMode = kCAFillModeForwards; 112 | [circleLayer addAnimation:lineWidthAnimation forKey:@"slowRevealAnimation"]; 113 | } 114 | 115 | - (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag { 116 | self.layer.mask = nil; 117 | } 118 | 119 | 120 | 121 | - (UIBezierPath *)pathWithRadius:(CGFloat)radius { 122 | //根据矩形框,画个内切圆 123 | return [UIBezierPath bezierPathWithOvalInRect:CGRectMake((CGRectGetWidth(self.bounds) - radius) / 2, 124 | (CGRectGetHeight(self.bounds) - radius) / 2, 125 | radius , 126 | radius)]; 127 | } 128 | 129 | - (UIBezierPath *)drawOutLine { 130 | 131 | UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:self.bounds cornerRadius:self.bounds.size.width / 2]; 132 | return path; 133 | } 134 | 135 | - (UIBezierPath *)drawRevealPath:(CGRect)roundRect cornerRadius:(CGFloat)radius{ 136 | 137 | UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:roundRect cornerRadius:radius]; 138 | return path; 139 | } 140 | 141 | @end 142 | -------------------------------------------------------------------------------- /Pods/DDRevelImage/Classes/UIView+RevealAnimation.m: -------------------------------------------------------------------------------- 1 | // 2 | // UIView+RevealAnimation.m 3 | // DDRevealImageDemo 4 | // 5 | // Created by lovelydd on 15/10/16. 6 | // Copyright (c) 2015年 xiaomutou. All rights reserved. 7 | // 8 | 9 | #import "UIView+RevealAnimation.h" 10 | 11 | static CAShapeLayer *circleLayer; 12 | static NSTimeInterval kRevealAnimationTimeInterval = 2.0f; 13 | 14 | static CGFloat kRadius = 90; 15 | //CAShapeLayer *circleLayer; 16 | @implementation UIView (RevealAnimation) 17 | 18 | 19 | - (void)dd_outLineAnimation; { 20 | 21 | [self startOutLineAnimation]; 22 | } 23 | 24 | - (void)dd_revealAnimation { 25 | 26 | [self startRevealAnimation]; 27 | } 28 | 29 | //执行动画 30 | - (void)startOutLineAnimation { 31 | 32 | [circleLayer removeFromSuperlayer]; 33 | //创建外圆的layer 34 | circleLayer = [CAShapeLayer layer]; 35 | circleLayer.lineWidth = 1.0f; 36 | circleLayer.strokeColor = [UIColor lightGrayColor].CGColor; 37 | circleLayer.fillColor = [UIColor clearColor].CGColor; 38 | circleLayer.path = [self drawOutLine].CGPath; 39 | [self.layer addSublayer:circleLayer]; 40 | 41 | //执行外圆layer的动画 42 | CABasicAnimation *circleAnimation = [CABasicAnimation animationWithKeyPath:@"strokeEnd"]; 43 | circleAnimation.duration = kRevealAnimationTimeInterval; 44 | circleAnimation.fromValue = @(0.0f); 45 | circleAnimation.toValue = @(1.0f); 46 | circleAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseOut]; 47 | [circleLayer addAnimation:circleAnimation forKey:@"outlineAnimation"]; 48 | } 49 | 50 | - (void)startRevealAnimation { 51 | 52 | self.hidden = YES; 53 | CAShapeLayer *revealLayer = [CAShapeLayer layer]; 54 | revealLayer.bounds = self.bounds; 55 | revealLayer.fillColor = [UIColor blackColor].CGColor; 56 | 57 | //开始的路径 58 | CGFloat fromRadius = 1.0f; 59 | CGFloat fromRectWidth = fromRadius * 2; 60 | CGFloat fromRectHeight = fromRadius * 2; 61 | CGRect fromRect = CGRectMake(CGRectGetMidX(self.bounds) - fromRadius, 62 | CGRectGetMidY(self.bounds) - fromRadius, 63 | fromRectWidth, 64 | fromRectHeight); 65 | 66 | UIBezierPath *fromPath = [self drawRevealPath:fromRect cornerRadius:fromRadius]; 67 | 68 | //结束的路径 69 | CGFloat endRadius = self.bounds.size.width / 2; 70 | UIBezierPath *endPath = [self drawRevealPath:self.bounds cornerRadius:endRadius]; 71 | 72 | 73 | revealLayer.path = endPath.CGPath; 74 | revealLayer.position = CGPointMake(CGRectGetMidX(self.bounds), CGRectGetMidY(self.bounds)); 75 | self.layer.mask = revealLayer; 76 | 77 | // 开始动画 78 | CABasicAnimation *revealAnimation = [CABasicAnimation animationWithKeyPath:@"path"]; 79 | revealAnimation.fromValue = (__bridge id)(fromPath.CGPath); 80 | revealAnimation.toValue = (__bridge id)(endPath.CGPath); 81 | revealAnimation.duration = kRevealAnimationTimeInterval / 2; 82 | revealAnimation.timingFunction = [CAMediaTimingFunction functionWithName:kCAMediaTimingFunctionEaseInEaseOut]; 83 | revealAnimation.beginTime = CACurrentMediaTime() + kRevealAnimationTimeInterval / 2; 84 | revealAnimation.repeatCount = 1.0f; 85 | revealAnimation.fillMode = kCAFillModeForwards; 86 | 87 | dispatch_time_t timeToShow = dispatch_time(DISPATCH_TIME_NOW, (int64_t)(kRevealAnimationTimeInterval/2.0f * NSEC_PER_SEC)); 88 | dispatch_after(timeToShow, dispatch_get_main_queue(), ^{ 89 | 90 | self.hidden = NO; 91 | }); 92 | [revealLayer addAnimation:revealAnimation forKey:@"revealAnimation"]; 93 | 94 | } 95 | 96 | 97 | - (void)dd_slowRevealAnimation { 98 | 99 | circleLayer = [CAShapeLayer layer]; 100 | circleLayer.fillColor = [UIColor clearColor].CGColor; 101 | circleLayer.strokeColor = [UIColor yellowColor].CGColor; 102 | circleLayer.path = [self pathWithRadius:kRadius].CGPath; 103 | self.layer.mask = circleLayer; 104 | 105 | //NSStringFromSelector(@selector(lineWidth) 106 | CABasicAnimation *lineWidthAnimation = [CABasicAnimation animationWithKeyPath:@"lineWidth"]; 107 | lineWidthAnimation.toValue = @(kRadius); 108 | lineWidthAnimation.duration = 2.0; 109 | lineWidthAnimation.delegate = self; 110 | lineWidthAnimation.removedOnCompletion = NO; 111 | lineWidthAnimation.fillMode = kCAFillModeForwards; 112 | [circleLayer addAnimation:lineWidthAnimation forKey:@"slowRevealAnimation"]; 113 | } 114 | 115 | - (void)animationDidStop:(CAAnimation *)anim finished:(BOOL)flag { 116 | self.layer.mask = nil; 117 | } 118 | 119 | 120 | 121 | - (UIBezierPath *)pathWithRadius:(CGFloat)radius { 122 | //根据矩形框,画个内切圆 123 | return [UIBezierPath bezierPathWithOvalInRect:CGRectMake((CGRectGetWidth(self.bounds) - radius) / 2, 124 | (CGRectGetHeight(self.bounds) - radius) / 2, 125 | radius , 126 | radius)]; 127 | } 128 | 129 | - (UIBezierPath *)drawOutLine { 130 | 131 | UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:self.bounds cornerRadius:self.bounds.size.width / 2]; 132 | return path; 133 | } 134 | 135 | - (UIBezierPath *)drawRevealPath:(CGRect)roundRect cornerRadius:(CGFloat)radius{ 136 | 137 | UIBezierPath *path = [UIBezierPath bezierPathWithRoundedRect:roundRect cornerRadius:radius]; 138 | return path; 139 | } 140 | 141 | @end 142 | -------------------------------------------------------------------------------- /DDRevelImage.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod spec lint DDRevelImage.podspec' to ensure this is a 3 | # valid spec and to remove all comments including this before submitting the spec. 4 | # 5 | # To learn more about Podspec attributes see http://docs.cocoapods.org/specification.html 6 | # To see working Podspecs in the CocoaPods repo see https://github.com/CocoaPods/Specs/ 7 | # 8 | 9 | Pod::Spec.new do |s| 10 | 11 | # ――― Spec Metadata ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 12 | # 13 | # These will help people to find your library, and whilst it 14 | # can feel like a chore to fill in it's definitely to your advantage. The 15 | # summary should be tweet-length, and the description more in depth. 16 | # 17 | 18 | s.name = "DDRevelImage" 19 | s.version = "1.0.1" 20 | s.summary = "缓慢加载图片" 21 | 22 | s.description = <<-DESC 23 | A longer description of DDRevelImage in Markdown format. 24 | 25 | * Think: Why did you write this? What is the focus? What does it do? 26 | * CocoaPods will be using this to generate tags, and improve search results. 27 | * Try to keep it short, snappy and to the point. 28 | * Finally, don't worry about the indent, CocoaPods strips it! 29 | DESC 30 | 31 | s.homepage = "https://github.com/lcddhr/DDRevelImage" 32 | # s.screenshots = "www.example.com/screenshots_1.gif", "www.example.com/screenshots_2.gif" 33 | 34 | 35 | # ――― Spec License ――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 36 | # 37 | # Licensing your code is important. See http://choosealicense.com for more info. 38 | # CocoaPods will detect a license file if there is a named LICENSE* 39 | # Popular ones are 'MIT', 'BSD' and 'Apache License, Version 2.0'. 40 | # 41 | 42 | s.license = "MIT" 43 | # s.license = { :type => "MIT", :file => "FILE_LICENSE" } 44 | 45 | 46 | # ――― Author Metadata ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 47 | # 48 | # Specify the authors of the library, with email addresses. Email addresses 49 | # of the authors are extracted from the SCM log. E.g. $ git log. CocoaPods also 50 | # accepts just a name if you'd rather not provide an email address. 51 | # 52 | # Specify a social_media_url where others can refer to, for example a twitter 53 | # profile URL. 54 | # 55 | 56 | s.author = { "liuchendi" => "lcddhr@qq.com" } 57 | # Or just: s.author = "liuchendi" 58 | # s.authors = { "liuchendi" => "lcddhr@qq.com" } 59 | # s.social_media_url = "http://twitter.com/liuchendi" 60 | 61 | # ――― Platform Specifics ――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 62 | # 63 | # If this Pod runs only on iOS or OS X, then specify the platform and 64 | # the deployment target. You can optionally include the target after the platform. 65 | # 66 | 67 | s.platform = :ios 68 | # s.platform = :ios, "5.0" 69 | 70 | # When using multiple platforms 71 | # s.ios.deployment_target = "5.0" 72 | # s.osx.deployment_target = "10.7" 73 | 74 | 75 | # ――― Source Location ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 76 | # 77 | # Specify the location from where the source should be retrieved. 78 | # Supports git, hg, bzr, svn and HTTP. 79 | # 80 | 81 | s.source = { :git => "https://github.com/lcddhr/DDRevelImage.git", :tag => "v1.0.1" } 82 | 83 | s.frameworks = 'Foundation', 'UIKit' 84 | # ――― Source Code ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 85 | # 86 | # CocoaPods is smart about how it includes source code. For source files 87 | # giving a folder will include any swift, h, m, mm, c & cpp files. 88 | # For header files it will include any header in the folder. 89 | # Not including the public_header_files will make all headers public. 90 | # 91 | 92 | s.source_files = "Classes", "Classes/**/*.{h,m}" 93 | s.exclude_files = "Classes/Exclude" 94 | 95 | # s.public_header_files = "Classes/**/*.h" 96 | 97 | 98 | # ――― Resources ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 99 | # 100 | # A list of resources included with the Pod. These are copied into the 101 | # target bundle with a build phase script. Anything else will be cleaned. 102 | # You can preserve files from being cleaned, please don't preserve 103 | # non-essential files like tests, examples and documentation. 104 | # 105 | 106 | # s.resource = "icon.png" 107 | # s.resources = "Resources/*.png" 108 | 109 | # s.preserve_paths = "FilesToSave", "MoreFilesToSave" 110 | 111 | 112 | # ――― Project Linking ―――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 113 | # 114 | # Link your library with frameworks, or libraries. Libraries do not include 115 | # the lib prefix of their name. 116 | # 117 | 118 | # s.framework = "SomeFramework" 119 | # s.frameworks = "SomeFramework", "AnotherFramework" 120 | 121 | # s.library = "iconv" 122 | # s.libraries = "iconv", "xml2" 123 | 124 | 125 | # ――― Project Settings ――――――――――――――――――――――――――――――――――――――――――――――――――――――――― # 126 | # 127 | # If your library depends on compiler flags you can set them in the xcconfig hash 128 | # where they will only apply to your library. If you depend on other Podspecs 129 | # you can include multiple dependencies to ensure it works. 130 | 131 | # s.requires_arc = true 132 | 133 | # s.xcconfig = { "HEADER_SEARCH_PATHS" => "$(SDKROOT)/usr/include/libxml2" } 134 | # s.dependency "JSONKit", "~> 1.4" 135 | 136 | end 137 | -------------------------------------------------------------------------------- /DDRevealImageDemo/Base.lproj/Main.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 33 | 34 | 35 | 36 | 37 | 38 | 39 | 40 | 41 | 42 | 43 | 44 | 45 | 46 | 47 | 48 | 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 | 144 | 145 | 146 | 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 | 189 | 190 | 191 | 192 | 193 | 194 | 195 | 196 | 197 | 198 | 199 | 200 | -------------------------------------------------------------------------------- /Pods/Pods.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 2977F3D7B8877AFC88200D59 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 21270B2B1653CC05CC1E4465 /* UIKit.framework */; }; 11 | 375E2A5179BA902B58B83967 /* Pods-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D34CB59A198C0CF90B930782 /* Pods-dummy.m */; }; 12 | 689E9CC6ECA73CA87956F4B0 /* Pods-DDRevelImage-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 32E3E8F385D6A93617C2F67C /* Pods-DDRevelImage-dummy.m */; }; 13 | 6A36B09CE0A9A09ABC54A6CB /* UIView+RevealAnimation.m in Sources */ = {isa = PBXBuildFile; fileRef = 17CB0B210339D5EB3C5863B3 /* UIView+RevealAnimation.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; }; 14 | DBE123F80B0E1B50210717E0 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EF7E5742266B48A10E3ABB29 /* Foundation.framework */; }; 15 | EEB0453D6C3913478BE75BE9 /* UIView+RevealAnimation.h in Headers */ = {isa = PBXBuildFile; fileRef = 89C6070060FAFA697EE66010 /* UIView+RevealAnimation.h */; }; 16 | F0AB4A9972DC576E736D45B2 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = EF7E5742266B48A10E3ABB29 /* Foundation.framework */; }; 17 | /* End PBXBuildFile section */ 18 | 19 | /* Begin PBXContainerItemProxy section */ 20 | 8E60FE75A0F74AB8B1595EE9 /* PBXContainerItemProxy */ = { 21 | isa = PBXContainerItemProxy; 22 | containerPortal = 9B26647661EEFCEB813F3174 /* Project object */; 23 | proxyType = 1; 24 | remoteGlobalIDString = 19A8F037EF78BEB62305EF00; 25 | remoteInfo = "Pods-DDRevelImage"; 26 | }; 27 | /* End PBXContainerItemProxy section */ 28 | 29 | /* Begin PBXFileReference section */ 30 | 07112DF00F1B08354F246726 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; 31 | 15A60F09CF20DDF039C70283 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.release.xcconfig; sourceTree = ""; }; 32 | 17CB0B210339D5EB3C5863B3 /* UIView+RevealAnimation.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+RevealAnimation.m"; path = "Classes/UIView+RevealAnimation.m"; sourceTree = ""; }; 33 | 21270B2B1653CC05CC1E4465 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; 34 | 23BBA6E4D1A89E0890D7DC13 /* Podfile */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 35 | 32E3E8F385D6A93617C2F67C /* Pods-DDRevelImage-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-DDRevelImage-dummy.m"; sourceTree = ""; }; 36 | 3532C32B53275BC578010327 /* Pods-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-acknowledgements.plist"; sourceTree = ""; }; 37 | 3C22614590E23786680F9585 /* Pods-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-resources.sh"; sourceTree = ""; }; 38 | 3C3964EEA32C6C1894782B7E /* Pods-environment.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-environment.h"; sourceTree = ""; }; 39 | 79AC18C8109F39E10636276C /* libPods-DDRevelImage.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-DDRevelImage.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 40 | 89C6070060FAFA697EE66010 /* UIView+RevealAnimation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+RevealAnimation.h"; path = "Classes/UIView+RevealAnimation.h"; sourceTree = ""; }; 41 | 8B1F55D6EDE45FE15AB3CA21 /* Pods-DDRevelImage-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-DDRevelImage-prefix.pch"; sourceTree = ""; }; 42 | 8E391735D3275CFDA8713310 /* Pods-DDRevelImage-Private.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DDRevelImage-Private.xcconfig"; sourceTree = ""; }; 43 | A60BC939B7C7ADBC2FACEC62 /* Pods-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-acknowledgements.markdown"; sourceTree = ""; }; 44 | AD834385A8058652B6D5C987 /* Pods-DDRevelImage.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-DDRevelImage.xcconfig"; sourceTree = ""; }; 45 | CDCF18B18848AEBA9295D2D1 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Pods.debug.xcconfig; sourceTree = ""; }; 46 | D34CB59A198C0CF90B930782 /* Pods-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-dummy.m"; sourceTree = ""; }; 47 | EF7E5742266B48A10E3ABB29 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS8.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; 48 | /* End PBXFileReference section */ 49 | 50 | /* Begin PBXFrameworksBuildPhase section */ 51 | 287DCBDB1BB8177264F8D72A /* Frameworks */ = { 52 | isa = PBXFrameworksBuildPhase; 53 | buildActionMask = 2147483647; 54 | files = ( 55 | F0AB4A9972DC576E736D45B2 /* Foundation.framework in Frameworks */, 56 | 2977F3D7B8877AFC88200D59 /* UIKit.framework in Frameworks */, 57 | ); 58 | runOnlyForDeploymentPostprocessing = 0; 59 | }; 60 | F42FD9AE2D69E0D1A2CAF560 /* Frameworks */ = { 61 | isa = PBXFrameworksBuildPhase; 62 | buildActionMask = 2147483647; 63 | files = ( 64 | DBE123F80B0E1B50210717E0 /* Foundation.framework in Frameworks */, 65 | ); 66 | runOnlyForDeploymentPostprocessing = 0; 67 | }; 68 | /* End PBXFrameworksBuildPhase section */ 69 | 70 | /* Begin PBXGroup section */ 71 | 0C7D60E342324C8824C4550E /* iOS */ = { 72 | isa = PBXGroup; 73 | children = ( 74 | EF7E5742266B48A10E3ABB29 /* Foundation.framework */, 75 | 21270B2B1653CC05CC1E4465 /* UIKit.framework */, 76 | ); 77 | name = iOS; 78 | sourceTree = ""; 79 | }; 80 | 2A394FE1EE13B48EEC225B83 /* Pods */ = { 81 | isa = PBXGroup; 82 | children = ( 83 | D8CB693BF993C6A59F2EF794 /* DDRevelImage */, 84 | ); 85 | name = Pods; 86 | sourceTree = ""; 87 | }; 88 | 53AC2E4AC4E09786B504DD83 = { 89 | isa = PBXGroup; 90 | children = ( 91 | 23BBA6E4D1A89E0890D7DC13 /* Podfile */, 92 | 6A768698BBE64E0B1875DE1E /* Frameworks */, 93 | 2A394FE1EE13B48EEC225B83 /* Pods */, 94 | 74BF980BA78C75F434501807 /* Products */, 95 | FC3D5DDCE67D73E2BA2AA2AD /* Targets Support Files */, 96 | ); 97 | sourceTree = ""; 98 | }; 99 | 6A768698BBE64E0B1875DE1E /* Frameworks */ = { 100 | isa = PBXGroup; 101 | children = ( 102 | 0C7D60E342324C8824C4550E /* iOS */, 103 | ); 104 | name = Frameworks; 105 | sourceTree = ""; 106 | }; 107 | 74BF980BA78C75F434501807 /* Products */ = { 108 | isa = PBXGroup; 109 | children = ( 110 | 07112DF00F1B08354F246726 /* libPods.a */, 111 | 79AC18C8109F39E10636276C /* libPods-DDRevelImage.a */, 112 | ); 113 | name = Products; 114 | sourceTree = ""; 115 | }; 116 | 9B1E445A749943906C7C9C9E /* Support Files */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | AD834385A8058652B6D5C987 /* Pods-DDRevelImage.xcconfig */, 120 | 8E391735D3275CFDA8713310 /* Pods-DDRevelImage-Private.xcconfig */, 121 | 32E3E8F385D6A93617C2F67C /* Pods-DDRevelImage-dummy.m */, 122 | 8B1F55D6EDE45FE15AB3CA21 /* Pods-DDRevelImage-prefix.pch */, 123 | ); 124 | name = "Support Files"; 125 | path = "../Target Support Files/Pods-DDRevelImage"; 126 | sourceTree = ""; 127 | }; 128 | CC224CE601B20613B3820E51 /* Pods */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | A60BC939B7C7ADBC2FACEC62 /* Pods-acknowledgements.markdown */, 132 | 3532C32B53275BC578010327 /* Pods-acknowledgements.plist */, 133 | D34CB59A198C0CF90B930782 /* Pods-dummy.m */, 134 | 3C3964EEA32C6C1894782B7E /* Pods-environment.h */, 135 | 3C22614590E23786680F9585 /* Pods-resources.sh */, 136 | CDCF18B18848AEBA9295D2D1 /* Pods.debug.xcconfig */, 137 | 15A60F09CF20DDF039C70283 /* Pods.release.xcconfig */, 138 | ); 139 | name = Pods; 140 | path = "Target Support Files/Pods"; 141 | sourceTree = ""; 142 | }; 143 | D8CB693BF993C6A59F2EF794 /* DDRevelImage */ = { 144 | isa = PBXGroup; 145 | children = ( 146 | 89C6070060FAFA697EE66010 /* UIView+RevealAnimation.h */, 147 | 17CB0B210339D5EB3C5863B3 /* UIView+RevealAnimation.m */, 148 | 9B1E445A749943906C7C9C9E /* Support Files */, 149 | ); 150 | path = DDRevelImage; 151 | sourceTree = ""; 152 | }; 153 | FC3D5DDCE67D73E2BA2AA2AD /* Targets Support Files */ = { 154 | isa = PBXGroup; 155 | children = ( 156 | CC224CE601B20613B3820E51 /* Pods */, 157 | ); 158 | name = "Targets Support Files"; 159 | sourceTree = ""; 160 | }; 161 | /* End PBXGroup section */ 162 | 163 | /* Begin PBXHeadersBuildPhase section */ 164 | 6F985CB7B8371AB3ECA2950A /* Headers */ = { 165 | isa = PBXHeadersBuildPhase; 166 | buildActionMask = 2147483647; 167 | files = ( 168 | EEB0453D6C3913478BE75BE9 /* UIView+RevealAnimation.h in Headers */, 169 | ); 170 | runOnlyForDeploymentPostprocessing = 0; 171 | }; 172 | /* End PBXHeadersBuildPhase section */ 173 | 174 | /* Begin PBXNativeTarget section */ 175 | 19A8F037EF78BEB62305EF00 /* Pods-DDRevelImage */ = { 176 | isa = PBXNativeTarget; 177 | buildConfigurationList = DF2087206D6749E427C0D57A /* Build configuration list for PBXNativeTarget "Pods-DDRevelImage" */; 178 | buildPhases = ( 179 | A134A98C24CE4329BF4716E4 /* Sources */, 180 | 287DCBDB1BB8177264F8D72A /* Frameworks */, 181 | 6F985CB7B8371AB3ECA2950A /* Headers */, 182 | ); 183 | buildRules = ( 184 | ); 185 | dependencies = ( 186 | ); 187 | name = "Pods-DDRevelImage"; 188 | productName = "Pods-DDRevelImage"; 189 | productReference = 79AC18C8109F39E10636276C /* libPods-DDRevelImage.a */; 190 | productType = "com.apple.product-type.library.static"; 191 | }; 192 | 557B03AD2E0078BAA3CF18CB /* Pods */ = { 193 | isa = PBXNativeTarget; 194 | buildConfigurationList = 45316A297B514758865972E5 /* Build configuration list for PBXNativeTarget "Pods" */; 195 | buildPhases = ( 196 | 9F8031DF5AE7C3FF02BDC2EE /* Sources */, 197 | F42FD9AE2D69E0D1A2CAF560 /* Frameworks */, 198 | ); 199 | buildRules = ( 200 | ); 201 | dependencies = ( 202 | 1ECE2767C29CA5E455066610 /* PBXTargetDependency */, 203 | ); 204 | name = Pods; 205 | productName = Pods; 206 | productReference = 07112DF00F1B08354F246726 /* libPods.a */; 207 | productType = "com.apple.product-type.library.static"; 208 | }; 209 | /* End PBXNativeTarget section */ 210 | 211 | /* Begin PBXProject section */ 212 | 9B26647661EEFCEB813F3174 /* Project object */ = { 213 | isa = PBXProject; 214 | attributes = { 215 | LastUpgradeCheck = 0640; 216 | }; 217 | buildConfigurationList = B73F35F2D540EF4185E71688 /* Build configuration list for PBXProject "Pods" */; 218 | compatibilityVersion = "Xcode 3.2"; 219 | developmentRegion = English; 220 | hasScannedForEncodings = 0; 221 | knownRegions = ( 222 | en, 223 | ); 224 | mainGroup = 53AC2E4AC4E09786B504DD83; 225 | productRefGroup = 74BF980BA78C75F434501807 /* Products */; 226 | projectDirPath = ""; 227 | projectRoot = ""; 228 | targets = ( 229 | 557B03AD2E0078BAA3CF18CB /* Pods */, 230 | 19A8F037EF78BEB62305EF00 /* Pods-DDRevelImage */, 231 | ); 232 | }; 233 | /* End PBXProject section */ 234 | 235 | /* Begin PBXSourcesBuildPhase section */ 236 | 9F8031DF5AE7C3FF02BDC2EE /* Sources */ = { 237 | isa = PBXSourcesBuildPhase; 238 | buildActionMask = 2147483647; 239 | files = ( 240 | 375E2A5179BA902B58B83967 /* Pods-dummy.m in Sources */, 241 | ); 242 | runOnlyForDeploymentPostprocessing = 0; 243 | }; 244 | A134A98C24CE4329BF4716E4 /* Sources */ = { 245 | isa = PBXSourcesBuildPhase; 246 | buildActionMask = 2147483647; 247 | files = ( 248 | 689E9CC6ECA73CA87956F4B0 /* Pods-DDRevelImage-dummy.m in Sources */, 249 | 6A36B09CE0A9A09ABC54A6CB /* UIView+RevealAnimation.m in Sources */, 250 | ); 251 | runOnlyForDeploymentPostprocessing = 0; 252 | }; 253 | /* End PBXSourcesBuildPhase section */ 254 | 255 | /* Begin PBXTargetDependency section */ 256 | 1ECE2767C29CA5E455066610 /* PBXTargetDependency */ = { 257 | isa = PBXTargetDependency; 258 | name = "Pods-DDRevelImage"; 259 | target = 19A8F037EF78BEB62305EF00 /* Pods-DDRevelImage */; 260 | targetProxy = 8E60FE75A0F74AB8B1595EE9 /* PBXContainerItemProxy */; 261 | }; 262 | /* End PBXTargetDependency section */ 263 | 264 | /* Begin XCBuildConfiguration section */ 265 | 4A6AECD0EA5186B71C631FB8 /* Release */ = { 266 | isa = XCBuildConfiguration; 267 | baseConfigurationReference = 15A60F09CF20DDF039C70283 /* Pods.release.xcconfig */; 268 | buildSettings = { 269 | ENABLE_STRICT_OBJC_MSGSEND = YES; 270 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; 271 | MTL_ENABLE_DEBUG_INFO = NO; 272 | OTHER_LDFLAGS = ""; 273 | OTHER_LIBTOOLFLAGS = ""; 274 | PODS_ROOT = "$(SRCROOT)"; 275 | PRODUCT_NAME = "$(TARGET_NAME)"; 276 | SDKROOT = iphoneos; 277 | SKIP_INSTALL = YES; 278 | }; 279 | name = Release; 280 | }; 281 | 5DD33D4DCA986FDB90A084C8 /* Release */ = { 282 | isa = XCBuildConfiguration; 283 | baseConfigurationReference = 8E391735D3275CFDA8713310 /* Pods-DDRevelImage-Private.xcconfig */; 284 | buildSettings = { 285 | ENABLE_STRICT_OBJC_MSGSEND = YES; 286 | GCC_PREFIX_HEADER = "Target Support Files/Pods-DDRevelImage/Pods-DDRevelImage-prefix.pch"; 287 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; 288 | MTL_ENABLE_DEBUG_INFO = NO; 289 | OTHER_LDFLAGS = ""; 290 | OTHER_LIBTOOLFLAGS = ""; 291 | PRODUCT_NAME = "$(TARGET_NAME)"; 292 | SDKROOT = iphoneos; 293 | SKIP_INSTALL = YES; 294 | }; 295 | name = Release; 296 | }; 297 | 6A5B6561B0709E8E599FC923 /* Release */ = { 298 | isa = XCBuildConfiguration; 299 | buildSettings = { 300 | ALWAYS_SEARCH_USER_PATHS = NO; 301 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 302 | CLANG_CXX_LIBRARY = "libc++"; 303 | CLANG_ENABLE_MODULES = YES; 304 | CLANG_ENABLE_OBJC_ARC = YES; 305 | CLANG_WARN_BOOL_CONVERSION = YES; 306 | CLANG_WARN_CONSTANT_CONVERSION = YES; 307 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 308 | CLANG_WARN_EMPTY_BODY = YES; 309 | CLANG_WARN_ENUM_CONVERSION = YES; 310 | CLANG_WARN_INT_CONVERSION = YES; 311 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 312 | CLANG_WARN_UNREACHABLE_CODE = YES; 313 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 314 | COPY_PHASE_STRIP = YES; 315 | ENABLE_NS_ASSERTIONS = NO; 316 | GCC_C_LANGUAGE_STANDARD = gnu99; 317 | GCC_PREPROCESSOR_DEFINITIONS = "RELEASE=1"; 318 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 319 | GCC_WARN_ABOUT_RETURN_TYPE = YES; 320 | GCC_WARN_UNDECLARED_SELECTOR = YES; 321 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 322 | GCC_WARN_UNUSED_FUNCTION = YES; 323 | GCC_WARN_UNUSED_VARIABLE = YES; 324 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; 325 | STRIP_INSTALLED_PRODUCT = NO; 326 | SYMROOT = "${SRCROOT}/../build"; 327 | VALIDATE_PRODUCT = YES; 328 | }; 329 | name = Release; 330 | }; 331 | 6CCDE36A5C1136670E7BF892 /* Debug */ = { 332 | isa = XCBuildConfiguration; 333 | baseConfigurationReference = 8E391735D3275CFDA8713310 /* Pods-DDRevelImage-Private.xcconfig */; 334 | buildSettings = { 335 | ENABLE_STRICT_OBJC_MSGSEND = YES; 336 | GCC_PREFIX_HEADER = "Target Support Files/Pods-DDRevelImage/Pods-DDRevelImage-prefix.pch"; 337 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; 338 | MTL_ENABLE_DEBUG_INFO = YES; 339 | OTHER_LDFLAGS = ""; 340 | OTHER_LIBTOOLFLAGS = ""; 341 | PRODUCT_NAME = "$(TARGET_NAME)"; 342 | SDKROOT = iphoneos; 343 | SKIP_INSTALL = YES; 344 | }; 345 | name = Debug; 346 | }; 347 | D936825F80AAFB9956353D70 /* Debug */ = { 348 | isa = XCBuildConfiguration; 349 | buildSettings = { 350 | ALWAYS_SEARCH_USER_PATHS = NO; 351 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 352 | CLANG_CXX_LIBRARY = "libc++"; 353 | CLANG_ENABLE_MODULES = YES; 354 | CLANG_ENABLE_OBJC_ARC = YES; 355 | CLANG_WARN_BOOL_CONVERSION = YES; 356 | CLANG_WARN_CONSTANT_CONVERSION = YES; 357 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; 358 | CLANG_WARN_EMPTY_BODY = YES; 359 | CLANG_WARN_ENUM_CONVERSION = YES; 360 | CLANG_WARN_INT_CONVERSION = YES; 361 | CLANG_WARN_OBJC_ROOT_CLASS = YES; 362 | CLANG_WARN_UNREACHABLE_CODE = YES; 363 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 364 | COPY_PHASE_STRIP = NO; 365 | GCC_C_LANGUAGE_STANDARD = gnu99; 366 | GCC_DYNAMIC_NO_PIC = NO; 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; 375 | GCC_WARN_UNDECLARED_SELECTOR = YES; 376 | GCC_WARN_UNINITIALIZED_AUTOS = YES; 377 | GCC_WARN_UNUSED_FUNCTION = YES; 378 | GCC_WARN_UNUSED_VARIABLE = YES; 379 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; 380 | ONLY_ACTIVE_ARCH = YES; 381 | STRIP_INSTALLED_PRODUCT = NO; 382 | SYMROOT = "${SRCROOT}/../build"; 383 | }; 384 | name = Debug; 385 | }; 386 | E040347CA01CFF2EABC6E034 /* Debug */ = { 387 | isa = XCBuildConfiguration; 388 | baseConfigurationReference = CDCF18B18848AEBA9295D2D1 /* Pods.debug.xcconfig */; 389 | buildSettings = { 390 | ENABLE_STRICT_OBJC_MSGSEND = YES; 391 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; 392 | MTL_ENABLE_DEBUG_INFO = YES; 393 | OTHER_LDFLAGS = ""; 394 | OTHER_LIBTOOLFLAGS = ""; 395 | PODS_ROOT = "$(SRCROOT)"; 396 | PRODUCT_NAME = "$(TARGET_NAME)"; 397 | SDKROOT = iphoneos; 398 | SKIP_INSTALL = YES; 399 | }; 400 | name = Debug; 401 | }; 402 | /* End XCBuildConfiguration section */ 403 | 404 | /* Begin XCConfigurationList section */ 405 | 45316A297B514758865972E5 /* Build configuration list for PBXNativeTarget "Pods" */ = { 406 | isa = XCConfigurationList; 407 | buildConfigurations = ( 408 | E040347CA01CFF2EABC6E034 /* Debug */, 409 | 4A6AECD0EA5186B71C631FB8 /* Release */, 410 | ); 411 | defaultConfigurationIsVisible = 0; 412 | defaultConfigurationName = Release; 413 | }; 414 | B73F35F2D540EF4185E71688 /* Build configuration list for PBXProject "Pods" */ = { 415 | isa = XCConfigurationList; 416 | buildConfigurations = ( 417 | D936825F80AAFB9956353D70 /* Debug */, 418 | 6A5B6561B0709E8E599FC923 /* Release */, 419 | ); 420 | defaultConfigurationIsVisible = 0; 421 | defaultConfigurationName = Release; 422 | }; 423 | DF2087206D6749E427C0D57A /* Build configuration list for PBXNativeTarget "Pods-DDRevelImage" */ = { 424 | isa = XCConfigurationList; 425 | buildConfigurations = ( 426 | 6CCDE36A5C1136670E7BF892 /* Debug */, 427 | 5DD33D4DCA986FDB90A084C8 /* Release */, 428 | ); 429 | defaultConfigurationIsVisible = 0; 430 | defaultConfigurationName = Release; 431 | }; 432 | /* End XCConfigurationList section */ 433 | }; 434 | rootObject = 9B26647661EEFCEB813F3174 /* Project object */; 435 | } 436 | -------------------------------------------------------------------------------- /DDRevealImageDemo.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 703FD1A41BD0CD72004A9E44 /* SlowRevelImageController.m in Sources */ = {isa = PBXBuildFile; fileRef = 703FD1A31BD0CD72004A9E44 /* SlowRevelImageController.m */; }; 11 | 70C8F8E51BD097F100E9BD97 /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 70C8F8E41BD097F100E9BD97 /* main.m */; }; 12 | 70C8F8E81BD097F100E9BD97 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 70C8F8E71BD097F100E9BD97 /* AppDelegate.m */; }; 13 | 70C8F8EB1BD097F100E9BD97 /* ViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 70C8F8EA1BD097F100E9BD97 /* ViewController.m */; }; 14 | 70C8F8EE1BD097F100E9BD97 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 70C8F8EC1BD097F100E9BD97 /* Main.storyboard */; }; 15 | 70C8F8F01BD097F100E9BD97 /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 70C8F8EF1BD097F100E9BD97 /* Images.xcassets */; }; 16 | 70C8F8F31BD097F100E9BD97 /* LaunchScreen.xib in Resources */ = {isa = PBXBuildFile; fileRef = 70C8F8F11BD097F100E9BD97 /* LaunchScreen.xib */; }; 17 | 70C8F8FF1BD097F100E9BD97 /* DDRevealImageDemoTests.m in Sources */ = {isa = PBXBuildFile; fileRef = 70C8F8FE1BD097F100E9BD97 /* DDRevealImageDemoTests.m */; }; 18 | 70C8F90E1BD0A31900E9BD97 /* testimage.jpg in Resources */ = {isa = PBXBuildFile; fileRef = 70C8F90D1BD0A31900E9BD97 /* testimage.jpg */; }; 19 | F5BDEB3C43357D09F14CEE41 /* libPods.a in Frameworks */ = {isa = PBXBuildFile; fileRef = E0990CFCB9D8B70C637E5173 /* libPods.a */; }; 20 | /* End PBXBuildFile section */ 21 | 22 | /* Begin PBXContainerItemProxy section */ 23 | 70C8F8F91BD097F100E9BD97 /* PBXContainerItemProxy */ = { 24 | isa = PBXContainerItemProxy; 25 | containerPortal = 70C8F8D71BD097F000E9BD97 /* Project object */; 26 | proxyType = 1; 27 | remoteGlobalIDString = 70C8F8DE1BD097F000E9BD97; 28 | remoteInfo = DDRevealImageDemo; 29 | }; 30 | /* End PBXContainerItemProxy section */ 31 | 32 | /* Begin PBXFileReference section */ 33 | 2770625765471BAEC6D14624 /* Pods.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.debug.xcconfig; path = "Pods/Target Support Files/Pods/Pods.debug.xcconfig"; sourceTree = ""; }; 34 | 703FD1A21BD0CD72004A9E44 /* SlowRevelImageController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = SlowRevelImageController.h; sourceTree = ""; }; 35 | 703FD1A31BD0CD72004A9E44 /* SlowRevelImageController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = SlowRevelImageController.m; sourceTree = ""; }; 36 | 70C8F8DF1BD097F100E9BD97 /* DDRevealImageDemo.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = DDRevealImageDemo.app; sourceTree = BUILT_PRODUCTS_DIR; }; 37 | 70C8F8E31BD097F100E9BD97 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 38 | 70C8F8E41BD097F100E9BD97 /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 39 | 70C8F8E61BD097F100E9BD97 /* AppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = AppDelegate.h; sourceTree = ""; }; 40 | 70C8F8E71BD097F100E9BD97 /* AppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = AppDelegate.m; sourceTree = ""; }; 41 | 70C8F8E91BD097F100E9BD97 /* ViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = ViewController.h; sourceTree = ""; }; 42 | 70C8F8EA1BD097F100E9BD97 /* ViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = ViewController.m; sourceTree = ""; }; 43 | 70C8F8ED1BD097F100E9BD97 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; 44 | 70C8F8EF1BD097F100E9BD97 /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 45 | 70C8F8F21BD097F100E9BD97 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/LaunchScreen.xib; sourceTree = ""; }; 46 | 70C8F8F81BD097F100E9BD97 /* DDRevealImageDemoTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = DDRevealImageDemoTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 47 | 70C8F8FD1BD097F100E9BD97 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; 48 | 70C8F8FE1BD097F100E9BD97 /* DDRevealImageDemoTests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = DDRevealImageDemoTests.m; sourceTree = ""; }; 49 | 70C8F90D1BD0A31900E9BD97 /* testimage.jpg */ = {isa = PBXFileReference; lastKnownFileType = image.jpeg; path = testimage.jpg; sourceTree = ""; }; 50 | 77AD50AAB9A57F5F3DBC7427 /* Pods.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = Pods.release.xcconfig; path = "Pods/Target Support Files/Pods/Pods.release.xcconfig"; sourceTree = ""; }; 51 | E0990CFCB9D8B70C637E5173 /* libPods.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libPods.a; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | /* End PBXFileReference section */ 53 | 54 | /* Begin PBXFrameworksBuildPhase section */ 55 | 70C8F8DC1BD097F000E9BD97 /* Frameworks */ = { 56 | isa = PBXFrameworksBuildPhase; 57 | buildActionMask = 2147483647; 58 | files = ( 59 | F5BDEB3C43357D09F14CEE41 /* libPods.a in Frameworks */, 60 | ); 61 | runOnlyForDeploymentPostprocessing = 0; 62 | }; 63 | 70C8F8F51BD097F100E9BD97 /* Frameworks */ = { 64 | isa = PBXFrameworksBuildPhase; 65 | buildActionMask = 2147483647; 66 | files = ( 67 | ); 68 | runOnlyForDeploymentPostprocessing = 0; 69 | }; 70 | /* End PBXFrameworksBuildPhase section */ 71 | 72 | /* Begin PBXGroup section */ 73 | 70C8F8D61BD097F000E9BD97 = { 74 | isa = PBXGroup; 75 | children = ( 76 | 70C8F90C1BD0A31900E9BD97 /* Resource */, 77 | 70C8F8E11BD097F100E9BD97 /* DDRevealImageDemo */, 78 | 70C8F8FB1BD097F100E9BD97 /* DDRevealImageDemoTests */, 79 | 70C8F8E01BD097F100E9BD97 /* Products */, 80 | 7861924A81684B9474026283 /* Pods */, 81 | F5A516BFDCC5041A19B8601B /* Frameworks */, 82 | ); 83 | sourceTree = ""; 84 | }; 85 | 70C8F8E01BD097F100E9BD97 /* Products */ = { 86 | isa = PBXGroup; 87 | children = ( 88 | 70C8F8DF1BD097F100E9BD97 /* DDRevealImageDemo.app */, 89 | 70C8F8F81BD097F100E9BD97 /* DDRevealImageDemoTests.xctest */, 90 | ); 91 | name = Products; 92 | sourceTree = ""; 93 | }; 94 | 70C8F8E11BD097F100E9BD97 /* DDRevealImageDemo */ = { 95 | isa = PBXGroup; 96 | children = ( 97 | 70C8F8E61BD097F100E9BD97 /* AppDelegate.h */, 98 | 70C8F8E71BD097F100E9BD97 /* AppDelegate.m */, 99 | 70C8F8E91BD097F100E9BD97 /* ViewController.h */, 100 | 70C8F8EA1BD097F100E9BD97 /* ViewController.m */, 101 | 703FD1A21BD0CD72004A9E44 /* SlowRevelImageController.h */, 102 | 703FD1A31BD0CD72004A9E44 /* SlowRevelImageController.m */, 103 | 70C8F8EC1BD097F100E9BD97 /* Main.storyboard */, 104 | 70C8F8EF1BD097F100E9BD97 /* Images.xcassets */, 105 | 70C8F8F11BD097F100E9BD97 /* LaunchScreen.xib */, 106 | 70C8F8E21BD097F100E9BD97 /* Supporting Files */, 107 | ); 108 | path = DDRevealImageDemo; 109 | sourceTree = ""; 110 | }; 111 | 70C8F8E21BD097F100E9BD97 /* Supporting Files */ = { 112 | isa = PBXGroup; 113 | children = ( 114 | 70C8F8E31BD097F100E9BD97 /* Info.plist */, 115 | 70C8F8E41BD097F100E9BD97 /* main.m */, 116 | ); 117 | name = "Supporting Files"; 118 | sourceTree = ""; 119 | }; 120 | 70C8F8FB1BD097F100E9BD97 /* DDRevealImageDemoTests */ = { 121 | isa = PBXGroup; 122 | children = ( 123 | 70C8F8FE1BD097F100E9BD97 /* DDRevealImageDemoTests.m */, 124 | 70C8F8FC1BD097F100E9BD97 /* Supporting Files */, 125 | ); 126 | path = DDRevealImageDemoTests; 127 | sourceTree = ""; 128 | }; 129 | 70C8F8FC1BD097F100E9BD97 /* Supporting Files */ = { 130 | isa = PBXGroup; 131 | children = ( 132 | 70C8F8FD1BD097F100E9BD97 /* Info.plist */, 133 | ); 134 | name = "Supporting Files"; 135 | sourceTree = ""; 136 | }; 137 | 70C8F90C1BD0A31900E9BD97 /* Resource */ = { 138 | isa = PBXGroup; 139 | children = ( 140 | 70C8F90D1BD0A31900E9BD97 /* testimage.jpg */, 141 | ); 142 | path = Resource; 143 | sourceTree = ""; 144 | }; 145 | 7861924A81684B9474026283 /* Pods */ = { 146 | isa = PBXGroup; 147 | children = ( 148 | 2770625765471BAEC6D14624 /* Pods.debug.xcconfig */, 149 | 77AD50AAB9A57F5F3DBC7427 /* Pods.release.xcconfig */, 150 | ); 151 | name = Pods; 152 | sourceTree = ""; 153 | }; 154 | F5A516BFDCC5041A19B8601B /* Frameworks */ = { 155 | isa = PBXGroup; 156 | children = ( 157 | E0990CFCB9D8B70C637E5173 /* libPods.a */, 158 | ); 159 | name = Frameworks; 160 | sourceTree = ""; 161 | }; 162 | /* End PBXGroup section */ 163 | 164 | /* Begin PBXNativeTarget section */ 165 | 70C8F8DE1BD097F000E9BD97 /* DDRevealImageDemo */ = { 166 | isa = PBXNativeTarget; 167 | buildConfigurationList = 70C8F9021BD097F100E9BD97 /* Build configuration list for PBXNativeTarget "DDRevealImageDemo" */; 168 | buildPhases = ( 169 | C152356C08A7CF4FFC77324E /* Check Pods Manifest.lock */, 170 | 70C8F8DB1BD097F000E9BD97 /* Sources */, 171 | 70C8F8DC1BD097F000E9BD97 /* Frameworks */, 172 | 70C8F8DD1BD097F000E9BD97 /* Resources */, 173 | 0B928FE0AF4F7985861EE1AB /* Copy Pods Resources */, 174 | ); 175 | buildRules = ( 176 | ); 177 | dependencies = ( 178 | ); 179 | name = DDRevealImageDemo; 180 | productName = DDRevealImageDemo; 181 | productReference = 70C8F8DF1BD097F100E9BD97 /* DDRevealImageDemo.app */; 182 | productType = "com.apple.product-type.application"; 183 | }; 184 | 70C8F8F71BD097F100E9BD97 /* DDRevealImageDemoTests */ = { 185 | isa = PBXNativeTarget; 186 | buildConfigurationList = 70C8F9051BD097F100E9BD97 /* Build configuration list for PBXNativeTarget "DDRevealImageDemoTests" */; 187 | buildPhases = ( 188 | 70C8F8F41BD097F100E9BD97 /* Sources */, 189 | 70C8F8F51BD097F100E9BD97 /* Frameworks */, 190 | 70C8F8F61BD097F100E9BD97 /* Resources */, 191 | ); 192 | buildRules = ( 193 | ); 194 | dependencies = ( 195 | 70C8F8FA1BD097F100E9BD97 /* PBXTargetDependency */, 196 | ); 197 | name = DDRevealImageDemoTests; 198 | productName = DDRevealImageDemoTests; 199 | productReference = 70C8F8F81BD097F100E9BD97 /* DDRevealImageDemoTests.xctest */; 200 | productType = "com.apple.product-type.bundle.unit-test"; 201 | }; 202 | /* End PBXNativeTarget section */ 203 | 204 | /* Begin PBXProject section */ 205 | 70C8F8D71BD097F000E9BD97 /* Project object */ = { 206 | isa = PBXProject; 207 | attributes = { 208 | LastUpgradeCheck = 0640; 209 | ORGANIZATIONNAME = xiaomutou; 210 | TargetAttributes = { 211 | 70C8F8DE1BD097F000E9BD97 = { 212 | CreatedOnToolsVersion = 6.4; 213 | }; 214 | 70C8F8F71BD097F100E9BD97 = { 215 | CreatedOnToolsVersion = 6.4; 216 | TestTargetID = 70C8F8DE1BD097F000E9BD97; 217 | }; 218 | }; 219 | }; 220 | buildConfigurationList = 70C8F8DA1BD097F000E9BD97 /* Build configuration list for PBXProject "DDRevealImageDemo" */; 221 | compatibilityVersion = "Xcode 3.2"; 222 | developmentRegion = English; 223 | hasScannedForEncodings = 0; 224 | knownRegions = ( 225 | en, 226 | Base, 227 | ); 228 | mainGroup = 70C8F8D61BD097F000E9BD97; 229 | productRefGroup = 70C8F8E01BD097F100E9BD97 /* Products */; 230 | projectDirPath = ""; 231 | projectRoot = ""; 232 | targets = ( 233 | 70C8F8DE1BD097F000E9BD97 /* DDRevealImageDemo */, 234 | 70C8F8F71BD097F100E9BD97 /* DDRevealImageDemoTests */, 235 | ); 236 | }; 237 | /* End PBXProject section */ 238 | 239 | /* Begin PBXResourcesBuildPhase section */ 240 | 70C8F8DD1BD097F000E9BD97 /* Resources */ = { 241 | isa = PBXResourcesBuildPhase; 242 | buildActionMask = 2147483647; 243 | files = ( 244 | 70C8F8EE1BD097F100E9BD97 /* Main.storyboard in Resources */, 245 | 70C8F8F31BD097F100E9BD97 /* LaunchScreen.xib in Resources */, 246 | 70C8F8F01BD097F100E9BD97 /* Images.xcassets in Resources */, 247 | 70C8F90E1BD0A31900E9BD97 /* testimage.jpg in Resources */, 248 | ); 249 | runOnlyForDeploymentPostprocessing = 0; 250 | }; 251 | 70C8F8F61BD097F100E9BD97 /* Resources */ = { 252 | isa = PBXResourcesBuildPhase; 253 | buildActionMask = 2147483647; 254 | files = ( 255 | ); 256 | runOnlyForDeploymentPostprocessing = 0; 257 | }; 258 | /* End PBXResourcesBuildPhase section */ 259 | 260 | /* Begin PBXShellScriptBuildPhase section */ 261 | 0B928FE0AF4F7985861EE1AB /* Copy Pods Resources */ = { 262 | isa = PBXShellScriptBuildPhase; 263 | buildActionMask = 2147483647; 264 | files = ( 265 | ); 266 | inputPaths = ( 267 | ); 268 | name = "Copy Pods Resources"; 269 | outputPaths = ( 270 | ); 271 | runOnlyForDeploymentPostprocessing = 0; 272 | shellPath = /bin/sh; 273 | shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods/Pods-resources.sh\"\n"; 274 | showEnvVarsInLog = 0; 275 | }; 276 | C152356C08A7CF4FFC77324E /* Check Pods Manifest.lock */ = { 277 | isa = PBXShellScriptBuildPhase; 278 | buildActionMask = 2147483647; 279 | files = ( 280 | ); 281 | inputPaths = ( 282 | ); 283 | name = "Check Pods Manifest.lock"; 284 | outputPaths = ( 285 | ); 286 | runOnlyForDeploymentPostprocessing = 0; 287 | shellPath = /bin/sh; 288 | 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"; 289 | showEnvVarsInLog = 0; 290 | }; 291 | /* End PBXShellScriptBuildPhase section */ 292 | 293 | /* Begin PBXSourcesBuildPhase section */ 294 | 70C8F8DB1BD097F000E9BD97 /* Sources */ = { 295 | isa = PBXSourcesBuildPhase; 296 | buildActionMask = 2147483647; 297 | files = ( 298 | 70C8F8EB1BD097F100E9BD97 /* ViewController.m in Sources */, 299 | 70C8F8E81BD097F100E9BD97 /* AppDelegate.m in Sources */, 300 | 703FD1A41BD0CD72004A9E44 /* SlowRevelImageController.m in Sources */, 301 | 70C8F8E51BD097F100E9BD97 /* main.m in Sources */, 302 | ); 303 | runOnlyForDeploymentPostprocessing = 0; 304 | }; 305 | 70C8F8F41BD097F100E9BD97 /* Sources */ = { 306 | isa = PBXSourcesBuildPhase; 307 | buildActionMask = 2147483647; 308 | files = ( 309 | 70C8F8FF1BD097F100E9BD97 /* DDRevealImageDemoTests.m in Sources */, 310 | ); 311 | runOnlyForDeploymentPostprocessing = 0; 312 | }; 313 | /* End PBXSourcesBuildPhase section */ 314 | 315 | /* Begin PBXTargetDependency section */ 316 | 70C8F8FA1BD097F100E9BD97 /* PBXTargetDependency */ = { 317 | isa = PBXTargetDependency; 318 | target = 70C8F8DE1BD097F000E9BD97 /* DDRevealImageDemo */; 319 | targetProxy = 70C8F8F91BD097F100E9BD97 /* PBXContainerItemProxy */; 320 | }; 321 | /* End PBXTargetDependency section */ 322 | 323 | /* Begin PBXVariantGroup section */ 324 | 70C8F8EC1BD097F100E9BD97 /* Main.storyboard */ = { 325 | isa = PBXVariantGroup; 326 | children = ( 327 | 70C8F8ED1BD097F100E9BD97 /* Base */, 328 | ); 329 | name = Main.storyboard; 330 | sourceTree = ""; 331 | }; 332 | 70C8F8F11BD097F100E9BD97 /* LaunchScreen.xib */ = { 333 | isa = PBXVariantGroup; 334 | children = ( 335 | 70C8F8F21BD097F100E9BD97 /* Base */, 336 | ); 337 | name = LaunchScreen.xib; 338 | sourceTree = ""; 339 | }; 340 | /* End PBXVariantGroup section */ 341 | 342 | /* Begin XCBuildConfiguration section */ 343 | 70C8F9001BD097F100E9BD97 /* 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.4; 380 | MTL_ENABLE_DEBUG_INFO = YES; 381 | ONLY_ACTIVE_ARCH = YES; 382 | SDKROOT = iphoneos; 383 | }; 384 | name = Debug; 385 | }; 386 | 70C8F9011BD097F100E9BD97 /* Release */ = { 387 | isa = XCBuildConfiguration; 388 | buildSettings = { 389 | ALWAYS_SEARCH_USER_PATHS = NO; 390 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 391 | CLANG_CXX_LIBRARY = "libc++"; 392 | CLANG_ENABLE_MODULES = YES; 393 | CLANG_ENABLE_OBJC_ARC = YES; 394 | CLANG_WARN_BOOL_CONVERSION = YES; 395 | CLANG_WARN_CONSTANT_CONVERSION = YES; 396 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 397 | CLANG_WARN_EMPTY_BODY = YES; 398 | CLANG_WARN_ENUM_CONVERSION = YES; 399 | CLANG_WARN_INT_CONVERSION = YES; 400 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 401 | CLANG_WARN_UNREACHABLE_CODE = YES; 402 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 403 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 404 | COPY_PHASE_STRIP = NO; 405 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 406 | ENABLE_NS_ASSERTIONS = NO; 407 | ENABLE_STRICT_OBJC_MSGSEND = YES; 408 | GCC_C_LANGUAGE_STANDARD = gnu99; 409 | GCC_NO_COMMON_BLOCKS = YES; 410 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 411 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 412 | GCC_WARN_UNDECLARED_SELECTOR = YES; 413 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 414 | GCC_WARN_UNUSED_FUNCTION = YES; 415 | GCC_WARN_UNUSED_VARIABLE = YES; 416 | IPHONEOS_DEPLOYMENT_TARGET = 8.4; 417 | MTL_ENABLE_DEBUG_INFO = NO; 418 | SDKROOT = iphoneos; 419 | VALIDATE_PRODUCT = YES; 420 | }; 421 | name = Release; 422 | }; 423 | 70C8F9031BD097F100E9BD97 /* Debug */ = { 424 | isa = XCBuildConfiguration; 425 | baseConfigurationReference = 2770625765471BAEC6D14624 /* Pods.debug.xcconfig */; 426 | buildSettings = { 427 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 428 | INFOPLIST_FILE = DDRevealImageDemo/Info.plist; 429 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 430 | PRODUCT_NAME = "$(TARGET_NAME)"; 431 | }; 432 | name = Debug; 433 | }; 434 | 70C8F9041BD097F100E9BD97 /* Release */ = { 435 | isa = XCBuildConfiguration; 436 | baseConfigurationReference = 77AD50AAB9A57F5F3DBC7427 /* Pods.release.xcconfig */; 437 | buildSettings = { 438 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 439 | INFOPLIST_FILE = DDRevealImageDemo/Info.plist; 440 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; 441 | PRODUCT_NAME = "$(TARGET_NAME)"; 442 | }; 443 | name = Release; 444 | }; 445 | 70C8F9061BD097F100E9BD97 /* Debug */ = { 446 | isa = XCBuildConfiguration; 447 | buildSettings = { 448 | BUNDLE_LOADER = "$(TEST_HOST)"; 449 | FRAMEWORK_SEARCH_PATHS = ( 450 | "$(SDKROOT)/Developer/Library/Frameworks", 451 | "$(inherited)", 452 | ); 453 | GCC_PREPROCESSOR_DEFINITIONS = ( 454 | "DEBUG=1", 455 | "$(inherited)", 456 | ); 457 | INFOPLIST_FILE = DDRevealImageDemoTests/Info.plist; 458 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 459 | PRODUCT_NAME = "$(TARGET_NAME)"; 460 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DDRevealImageDemo.app/DDRevealImageDemo"; 461 | }; 462 | name = Debug; 463 | }; 464 | 70C8F9071BD097F100E9BD97 /* Release */ = { 465 | isa = XCBuildConfiguration; 466 | buildSettings = { 467 | BUNDLE_LOADER = "$(TEST_HOST)"; 468 | FRAMEWORK_SEARCH_PATHS = ( 469 | "$(SDKROOT)/Developer/Library/Frameworks", 470 | "$(inherited)", 471 | ); 472 | INFOPLIST_FILE = DDRevealImageDemoTests/Info.plist; 473 | LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; 474 | PRODUCT_NAME = "$(TARGET_NAME)"; 475 | TEST_HOST = "$(BUILT_PRODUCTS_DIR)/DDRevealImageDemo.app/DDRevealImageDemo"; 476 | }; 477 | name = Release; 478 | }; 479 | /* End XCBuildConfiguration section */ 480 | 481 | /* Begin XCConfigurationList section */ 482 | 70C8F8DA1BD097F000E9BD97 /* Build configuration list for PBXProject "DDRevealImageDemo" */ = { 483 | isa = XCConfigurationList; 484 | buildConfigurations = ( 485 | 70C8F9001BD097F100E9BD97 /* Debug */, 486 | 70C8F9011BD097F100E9BD97 /* Release */, 487 | ); 488 | defaultConfigurationIsVisible = 0; 489 | defaultConfigurationName = Release; 490 | }; 491 | 70C8F9021BD097F100E9BD97 /* Build configuration list for PBXNativeTarget "DDRevealImageDemo" */ = { 492 | isa = XCConfigurationList; 493 | buildConfigurations = ( 494 | 70C8F9031BD097F100E9BD97 /* Debug */, 495 | 70C8F9041BD097F100E9BD97 /* Release */, 496 | ); 497 | defaultConfigurationIsVisible = 0; 498 | defaultConfigurationName = Release; 499 | }; 500 | 70C8F9051BD097F100E9BD97 /* Build configuration list for PBXNativeTarget "DDRevealImageDemoTests" */ = { 501 | isa = XCConfigurationList; 502 | buildConfigurations = ( 503 | 70C8F9061BD097F100E9BD97 /* Debug */, 504 | 70C8F9071BD097F100E9BD97 /* Release */, 505 | ); 506 | defaultConfigurationIsVisible = 0; 507 | defaultConfigurationName = Release; 508 | }; 509 | /* End XCConfigurationList section */ 510 | }; 511 | rootObject = 70C8F8D71BD097F000E9BD97 /* Project object */; 512 | } 513 | --------------------------------------------------------------------------------