├── .gitignore ├── .travis.yml ├── Example ├── JVTransitionAnimator.xcodeproj │ ├── project.pbxproj │ ├── project.xcworkspace │ │ └── contents.xcworkspacedata │ └── xcshareddata │ │ └── xcschemes │ │ └── JVTransitionAnimtor-Example.xcscheme ├── JVTransitionAnimator.xcworkspace │ ├── contents.xcworkspacedata │ └── xcshareddata │ │ └── IDEWorkspaceChecks.plist ├── JVTransitionAnimator │ ├── Base.lproj │ │ ├── InfoPlist.strings │ │ ├── Main_iPad.storyboard │ │ └── Main_iPhone.storyboard │ ├── Images.xcassets │ │ ├── AppIcon.appiconset │ │ │ └── Contents.json │ │ ├── JVTouchImage.imageset │ │ │ ├── Contents.json │ │ │ ├── JVTouchImage.png │ │ │ └── JVTouchImage@2x.png │ │ ├── LaunchImage.launchimage │ │ │ └── Contents.json │ │ ├── collapse-black.imageset │ │ │ ├── Contents.json │ │ │ └── collapse-black.png │ │ ├── collapse.imageset │ │ │ ├── Contents.json │ │ │ └── collapse_filled-50.png │ │ ├── expand-black.imageset │ │ │ ├── Contents.json │ │ │ └── expand-black.png │ │ ├── expand.imageset │ │ │ ├── Contents.json │ │ │ └── expand_filled-50.png │ │ ├── export-black.imageset │ │ │ ├── Contents.json │ │ │ └── export-black.png │ │ ├── export.imageset │ │ │ ├── Contents.json │ │ │ └── export-50.png │ │ ├── import-black.imageset │ │ │ ├── Contents.json │ │ │ └── import-black.png │ │ ├── import.imageset │ │ │ ├── Contents.json │ │ │ └── import-50.png │ │ ├── next-black.imageset │ │ │ ├── Contents.json │ │ │ └── next-black.png │ │ ├── next.imageset │ │ │ ├── Contents.json │ │ │ └── next-32.png │ │ ├── updown-black.imageset │ │ │ ├── Contents.json │ │ │ └── updown-black.png │ │ └── updown.imageset │ │ │ ├── Contents.json │ │ │ └── updown.png │ ├── Images │ │ ├── collapse-black.png │ │ ├── collapse.png │ │ ├── expand-black.png │ │ ├── expand.png │ │ ├── export-black.png │ │ ├── export.png │ │ ├── import-black.png │ │ ├── import.png │ │ ├── next-black.png │ │ ├── next.png │ │ ├── updown-black.png │ │ └── updown.png │ ├── JVAppDelegate.h │ ├── JVAppDelegate.m │ ├── JVAppHelper.h │ ├── JVAppHelper.m │ ├── JVSecondViewController.h │ ├── JVSecondViewController.m │ ├── JVTouchEventsWindow.h │ ├── JVTouchEventsWindow.m │ ├── JVTouchHelper.h │ ├── JVTouchHelper.m │ ├── JVTouchImage.png │ ├── JVTouchImage@2x.png │ ├── JVTouchImageViewQueue.h │ ├── JVTouchImageViewQueue.m │ ├── JVTransitionAnimator-Info.plist │ ├── JVTransitionAnimator-Prefix.pch │ ├── JVViewController.h │ ├── JVViewController.m │ ├── en.lproj │ │ └── InfoPlist.strings │ └── main.m ├── Podfile ├── Podfile.lock ├── Pods │ ├── Headers │ │ ├── Private │ │ │ └── JVTransitionAnimator │ │ │ │ └── JVTransitionAnimator.h │ │ └── Public │ │ │ └── JVTransitionAnimator │ │ │ └── JVTransitionAnimator.h │ ├── Local Podspecs │ │ └── JVTransitionAnimator.podspec.json │ ├── Manifest.lock │ ├── Pods.xcodeproj │ │ └── project.pbxproj │ └── Target Support Files │ │ ├── JVTransitionAnimator │ │ ├── JVTransitionAnimator-dummy.m │ │ ├── JVTransitionAnimator-prefix.pch │ │ ├── JVTransitionAnimator.xcconfig │ │ └── ResourceBundle-JVTransitionAnimator-JVTransitionAnimator-Info.plist │ │ ├── Pods-JVTransitionAnimator │ │ ├── Pods-JVTransitionAnimator-acknowledgements.markdown │ │ ├── Pods-JVTransitionAnimator-acknowledgements.plist │ │ ├── Pods-JVTransitionAnimator-dummy.m │ │ ├── Pods-JVTransitionAnimator-resources.sh │ │ ├── Pods-JVTransitionAnimator.debug.xcconfig │ │ └── Pods-JVTransitionAnimator.release.xcconfig │ │ └── Pods-Tests │ │ ├── Pods-Tests-acknowledgements.markdown │ │ ├── Pods-Tests-acknowledgements.plist │ │ ├── Pods-Tests-dummy.m │ │ ├── Pods-Tests-resources.sh │ │ ├── Pods-Tests.debug.xcconfig │ │ └── Pods-Tests.release.xcconfig └── Tests │ ├── Tests-Info.plist │ ├── Tests-Prefix.pch │ ├── Tests.m │ └── en.lproj │ └── InfoPlist.strings ├── JVTransitionAnimator.podspec ├── LICENSE ├── Pod ├── Assets │ └── .gitkeep └── Classes │ ├── .gitkeep │ ├── JVTransitionAnimator.h │ └── JVTransitionAnimator.m ├── Previews ├── jvtransition.preview1.gif ├── jvtransition.preview2.gif └── jvtransition.preview3.gif └── README.md /.gitignore: -------------------------------------------------------------------------------- 1 | # OS X 2 | .DS_Store 3 | 4 | # Xcode 5 | build/ 6 | *.pbxuser 7 | !default.pbxuser 8 | *.mode1v3 9 | !default.mode1v3 10 | *.mode2v3 11 | !default.mode2v3 12 | *.perspectivev3 13 | !default.perspectivev3 14 | xcuserdata 15 | *.xccheckout 16 | profile 17 | *.moved-aside 18 | DerivedData 19 | *.hmap 20 | *.ipa 21 | 22 | # Bundler 23 | .bundle 24 | 25 | # We recommend against adding the Pods directory to your .gitignore. However 26 | # you should judge for yourself, the pros and cons are mentioned at: 27 | # http://guides.cocoapods.org/using/using-cocoapods.html#should-i-ignore-the-pods-directory-in-source-control 28 | # 29 | # Note: if you ignore the Pods directory, make sure to uncomment 30 | # `pod install` in .travis.yml 31 | # 32 | # Pods/ 33 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- 1 | # references: 2 | # * http://www.objc.io/issue-6/travis-ci.html 3 | # * https://github.com/supermarin/xcpretty#usage 4 | 5 | language: objective-c 6 | # cache: cocoapods 7 | # podfile: Example/Podfile 8 | # before_install: 9 | # - gem install cocoapods # Since Travis is not always on latest version 10 | # - pod install --project-directory=Example 11 | install: 12 | - gem install xcpretty --no-rdoc --no-ri --no-document --quiet 13 | script: 14 | - set -o pipefail && xcodebuild test -workspace Example/JVTransitionAnimtor.xcworkspace -scheme JVTransitionAnimtor-Example -sdk iphonesimulator ONLY_ACTIVE_ARCH=NO | xcpretty -c 15 | - pod lib lint --quick 16 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator.xcodeproj/project.pbxproj: -------------------------------------------------------------------------------- 1 | // !$*UTF8*$! 2 | { 3 | archiveVersion = 1; 4 | classes = { 5 | }; 6 | objectVersion = 46; 7 | objects = { 8 | 9 | /* Begin PBXBuildFile section */ 10 | 3C128BAD1AE6019A001B0B0F /* JVSecondViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C128BAC1AE6019A001B0B0F /* JVSecondViewController.m */; }; 11 | 3C128BB01AE601C4001B0B0F /* JVAppHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C128BAF1AE601C4001B0B0F /* JVAppHelper.m */; }; 12 | 3CC6A6DC1AE8A2900011CDD2 /* JVTouchEventsWindow.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CC6A6D71AE8A2900011CDD2 /* JVTouchEventsWindow.m */; }; 13 | 3CC6A6DD1AE8A2900011CDD2 /* JVTouchHelper.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CC6A6D91AE8A2900011CDD2 /* JVTouchHelper.m */; }; 14 | 3CC6A6DE1AE8A2900011CDD2 /* JVTouchImageViewQueue.m in Sources */ = {isa = PBXBuildFile; fileRef = 3CC6A6DB1AE8A2900011CDD2 /* JVTouchImageViewQueue.m */; }; 15 | 3CC6A6E11AE8A2C50011CDD2 /* JVTouchImage.png in Resources */ = {isa = PBXBuildFile; fileRef = 3CC6A6DF1AE8A2C50011CDD2 /* JVTouchImage.png */; }; 16 | 3CC6A6E21AE8A2C50011CDD2 /* JVTouchImage@2x.png in Resources */ = {isa = PBXBuildFile; fileRef = 3CC6A6E01AE8A2C50011CDD2 /* JVTouchImage@2x.png */; }; 17 | 3CED99E91AE7E7C300EFD8F5 /* Images in Resources */ = {isa = PBXBuildFile; fileRef = 3CED99E81AE7E7C300EFD8F5 /* Images */; }; 18 | 499DC25049421416DC7BBEB7 /* libPods-Tests.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1FBB1248544F30DD157E025F /* libPods-Tests.a */; }; 19 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 20 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58F195388D20070C39A /* CoreGraphics.framework */; }; 21 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 22 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F596195388D20070C39A /* InfoPlist.strings */; }; 23 | 6003F59A195388D20070C39A /* main.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F599195388D20070C39A /* main.m */; }; 24 | 6003F59E195388D20070C39A /* JVAppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F59D195388D20070C39A /* JVAppDelegate.m */; }; 25 | 6003F5A1195388D20070C39A /* Main_iPhone.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6003F59F195388D20070C39A /* Main_iPhone.storyboard */; }; 26 | 6003F5A4195388D20070C39A /* Main_iPad.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A2195388D20070C39A /* Main_iPad.storyboard */; }; 27 | 6003F5A7195388D20070C39A /* JVViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5A6195388D20070C39A /* JVViewController.m */; }; 28 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5A8195388D20070C39A /* Images.xcassets */; }; 29 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F5AF195388D20070C39A /* XCTest.framework */; }; 30 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F58D195388D20070C39A /* Foundation.framework */; }; 31 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6003F591195388D20070C39A /* UIKit.framework */; }; 32 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */ = {isa = PBXBuildFile; fileRef = 6003F5B8195388D20070C39A /* InfoPlist.strings */; }; 33 | 6003F5BC195388D20070C39A /* Tests.m in Sources */ = {isa = PBXBuildFile; fileRef = 6003F5BB195388D20070C39A /* Tests.m */; }; 34 | A2AEB30BB00D88A9B156A780 /* libPods-JVTransitionAnimator.a in Frameworks */ = {isa = PBXBuildFile; fileRef = 1E2CD19968F3F0D3497F143E /* libPods-JVTransitionAnimator.a */; }; 35 | F46A4FBF2313740A00C527E6 /* JVTransitionAnimator.podspec in Resources */ = {isa = PBXBuildFile; fileRef = F46A4FBE2313740A00C527E6 /* JVTransitionAnimator.podspec */; }; 36 | /* End PBXBuildFile section */ 37 | 38 | /* Begin PBXContainerItemProxy section */ 39 | 6003F5B3195388D20070C39A /* PBXContainerItemProxy */ = { 40 | isa = PBXContainerItemProxy; 41 | containerPortal = 6003F582195388D10070C39A /* Project object */; 42 | proxyType = 1; 43 | remoteGlobalIDString = 6003F589195388D20070C39A; 44 | remoteInfo = JVTransitionAnimtor; 45 | }; 46 | /* End PBXContainerItemProxy section */ 47 | 48 | /* Begin PBXFileReference section */ 49 | 07EFAE42D4499A8DEA0D03F4 /* Pods-JVTransitionAnimator.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-JVTransitionAnimator.debug.xcconfig"; path = "Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator.debug.xcconfig"; sourceTree = ""; }; 50 | 1E2CD19968F3F0D3497F143E /* libPods-JVTransitionAnimator.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-JVTransitionAnimator.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 51 | 1FBB1248544F30DD157E025F /* libPods-Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 52 | 3C128BAB1AE6019A001B0B0F /* JVSecondViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JVSecondViewController.h; sourceTree = ""; }; 53 | 3C128BAC1AE6019A001B0B0F /* JVSecondViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JVSecondViewController.m; sourceTree = ""; }; 54 | 3C128BAE1AE601C4001B0B0F /* JVAppHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JVAppHelper.h; sourceTree = ""; }; 55 | 3C128BAF1AE601C4001B0B0F /* JVAppHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JVAppHelper.m; sourceTree = ""; }; 56 | 3C988A311AE97FB400AD1A25 /* Base */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = Base; path = Base.lproj/InfoPlist.strings; sourceTree = ""; }; 57 | 3C988A351AE98A7600AD1A25 /* libPods-JVTransitionAnimator-JVTransitionAnimator.a */ = {isa = PBXFileReference; lastKnownFileType = archive.ar; name = "libPods-JVTransitionAnimator-JVTransitionAnimator.a"; path = "Pods/../build/Debug-iphoneos/libPods-JVTransitionAnimator-JVTransitionAnimator.a"; sourceTree = ""; }; 58 | 3C988A371AE98BE400AD1A25 /* Pod */ = {isa = PBXFileReference; lastKnownFileType = folder; name = Pod; path = ../Pod; sourceTree = ""; }; 59 | 3CC6A6D61AE8A2900011CDD2 /* JVTouchEventsWindow.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JVTouchEventsWindow.h; sourceTree = ""; }; 60 | 3CC6A6D71AE8A2900011CDD2 /* JVTouchEventsWindow.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JVTouchEventsWindow.m; sourceTree = ""; }; 61 | 3CC6A6D81AE8A2900011CDD2 /* JVTouchHelper.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JVTouchHelper.h; sourceTree = ""; }; 62 | 3CC6A6D91AE8A2900011CDD2 /* JVTouchHelper.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JVTouchHelper.m; sourceTree = ""; }; 63 | 3CC6A6DA1AE8A2900011CDD2 /* JVTouchImageViewQueue.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JVTouchImageViewQueue.h; sourceTree = ""; }; 64 | 3CC6A6DB1AE8A2900011CDD2 /* JVTouchImageViewQueue.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JVTouchImageViewQueue.m; sourceTree = ""; }; 65 | 3CC6A6DF1AE8A2C50011CDD2 /* JVTouchImage.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = JVTouchImage.png; sourceTree = ""; }; 66 | 3CC6A6E01AE8A2C50011CDD2 /* JVTouchImage@2x.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = "JVTouchImage@2x.png"; sourceTree = ""; }; 67 | 3CED99E81AE7E7C300EFD8F5 /* Images */ = {isa = PBXFileReference; lastKnownFileType = folder; path = Images; sourceTree = ""; }; 68 | 4358D2970301942050E704F2 /* Pods-JVTransitionAnimator.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-JVTransitionAnimator.release.xcconfig"; path = "Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator.release.xcconfig"; sourceTree = ""; }; 69 | 5E6AD8F309A117E84A027E58 /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; name = README.md; path = ../README.md; sourceTree = ""; }; 70 | 6003F58A195388D20070C39A /* JVTransitionAnimator.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = JVTransitionAnimator.app; sourceTree = BUILT_PRODUCTS_DIR; }; 71 | 6003F58D195388D20070C39A /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = System/Library/Frameworks/Foundation.framework; sourceTree = SDKROOT; }; 72 | 6003F58F195388D20070C39A /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = System/Library/Frameworks/CoreGraphics.framework; sourceTree = SDKROOT; }; 73 | 6003F591195388D20070C39A /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = System/Library/Frameworks/UIKit.framework; sourceTree = SDKROOT; }; 74 | 6003F595195388D20070C39A /* JVTransitionAnimator-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "JVTransitionAnimator-Info.plist"; sourceTree = ""; }; 75 | 6003F597195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 76 | 6003F599195388D20070C39A /* main.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = main.m; sourceTree = ""; }; 77 | 6003F59B195388D20070C39A /* JVTransitionAnimator-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "JVTransitionAnimator-Prefix.pch"; sourceTree = ""; }; 78 | 6003F59C195388D20070C39A /* JVAppDelegate.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JVAppDelegate.h; sourceTree = ""; }; 79 | 6003F59D195388D20070C39A /* JVAppDelegate.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JVAppDelegate.m; sourceTree = ""; }; 80 | 6003F5A0195388D20070C39A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPhone.storyboard; sourceTree = ""; }; 81 | 6003F5A3195388D20070C39A /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main_iPad.storyboard; sourceTree = ""; }; 82 | 6003F5A5195388D20070C39A /* JVViewController.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = JVViewController.h; sourceTree = ""; }; 83 | 6003F5A6195388D20070C39A /* JVViewController.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = JVViewController.m; sourceTree = ""; }; 84 | 6003F5A8195388D20070C39A /* Images.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Images.xcassets; sourceTree = ""; }; 85 | 6003F5AE195388D20070C39A /* Tests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = Tests.xctest; sourceTree = BUILT_PRODUCTS_DIR; }; 86 | 6003F5AF195388D20070C39A /* XCTest.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = XCTest.framework; path = Library/Frameworks/XCTest.framework; sourceTree = DEVELOPER_DIR; }; 87 | 6003F5B7195388D20070C39A /* Tests-Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = "Tests-Info.plist"; sourceTree = ""; }; 88 | 6003F5B9195388D20070C39A /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/InfoPlist.strings; sourceTree = ""; }; 89 | 6003F5BB195388D20070C39A /* Tests.m */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.objc; path = Tests.m; sourceTree = ""; }; 90 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "Tests-Prefix.pch"; sourceTree = ""; }; 91 | 669548D2B713B8467B6B4149 /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.debug.xcconfig"; path = "Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 92 | 8CE67E09D9219B77E4374E0C /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; name = LICENSE; path = ../LICENSE; sourceTree = ""; }; 93 | CBBC12B2DA326450760B0AA6 /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-Tests.release.xcconfig"; path = "Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig"; sourceTree = ""; }; 94 | F46A4FBE2313740A00C527E6 /* JVTransitionAnimator.podspec */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = text; name = JVTransitionAnimator.podspec; path = ../JVTransitionAnimator.podspec; sourceTree = ""; }; 95 | /* End PBXFileReference section */ 96 | 97 | /* Begin PBXFrameworksBuildPhase section */ 98 | 6003F587195388D20070C39A /* Frameworks */ = { 99 | isa = PBXFrameworksBuildPhase; 100 | buildActionMask = 2147483647; 101 | files = ( 102 | 6003F590195388D20070C39A /* CoreGraphics.framework in Frameworks */, 103 | 6003F592195388D20070C39A /* UIKit.framework in Frameworks */, 104 | 6003F58E195388D20070C39A /* Foundation.framework in Frameworks */, 105 | A2AEB30BB00D88A9B156A780 /* libPods-JVTransitionAnimator.a in Frameworks */, 106 | ); 107 | runOnlyForDeploymentPostprocessing = 0; 108 | }; 109 | 6003F5AB195388D20070C39A /* Frameworks */ = { 110 | isa = PBXFrameworksBuildPhase; 111 | buildActionMask = 2147483647; 112 | files = ( 113 | 6003F5B0195388D20070C39A /* XCTest.framework in Frameworks */, 114 | 6003F5B2195388D20070C39A /* UIKit.framework in Frameworks */, 115 | 6003F5B1195388D20070C39A /* Foundation.framework in Frameworks */, 116 | 499DC25049421416DC7BBEB7 /* libPods-Tests.a in Frameworks */, 117 | ); 118 | runOnlyForDeploymentPostprocessing = 0; 119 | }; 120 | /* End PBXFrameworksBuildPhase section */ 121 | 122 | /* Begin PBXGroup section */ 123 | 3CC6A6D51AE8A25F0011CDD2 /* JVTouchEventsWindow */ = { 124 | isa = PBXGroup; 125 | children = ( 126 | 3CC6A6DF1AE8A2C50011CDD2 /* JVTouchImage.png */, 127 | 3CC6A6E01AE8A2C50011CDD2 /* JVTouchImage@2x.png */, 128 | 3CC6A6D61AE8A2900011CDD2 /* JVTouchEventsWindow.h */, 129 | 3CC6A6D71AE8A2900011CDD2 /* JVTouchEventsWindow.m */, 130 | 3CC6A6D81AE8A2900011CDD2 /* JVTouchHelper.h */, 131 | 3CC6A6D91AE8A2900011CDD2 /* JVTouchHelper.m */, 132 | 3CC6A6DA1AE8A2900011CDD2 /* JVTouchImageViewQueue.h */, 133 | 3CC6A6DB1AE8A2900011CDD2 /* JVTouchImageViewQueue.m */, 134 | ); 135 | name = JVTouchEventsWindow; 136 | sourceTree = ""; 137 | }; 138 | 3CFB23BB1B05940B00B5533C /* ViewControllers */ = { 139 | isa = PBXGroup; 140 | children = ( 141 | 6003F5A5195388D20070C39A /* JVViewController.h */, 142 | 6003F5A6195388D20070C39A /* JVViewController.m */, 143 | 3C128BAB1AE6019A001B0B0F /* JVSecondViewController.h */, 144 | 3C128BAC1AE6019A001B0B0F /* JVSecondViewController.m */, 145 | ); 146 | name = ViewControllers; 147 | sourceTree = ""; 148 | }; 149 | 3CFB23BC1B05943100B5533C /* Helper */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 3C128BAE1AE601C4001B0B0F /* JVAppHelper.h */, 153 | 3C128BAF1AE601C4001B0B0F /* JVAppHelper.m */, 154 | ); 155 | name = Helper; 156 | sourceTree = ""; 157 | }; 158 | 6003F581195388D10070C39A = { 159 | isa = PBXGroup; 160 | children = ( 161 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */, 162 | 6003F593195388D20070C39A /* JVTransitionAnimator */, 163 | 6003F5B5195388D20070C39A /* Tests */, 164 | 6003F58C195388D20070C39A /* Frameworks */, 165 | 6003F58B195388D20070C39A /* Products */, 166 | A3C554F87E572E381F205DD5 /* Pods */, 167 | ); 168 | sourceTree = ""; 169 | }; 170 | 6003F58B195388D20070C39A /* Products */ = { 171 | isa = PBXGroup; 172 | children = ( 173 | 6003F58A195388D20070C39A /* JVTransitionAnimator.app */, 174 | 6003F5AE195388D20070C39A /* Tests.xctest */, 175 | ); 176 | name = Products; 177 | sourceTree = ""; 178 | }; 179 | 6003F58C195388D20070C39A /* Frameworks */ = { 180 | isa = PBXGroup; 181 | children = ( 182 | 3C988A371AE98BE400AD1A25 /* Pod */, 183 | 3C988A351AE98A7600AD1A25 /* libPods-JVTransitionAnimator-JVTransitionAnimator.a */, 184 | 6003F58D195388D20070C39A /* Foundation.framework */, 185 | 6003F58F195388D20070C39A /* CoreGraphics.framework */, 186 | 6003F591195388D20070C39A /* UIKit.framework */, 187 | 6003F5AF195388D20070C39A /* XCTest.framework */, 188 | 1E2CD19968F3F0D3497F143E /* libPods-JVTransitionAnimator.a */, 189 | 1FBB1248544F30DD157E025F /* libPods-Tests.a */, 190 | ); 191 | name = Frameworks; 192 | sourceTree = ""; 193 | }; 194 | 6003F593195388D20070C39A /* JVTransitionAnimator */ = { 195 | isa = PBXGroup; 196 | children = ( 197 | 3CC6A6D51AE8A25F0011CDD2 /* JVTouchEventsWindow */, 198 | 6003F59C195388D20070C39A /* JVAppDelegate.h */, 199 | 6003F59D195388D20070C39A /* JVAppDelegate.m */, 200 | 3CFB23BB1B05940B00B5533C /* ViewControllers */, 201 | 3CFB23BC1B05943100B5533C /* Helper */, 202 | 6003F59F195388D20070C39A /* Main_iPhone.storyboard */, 203 | 6003F5A2195388D20070C39A /* Main_iPad.storyboard */, 204 | 6003F5A8195388D20070C39A /* Images.xcassets */, 205 | 3CED99E81AE7E7C300EFD8F5 /* Images */, 206 | 6003F594195388D20070C39A /* Supporting Files */, 207 | ); 208 | path = JVTransitionAnimator; 209 | sourceTree = SOURCE_ROOT; 210 | }; 211 | 6003F594195388D20070C39A /* Supporting Files */ = { 212 | isa = PBXGroup; 213 | children = ( 214 | 6003F595195388D20070C39A /* JVTransitionAnimator-Info.plist */, 215 | 6003F596195388D20070C39A /* InfoPlist.strings */, 216 | 6003F599195388D20070C39A /* main.m */, 217 | 6003F59B195388D20070C39A /* JVTransitionAnimator-Prefix.pch */, 218 | ); 219 | name = "Supporting Files"; 220 | sourceTree = ""; 221 | }; 222 | 6003F5B5195388D20070C39A /* Tests */ = { 223 | isa = PBXGroup; 224 | children = ( 225 | 6003F5BB195388D20070C39A /* Tests.m */, 226 | 6003F5B6195388D20070C39A /* Supporting Files */, 227 | ); 228 | path = Tests; 229 | sourceTree = ""; 230 | }; 231 | 6003F5B6195388D20070C39A /* Supporting Files */ = { 232 | isa = PBXGroup; 233 | children = ( 234 | 6003F5B7195388D20070C39A /* Tests-Info.plist */, 235 | 6003F5B8195388D20070C39A /* InfoPlist.strings */, 236 | 606FC2411953D9B200FFA9A0 /* Tests-Prefix.pch */, 237 | ); 238 | name = "Supporting Files"; 239 | sourceTree = ""; 240 | }; 241 | 60FF7A9C1954A5C5007DD14C /* Podspec Metadata */ = { 242 | isa = PBXGroup; 243 | children = ( 244 | F46A4FBE2313740A00C527E6 /* JVTransitionAnimator.podspec */, 245 | 5E6AD8F309A117E84A027E58 /* README.md */, 246 | 8CE67E09D9219B77E4374E0C /* LICENSE */, 247 | ); 248 | name = "Podspec Metadata"; 249 | sourceTree = ""; 250 | }; 251 | A3C554F87E572E381F205DD5 /* Pods */ = { 252 | isa = PBXGroup; 253 | children = ( 254 | 07EFAE42D4499A8DEA0D03F4 /* Pods-JVTransitionAnimator.debug.xcconfig */, 255 | 4358D2970301942050E704F2 /* Pods-JVTransitionAnimator.release.xcconfig */, 256 | 669548D2B713B8467B6B4149 /* Pods-Tests.debug.xcconfig */, 257 | CBBC12B2DA326450760B0AA6 /* Pods-Tests.release.xcconfig */, 258 | ); 259 | path = Pods; 260 | sourceTree = ""; 261 | }; 262 | /* End PBXGroup section */ 263 | 264 | /* Begin PBXNativeTarget section */ 265 | 6003F589195388D20070C39A /* JVTransitionAnimator */ = { 266 | isa = PBXNativeTarget; 267 | buildConfigurationList = 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "JVTransitionAnimator" */; 268 | buildPhases = ( 269 | 5415C15AF53D82D461A611E2 /* [CP] Check Pods Manifest.lock */, 270 | 6003F586195388D20070C39A /* Sources */, 271 | 6003F587195388D20070C39A /* Frameworks */, 272 | 6003F588195388D20070C39A /* Resources */, 273 | 208DDAED0B35C936F584DA46 /* [CP] Copy Pods Resources */, 274 | ); 275 | buildRules = ( 276 | ); 277 | dependencies = ( 278 | ); 279 | name = JVTransitionAnimator; 280 | productName = JVTransitionAnimtor; 281 | productReference = 6003F58A195388D20070C39A /* JVTransitionAnimator.app */; 282 | productType = "com.apple.product-type.application"; 283 | }; 284 | 6003F5AD195388D20070C39A /* Tests */ = { 285 | isa = PBXNativeTarget; 286 | buildConfigurationList = 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */; 287 | buildPhases = ( 288 | 213C88C187A3FC5F9AD7000A /* [CP] Check Pods Manifest.lock */, 289 | 6003F5AA195388D20070C39A /* Sources */, 290 | 6003F5AB195388D20070C39A /* Frameworks */, 291 | 6003F5AC195388D20070C39A /* Resources */, 292 | 5DB84B0BA3229699AF61D147 /* [CP] Copy Pods Resources */, 293 | ); 294 | buildRules = ( 295 | ); 296 | dependencies = ( 297 | 6003F5B4195388D20070C39A /* PBXTargetDependency */, 298 | ); 299 | name = Tests; 300 | productName = JVTransitionAnimtorTests; 301 | productReference = 6003F5AE195388D20070C39A /* Tests.xctest */; 302 | productType = "com.apple.product-type.bundle.unit-test"; 303 | }; 304 | /* End PBXNativeTarget section */ 305 | 306 | /* Begin PBXProject section */ 307 | 6003F582195388D10070C39A /* Project object */ = { 308 | isa = PBXProject; 309 | attributes = { 310 | CLASSPREFIX = JV; 311 | LastUpgradeCheck = 1030; 312 | ORGANIZATIONNAME = "Jorge Valbuena"; 313 | TargetAttributes = { 314 | 6003F589195388D20070C39A = { 315 | DevelopmentTeam = XD9P2BC444; 316 | }; 317 | 6003F5AD195388D20070C39A = { 318 | TestTargetID = 6003F589195388D20070C39A; 319 | }; 320 | }; 321 | }; 322 | buildConfigurationList = 6003F585195388D10070C39A /* Build configuration list for PBXProject "JVTransitionAnimator" */; 323 | compatibilityVersion = "Xcode 3.2"; 324 | developmentRegion = English; 325 | hasScannedForEncodings = 0; 326 | knownRegions = ( 327 | English, 328 | en, 329 | Base, 330 | ); 331 | mainGroup = 6003F581195388D10070C39A; 332 | productRefGroup = 6003F58B195388D20070C39A /* Products */; 333 | projectDirPath = ""; 334 | projectRoot = ""; 335 | targets = ( 336 | 6003F589195388D20070C39A /* JVTransitionAnimator */, 337 | 6003F5AD195388D20070C39A /* Tests */, 338 | ); 339 | }; 340 | /* End PBXProject section */ 341 | 342 | /* Begin PBXResourcesBuildPhase section */ 343 | 6003F588195388D20070C39A /* Resources */ = { 344 | isa = PBXResourcesBuildPhase; 345 | buildActionMask = 2147483647; 346 | files = ( 347 | 3CED99E91AE7E7C300EFD8F5 /* Images in Resources */, 348 | 6003F5A4195388D20070C39A /* Main_iPad.storyboard in Resources */, 349 | 3CC6A6E21AE8A2C50011CDD2 /* JVTouchImage@2x.png in Resources */, 350 | 6003F5A9195388D20070C39A /* Images.xcassets in Resources */, 351 | 3CC6A6E11AE8A2C50011CDD2 /* JVTouchImage.png in Resources */, 352 | 6003F5A1195388D20070C39A /* Main_iPhone.storyboard in Resources */, 353 | F46A4FBF2313740A00C527E6 /* JVTransitionAnimator.podspec in Resources */, 354 | 6003F598195388D20070C39A /* InfoPlist.strings in Resources */, 355 | ); 356 | runOnlyForDeploymentPostprocessing = 0; 357 | }; 358 | 6003F5AC195388D20070C39A /* Resources */ = { 359 | isa = PBXResourcesBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | 6003F5BA195388D20070C39A /* InfoPlist.strings in Resources */, 363 | ); 364 | runOnlyForDeploymentPostprocessing = 0; 365 | }; 366 | /* End PBXResourcesBuildPhase section */ 367 | 368 | /* Begin PBXShellScriptBuildPhase section */ 369 | 208DDAED0B35C936F584DA46 /* [CP] Copy Pods Resources */ = { 370 | isa = PBXShellScriptBuildPhase; 371 | buildActionMask = 2147483647; 372 | files = ( 373 | ); 374 | inputPaths = ( 375 | "${PODS_ROOT}/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator-resources.sh", 376 | "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator/JVTransitionAnimator.bundle", 377 | ); 378 | name = "[CP] Copy Pods Resources"; 379 | outputPaths = ( 380 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/JVTransitionAnimator.bundle", 381 | ); 382 | runOnlyForDeploymentPostprocessing = 0; 383 | shellPath = /bin/sh; 384 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator-resources.sh\"\n"; 385 | showEnvVarsInLog = 0; 386 | }; 387 | 213C88C187A3FC5F9AD7000A /* [CP] Check Pods Manifest.lock */ = { 388 | isa = PBXShellScriptBuildPhase; 389 | buildActionMask = 2147483647; 390 | files = ( 391 | ); 392 | inputFileListPaths = ( 393 | ); 394 | inputPaths = ( 395 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 396 | "${PODS_ROOT}/Manifest.lock", 397 | ); 398 | name = "[CP] Check Pods Manifest.lock"; 399 | outputFileListPaths = ( 400 | ); 401 | outputPaths = ( 402 | "$(DERIVED_FILE_DIR)/Pods-Tests-checkManifestLockResult.txt", 403 | ); 404 | runOnlyForDeploymentPostprocessing = 0; 405 | shellPath = /bin/sh; 406 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 407 | showEnvVarsInLog = 0; 408 | }; 409 | 5415C15AF53D82D461A611E2 /* [CP] Check Pods Manifest.lock */ = { 410 | isa = PBXShellScriptBuildPhase; 411 | buildActionMask = 2147483647; 412 | files = ( 413 | ); 414 | inputFileListPaths = ( 415 | ); 416 | inputPaths = ( 417 | "${PODS_PODFILE_DIR_PATH}/Podfile.lock", 418 | "${PODS_ROOT}/Manifest.lock", 419 | ); 420 | name = "[CP] Check Pods Manifest.lock"; 421 | outputFileListPaths = ( 422 | ); 423 | outputPaths = ( 424 | "$(DERIVED_FILE_DIR)/Pods-JVTransitionAnimator-checkManifestLockResult.txt", 425 | ); 426 | runOnlyForDeploymentPostprocessing = 0; 427 | shellPath = /bin/sh; 428 | shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n # print error to STDERR\n echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n"; 429 | showEnvVarsInLog = 0; 430 | }; 431 | 5DB84B0BA3229699AF61D147 /* [CP] Copy Pods Resources */ = { 432 | isa = PBXShellScriptBuildPhase; 433 | buildActionMask = 2147483647; 434 | files = ( 435 | ); 436 | inputPaths = ( 437 | "${PODS_ROOT}/Target Support Files/Pods-Tests/Pods-Tests-resources.sh", 438 | "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator/JVTransitionAnimator.bundle", 439 | ); 440 | name = "[CP] Copy Pods Resources"; 441 | outputPaths = ( 442 | "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/JVTransitionAnimator.bundle", 443 | ); 444 | runOnlyForDeploymentPostprocessing = 0; 445 | shellPath = /bin/sh; 446 | shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-Tests/Pods-Tests-resources.sh\"\n"; 447 | showEnvVarsInLog = 0; 448 | }; 449 | /* End PBXShellScriptBuildPhase section */ 450 | 451 | /* Begin PBXSourcesBuildPhase section */ 452 | 6003F586195388D20070C39A /* Sources */ = { 453 | isa = PBXSourcesBuildPhase; 454 | buildActionMask = 2147483647; 455 | files = ( 456 | 3CC6A6DE1AE8A2900011CDD2 /* JVTouchImageViewQueue.m in Sources */, 457 | 3CC6A6DD1AE8A2900011CDD2 /* JVTouchHelper.m in Sources */, 458 | 3C128BB01AE601C4001B0B0F /* JVAppHelper.m in Sources */, 459 | 6003F59E195388D20070C39A /* JVAppDelegate.m in Sources */, 460 | 6003F5A7195388D20070C39A /* JVViewController.m in Sources */, 461 | 3C128BAD1AE6019A001B0B0F /* JVSecondViewController.m in Sources */, 462 | 3CC6A6DC1AE8A2900011CDD2 /* JVTouchEventsWindow.m in Sources */, 463 | 6003F59A195388D20070C39A /* main.m in Sources */, 464 | ); 465 | runOnlyForDeploymentPostprocessing = 0; 466 | }; 467 | 6003F5AA195388D20070C39A /* Sources */ = { 468 | isa = PBXSourcesBuildPhase; 469 | buildActionMask = 2147483647; 470 | files = ( 471 | 6003F5BC195388D20070C39A /* Tests.m in Sources */, 472 | ); 473 | runOnlyForDeploymentPostprocessing = 0; 474 | }; 475 | /* End PBXSourcesBuildPhase section */ 476 | 477 | /* Begin PBXTargetDependency section */ 478 | 6003F5B4195388D20070C39A /* PBXTargetDependency */ = { 479 | isa = PBXTargetDependency; 480 | target = 6003F589195388D20070C39A /* JVTransitionAnimator */; 481 | targetProxy = 6003F5B3195388D20070C39A /* PBXContainerItemProxy */; 482 | }; 483 | /* End PBXTargetDependency section */ 484 | 485 | /* Begin PBXVariantGroup section */ 486 | 6003F596195388D20070C39A /* InfoPlist.strings */ = { 487 | isa = PBXVariantGroup; 488 | children = ( 489 | 6003F597195388D20070C39A /* en */, 490 | 3C988A311AE97FB400AD1A25 /* Base */, 491 | ); 492 | name = InfoPlist.strings; 493 | sourceTree = ""; 494 | }; 495 | 6003F59F195388D20070C39A /* Main_iPhone.storyboard */ = { 496 | isa = PBXVariantGroup; 497 | children = ( 498 | 6003F5A0195388D20070C39A /* Base */, 499 | ); 500 | name = Main_iPhone.storyboard; 501 | sourceTree = ""; 502 | }; 503 | 6003F5A2195388D20070C39A /* Main_iPad.storyboard */ = { 504 | isa = PBXVariantGroup; 505 | children = ( 506 | 6003F5A3195388D20070C39A /* Base */, 507 | ); 508 | name = Main_iPad.storyboard; 509 | sourceTree = ""; 510 | }; 511 | 6003F5B8195388D20070C39A /* InfoPlist.strings */ = { 512 | isa = PBXVariantGroup; 513 | children = ( 514 | 6003F5B9195388D20070C39A /* en */, 515 | ); 516 | name = InfoPlist.strings; 517 | sourceTree = ""; 518 | }; 519 | /* End PBXVariantGroup section */ 520 | 521 | /* Begin XCBuildConfiguration section */ 522 | 6003F5BD195388D20070C39A /* Debug */ = { 523 | isa = XCBuildConfiguration; 524 | buildSettings = { 525 | ALWAYS_SEARCH_USER_PATHS = NO; 526 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 527 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 528 | CLANG_CXX_LIBRARY = "libc++"; 529 | CLANG_ENABLE_MODULES = YES; 530 | CLANG_ENABLE_OBJC_ARC = YES; 531 | CLANG_STATIC_ANALYZER_MODE = deep; 532 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 533 | CLANG_WARN_BOOL_CONVERSION = YES; 534 | CLANG_WARN_COMMA = YES; 535 | CLANG_WARN_CONSTANT_CONVERSION = YES; 536 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 537 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 538 | CLANG_WARN_EMPTY_BODY = YES; 539 | CLANG_WARN_ENUM_CONVERSION = YES; 540 | CLANG_WARN_INFINITE_RECURSION = YES; 541 | CLANG_WARN_INT_CONVERSION = YES; 542 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 543 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 544 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 545 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 546 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 547 | CLANG_WARN_STRICT_PROTOTYPES = YES; 548 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 549 | CLANG_WARN_UNREACHABLE_CODE = YES; 550 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 551 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 552 | COPY_PHASE_STRIP = NO; 553 | ENABLE_STRICT_OBJC_MSGSEND = YES; 554 | ENABLE_TESTABILITY = YES; 555 | GCC_C_LANGUAGE_STANDARD = gnu99; 556 | GCC_DYNAMIC_NO_PIC = NO; 557 | GCC_NO_COMMON_BLOCKS = YES; 558 | GCC_OPTIMIZATION_LEVEL = 0; 559 | GCC_PREPROCESSOR_DEFINITIONS = ( 560 | "DEBUG=1", 561 | "$(inherited)", 562 | ); 563 | GCC_SYMBOLS_PRIVATE_EXTERN = NO; 564 | GCC_TREAT_WARNINGS_AS_ERRORS = YES; 565 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 566 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 567 | GCC_WARN_INHIBIT_ALL_WARNINGS = YES; 568 | GCC_WARN_PEDANTIC = YES; 569 | GCC_WARN_UNDECLARED_SELECTOR = YES; 570 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 571 | GCC_WARN_UNUSED_FUNCTION = YES; 572 | GCC_WARN_UNUSED_VARIABLE = YES; 573 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 574 | ONLY_ACTIVE_ARCH = YES; 575 | RUN_CLANG_STATIC_ANALYZER = YES; 576 | SDKROOT = iphoneos; 577 | TARGETED_DEVICE_FAMILY = "1,2"; 578 | }; 579 | name = Debug; 580 | }; 581 | 6003F5BE195388D20070C39A /* Release */ = { 582 | isa = XCBuildConfiguration; 583 | buildSettings = { 584 | ALWAYS_SEARCH_USER_PATHS = NO; 585 | CLANG_ANALYZER_LOCALIZABILITY_NONLOCALIZED = YES; 586 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; 587 | CLANG_CXX_LIBRARY = "libc++"; 588 | CLANG_ENABLE_MODULES = YES; 589 | CLANG_ENABLE_OBJC_ARC = YES; 590 | CLANG_STATIC_ANALYZER_MODE = deep; 591 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 592 | CLANG_WARN_BOOL_CONVERSION = YES; 593 | CLANG_WARN_COMMA = YES; 594 | CLANG_WARN_CONSTANT_CONVERSION = YES; 595 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 596 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 597 | CLANG_WARN_EMPTY_BODY = YES; 598 | CLANG_WARN_ENUM_CONVERSION = YES; 599 | CLANG_WARN_INFINITE_RECURSION = YES; 600 | CLANG_WARN_INT_CONVERSION = YES; 601 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 602 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 603 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 604 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 605 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 606 | CLANG_WARN_STRICT_PROTOTYPES = YES; 607 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 608 | CLANG_WARN_UNREACHABLE_CODE = YES; 609 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 610 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 611 | COPY_PHASE_STRIP = YES; 612 | ENABLE_NS_ASSERTIONS = NO; 613 | ENABLE_STRICT_OBJC_MSGSEND = YES; 614 | GCC_C_LANGUAGE_STANDARD = gnu99; 615 | GCC_NO_COMMON_BLOCKS = YES; 616 | GCC_TREAT_WARNINGS_AS_ERRORS = YES; 617 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 618 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 619 | GCC_WARN_INHIBIT_ALL_WARNINGS = YES; 620 | GCC_WARN_PEDANTIC = YES; 621 | GCC_WARN_UNDECLARED_SELECTOR = YES; 622 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 623 | GCC_WARN_UNUSED_FUNCTION = YES; 624 | GCC_WARN_UNUSED_VARIABLE = YES; 625 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 626 | RUN_CLANG_STATIC_ANALYZER = YES; 627 | SDKROOT = iphoneos; 628 | TARGETED_DEVICE_FAMILY = "1,2"; 629 | VALIDATE_PRODUCT = YES; 630 | }; 631 | name = Release; 632 | }; 633 | 6003F5C0195388D20070C39A /* Debug */ = { 634 | isa = XCBuildConfiguration; 635 | baseConfigurationReference = 07EFAE42D4499A8DEA0D03F4 /* Pods-JVTransitionAnimator.debug.xcconfig */; 636 | buildSettings = { 637 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 638 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 639 | CODE_SIGN_IDENTITY = "iPhone Developer"; 640 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 641 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 642 | GCC_PREFIX_HEADER = "JVTransitionAnimator/JVTransitionAnimator-Prefix.pch"; 643 | INFOPLIST_FILE = "$(SRCROOT)/JVTransitionAnimator/JVTransitionAnimator-Info.plist"; 644 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 645 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 646 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 647 | PRODUCT_NAME = JVTransitionAnimator; 648 | PROVISIONING_PROFILE = ""; 649 | WRAPPER_EXTENSION = app; 650 | }; 651 | name = Debug; 652 | }; 653 | 6003F5C1195388D20070C39A /* Release */ = { 654 | isa = XCBuildConfiguration; 655 | baseConfigurationReference = 4358D2970301942050E704F2 /* Pods-JVTransitionAnimator.release.xcconfig */; 656 | buildSettings = { 657 | ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; 658 | ASSETCATALOG_COMPILER_LAUNCHIMAGE_NAME = LaunchImage; 659 | CODE_SIGN_IDENTITY = "iPhone Developer"; 660 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer"; 661 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 662 | GCC_PREFIX_HEADER = "JVTransitionAnimator/JVTransitionAnimator-Prefix.pch"; 663 | INFOPLIST_FILE = "$(SRCROOT)/JVTransitionAnimator/JVTransitionAnimator-Info.plist"; 664 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 665 | LIBRARY_SEARCH_PATHS = "$(inherited)"; 666 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 667 | PRODUCT_NAME = JVTransitionAnimator; 668 | PROVISIONING_PROFILE = ""; 669 | WRAPPER_EXTENSION = app; 670 | }; 671 | name = Release; 672 | }; 673 | 6003F5C3195388D20070C39A /* Debug */ = { 674 | isa = XCBuildConfiguration; 675 | baseConfigurationReference = 669548D2B713B8467B6B4149 /* Pods-Tests.debug.xcconfig */; 676 | buildSettings = { 677 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/JVTransitionAnimator.app/JVTransitionAnimator"; 678 | FRAMEWORK_SEARCH_PATHS = ( 679 | "$(SDKROOT)/Developer/Library/Frameworks", 680 | "$(inherited)", 681 | "$(DEVELOPER_FRAMEWORKS_DIR)", 682 | ); 683 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 684 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 685 | GCC_PREPROCESSOR_DEFINITIONS = ( 686 | "DEBUG=1", 687 | "$(inherited)", 688 | ); 689 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 690 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 691 | PRODUCT_NAME = "$(TARGET_NAME)"; 692 | TEST_HOST = "$(BUNDLE_LOADER)"; 693 | WRAPPER_EXTENSION = xctest; 694 | }; 695 | name = Debug; 696 | }; 697 | 6003F5C4195388D20070C39A /* Release */ = { 698 | isa = XCBuildConfiguration; 699 | baseConfigurationReference = CBBC12B2DA326450760B0AA6 /* Pods-Tests.release.xcconfig */; 700 | buildSettings = { 701 | BUNDLE_LOADER = "$(BUILT_PRODUCTS_DIR)/JVTransitionAnimator.app/JVTransitionAnimator"; 702 | FRAMEWORK_SEARCH_PATHS = ( 703 | "$(SDKROOT)/Developer/Library/Frameworks", 704 | "$(inherited)", 705 | "$(DEVELOPER_FRAMEWORKS_DIR)", 706 | ); 707 | GCC_PRECOMPILE_PREFIX_HEADER = YES; 708 | GCC_PREFIX_HEADER = "Tests/Tests-Prefix.pch"; 709 | INFOPLIST_FILE = "Tests/Tests-Info.plist"; 710 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.demo.${PRODUCT_NAME:rfc1034identifier}"; 711 | PRODUCT_NAME = "$(TARGET_NAME)"; 712 | TEST_HOST = "$(BUNDLE_LOADER)"; 713 | WRAPPER_EXTENSION = xctest; 714 | }; 715 | name = Release; 716 | }; 717 | /* End XCBuildConfiguration section */ 718 | 719 | /* Begin XCConfigurationList section */ 720 | 6003F585195388D10070C39A /* Build configuration list for PBXProject "JVTransitionAnimator" */ = { 721 | isa = XCConfigurationList; 722 | buildConfigurations = ( 723 | 6003F5BD195388D20070C39A /* Debug */, 724 | 6003F5BE195388D20070C39A /* Release */, 725 | ); 726 | defaultConfigurationIsVisible = 0; 727 | defaultConfigurationName = Release; 728 | }; 729 | 6003F5BF195388D20070C39A /* Build configuration list for PBXNativeTarget "JVTransitionAnimator" */ = { 730 | isa = XCConfigurationList; 731 | buildConfigurations = ( 732 | 6003F5C0195388D20070C39A /* Debug */, 733 | 6003F5C1195388D20070C39A /* Release */, 734 | ); 735 | defaultConfigurationIsVisible = 0; 736 | defaultConfigurationName = Release; 737 | }; 738 | 6003F5C2195388D20070C39A /* Build configuration list for PBXNativeTarget "Tests" */ = { 739 | isa = XCConfigurationList; 740 | buildConfigurations = ( 741 | 6003F5C3195388D20070C39A /* Debug */, 742 | 6003F5C4195388D20070C39A /* Release */, 743 | ); 744 | defaultConfigurationIsVisible = 0; 745 | defaultConfigurationName = Release; 746 | }; 747 | /* End XCConfigurationList section */ 748 | }; 749 | rootObject = 6003F582195388D10070C39A /* Project object */; 750 | } 751 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator.xcodeproj/project.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 8 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator.xcodeproj/xcshareddata/xcschemes/JVTransitionAnimtor-Example.xcscheme: -------------------------------------------------------------------------------- 1 | 2 | 5 | 8 | 9 | 15 | 21 | 22 | 23 | 24 | 25 | 30 | 31 | 33 | 39 | 40 | 41 | 42 | 43 | 49 | 50 | 51 | 52 | 53 | 54 | 64 | 66 | 72 | 73 | 74 | 75 | 76 | 77 | 83 | 85 | 91 | 92 | 93 | 94 | 96 | 97 | 100 | 101 | 102 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator.xcworkspace/contents.xcworkspacedata: -------------------------------------------------------------------------------- 1 | 2 | 4 | 6 | 7 | 9 | 10 | 11 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator.xcworkspace/xcshareddata/IDEWorkspaceChecks.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | IDEDidComputeMac32BitWarning 6 | 7 | 8 | 9 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Base.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Base.lproj/Main_iPad.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | 29 | 30 | 31 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Base.lproj/Main_iPhone.storyboard: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18 | 19 | 20 | 21 | 22 | 23 | 24 | 25 | 26 | 27 | 28 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/AppIcon.appiconset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "iphone", 5 | "size" : "29x29", 6 | "scale" : "2x" 7 | }, 8 | { 9 | "idiom" : "iphone", 10 | "size" : "40x40", 11 | "scale" : "2x" 12 | }, 13 | { 14 | "idiom" : "iphone", 15 | "size" : "60x60", 16 | "scale" : "2x" 17 | }, 18 | { 19 | "idiom" : "iphone", 20 | "size" : "60x60", 21 | "scale" : "3x" 22 | }, 23 | { 24 | "idiom" : "ipad", 25 | "size" : "29x29", 26 | "scale" : "1x" 27 | }, 28 | { 29 | "idiom" : "ipad", 30 | "size" : "29x29", 31 | "scale" : "2x" 32 | }, 33 | { 34 | "idiom" : "ipad", 35 | "size" : "40x40", 36 | "scale" : "1x" 37 | }, 38 | { 39 | "idiom" : "ipad", 40 | "size" : "40x40", 41 | "scale" : "2x" 42 | }, 43 | { 44 | "idiom" : "ipad", 45 | "size" : "76x76", 46 | "scale" : "1x" 47 | }, 48 | { 49 | "idiom" : "ipad", 50 | "size" : "76x76", 51 | "scale" : "2x" 52 | } 53 | ], 54 | "info" : { 55 | "version" : 1, 56 | "author" : "xcode" 57 | } 58 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/JVTouchImage.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x", 6 | "filename" : "JVTouchImage.png" 7 | }, 8 | { 9 | "idiom" : "universal", 10 | "scale" : "2x", 11 | "filename" : "JVTouchImage@2x.png" 12 | }, 13 | { 14 | "idiom" : "universal", 15 | "scale" : "3x" 16 | } 17 | ], 18 | "info" : { 19 | "version" : 1, 20 | "author" : "xcode" 21 | } 22 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/JVTouchImage.imageset/JVTouchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/JVTouchImage.imageset/JVTouchImage.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/JVTouchImage.imageset/JVTouchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/JVTouchImage.imageset/JVTouchImage@2x.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/LaunchImage.launchimage/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "orientation" : "portrait", 5 | "idiom" : "iphone", 6 | "extent" : "full-screen", 7 | "minimum-system-version" : "8.0", 8 | "subtype" : "736h", 9 | "scale" : "3x" 10 | }, 11 | { 12 | "orientation" : "landscape", 13 | "idiom" : "iphone", 14 | "extent" : "full-screen", 15 | "minimum-system-version" : "8.0", 16 | "subtype" : "736h", 17 | "scale" : "3x" 18 | }, 19 | { 20 | "orientation" : "portrait", 21 | "idiom" : "iphone", 22 | "extent" : "full-screen", 23 | "minimum-system-version" : "8.0", 24 | "subtype" : "667h", 25 | "scale" : "2x" 26 | }, 27 | { 28 | "orientation" : "portrait", 29 | "idiom" : "iphone", 30 | "extent" : "full-screen", 31 | "minimum-system-version" : "7.0", 32 | "scale" : "2x" 33 | }, 34 | { 35 | "orientation" : "portrait", 36 | "idiom" : "iphone", 37 | "extent" : "full-screen", 38 | "minimum-system-version" : "7.0", 39 | "subtype" : "retina4", 40 | "scale" : "2x" 41 | }, 42 | { 43 | "orientation" : "portrait", 44 | "idiom" : "ipad", 45 | "extent" : "full-screen", 46 | "minimum-system-version" : "7.0", 47 | "scale" : "1x" 48 | }, 49 | { 50 | "orientation" : "landscape", 51 | "idiom" : "ipad", 52 | "extent" : "full-screen", 53 | "minimum-system-version" : "7.0", 54 | "scale" : "1x" 55 | }, 56 | { 57 | "orientation" : "portrait", 58 | "idiom" : "ipad", 59 | "extent" : "full-screen", 60 | "minimum-system-version" : "7.0", 61 | "scale" : "2x" 62 | }, 63 | { 64 | "orientation" : "landscape", 65 | "idiom" : "ipad", 66 | "extent" : "full-screen", 67 | "minimum-system-version" : "7.0", 68 | "scale" : "2x" 69 | }, 70 | { 71 | "orientation" : "portrait", 72 | "idiom" : "iphone", 73 | "extent" : "full-screen", 74 | "scale" : "1x" 75 | }, 76 | { 77 | "orientation" : "portrait", 78 | "idiom" : "iphone", 79 | "extent" : "full-screen", 80 | "scale" : "2x" 81 | }, 82 | { 83 | "orientation" : "portrait", 84 | "idiom" : "iphone", 85 | "extent" : "full-screen", 86 | "subtype" : "retina4", 87 | "scale" : "2x" 88 | }, 89 | { 90 | "orientation" : "portrait", 91 | "idiom" : "ipad", 92 | "extent" : "to-status-bar", 93 | "scale" : "1x" 94 | }, 95 | { 96 | "orientation" : "portrait", 97 | "idiom" : "ipad", 98 | "extent" : "full-screen", 99 | "scale" : "1x" 100 | }, 101 | { 102 | "orientation" : "landscape", 103 | "idiom" : "ipad", 104 | "extent" : "to-status-bar", 105 | "scale" : "1x" 106 | }, 107 | { 108 | "orientation" : "landscape", 109 | "idiom" : "ipad", 110 | "extent" : "full-screen", 111 | "scale" : "1x" 112 | }, 113 | { 114 | "orientation" : "portrait", 115 | "idiom" : "ipad", 116 | "extent" : "to-status-bar", 117 | "scale" : "2x" 118 | }, 119 | { 120 | "orientation" : "portrait", 121 | "idiom" : "ipad", 122 | "extent" : "full-screen", 123 | "scale" : "2x" 124 | }, 125 | { 126 | "orientation" : "landscape", 127 | "idiom" : "ipad", 128 | "extent" : "to-status-bar", 129 | "scale" : "2x" 130 | }, 131 | { 132 | "orientation" : "landscape", 133 | "idiom" : "ipad", 134 | "extent" : "full-screen", 135 | "scale" : "2x" 136 | } 137 | ], 138 | "info" : { 139 | "version" : 1, 140 | "author" : "xcode" 141 | } 142 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/collapse-black.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "collapse-black.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/collapse-black.imageset/collapse-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/collapse-black.imageset/collapse-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/collapse.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "collapse_filled-50.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/collapse.imageset/collapse_filled-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/collapse.imageset/collapse_filled-50.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/expand-black.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "expand-black.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/expand-black.imageset/expand-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/expand-black.imageset/expand-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/expand.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "expand_filled-50.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/expand.imageset/expand_filled-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/expand.imageset/expand_filled-50.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/export-black.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "export-black.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/export-black.imageset/export-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/export-black.imageset/export-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/export.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "export-50.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/export.imageset/export-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/export.imageset/export-50.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/import-black.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "import-black.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/import-black.imageset/import-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/import-black.imageset/import-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/import.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "import-50.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/import.imageset/import-50.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/import.imageset/import-50.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/next-black.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "next-black.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/next-black.imageset/next-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/next-black.imageset/next-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/next.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x" 10 | }, 11 | { 12 | "idiom" : "universal", 13 | "scale" : "3x", 14 | "filename" : "next-32.png" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/next.imageset/next-32.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/next.imageset/next-32.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/updown-black.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "updown-black.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/updown-black.imageset/updown-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/updown-black.imageset/updown-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/updown.imageset/Contents.json: -------------------------------------------------------------------------------- 1 | { 2 | "images" : [ 3 | { 4 | "idiom" : "universal", 5 | "scale" : "1x" 6 | }, 7 | { 8 | "idiom" : "universal", 9 | "scale" : "2x", 10 | "filename" : "updown.png" 11 | }, 12 | { 13 | "idiom" : "universal", 14 | "scale" : "3x" 15 | } 16 | ], 17 | "info" : { 18 | "version" : 1, 19 | "author" : "xcode" 20 | } 21 | } -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images.xcassets/updown.imageset/updown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images.xcassets/updown.imageset/updown.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/collapse-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/collapse-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/collapse.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/collapse.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/expand-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/expand-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/expand.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/expand.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/export-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/export-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/export.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/export.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/import-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/import-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/import.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/import.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/next-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/next-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/next.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/next.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/updown-black.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/updown-black.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/Images/updown.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/Images/updown.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVAppDelegate.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVAppDelegate.h 3 | // JVTransitionAnimtor 4 | // 5 | // Created by CocoaPods on 04/20/2015. 6 | // Copyright (c) 2014 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JVAppDelegate : UIResponder 12 | 13 | @property (strong, nonatomic) UIWindow *window; 14 | 15 | @end 16 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVAppDelegate.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVAppDelegate.m 3 | // JVTransitionAnimtor 4 | // 5 | // Created by CocoaPods on 04/20/2015. 6 | // Copyright (c) 2014 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import "JVAppDelegate.h" 10 | #import "JVTouchEventsWindow.h" 11 | 12 | @implementation JVAppDelegate 13 | 14 | - (BOOL)application:(UIApplication *)application didFinishLaunchingWithOptions:(NSDictionary *)launchOptions 15 | { 16 | // Override point for customization after application launch. 17 | return YES; 18 | } 19 | 20 | - (void)applicationWillResignActive:(UIApplication *)application 21 | { 22 | // 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. 23 | // 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. 24 | } 25 | 26 | - (void)applicationDidEnterBackground:(UIApplication *)application 27 | { 28 | // 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. 29 | // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits. 30 | } 31 | 32 | - (void)applicationWillEnterForeground:(UIApplication *)application 33 | { 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 | { 39 | // 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. 40 | } 41 | 42 | - (void)applicationWillTerminate:(UIApplication *)application 43 | { 44 | // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:. 45 | } 46 | 47 | - (JVTouchEventsWindow *)window 48 | { 49 | static JVTouchEventsWindow *sharedWindow = nil; 50 | static dispatch_once_t onceToken; 51 | dispatch_once(&onceToken, ^{ 52 | sharedWindow = [[JVTouchEventsWindow alloc] initWithFrame:[[UIScreen mainScreen] bounds]]; 53 | }); 54 | 55 | return sharedWindow; 56 | } 57 | 58 | @end 59 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVAppHelper.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVAppHelper.h 3 | // JVTransitionAnimtor 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // Copyright (c) 2015 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JVAppHelper : NSObject 12 | 13 | + (UIColor *)colorWithHexString:(NSString *)stringToConvert; 14 | 15 | + (UIColor *)colorWithRGBHex:(UInt32)hex; 16 | 17 | + (void)removeLayerFromView:(UIView *)view; 18 | 19 | + (void)setGradientBackgroundInView:(UIView *)view withFirstHexColor:(NSString *)firstHexColor andSecondHexColor:(NSString *)secondHexColor; 20 | 21 | + (UIImage *)imageWithColor:(UIColor *)color withSize:(CGSize)size; 22 | 23 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVAppHelper.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVAppHelper.m 3 | // JVTransitionAnimtor 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // Copyright (c) 2015 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import "JVAppHelper.h" 10 | 11 | @implementation JVAppHelper 12 | 13 | + (UIColor *)colorWithHexString:(NSString *)stringToConvert 14 | { 15 | //converts the hex value into a colour 16 | NSScanner *scanner = [NSScanner scannerWithString:stringToConvert]; 17 | unsigned hexNum; 18 | if (![scanner scanHexInt:&hexNum]) return nil; 19 | return [self colorWithRGBHex:hexNum]; 20 | } 21 | 22 | + (UIColor *)colorWithRGBHex:(UInt32)hex 23 | { 24 | //converts a hex number into a colour 25 | int r = (hex >> 16) & 0xFF; 26 | int g = (hex >> 8) & 0xFF; 27 | int b = (hex) & 0xFF; 28 | 29 | return [UIColor colorWithRed:r / 255.0f 30 | green:g / 255.0f 31 | blue:b / 255.0f 32 | alpha:1.0f]; 33 | } 34 | 35 | + (void)removeLayerFromView:(UIView *)view 36 | { 37 | CAGradientLayer *layerToRemove; 38 | for (CALayer *aLayer in view.layer.sublayers) { 39 | if ([aLayer isKindOfClass:[CAGradientLayer class]]) { 40 | layerToRemove = (CAGradientLayer *)aLayer; 41 | } 42 | } 43 | 44 | [layerToRemove performSelector:@selector(removeFromSuperlayer)]; 45 | } 46 | 47 | + (void)setGradientBackgroundInView:(UIView *)view withFirstHexColor:(NSString *)firstHexColor andSecondHexColor:(NSString *)secondHexColor 48 | { 49 | [self removeLayerFromView:view]; 50 | 51 | // gradient background color 52 | CAGradientLayer *newGradient = [CAGradientLayer layer]; 53 | newGradient.frame = view.frame; 54 | UIColor *firstColor = [self colorWithHexString:firstHexColor]; 55 | UIColor *secondColor = [self colorWithHexString:secondHexColor]; 56 | 57 | newGradient.colors = [NSArray arrayWithObjects:(id)firstColor.CGColor, (id)secondColor.CGColor, nil]; 58 | [view.layer insertSublayer:newGradient atIndex:0]; 59 | } 60 | 61 | + (UIImage *)imageWithColor:(UIColor *)color withSize:(CGSize)size 62 | { 63 | CGRect rect = CGRectMake(0.0f, 0.0f, size.width, size.height); 64 | UIGraphicsBeginImageContextWithOptions(rect.size, NO, 0); 65 | CGContextRef context = UIGraphicsGetCurrentContext(); 66 | 67 | CGContextSetFillColorWithColor(context, [color CGColor]); 68 | CGContextFillRect(context, rect); 69 | 70 | UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); 71 | UIGraphicsEndImageContext(); 72 | 73 | return image; 74 | } 75 | 76 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVSecondViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVSecondViewController.h 3 | // JVTransitionAnimtor 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // Copyright (c) 2015 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JVSecondViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVSecondViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVSecondViewController.m 3 | // JVTransitionAnimtor 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // Copyright (c) 2015 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import "JVSecondViewController.h" 10 | 11 | @interface JVSecondViewController () 12 | 13 | @end 14 | 15 | 16 | @implementation JVSecondViewController 17 | 18 | - (void)viewDidLoad 19 | { 20 | [super viewDidLoad]; 21 | 22 | // gradient background color 23 | [JVAppHelper setGradientBackgroundInView:self.view withFirstHexColor:@"1AD6FD" andSecondHexColor:@"1D62F0"]; 24 | 25 | UIButton *button = [UIButton buttonWithType:UIButtonTypeCustom]; 26 | button.frame = CGRectMake(0, CGRectGetMidY(self.view.frame)-CGRectGetHeight(self.view.frame)/2, CGRectGetWidth(self.view.frame), CGRectGetHeight(self.view.frame)); 27 | [button setTitleColor:[UIColor blackColor] forState:UIControlStateNormal]; 28 | [button setTitle:@"Dismiss Me!" forState:UIControlStateNormal]; 29 | button.titleLabel.font = [UIFont fontWithName:@"HelveticaNeue" size:30]; 30 | button.titleLabel.textAlignment = NSTextAlignmentCenter; 31 | button.titleLabel.textColor = [UIColor blackColor]; 32 | button.titleLabel.text = @"Dismiss Me!"; 33 | 34 | [button addTarget:self action:@selector(showTransitionAnimation:) forControlEvents:UIControlEventTouchUpInside]; 35 | 36 | button.titleLabel.layer.shadowColor = [UIColor blackColor].CGColor; 37 | button.titleLabel.layer.shadowOpacity = 0.8; 38 | button.titleLabel.layer.shadowRadius = 4; 39 | button.titleLabel.layer.shadowOffset = CGSizeMake(4.0f, 4.0f); 40 | 41 | [self.view addSubview:button]; 42 | 43 | } 44 | 45 | - (void)didReceiveMemoryWarning 46 | { 47 | [super didReceiveMemoryWarning]; 48 | } 49 | 50 | 51 | #pragma mark - Helper functions 52 | 53 | - (void)showTransitionAnimation:(UIButton *)button 54 | { 55 | [self dismissViewControllerAnimated:YES completion:nil]; 56 | } 57 | 58 | 59 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchEventsWindow.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVTouchEventsWindow.h 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import 10 | 11 | 12 | @interface JVTouchEventsWindow : UIWindow 13 | 14 | 15 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchEventsWindow.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVTouchEventsWindow.m 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import "JVTouchEventsWindow.h" 10 | #import "JVTouchImageViewQueue.h" 11 | 12 | @interface JVTouchEventsWindow () 13 | 14 | @property (nonatomic, strong) JVTouchImageViewQueue *touchImageViewQueue; 15 | @property (nonatomic, strong) NSMutableDictionary *touchImageViewsDic; 16 | 17 | @end 18 | 19 | 20 | @implementation JVTouchEventsWindow 21 | 22 | 23 | #pragma mark - Touch Events 24 | 25 | /** 26 | * Handles the UIWindow touch events, here we want to perform different operations 27 | * depending of the touch phase, like adding a new ImageView or removing last added 28 | * 29 | * @param the touch event 30 | * 31 | * @return n/a 32 | */ 33 | - (void)sendEvent:(UIEvent *)event 34 | { 35 | NSSet *touches = [event allTouches]; 36 | 37 | for (UITouch *touch in touches) 38 | { 39 | switch ([touch phase]) 40 | { 41 | case UITouchPhaseBegan: 42 | [self touchBegan:touch]; 43 | break; 44 | 45 | case UITouchPhaseMoved: 46 | [self touchMoved:touch]; 47 | break; 48 | 49 | case UITouchPhaseEnded: 50 | case UITouchPhaseCancelled: 51 | [self touchEnded:touch]; 52 | break; 53 | 54 | default: 55 | break; 56 | } 57 | } 58 | 59 | [super sendEvent:event]; 60 | } 61 | 62 | 63 | #pragma mark - Touch events helper functions 64 | 65 | /** 66 | * Handles the touch phase began state, here we want to set the new ImageView for 67 | * the touch event 68 | * 69 | * @param a touch 70 | * 71 | * @return n/a 72 | */ 73 | - (void)touchBegan:(UITouch *)touch 74 | { 75 | UIImageView *touchImageView = [self.touchImageViewQueue popTouchImageView]; 76 | touchImageView.center = [touch locationInView:self]; 77 | [self addSubview:touchImageView]; 78 | 79 | touchImageView.alpha = 0.0; 80 | touchImageView.transform = CGAffineTransformMakeScale(1.13, 1.13); 81 | 82 | [self setTouchImageView:touchImageView forTouch:touch]; 83 | 84 | [UIView animateWithDuration:0.1 85 | animations:^{ 86 | touchImageView.alpha = 1.0f; 87 | touchImageView.transform = CGAffineTransformMakeScale(1, 1); 88 | }]; 89 | } 90 | 91 | /** 92 | * Handles the touch phase moved state, here we want to set the new ImageView within 93 | * our ImageView dictionary 94 | * 95 | * @param a touch 96 | * 97 | * @return n/a 98 | */ 99 | - (void)touchMoved:(UITouch *)touch 100 | { 101 | UIImageView *touchImageView = [self touchImageViewForTouch:touch]; 102 | touchImageView.center = [touch locationInView:self]; 103 | } 104 | 105 | /** 106 | * Handles the touch phase end/cancelled state, here we want to remove the ImageView 107 | * previously added 108 | * 109 | * @param a touch 110 | * 111 | * @return n/a 112 | */ 113 | - (void)touchEnded:(UITouch *)touch 114 | { 115 | UIImageView *touchImageView = [self touchImageViewForTouch:touch]; 116 | 117 | [UIView animateWithDuration:0.1 118 | animations:^ { 119 | touchImageView.alpha = 0.0f; 120 | touchImageView.transform = CGAffineTransformMakeScale(1.13, 1.13); 121 | } 122 | completion:^(BOOL finished) { 123 | [touchImageView removeFromSuperview]; 124 | touchImageView.alpha = 1.0; 125 | [self.touchImageViewQueue pushTouchImageView:touchImageView]; 126 | [self removeTouchImageViewForTouch:touch]; 127 | }]; 128 | } 129 | 130 | 131 | #pragma mark - ImageView helper functions 132 | 133 | /** 134 | * Helper function to get ImageViews from our dictionary 135 | * 136 | * @param a touch 137 | * 138 | * @return n/a 139 | */ 140 | - (UIImageView *)touchImageViewForTouch:(UITouch *)touch 141 | { 142 | NSString *touchStringHash = [NSString stringWithFormat:@"%lu", (unsigned long)[touch hash]]; 143 | 144 | return self.touchImgViewsDict[touchStringHash]; 145 | } 146 | 147 | /** 148 | * Helper function to set the ImageView in our dictionary 149 | * 150 | * @param a Imageview and a touch 151 | * 152 | * @return n/a 153 | */ 154 | - (void)setTouchImageView:(UIImageView *)imgView forTouch:(UITouch *)touch 155 | { 156 | NSString *touchStringHash = [NSString stringWithFormat:@"%lu", (unsigned long)[touch hash]]; 157 | 158 | [self.touchImgViewsDict setObject:imgView forKey:touchStringHash]; 159 | } 160 | 161 | /** 162 | * Helper function to remove ImageView from our dictionary 163 | * 164 | * @param a touch 165 | * 166 | * @return n/a 167 | */ 168 | - (void)removeTouchImageViewForTouch:(UITouch *)touch 169 | { 170 | NSString *touchStringHash = [NSString stringWithFormat:@"%lu", (unsigned long)[touch hash]]; 171 | 172 | [self.touchImgViewsDict removeObjectForKey:touchStringHash]; 173 | } 174 | 175 | 176 | #pragma mark - Custom getters & setters 177 | 178 | /** 179 | * Lazy loading initializer for our touchImageViewQueue 180 | * 181 | * @return a initialized JVTouchImageViewQueue 182 | */ 183 | - (JVTouchImageViewQueue *)touchImageViewQueue 184 | { 185 | if (!_touchImageViewQueue) 186 | { 187 | _touchImageViewQueue = [[JVTouchImageViewQueue alloc] initWithTouchesCount:8]; 188 | } 189 | 190 | return _touchImageViewQueue; 191 | } 192 | 193 | /** 194 | * Lazy loading initializer for our touchImgViewsDict 195 | * 196 | * @return a initialized NSMutableDictionary 197 | */ 198 | - (NSMutableDictionary *)touchImgViewsDict 199 | { 200 | if (!_touchImageViewsDic) 201 | { 202 | _touchImageViewsDic = [[NSMutableDictionary alloc] init]; 203 | } 204 | 205 | return _touchImageViewsDic; 206 | } 207 | 208 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchHelper.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVTouchHelper.h 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface JVTouchHelper : NSObject 14 | 15 | /** 16 | * Handles getting the bundle resources of our project 17 | * 18 | * @return a NSBundle to our project 19 | */ 20 | + (NSBundle *)myProjectResources; 21 | 22 | /** 23 | * Handles getting our assets from the bundle resources of our project 24 | * 25 | * @param the name of the asset 26 | * 27 | * @return an UIImage 28 | */ 29 | + (UIImage *)bundleImageNamed:(NSString *)name; 30 | 31 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchHelper.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVTouchHelper.m 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import "JVTouchHelper.h" 10 | #import "JVTouchEventsWindow.h" 11 | 12 | 13 | #define RESOURCE_NAME @"JVTouchEventsWindow" 14 | 15 | @implementation JVTouchHelper 16 | 17 | /** 18 | * Handles getting the bundle resources of our project 19 | * 20 | * @return a NSBundle to our project 21 | */ 22 | + (NSBundle *)myProjectResources 23 | { 24 | static dispatch_once_t onceToken; 25 | static NSBundle *bundle = nil; 26 | 27 | dispatch_once(&onceToken, ^{ 28 | // This bundle name must be the same as the product name for the resources bundle target 29 | NSURL *url = [[NSBundle bundleForClass:[JVTouchEventsWindow class]] URLForResource:RESOURCE_NAME withExtension:@"bundle"]; 30 | 31 | if (!url) { 32 | url = [[NSBundle mainBundle] URLForResource:RESOURCE_NAME withExtension:@"bundle"]; 33 | } 34 | 35 | bundle = [NSBundle bundleWithURL:url]; 36 | }); 37 | 38 | return bundle; 39 | } 40 | 41 | /** 42 | * Handles getting our assets from the bundle resources of our project 43 | * 44 | * @param the name of the asset 45 | * 46 | * @return an UIImage 47 | */ 48 | + (UIImage *)bundleImageNamed:(NSString *)name 49 | { 50 | UIImage *imageFromMainBundle = [UIImage imageNamed:name]; 51 | 52 | if (imageFromMainBundle) { 53 | return imageFromMainBundle; 54 | } 55 | 56 | NSString *imageName = [NSString stringWithFormat:@"%@.bundle/%@", RESOURCE_NAME, name]; 57 | UIImage *imageFromBundle = [UIImage imageNamed:imageName]; 58 | 59 | if (!imageFromBundle) { 60 | NSLog(@"Image not found: %@", name); 61 | } 62 | 63 | return imageFromBundle; 64 | } 65 | 66 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchImage.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/JVTouchImage.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchImage@2x.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Example/JVTransitionAnimator/JVTouchImage@2x.png -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchImageViewQueue.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVTouchImageViewQueue.h 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface JVTouchImageViewQueue : NSObject 14 | 15 | /** 16 | * Custom initializer for our ImageViewQueue with the queue size 17 | * 18 | * @param a NSUInteger which represents the size of our queue 19 | * 20 | * @return an initialized instancetype 21 | */ 22 | - (instancetype)initWithTouchesCount:(NSUInteger)count; 23 | 24 | /** 25 | * A helper function to remove ImageViews from our queue 26 | * 27 | * @return the new queue without the removed ImageView 28 | */ 29 | - (UIImageView *)popTouchImageView; 30 | 31 | /** 32 | * A helper function to add ImageView to our queue 33 | * 34 | * @param an UIImageView to be added to queue 35 | * 36 | * @return n/a 37 | */ 38 | - (void)pushTouchImageView:(UIImageView *)touchImageView; 39 | 40 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTouchImageViewQueue.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVTouchImageViewQueue.m 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import "JVTouchImageViewQueue.h" 10 | #import "JVTouchHelper.h" 11 | 12 | #define TOUCH_IMAGE @"JVTouchImage" 13 | 14 | 15 | @interface JVTouchImageViewQueue() 16 | 17 | @property (nonatomic, strong) NSMutableArray *queueArray; 18 | 19 | @end 20 | 21 | @implementation JVTouchImageViewQueue 22 | 23 | #pragma mark - Custom initializer 24 | 25 | /** 26 | * Custom initializer for our ImageViewQueue with the queue size 27 | * 28 | * @param a NSUInteger which represents the size of our queue 29 | * 30 | * @return an initialized instancetype 31 | */ 32 | - (instancetype)initWithTouchesCount:(NSUInteger)count 33 | { 34 | if (self = [super init]) 35 | { 36 | self.queueArray = [[NSMutableArray alloc] init]; 37 | for (NSUInteger i = 0; i < count; i++) 38 | { 39 | UIImageView *imageView = [[UIImageView alloc] initWithImage:[JVTouchHelper bundleImageNamed:TOUCH_IMAGE]]; 40 | [self.queueArray addObject:imageView]; 41 | } 42 | } 43 | 44 | return self; 45 | } 46 | 47 | 48 | #pragma mark - Queue helper functions 49 | 50 | /** 51 | * A helper function to remove ImageViews from our queue 52 | * 53 | * @return the new queue without the removed ImageView 54 | */ 55 | - (UIImageView *)popTouchImageView 56 | { 57 | UIImageView *touchImageView = [self.queueArray firstObject]; 58 | [self.queueArray removeObjectAtIndex:0]; 59 | 60 | return touchImageView; 61 | } 62 | 63 | /** 64 | * A helper function to add ImageView to our queue 65 | * 66 | * @param an UIImageView to be added to queue 67 | * 68 | * @return n/a 69 | */ 70 | - (void)pushTouchImageView:(UIImageView *)touchImageView 71 | { 72 | [self.queueArray addObject:touchImageView]; 73 | } 74 | 75 | 76 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTransitionAnimator-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleDisplayName 8 | ${PRODUCT_NAME} 9 | CFBundleExecutable 10 | ${EXECUTABLE_NAME} 11 | CFBundleIdentifier 12 | $(PRODUCT_BUNDLE_IDENTIFIER) 13 | CFBundleInfoDictionaryVersion 14 | 6.0 15 | CFBundleName 16 | ${PRODUCT_NAME} 17 | CFBundlePackageType 18 | APPL 19 | CFBundleShortVersionString 20 | 1.0 21 | CFBundleSignature 22 | ???? 23 | CFBundleVersion 24 | 1.0 25 | LSRequiresIPhoneOS 26 | 27 | UILaunchStoryboardName 28 | Main_iPhone 29 | UIMainStoryboardFile 30 | Main_iPhone 31 | UIMainStoryboardFile~ipad 32 | Main_iPad 33 | UIRequiredDeviceCapabilities 34 | 35 | armv7 36 | 37 | UISupportedInterfaceOrientations 38 | 39 | UIInterfaceOrientationPortrait 40 | UIInterfaceOrientationLandscapeLeft 41 | UIInterfaceOrientationLandscapeRight 42 | 43 | UISupportedInterfaceOrientations~ipad 44 | 45 | UIInterfaceOrientationPortrait 46 | UIInterfaceOrientationPortraitUpsideDown 47 | UIInterfaceOrientationLandscapeLeft 48 | UIInterfaceOrientationLandscapeRight 49 | 50 | 51 | 52 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVTransitionAnimator-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every source file. 5 | // 6 | 7 | #import 8 | 9 | #ifndef __IPHONE_5_0 10 | #warning "This project uses features only available in iOS SDK 5.0 and later." 11 | #endif 12 | 13 | #ifdef __OBJC__ 14 | #import 15 | #import 16 | #import 17 | #import "JVAppHelper.h" 18 | #endif 19 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVViewController.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVViewController.h 3 | // JVTransitionAnimtor 4 | // 5 | // Created by Jorge Valbuena on 04/20/2015. 6 | // Copyright (c) 2014 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | @interface JVViewController : UIViewController 12 | 13 | @end 14 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/JVViewController.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVViewController.m 3 | // JVTransitionAnimtor 4 | // 5 | // Created by Jorge Valbuena on 04/20/2015. 6 | // Copyright (c) 2014 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #include 10 | #import "JVViewController.h" 11 | #import "JVSecondViewController.h" 12 | 13 | #define ROW_HEIGHT 45 14 | #define TABLEVIEW_ROWS_SECTION 9 15 | 16 | @interface JVViewController () 17 | 18 | @property (nonatomic, strong) JVTransitionAnimator *transitionAnimator; 19 | @property (nonatomic, strong) JVSecondViewController *secondController; 20 | @property (nonatomic, strong) UITableView *tableView; 21 | @property (nonatomic, strong) UILabel *label; 22 | @property (nonatomic, strong) UIView *selectedView; 23 | 24 | @property (nonatomic, strong) NSArray *labels; 25 | @property (nonatomic, strong) NSArray *images; 26 | @property (nonatomic, strong) NSArray *imagesBlack; 27 | @property (nonatomic, strong) NSArray *sliders; 28 | @property (nonatomic, strong) NSArray *moreLabels; 29 | 30 | @property (nonatomic, strong) UILabel *durationLabel; 31 | @property (nonatomic, strong) UILabel *delayLabel; 32 | @property (nonatomic, strong) UILabel *dampingLabel; 33 | @property (nonatomic, strong) UILabel *velocityLabel; 34 | 35 | @end 36 | 37 | 38 | @implementation JVViewController 39 | 40 | - (void)viewDidLoad 41 | { 42 | [super viewDidLoad]; 43 | 44 | // gradient background color 45 | [JVAppHelper setGradientBackgroundInView:self.view withFirstHexColor:@"FF5E3A" andSecondHexColor:@"FF2A68"]; 46 | 47 | self.labels = @[@"Push On Animation", 48 | @"Slide In/Out Animation", 49 | @"Slide Up/Down Animation", 50 | @"Zoom In Animation", 51 | @"Zoom Out Animation"]; 52 | 53 | self.images = @[[UIImage imageNamed:@"export"], 54 | [UIImage imageNamed:@"import"], 55 | [UIImage imageNamed:@"updown"], 56 | [UIImage imageNamed:@"expand"], 57 | [UIImage imageNamed:@"collapse"]]; 58 | 59 | self.imagesBlack = @[[UIImage imageNamed:@"export-black"], 60 | [UIImage imageNamed:@"import-black"], 61 | [UIImage imageNamed:@"updown-black"], 62 | [UIImage imageNamed:@"expand-black"], 63 | [UIImage imageNamed:@"collapse-black"]]; 64 | 65 | self.sliders = @[[self slidersWithFrame:CGRectMake(140, 0, CGRectGetWidth(self.view.frame)-170, 45) andSelector:@selector(updateDuration:) andMaxValue:5.0], 66 | [self slidersWithFrame:CGRectMake(140, 0, CGRectGetWidth(self.view.frame)-170, 45) andSelector:@selector(updateDelay:) andMaxValue:5.0], 67 | [self slidersWithFrame:CGRectMake(140, 0, CGRectGetWidth(self.view.frame)-170, 45) andSelector:@selector(updateDamping:) andMaxValue:1.0], 68 | [self slidersWithFrame:CGRectMake(140, 0, CGRectGetWidth(self.view.frame)-170, 45) andSelector:@selector(updateVelocity:) andMaxValue:1.0]]; 69 | 70 | self.moreLabels = @[[self labelsWithFrame:CGRectMake(10, 0, 70, 45) andText:@"Duration"], 71 | [self labelsWithFrame:CGRectMake(10, 0, 70, 45) andText:@"Delay"], 72 | [self labelsWithFrame:CGRectMake(10, 0, 75, 45) andText:@"Damping"], 73 | [self labelsWithFrame:CGRectMake(10, 0, 70, 45) andText:@"Velocity"]]; 74 | 75 | self.durationLabel = [self labelsWithFrame:CGRectMake(98, 0, 40, 45) andText:@"0.00"]; 76 | self.delayLabel = [self labelsWithFrame:CGRectMake(98, 0, 40, 45) andText:@"0.00"]; 77 | self.dampingLabel = [self labelsWithFrame:CGRectMake(98, 0, 40, 45) andText:@"0.00"]; 78 | self.velocityLabel = [self labelsWithFrame:CGRectMake(98, 0, 40, 45) andText:@"0.00"]; 79 | 80 | [self.view addSubview:self.label]; 81 | [self.view addSubview:self.tableView]; 82 | 83 | } 84 | 85 | - (void)viewDidAppear:(BOOL)animated 86 | { 87 | [super viewDidAppear:animated]; 88 | 89 | self.transitionAnimator.fromViewController = self; 90 | self.transitionAnimator.toViewController = self.secondController; 91 | self.transitionAnimator.enabledInteractiveTransitions = YES; 92 | self.transitionAnimator.slideInOutAnimation = YES; 93 | self.secondController.transitioningDelegate = self.transitionAnimator; 94 | } 95 | 96 | - (void)didReceiveMemoryWarning 97 | { 98 | [super didReceiveMemoryWarning]; 99 | } 100 | 101 | 102 | #pragma mark - Custom getters & setters 103 | 104 | - (JVTransitionAnimator *)transitionAnimator 105 | { 106 | if(!_transitionAnimator) 107 | { 108 | _transitionAnimator = [[JVTransitionAnimator alloc] init]; 109 | } 110 | 111 | return _transitionAnimator; 112 | } 113 | 114 | - (JVSecondViewController *)secondController 115 | { 116 | if(!_secondController) 117 | { 118 | _secondController = [[JVSecondViewController alloc] init]; 119 | } 120 | 121 | return _secondController; 122 | } 123 | 124 | - (UILabel *)label 125 | { 126 | if(!_label) 127 | { 128 | _label = [[UILabel alloc] initWithFrame:CGRectMake(0, 30, self.view.frame.size.width, 30)]; 129 | _label.font = [UIFont fontWithName:@"HelveticaNeue-Light" size:24]; 130 | _label.textColor = [UIColor blackColor]; 131 | _label.textAlignment = NSTextAlignmentCenter; 132 | _label.text = @"JVTransitionAnimator"; 133 | 134 | _label.layer.shadowColor = [UIColor blackColor].CGColor; 135 | _label.layer.shadowOpacity = 0.4; 136 | _label.layer.shadowRadius = 2; 137 | _label.layer.shadowOffset = CGSizeMake(2.0f, 2.0f); 138 | 139 | } 140 | 141 | return _label; 142 | } 143 | 144 | - (UIView *)selectedView 145 | { 146 | if(!_selectedView) 147 | { 148 | _selectedView = [[UIView alloc] initWithFrame:CGRectMake(0, 0, self.view.frame.size.width, ROW_HEIGHT)]; 149 | _selectedView.backgroundColor = [[JVAppHelper colorWithHexString:@"DBDDDE"] colorWithAlphaComponent:0.9]; 150 | } 151 | 152 | return _selectedView; 153 | } 154 | 155 | - (UISlider *)slidersWithFrame:(CGRect)frame andSelector:(SEL)targetAction andMaxValue:(CGFloat)max 156 | { 157 | UISlider *slider = [[UISlider alloc] initWithFrame:frame]; 158 | [slider addTarget:self action:targetAction forControlEvents:UIControlEventValueChanged]; 159 | [slider setBackgroundColor:[UIColor clearColor]]; 160 | slider.minimumValue = 0.00; 161 | slider.maximumValue = max; 162 | slider.continuous = YES; 163 | slider.value = 0.00; 164 | slider.minimumTrackTintColor = [JVAppHelper colorWithHexString:@"4A4A4A"]; 165 | slider.maximumTrackTintColor = [JVAppHelper colorWithHexString:@"C7C7CC"]; 166 | slider.thumbTintColor = [JVAppHelper colorWithHexString:@"F7F7F7"]; 167 | 168 | return slider; 169 | } 170 | 171 | - (UILabel *)labelsWithFrame:(CGRect)frame andText:(NSString *)text 172 | { 173 | UILabel *label = [[UILabel alloc] initWithFrame:frame]; 174 | label.font = [UIFont fontWithName:@"HelveticaNeue" size:18]; 175 | label.textColor = [[JVAppHelper colorWithHexString:@"1F1F21"] colorWithAlphaComponent:0.9]; 176 | label.backgroundColor = [UIColor clearColor]; 177 | label.textAlignment = NSTextAlignmentLeft; 178 | label.text = text; 179 | 180 | return label; 181 | } 182 | 183 | #define SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(v) ([[[UIDevice currentDevice] systemVersion] compare:v options:NSNumericSearch] != NSOrderedAscending) 184 | 185 | #pragma mark - TableView getter & setter 186 | 187 | -(UITableView*)tableView 188 | { 189 | if(!_tableView) 190 | { 191 | _tableView = [[UITableView alloc] initWithFrame:CGRectMake(10, CGRectGetMaxY(self.label.frame), self.view.frame.size.width-20, CGRectGetHeight(self.view.frame)) style:UITableViewStylePlain]; 192 | _tableView.backgroundColor = [UIColor clearColor]; 193 | _tableView.separatorStyle = UITableViewCellSeparatorStyleNone; 194 | 195 | if (SYSTEM_VERSION_GREATER_THAN_OR_EQUAL_TO(@"8.0")) 196 | { 197 | // remove leading spaces 198 | _tableView.layoutMargins = UIEdgeInsetsZero; 199 | } 200 | 201 | _tableView.bounces = NO; 202 | _tableView.scrollEnabled = NO; 203 | _tableView.delegate = self; 204 | _tableView.dataSource = self; 205 | } 206 | 207 | return _tableView; 208 | } 209 | 210 | #pragma mark - UITableView Delegate & Datasource 211 | 212 | -(UITableViewCell*)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath 213 | { 214 | static NSString *cellIdentifier = @"Cell"; 215 | 216 | UITableViewCell *cell = [tableView dequeueReusableCellWithIdentifier:cellIdentifier]; 217 | 218 | if (cell == nil) 219 | { 220 | cell = [[UITableViewCell alloc] initWithStyle:UITableViewCellStyleDefault reuseIdentifier:cellIdentifier]; 221 | } 222 | 223 | if([self.tableView respondsToSelector:@selector(setLayoutMargins:)]) 224 | { 225 | self.tableView.layoutMargins = UIEdgeInsetsZero; 226 | } 227 | 228 | // Remove seperator inset 229 | if ([cell respondsToSelector:@selector(setSeparatorInset:)]) 230 | { 231 | [cell setSeparatorInset:UIEdgeInsetsZero]; 232 | } 233 | 234 | // Prevent the cell from inheriting the Table View's margin settings 235 | if ([cell respondsToSelector:@selector(setPreservesSuperviewLayoutMargins:)]) 236 | { 237 | [cell setPreservesSuperviewLayoutMargins:NO]; 238 | } 239 | 240 | // Explictly set your cell's layout margins 241 | if ([cell respondsToSelector:@selector(setLayoutMargins:)]) 242 | { 243 | [cell setLayoutMargins:UIEdgeInsetsZero]; 244 | } 245 | 246 | // setups cell 247 | cell.layer.cornerRadius = 5.0; 248 | cell.layer.masksToBounds = YES; 249 | 250 | cell.selectedBackgroundView = self.selectedView; 251 | 252 | cell.backgroundColor = [[UIColor blackColor] colorWithAlphaComponent:0.6]; 253 | cell.textLabel.font = [UIFont fontWithName:@"HelveticaNeue-Light" size:18]; 254 | cell.textLabel.textColor = [[JVAppHelper colorWithHexString:@"F7F7F7"] colorWithAlphaComponent:0.9]; 255 | cell.textLabel.backgroundColor = [UIColor clearColor]; 256 | cell.textLabel.highlightedTextColor = [JVAppHelper colorWithHexString:@"1F1F21"]; 257 | 258 | if(indexPath.section == 0) 259 | { 260 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 261 | cell.imageView.image = self.images[0]; 262 | cell.textLabel.text = self.labels[0]; 263 | } 264 | else if(indexPath.section == 1) 265 | { 266 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 267 | cell.imageView.image = self.images[1]; 268 | cell.textLabel.text = self.labels[1]; 269 | } 270 | else if(indexPath.section == 2) 271 | { 272 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 273 | cell.imageView.image = self.images[2]; 274 | cell.textLabel.text = self.labels[2]; 275 | } 276 | else if(indexPath.section == 3) 277 | { 278 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 279 | cell.imageView.image = self.images[3]; 280 | cell.textLabel.text = self.labels[3]; 281 | } 282 | else if(indexPath.section == 4) 283 | { 284 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 285 | cell.imageView.image = self.images[4]; 286 | cell.textLabel.text = self.labels[4]; 287 | } 288 | else if(indexPath.section == 5) 289 | { 290 | cell.selectedBackgroundView = nil; 291 | cell.selectionStyle = UITableViewCellSelectionStyleNone; 292 | cell.backgroundColor = [UIColor clearColor]; 293 | [cell.contentView addSubview:self.moreLabels[0]]; 294 | [cell.contentView addSubview:self.durationLabel]; 295 | [cell.contentView addSubview:self.sliders[0]]; 296 | } 297 | else if(indexPath.section == 6) 298 | { 299 | cell.selectedBackgroundView = nil; 300 | cell.selectionStyle = UITableViewCellSelectionStyleNone; 301 | cell.backgroundColor = [UIColor clearColor]; 302 | [cell.contentView addSubview:self.moreLabels[1]]; 303 | [cell.contentView addSubview:self.delayLabel]; 304 | [cell.contentView addSubview:self.sliders[1]]; 305 | } 306 | else if(indexPath.section == 7) 307 | { 308 | cell.selectedBackgroundView = nil; 309 | cell.selectionStyle = UITableViewCellSelectionStyleNone; 310 | cell.backgroundColor = [UIColor clearColor]; 311 | [cell.contentView addSubview:self.moreLabels[2]]; 312 | [cell.contentView addSubview:self.dampingLabel]; 313 | [cell.contentView addSubview:self.sliders[2]]; 314 | } 315 | else if(indexPath.section == 8) 316 | { 317 | cell.selectedBackgroundView = nil; 318 | cell.selectionStyle = UITableViewCellSelectionStyleNone; 319 | cell.backgroundColor = [UIColor clearColor]; 320 | [cell.contentView addSubview:self.moreLabels[3]]; 321 | [cell.contentView addSubview:self.velocityLabel]; 322 | [cell.contentView addSubview:self.sliders[3]]; 323 | } 324 | 325 | return cell; 326 | } 327 | 328 | - (void)tableView:(UITableView *)tableView didHighlightRowAtIndexPath:(NSIndexPath *)indexPath 329 | { 330 | UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; 331 | 332 | if(indexPath.section == 0) 333 | { 334 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next-black"]]; 335 | cell.imageView.image = self.imagesBlack[0]; 336 | } 337 | else if(indexPath.section == 1) 338 | { 339 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next-black"]]; 340 | cell.imageView.image = self.imagesBlack[1]; 341 | } 342 | else if(indexPath.section == 2) 343 | { 344 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next-black"]]; 345 | cell.imageView.image = self.imagesBlack[2]; 346 | } 347 | else if(indexPath.section == 3) 348 | { 349 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next-black"]]; 350 | cell.imageView.image = self.imagesBlack[3]; 351 | } 352 | else if(indexPath.section == 4) 353 | { 354 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next-black"]]; 355 | cell.imageView.image = self.imagesBlack[4]; 356 | } 357 | 358 | } 359 | 360 | - (void)tableView:(UITableView *)tableView didUnhighlightRowAtIndexPath:(NSIndexPath *)indexPath 361 | { 362 | UITableViewCell *cell = [tableView cellForRowAtIndexPath:indexPath]; 363 | 364 | if(indexPath.section == 0) 365 | { 366 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 367 | cell.imageView.image = self.images[0]; 368 | } 369 | else if(indexPath.section == 1) 370 | { 371 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 372 | cell.imageView.image = self.images[1]; 373 | } 374 | else if(indexPath.section == 2) 375 | { 376 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 377 | cell.imageView.image = self.images[2]; 378 | } 379 | else if(indexPath.section == 3) 380 | { 381 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 382 | cell.imageView.image = self.images[3]; 383 | } 384 | else if(indexPath.section == 4) 385 | { 386 | cell.accessoryView = [[UIImageView alloc] initWithImage:[UIImage imageNamed:@"next"]]; 387 | cell.imageView.image = self.images[4]; 388 | } 389 | } 390 | 391 | - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath 392 | { 393 | [tableView deselectRowAtIndexPath:indexPath animated:YES]; 394 | 395 | if(indexPath.section == 0) 396 | { 397 | self.secondController.transitioningDelegate = self.transitionAnimator; 398 | self.transitionAnimator.pushOnScreenAnimation = YES; 399 | self.transitionAnimator.slideUpDownAnimation = NO; 400 | self.transitionAnimator.slideInOutAnimation = NO; 401 | self.transitionAnimator.zoomInAnimation = NO; 402 | self.transitionAnimator.zoomOutAnimation = NO; 403 | [self presentViewController:self.secondController animated:YES completion:nil]; 404 | } 405 | else if(indexPath.section == 1) 406 | { 407 | self.secondController.transitioningDelegate = self.transitionAnimator; 408 | self.transitionAnimator.slideInOutAnimation = YES; 409 | self.transitionAnimator.slideUpDownAnimation = NO; 410 | self.transitionAnimator.pushOnScreenAnimation = NO; 411 | self.transitionAnimator.zoomInAnimation = NO; 412 | self.transitionAnimator.zoomOutAnimation = NO; 413 | [self presentViewController:self.secondController animated:YES completion:nil]; 414 | } 415 | else if(indexPath.section == 2) 416 | { 417 | self.secondController.transitioningDelegate = self.transitionAnimator; 418 | self.transitionAnimator.slideUpDownAnimation = YES; 419 | self.transitionAnimator.slideInOutAnimation = NO; 420 | self.transitionAnimator.pushOnScreenAnimation = NO; 421 | self.transitionAnimator.zoomInAnimation = NO; 422 | self.transitionAnimator.zoomOutAnimation = NO; 423 | [self presentViewController:self.secondController animated:YES completion:nil]; 424 | } 425 | else if(indexPath.section == 3) 426 | { 427 | self.secondController.transitioningDelegate = self.transitionAnimator; 428 | self.transitionAnimator.slideInOutAnimation = NO; 429 | self.transitionAnimator.slideUpDownAnimation = NO; 430 | self.transitionAnimator.pushOnScreenAnimation = NO; 431 | self.transitionAnimator.zoomInAnimation = YES; 432 | self.transitionAnimator.zoomOutAnimation = NO; 433 | [self presentViewController:self.secondController animated:YES completion:nil]; 434 | } 435 | else if(indexPath.section == 4) 436 | { 437 | self.secondController.transitioningDelegate = self.transitionAnimator; 438 | self.transitionAnimator.slideInOutAnimation = NO; 439 | self.transitionAnimator.slideUpDownAnimation = NO; 440 | self.transitionAnimator.pushOnScreenAnimation = NO; 441 | self.transitionAnimator.zoomInAnimation = NO; 442 | self.transitionAnimator.zoomOutAnimation = YES; 443 | [self presentViewController:self.secondController animated:YES completion:nil]; 444 | } 445 | } 446 | 447 | - (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView 448 | { 449 | return TABLEVIEW_ROWS_SECTION; 450 | } 451 | 452 | - (NSInteger)tableView:(UITableView *)tableView numberOfRowsInSection:(NSInteger)section 453 | { 454 | // return the number of sections in the tableview 455 | return 1; 456 | } 457 | 458 | - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath 459 | { 460 | // return the height of row 461 | return ROW_HEIGHT; 462 | } 463 | 464 | - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section 465 | { 466 | return [UIView new]; 467 | } 468 | 469 | - (CGFloat)tableView:(UITableView *)tableView heightForHeaderInSection:(NSInteger)section 470 | { 471 | return 10.0; 472 | } 473 | 474 | - (UIView *)tableView:(UITableView *)tableView viewForFooterInSection:(NSInteger)section 475 | { 476 | return [UIView new]; 477 | } 478 | 479 | - (CGFloat)tableView:(UITableView *)tableView heightForFooterInSection:(NSInteger)section 480 | { 481 | return 0.0; 482 | } 483 | 484 | 485 | #pragma mark - Slider helper functions 486 | 487 | - (void)updateDuration:(UISlider *)slider 488 | { 489 | if(slider.value > 0.0) 490 | { 491 | self.durationLabel.text = [NSString stringWithFormat:@"%.2f", slider.value]; 492 | self.transitionAnimator.animationDuration = slider.value; 493 | } 494 | } 495 | 496 | - (void)updateDelay:(UISlider *)slider 497 | { 498 | if(slider.value >= 0.0) 499 | { 500 | self.delayLabel.text = [NSString stringWithFormat:@"%.2f", slider.value]; 501 | self.transitionAnimator.animationDelay = slider.value; 502 | } 503 | } 504 | 505 | - (void)updateDamping:(UISlider *)slider 506 | { 507 | if(slider.value >= 0.0) 508 | { 509 | self.dampingLabel.text = [NSString stringWithFormat:@"%.2f", slider.value]; 510 | self.transitionAnimator.animationDamping = slider.value; 511 | } 512 | } 513 | 514 | - (void)updateVelocity:(UISlider *)slider 515 | { 516 | if(slider.value >= 0.0) 517 | { 518 | self.velocityLabel.text = [NSString stringWithFormat:@"%.2f", slider.value]; 519 | self.transitionAnimator.animationVelocity = slider.value; 520 | } 521 | } 522 | 523 | 524 | @end -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /Example/JVTransitionAnimator/main.m: -------------------------------------------------------------------------------- 1 | // 2 | // main.m 3 | // JVTransitionAnimtor 4 | // 5 | // Created by Jorge Valbuena on 04/20/2015. 6 | // Copyright (c) 2014 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | #import 10 | 11 | #import "JVAppDelegate.h" 12 | 13 | int main(int argc, char * argv[]) 14 | { 15 | @autoreleasepool { 16 | return UIApplicationMain(argc, argv, nil, NSStringFromClass([JVAppDelegate class])); 17 | } 18 | } 19 | -------------------------------------------------------------------------------- /Example/Podfile: -------------------------------------------------------------------------------- 1 | source 'https://github.com/CocoaPods/Specs.git' 2 | 3 | platform :ios, '11.0' 4 | 5 | target 'JVTransitionAnimator' do 6 | pod "JVTransitionAnimator", :path => "../" 7 | end 8 | 9 | target 'Tests' do 10 | pod "JVTransitionAnimator", :path => "../" 11 | end 12 | -------------------------------------------------------------------------------- /Example/Podfile.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - JVTransitionAnimator (1.0) 3 | 4 | DEPENDENCIES: 5 | - JVTransitionAnimator (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | JVTransitionAnimator: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | JVTransitionAnimator: 034e4192cdb0ddd3d906c3666f1d874e6ece73c3 13 | 14 | PODFILE CHECKSUM: e12767785cd039f59cd9a942c7620084d2922f27 15 | 16 | COCOAPODS: 1.7.5 17 | -------------------------------------------------------------------------------- /Example/Pods/Headers/Private/JVTransitionAnimator/JVTransitionAnimator.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/JVTransitionAnimator.h -------------------------------------------------------------------------------- /Example/Pods/Headers/Public/JVTransitionAnimator/JVTransitionAnimator.h: -------------------------------------------------------------------------------- 1 | ../../../../../Pod/Classes/JVTransitionAnimator.h -------------------------------------------------------------------------------- /Example/Pods/Local Podspecs/JVTransitionAnimator.podspec.json: -------------------------------------------------------------------------------- 1 | { 2 | "name": "JVTransitionAnimator", 3 | "version": "1.0", 4 | "summary": "JVTransitionAnimator to animatem your view controllers.", 5 | "description": "A simple transition animator that allows to present View Controller in a pretty cool way.", 6 | "homepage": "https://github.com/JV17/JVTransitionAnimator", 7 | "license": "MIT", 8 | "authors": { 9 | "Jorge Valbuena": "jorgevalbuena2@gmail.com" 10 | }, 11 | "source": { 12 | "git": "https://github.com/JV17/JVTransitionAnimator.git", 13 | "tag": "1.0" 14 | }, 15 | "platforms": { 16 | "ios": "11.0" 17 | }, 18 | "requires_arc": true, 19 | "source_files": "Pod/Classes/**/*", 20 | "resource_bundles": { 21 | "JVTransitionAnimator": [ 22 | "Pod/Assets/*.png" 23 | ] 24 | } 25 | } 26 | -------------------------------------------------------------------------------- /Example/Pods/Manifest.lock: -------------------------------------------------------------------------------- 1 | PODS: 2 | - JVTransitionAnimator (1.0) 3 | 4 | DEPENDENCIES: 5 | - JVTransitionAnimator (from `../`) 6 | 7 | EXTERNAL SOURCES: 8 | JVTransitionAnimator: 9 | :path: "../" 10 | 11 | SPEC CHECKSUMS: 12 | JVTransitionAnimator: 034e4192cdb0ddd3d906c3666f1d874e6ece73c3 13 | 14 | PODFILE CHECKSUM: e12767785cd039f59cd9a942c7620084d2922f27 15 | 16 | COCOAPODS: 1.7.5 17 | -------------------------------------------------------------------------------- /Example/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 | 0BEE74ACA327BA6B216BB5500B237855 /* Pods-JVTransitionAnimator-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D8C22B8A12E6D0CD59A15B4C1A0ABCD9 /* Pods-JVTransitionAnimator-dummy.m */; }; 11 | 14CBD93B79711F7B0FD8EA0CB7FD6501 /* Pods-Tests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = FFB44DA64D93E260A4574B82A6C2B865 /* Pods-Tests-dummy.m */; }; 12 | 19D28AB78F155FE08CD198B6C51C748E /* JVTransitionAnimator-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 26C5E250C1D5F689423805FDC2199048 /* JVTransitionAnimator-dummy.m */; }; 13 | 33567C2C1C4CC64B2D44B27665128BAF /* JVTransitionAnimator.m in Sources */ = {isa = PBXBuildFile; fileRef = 2683391106C632C8C8A143E482EA05C7 /* JVTransitionAnimator.m */; }; 14 | 85AF6807B14A91D8346B7AF529833468 /* JVTransitionAnimator.h in Headers */ = {isa = PBXBuildFile; fileRef = 26FD60CDB796A1DC36E51A555B7CA3EA /* JVTransitionAnimator.h */; settings = {ATTRIBUTES = (Project, ); }; }; 15 | /* End PBXBuildFile section */ 16 | 17 | /* Begin PBXContainerItemProxy section */ 18 | 09B4039A3749BC89F3A053DD294E0159 /* PBXContainerItemProxy */ = { 19 | isa = PBXContainerItemProxy; 20 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 21 | proxyType = 1; 22 | remoteGlobalIDString = 1103689E010B45B3EA3A8CF3DB2E95ED; 23 | remoteInfo = "JVTransitionAnimator-JVTransitionAnimator"; 24 | }; 25 | 29A39249D1C35113AF4E516C92AF1D52 /* PBXContainerItemProxy */ = { 26 | isa = PBXContainerItemProxy; 27 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 28 | proxyType = 1; 29 | remoteGlobalIDString = 56037CFFD8044433A05668FA48AD7199; 30 | remoteInfo = JVTransitionAnimator; 31 | }; 32 | A3D6CE722A75CCC5F7D8BC2DCD2C2239 /* PBXContainerItemProxy */ = { 33 | isa = PBXContainerItemProxy; 34 | containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; 35 | proxyType = 1; 36 | remoteGlobalIDString = 56037CFFD8044433A05668FA48AD7199; 37 | remoteInfo = JVTransitionAnimator; 38 | }; 39 | /* End PBXContainerItemProxy section */ 40 | 41 | /* Begin PBXFileReference section */ 42 | 1E3ED220430AA3874EA1437257EB7FAC /* Pods-JVTransitionAnimator-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-JVTransitionAnimator-acknowledgements.markdown"; sourceTree = ""; }; 43 | 2683391106C632C8C8A143E482EA05C7 /* JVTransitionAnimator.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JVTransitionAnimator.m; path = Pod/Classes/JVTransitionAnimator.m; sourceTree = ""; }; 44 | 26C5E250C1D5F689423805FDC2199048 /* JVTransitionAnimator-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "JVTransitionAnimator-dummy.m"; sourceTree = ""; }; 45 | 26FD60CDB796A1DC36E51A555B7CA3EA /* JVTransitionAnimator.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JVTransitionAnimator.h; path = Pod/Classes/JVTransitionAnimator.h; sourceTree = ""; }; 46 | 486040923AD18330EDDC0FC6FE7A8241 /* Pods-JVTransitionAnimator-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-JVTransitionAnimator-resources.sh"; sourceTree = ""; }; 47 | 830818425A65449137A76471EA07A06D /* libJVTransitionAnimator.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = libJVTransitionAnimator.a; sourceTree = BUILT_PRODUCTS_DIR; }; 48 | 8BDCDF49774C4F442B8AEC164B141D33 /* Pods-Tests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.debug.xcconfig"; sourceTree = ""; }; 49 | 9C9E96397A4C4AA87548C53DBDC8AC49 /* ResourceBundle-JVTransitionAnimator-JVTransitionAnimator-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ResourceBundle-JVTransitionAnimator-JVTransitionAnimator-Info.plist"; sourceTree = ""; }; 50 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 51 | A621310DB4DF0A785E8C5DB46C3B1352 /* Pods-Tests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-Tests-acknowledgements.plist"; sourceTree = ""; }; 52 | B115F21F36963339D5D4DB887804F317 /* libPods-JVTransitionAnimator.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-JVTransitionAnimator.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 53 | BE209ADE65B06FC48D1F367B21D963F1 /* Pods-JVTransitionAnimator.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-JVTransitionAnimator.debug.xcconfig"; sourceTree = ""; }; 54 | C22DC5DA636BEB9FD5809CA06FE18C75 /* JVTransitionAnimator.bundle */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = JVTransitionAnimator.bundle; sourceTree = BUILT_PRODUCTS_DIR; }; 55 | D26F069BF59A1EA7611818EA8CD0A843 /* JVTransitionAnimator.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = JVTransitionAnimator.xcconfig; sourceTree = ""; }; 56 | D3FDC568BB51EA20172944F732481331 /* Pods-Tests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-Tests-resources.sh"; sourceTree = ""; }; 57 | D7779660A1245D45A00E02DAC78EB422 /* Pods-JVTransitionAnimator-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-JVTransitionAnimator-acknowledgements.plist"; sourceTree = ""; }; 58 | D80B4FFD868D1B329FEE320EB34681C8 /* Pods-Tests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-Tests-acknowledgements.markdown"; sourceTree = ""; }; 59 | D8C22B8A12E6D0CD59A15B4C1A0ABCD9 /* Pods-JVTransitionAnimator-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-JVTransitionAnimator-dummy.m"; sourceTree = ""; }; 60 | DA798EA7F824FE9F82A99DB4C028C45E /* Pods-JVTransitionAnimator.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-JVTransitionAnimator.release.xcconfig"; sourceTree = ""; }; 61 | E5CDAB2CE4CCCAF097DC874F341F6F2C /* JVTransitionAnimator-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "JVTransitionAnimator-prefix.pch"; sourceTree = ""; }; 62 | E7C8BC9493F474F62405EFF9A48BBFFC /* LICENSE */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = LICENSE; sourceTree = ""; }; 63 | E9ACDE0F4DFA7D176530E817F532A7BF /* Pods-Tests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-Tests.release.xcconfig"; sourceTree = ""; }; 64 | EA477EBCA09E6D6737EA398E81CD967B /* README.md */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = net.daringfireball.markdown; path = README.md; sourceTree = ""; }; 65 | F4F3704630048C4C2F236258A67873D2 /* JVTransitionAnimator.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; path = JVTransitionAnimator.podspec; sourceTree = ""; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; 66 | FC95D668E217CFBB25845AA15162348B /* libPods-Tests.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; path = "libPods-Tests.a"; sourceTree = BUILT_PRODUCTS_DIR; }; 67 | FFB44DA64D93E260A4574B82A6C2B865 /* Pods-Tests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-Tests-dummy.m"; sourceTree = ""; }; 68 | /* End PBXFileReference section */ 69 | 70 | /* Begin PBXFrameworksBuildPhase section */ 71 | 072E355E384569791A26ED100FAC1BE3 /* Frameworks */ = { 72 | isa = PBXFrameworksBuildPhase; 73 | buildActionMask = 2147483647; 74 | files = ( 75 | ); 76 | runOnlyForDeploymentPostprocessing = 0; 77 | }; 78 | 7E119E0F1BE92AB0B8EB4A9B25487E82 /* Frameworks */ = { 79 | isa = PBXFrameworksBuildPhase; 80 | buildActionMask = 2147483647; 81 | files = ( 82 | ); 83 | runOnlyForDeploymentPostprocessing = 0; 84 | }; 85 | A83C04F905B05E6EBC7CFAF642CF2E26 /* Frameworks */ = { 86 | isa = PBXFrameworksBuildPhase; 87 | buildActionMask = 2147483647; 88 | files = ( 89 | ); 90 | runOnlyForDeploymentPostprocessing = 0; 91 | }; 92 | AEC3A475C45E882046EE371D36138684 /* Frameworks */ = { 93 | isa = PBXFrameworksBuildPhase; 94 | buildActionMask = 2147483647; 95 | files = ( 96 | ); 97 | runOnlyForDeploymentPostprocessing = 0; 98 | }; 99 | /* End PBXFrameworksBuildPhase section */ 100 | 101 | /* Begin PBXGroup section */ 102 | 163A04F268DE898F0092CF17C4FEF0D9 /* Pods-Tests */ = { 103 | isa = PBXGroup; 104 | children = ( 105 | D80B4FFD868D1B329FEE320EB34681C8 /* Pods-Tests-acknowledgements.markdown */, 106 | A621310DB4DF0A785E8C5DB46C3B1352 /* Pods-Tests-acknowledgements.plist */, 107 | FFB44DA64D93E260A4574B82A6C2B865 /* Pods-Tests-dummy.m */, 108 | D3FDC568BB51EA20172944F732481331 /* Pods-Tests-resources.sh */, 109 | 8BDCDF49774C4F442B8AEC164B141D33 /* Pods-Tests.debug.xcconfig */, 110 | E9ACDE0F4DFA7D176530E817F532A7BF /* Pods-Tests.release.xcconfig */, 111 | ); 112 | name = "Pods-Tests"; 113 | path = "Target Support Files/Pods-Tests"; 114 | sourceTree = ""; 115 | }; 116 | 16D22D220CA1A7ABAD810959EC2860EE /* JVTransitionAnimator */ = { 117 | isa = PBXGroup; 118 | children = ( 119 | 26FD60CDB796A1DC36E51A555B7CA3EA /* JVTransitionAnimator.h */, 120 | 2683391106C632C8C8A143E482EA05C7 /* JVTransitionAnimator.m */, 121 | B3C085D46BCAD40284B60073A9C8CD2A /* Pod */, 122 | 1FE607D5030BD62820142B2959886587 /* Support Files */, 123 | ); 124 | name = JVTransitionAnimator; 125 | path = ../..; 126 | sourceTree = ""; 127 | }; 128 | 1FE607D5030BD62820142B2959886587 /* Support Files */ = { 129 | isa = PBXGroup; 130 | children = ( 131 | D26F069BF59A1EA7611818EA8CD0A843 /* JVTransitionAnimator.xcconfig */, 132 | 26C5E250C1D5F689423805FDC2199048 /* JVTransitionAnimator-dummy.m */, 133 | E5CDAB2CE4CCCAF097DC874F341F6F2C /* JVTransitionAnimator-prefix.pch */, 134 | 9C9E96397A4C4AA87548C53DBDC8AC49 /* ResourceBundle-JVTransitionAnimator-JVTransitionAnimator-Info.plist */, 135 | ); 136 | name = "Support Files"; 137 | path = "Example/Pods/Target Support Files/JVTransitionAnimator"; 138 | sourceTree = ""; 139 | }; 140 | 48D46EAD3649467B9CE3F1A4BA3197A9 /* Targets Support Files */ = { 141 | isa = PBXGroup; 142 | children = ( 143 | 4C82F52D17A145B5851C17DF50E4B1C7 /* Pods-JVTransitionAnimator */, 144 | 163A04F268DE898F0092CF17C4FEF0D9 /* Pods-Tests */, 145 | ); 146 | name = "Targets Support Files"; 147 | sourceTree = ""; 148 | }; 149 | 4C82F52D17A145B5851C17DF50E4B1C7 /* Pods-JVTransitionAnimator */ = { 150 | isa = PBXGroup; 151 | children = ( 152 | 1E3ED220430AA3874EA1437257EB7FAC /* Pods-JVTransitionAnimator-acknowledgements.markdown */, 153 | D7779660A1245D45A00E02DAC78EB422 /* Pods-JVTransitionAnimator-acknowledgements.plist */, 154 | D8C22B8A12E6D0CD59A15B4C1A0ABCD9 /* Pods-JVTransitionAnimator-dummy.m */, 155 | 486040923AD18330EDDC0FC6FE7A8241 /* Pods-JVTransitionAnimator-resources.sh */, 156 | BE209ADE65B06FC48D1F367B21D963F1 /* Pods-JVTransitionAnimator.debug.xcconfig */, 157 | DA798EA7F824FE9F82A99DB4C028C45E /* Pods-JVTransitionAnimator.release.xcconfig */, 158 | ); 159 | name = "Pods-JVTransitionAnimator"; 160 | path = "Target Support Files/Pods-JVTransitionAnimator"; 161 | sourceTree = ""; 162 | }; 163 | 58772F0B33FBDE32A328E41E374805EB /* Products */ = { 164 | isa = PBXGroup; 165 | children = ( 166 | C22DC5DA636BEB9FD5809CA06FE18C75 /* JVTransitionAnimator.bundle */, 167 | 830818425A65449137A76471EA07A06D /* libJVTransitionAnimator.a */, 168 | B115F21F36963339D5D4DB887804F317 /* libPods-JVTransitionAnimator.a */, 169 | FC95D668E217CFBB25845AA15162348B /* libPods-Tests.a */, 170 | ); 171 | name = Products; 172 | sourceTree = ""; 173 | }; 174 | B3C085D46BCAD40284B60073A9C8CD2A /* Pod */ = { 175 | isa = PBXGroup; 176 | children = ( 177 | F4F3704630048C4C2F236258A67873D2 /* JVTransitionAnimator.podspec */, 178 | E7C8BC9493F474F62405EFF9A48BBFFC /* LICENSE */, 179 | EA477EBCA09E6D6737EA398E81CD967B /* README.md */, 180 | ); 181 | name = Pod; 182 | sourceTree = ""; 183 | }; 184 | CF1408CF629C7361332E53B88F7BD30C = { 185 | isa = PBXGroup; 186 | children = ( 187 | 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, 188 | E22A2E8B3732393184A5F83AF0F9C5B7 /* Development Pods */, 189 | D89477F20FB1DE18A04690586D7808C4 /* Frameworks */, 190 | 58772F0B33FBDE32A328E41E374805EB /* Products */, 191 | 48D46EAD3649467B9CE3F1A4BA3197A9 /* Targets Support Files */, 192 | ); 193 | sourceTree = ""; 194 | }; 195 | D89477F20FB1DE18A04690586D7808C4 /* Frameworks */ = { 196 | isa = PBXGroup; 197 | children = ( 198 | ); 199 | name = Frameworks; 200 | sourceTree = ""; 201 | }; 202 | E22A2E8B3732393184A5F83AF0F9C5B7 /* Development Pods */ = { 203 | isa = PBXGroup; 204 | children = ( 205 | 16D22D220CA1A7ABAD810959EC2860EE /* JVTransitionAnimator */, 206 | ); 207 | name = "Development Pods"; 208 | sourceTree = ""; 209 | }; 210 | /* End PBXGroup section */ 211 | 212 | /* Begin PBXHeadersBuildPhase section */ 213 | 55462306E5B5E9FB294FCE2CFC46F0FE /* Headers */ = { 214 | isa = PBXHeadersBuildPhase; 215 | buildActionMask = 2147483647; 216 | files = ( 217 | ); 218 | runOnlyForDeploymentPostprocessing = 0; 219 | }; 220 | A6AB19053F982643F94F8CA035E9A323 /* Headers */ = { 221 | isa = PBXHeadersBuildPhase; 222 | buildActionMask = 2147483647; 223 | files = ( 224 | ); 225 | runOnlyForDeploymentPostprocessing = 0; 226 | }; 227 | F522D9E83EA932364D0FE80325F88C70 /* Headers */ = { 228 | isa = PBXHeadersBuildPhase; 229 | buildActionMask = 2147483647; 230 | files = ( 231 | 85AF6807B14A91D8346B7AF529833468 /* JVTransitionAnimator.h in Headers */, 232 | ); 233 | runOnlyForDeploymentPostprocessing = 0; 234 | }; 235 | /* End PBXHeadersBuildPhase section */ 236 | 237 | /* Begin PBXNativeTarget section */ 238 | 1103689E010B45B3EA3A8CF3DB2E95ED /* JVTransitionAnimator-JVTransitionAnimator */ = { 239 | isa = PBXNativeTarget; 240 | buildConfigurationList = AC76D6864DFF1F632324AA93EC9DFA76 /* Build configuration list for PBXNativeTarget "JVTransitionAnimator-JVTransitionAnimator" */; 241 | buildPhases = ( 242 | 55AE460B073DC1809CB171DDAFBDAD77 /* Sources */, 243 | A83C04F905B05E6EBC7CFAF642CF2E26 /* Frameworks */, 244 | BD0782D0EE962382120BD64EC60340EA /* Resources */, 245 | ); 246 | buildRules = ( 247 | ); 248 | dependencies = ( 249 | ); 250 | name = "JVTransitionAnimator-JVTransitionAnimator"; 251 | productName = "JVTransitionAnimator-JVTransitionAnimator"; 252 | productReference = C22DC5DA636BEB9FD5809CA06FE18C75 /* JVTransitionAnimator.bundle */; 253 | productType = "com.apple.product-type.bundle"; 254 | }; 255 | 56037CFFD8044433A05668FA48AD7199 /* JVTransitionAnimator */ = { 256 | isa = PBXNativeTarget; 257 | buildConfigurationList = D738A283C7EDBCCB9598442992F6531E /* Build configuration list for PBXNativeTarget "JVTransitionAnimator" */; 258 | buildPhases = ( 259 | F522D9E83EA932364D0FE80325F88C70 /* Headers */, 260 | 28E21BFFF7552853E86A5C1FB6A80C2A /* Sources */, 261 | AEC3A475C45E882046EE371D36138684 /* Frameworks */, 262 | ); 263 | buildRules = ( 264 | ); 265 | dependencies = ( 266 | BB32593D750686616BD23017228F6DFE /* PBXTargetDependency */, 267 | ); 268 | name = JVTransitionAnimator; 269 | productName = JVTransitionAnimator; 270 | productReference = 830818425A65449137A76471EA07A06D /* libJVTransitionAnimator.a */; 271 | productType = "com.apple.product-type.library.static"; 272 | }; 273 | 780303AFC6995983D07D6404A2D20E9A /* Pods-JVTransitionAnimator */ = { 274 | isa = PBXNativeTarget; 275 | buildConfigurationList = 83BF64DCFC12F61D79A990BB7480CE10 /* Build configuration list for PBXNativeTarget "Pods-JVTransitionAnimator" */; 276 | buildPhases = ( 277 | 55462306E5B5E9FB294FCE2CFC46F0FE /* Headers */, 278 | FBA48B5AC159A44469389196FE165E03 /* Sources */, 279 | 072E355E384569791A26ED100FAC1BE3 /* Frameworks */, 280 | ); 281 | buildRules = ( 282 | ); 283 | dependencies = ( 284 | 728A1B3D753B574A907442D9B6AA86C4 /* PBXTargetDependency */, 285 | ); 286 | name = "Pods-JVTransitionAnimator"; 287 | productName = "Pods-JVTransitionAnimator"; 288 | productReference = B115F21F36963339D5D4DB887804F317 /* libPods-JVTransitionAnimator.a */; 289 | productType = "com.apple.product-type.library.static"; 290 | }; 291 | 958186CF7D75761173A23E66E0CCAF14 /* Pods-Tests */ = { 292 | isa = PBXNativeTarget; 293 | buildConfigurationList = 953B6E4047F42AC6E4BE83168901DAAD /* Build configuration list for PBXNativeTarget "Pods-Tests" */; 294 | buildPhases = ( 295 | A6AB19053F982643F94F8CA035E9A323 /* Headers */, 296 | E642D0EA9B684920454BD3093EAEF402 /* Sources */, 297 | 7E119E0F1BE92AB0B8EB4A9B25487E82 /* Frameworks */, 298 | ); 299 | buildRules = ( 300 | ); 301 | dependencies = ( 302 | CE12A07F827BF6876CB50D6D68550C57 /* PBXTargetDependency */, 303 | ); 304 | name = "Pods-Tests"; 305 | productName = "Pods-Tests"; 306 | productReference = FC95D668E217CFBB25845AA15162348B /* libPods-Tests.a */; 307 | productType = "com.apple.product-type.library.static"; 308 | }; 309 | /* End PBXNativeTarget section */ 310 | 311 | /* Begin PBXProject section */ 312 | BFDFE7DC352907FC980B868725387E98 /* Project object */ = { 313 | isa = PBXProject; 314 | attributes = { 315 | LastSwiftUpdateCheck = 1100; 316 | LastUpgradeCheck = 1030; 317 | }; 318 | buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; 319 | compatibilityVersion = "Xcode 3.2"; 320 | developmentRegion = en; 321 | hasScannedForEncodings = 0; 322 | knownRegions = ( 323 | en, 324 | ); 325 | mainGroup = CF1408CF629C7361332E53B88F7BD30C; 326 | productRefGroup = 58772F0B33FBDE32A328E41E374805EB /* Products */; 327 | projectDirPath = ""; 328 | projectRoot = ""; 329 | targets = ( 330 | 56037CFFD8044433A05668FA48AD7199 /* JVTransitionAnimator */, 331 | 1103689E010B45B3EA3A8CF3DB2E95ED /* JVTransitionAnimator-JVTransitionAnimator */, 332 | 780303AFC6995983D07D6404A2D20E9A /* Pods-JVTransitionAnimator */, 333 | 958186CF7D75761173A23E66E0CCAF14 /* Pods-Tests */, 334 | ); 335 | }; 336 | /* End PBXProject section */ 337 | 338 | /* Begin PBXResourcesBuildPhase section */ 339 | BD0782D0EE962382120BD64EC60340EA /* Resources */ = { 340 | isa = PBXResourcesBuildPhase; 341 | buildActionMask = 2147483647; 342 | files = ( 343 | ); 344 | runOnlyForDeploymentPostprocessing = 0; 345 | }; 346 | /* End PBXResourcesBuildPhase section */ 347 | 348 | /* Begin PBXSourcesBuildPhase section */ 349 | 28E21BFFF7552853E86A5C1FB6A80C2A /* Sources */ = { 350 | isa = PBXSourcesBuildPhase; 351 | buildActionMask = 2147483647; 352 | files = ( 353 | 19D28AB78F155FE08CD198B6C51C748E /* JVTransitionAnimator-dummy.m in Sources */, 354 | 33567C2C1C4CC64B2D44B27665128BAF /* JVTransitionAnimator.m in Sources */, 355 | ); 356 | runOnlyForDeploymentPostprocessing = 0; 357 | }; 358 | 55AE460B073DC1809CB171DDAFBDAD77 /* Sources */ = { 359 | isa = PBXSourcesBuildPhase; 360 | buildActionMask = 2147483647; 361 | files = ( 362 | ); 363 | runOnlyForDeploymentPostprocessing = 0; 364 | }; 365 | E642D0EA9B684920454BD3093EAEF402 /* Sources */ = { 366 | isa = PBXSourcesBuildPhase; 367 | buildActionMask = 2147483647; 368 | files = ( 369 | 14CBD93B79711F7B0FD8EA0CB7FD6501 /* Pods-Tests-dummy.m in Sources */, 370 | ); 371 | runOnlyForDeploymentPostprocessing = 0; 372 | }; 373 | FBA48B5AC159A44469389196FE165E03 /* Sources */ = { 374 | isa = PBXSourcesBuildPhase; 375 | buildActionMask = 2147483647; 376 | files = ( 377 | 0BEE74ACA327BA6B216BB5500B237855 /* Pods-JVTransitionAnimator-dummy.m in Sources */, 378 | ); 379 | runOnlyForDeploymentPostprocessing = 0; 380 | }; 381 | /* End PBXSourcesBuildPhase section */ 382 | 383 | /* Begin PBXTargetDependency section */ 384 | 728A1B3D753B574A907442D9B6AA86C4 /* PBXTargetDependency */ = { 385 | isa = PBXTargetDependency; 386 | name = JVTransitionAnimator; 387 | target = 56037CFFD8044433A05668FA48AD7199 /* JVTransitionAnimator */; 388 | targetProxy = 29A39249D1C35113AF4E516C92AF1D52 /* PBXContainerItemProxy */; 389 | }; 390 | BB32593D750686616BD23017228F6DFE /* PBXTargetDependency */ = { 391 | isa = PBXTargetDependency; 392 | name = "JVTransitionAnimator-JVTransitionAnimator"; 393 | target = 1103689E010B45B3EA3A8CF3DB2E95ED /* JVTransitionAnimator-JVTransitionAnimator */; 394 | targetProxy = 09B4039A3749BC89F3A053DD294E0159 /* PBXContainerItemProxy */; 395 | }; 396 | CE12A07F827BF6876CB50D6D68550C57 /* PBXTargetDependency */ = { 397 | isa = PBXTargetDependency; 398 | name = JVTransitionAnimator; 399 | target = 56037CFFD8044433A05668FA48AD7199 /* JVTransitionAnimator */; 400 | targetProxy = A3D6CE722A75CCC5F7D8BC2DCD2C2239 /* PBXContainerItemProxy */; 401 | }; 402 | /* End PBXTargetDependency section */ 403 | 404 | /* Begin XCBuildConfiguration section */ 405 | 257497152829C177993B5EC99C1D227A /* Release */ = { 406 | isa = XCBuildConfiguration; 407 | buildSettings = { 408 | ALWAYS_SEARCH_USER_PATHS = NO; 409 | CLANG_ANALYZER_NONNULL = YES; 410 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 411 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 412 | CLANG_CXX_LIBRARY = "libc++"; 413 | CLANG_ENABLE_MODULES = YES; 414 | CLANG_ENABLE_OBJC_ARC = YES; 415 | CLANG_ENABLE_OBJC_WEAK = YES; 416 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 417 | CLANG_WARN_BOOL_CONVERSION = YES; 418 | CLANG_WARN_COMMA = YES; 419 | CLANG_WARN_CONSTANT_CONVERSION = YES; 420 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 421 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 422 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 423 | CLANG_WARN_EMPTY_BODY = YES; 424 | CLANG_WARN_ENUM_CONVERSION = YES; 425 | CLANG_WARN_INFINITE_RECURSION = YES; 426 | CLANG_WARN_INT_CONVERSION = YES; 427 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 428 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 429 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 430 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 431 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 432 | CLANG_WARN_STRICT_PROTOTYPES = YES; 433 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 434 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 435 | CLANG_WARN_UNREACHABLE_CODE = YES; 436 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 437 | COPY_PHASE_STRIP = NO; 438 | DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; 439 | ENABLE_NS_ASSERTIONS = NO; 440 | ENABLE_STRICT_OBJC_MSGSEND = YES; 441 | GCC_C_LANGUAGE_STANDARD = gnu11; 442 | GCC_NO_COMMON_BLOCKS = YES; 443 | GCC_PREPROCESSOR_DEFINITIONS = ( 444 | "POD_CONFIGURATION_RELEASE=1", 445 | "$(inherited)", 446 | ); 447 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 448 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 449 | GCC_WARN_UNDECLARED_SELECTOR = YES; 450 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 451 | GCC_WARN_UNUSED_FUNCTION = YES; 452 | GCC_WARN_UNUSED_VARIABLE = YES; 453 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 454 | MTL_ENABLE_DEBUG_INFO = NO; 455 | MTL_FAST_MATH = YES; 456 | PRODUCT_NAME = "$(TARGET_NAME)"; 457 | STRIP_INSTALLED_PRODUCT = NO; 458 | SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; 459 | SWIFT_VERSION = 5.0; 460 | SYMROOT = "${SRCROOT}/../build"; 461 | }; 462 | name = Release; 463 | }; 464 | 294B248226B5AEC9FDFBCB77D00E3598 /* Debug */ = { 465 | isa = XCBuildConfiguration; 466 | baseConfigurationReference = D26F069BF59A1EA7611818EA8CD0A843 /* JVTransitionAnimator.xcconfig */; 467 | buildSettings = { 468 | CLANG_ENABLE_OBJC_WEAK = NO; 469 | CODE_SIGN_IDENTITY = "iPhone Developer"; 470 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 471 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 472 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 473 | GCC_PREFIX_HEADER = "Target Support Files/JVTransitionAnimator/JVTransitionAnimator-prefix.pch"; 474 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 475 | OTHER_LDFLAGS = ""; 476 | OTHER_LIBTOOLFLAGS = ""; 477 | PRIVATE_HEADERS_FOLDER_PATH = ""; 478 | PRODUCT_MODULE_NAME = JVTransitionAnimator; 479 | PRODUCT_NAME = JVTransitionAnimator; 480 | PUBLIC_HEADERS_FOLDER_PATH = ""; 481 | SDKROOT = iphoneos; 482 | SKIP_INSTALL = YES; 483 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 484 | TARGETED_DEVICE_FAMILY = "1,2"; 485 | }; 486 | name = Debug; 487 | }; 488 | 41B5328FD1CD33786E2561E7FDD31C66 /* Debug */ = { 489 | isa = XCBuildConfiguration; 490 | baseConfigurationReference = BE209ADE65B06FC48D1F367B21D963F1 /* Pods-JVTransitionAnimator.debug.xcconfig */; 491 | buildSettings = { 492 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 493 | CLANG_ENABLE_OBJC_WEAK = NO; 494 | CODE_SIGN_IDENTITY = "iPhone Developer"; 495 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 496 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 497 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 498 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 499 | MACH_O_TYPE = staticlib; 500 | OTHER_LDFLAGS = ""; 501 | OTHER_LIBTOOLFLAGS = ""; 502 | PODS_ROOT = "$(SRCROOT)"; 503 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 504 | SDKROOT = iphoneos; 505 | SKIP_INSTALL = YES; 506 | TARGETED_DEVICE_FAMILY = "1,2"; 507 | }; 508 | name = Debug; 509 | }; 510 | 4EEF1CFF7279D69CB5C5179A3A720360 /* Release */ = { 511 | isa = XCBuildConfiguration; 512 | baseConfigurationReference = D26F069BF59A1EA7611818EA8CD0A843 /* JVTransitionAnimator.xcconfig */; 513 | buildSettings = { 514 | CLANG_ENABLE_OBJC_WEAK = NO; 515 | CODE_SIGN_IDENTITY = "iPhone Developer"; 516 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 517 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 518 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 519 | GCC_PREFIX_HEADER = "Target Support Files/JVTransitionAnimator/JVTransitionAnimator-prefix.pch"; 520 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 521 | OTHER_LDFLAGS = ""; 522 | OTHER_LIBTOOLFLAGS = ""; 523 | PRIVATE_HEADERS_FOLDER_PATH = ""; 524 | PRODUCT_MODULE_NAME = JVTransitionAnimator; 525 | PRODUCT_NAME = JVTransitionAnimator; 526 | PUBLIC_HEADERS_FOLDER_PATH = ""; 527 | SDKROOT = iphoneos; 528 | SKIP_INSTALL = YES; 529 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; 530 | TARGETED_DEVICE_FAMILY = "1,2"; 531 | VALIDATE_PRODUCT = YES; 532 | }; 533 | name = Release; 534 | }; 535 | 7B9E7AC8CA059F36E1AA2073E84E70C4 /* Debug */ = { 536 | isa = XCBuildConfiguration; 537 | baseConfigurationReference = 8BDCDF49774C4F442B8AEC164B141D33 /* Pods-Tests.debug.xcconfig */; 538 | buildSettings = { 539 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 540 | CLANG_ENABLE_OBJC_WEAK = NO; 541 | CODE_SIGN_IDENTITY = "iPhone Developer"; 542 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 543 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 544 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 545 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 546 | MACH_O_TYPE = staticlib; 547 | OTHER_LDFLAGS = ""; 548 | OTHER_LIBTOOLFLAGS = ""; 549 | PODS_ROOT = "$(SRCROOT)"; 550 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 551 | SDKROOT = iphoneos; 552 | SKIP_INSTALL = YES; 553 | TARGETED_DEVICE_FAMILY = "1,2"; 554 | }; 555 | name = Debug; 556 | }; 557 | C74F01CEB942425BDB96095B72A4E261 /* Release */ = { 558 | isa = XCBuildConfiguration; 559 | baseConfigurationReference = DA798EA7F824FE9F82A99DB4C028C45E /* Pods-JVTransitionAnimator.release.xcconfig */; 560 | buildSettings = { 561 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 562 | CLANG_ENABLE_OBJC_WEAK = NO; 563 | CODE_SIGN_IDENTITY = "iPhone Developer"; 564 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 565 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 566 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 567 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 568 | MACH_O_TYPE = staticlib; 569 | OTHER_LDFLAGS = ""; 570 | OTHER_LIBTOOLFLAGS = ""; 571 | PODS_ROOT = "$(SRCROOT)"; 572 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 573 | SDKROOT = iphoneos; 574 | SKIP_INSTALL = YES; 575 | TARGETED_DEVICE_FAMILY = "1,2"; 576 | VALIDATE_PRODUCT = YES; 577 | }; 578 | name = Release; 579 | }; 580 | DD8F832993327D1DD8046C3CBCBD97CD /* Debug */ = { 581 | isa = XCBuildConfiguration; 582 | buildSettings = { 583 | ALWAYS_SEARCH_USER_PATHS = NO; 584 | CLANG_ANALYZER_NONNULL = YES; 585 | CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; 586 | CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; 587 | CLANG_CXX_LIBRARY = "libc++"; 588 | CLANG_ENABLE_MODULES = YES; 589 | CLANG_ENABLE_OBJC_ARC = YES; 590 | CLANG_ENABLE_OBJC_WEAK = YES; 591 | CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; 592 | CLANG_WARN_BOOL_CONVERSION = YES; 593 | CLANG_WARN_COMMA = YES; 594 | CLANG_WARN_CONSTANT_CONVERSION = YES; 595 | CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; 596 | CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; 597 | CLANG_WARN_DOCUMENTATION_COMMENTS = YES; 598 | CLANG_WARN_EMPTY_BODY = YES; 599 | CLANG_WARN_ENUM_CONVERSION = YES; 600 | CLANG_WARN_INFINITE_RECURSION = YES; 601 | CLANG_WARN_INT_CONVERSION = YES; 602 | CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; 603 | CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; 604 | CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; 605 | CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; 606 | CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; 607 | CLANG_WARN_STRICT_PROTOTYPES = YES; 608 | CLANG_WARN_SUSPICIOUS_MOVE = YES; 609 | CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; 610 | CLANG_WARN_UNREACHABLE_CODE = YES; 611 | CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; 612 | COPY_PHASE_STRIP = NO; 613 | DEBUG_INFORMATION_FORMAT = dwarf; 614 | ENABLE_STRICT_OBJC_MSGSEND = YES; 615 | ENABLE_TESTABILITY = YES; 616 | GCC_C_LANGUAGE_STANDARD = gnu11; 617 | GCC_DYNAMIC_NO_PIC = NO; 618 | GCC_NO_COMMON_BLOCKS = YES; 619 | GCC_OPTIMIZATION_LEVEL = 0; 620 | GCC_PREPROCESSOR_DEFINITIONS = ( 621 | "POD_CONFIGURATION_DEBUG=1", 622 | "DEBUG=1", 623 | "$(inherited)", 624 | ); 625 | GCC_WARN_64_TO_32_BIT_CONVERSION = YES; 626 | GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; 627 | GCC_WARN_UNDECLARED_SELECTOR = YES; 628 | GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; 629 | GCC_WARN_UNUSED_FUNCTION = YES; 630 | GCC_WARN_UNUSED_VARIABLE = YES; 631 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 632 | MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; 633 | MTL_FAST_MATH = YES; 634 | ONLY_ACTIVE_ARCH = YES; 635 | PRODUCT_NAME = "$(TARGET_NAME)"; 636 | STRIP_INSTALLED_PRODUCT = NO; 637 | SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; 638 | SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 639 | SWIFT_VERSION = 5.0; 640 | SYMROOT = "${SRCROOT}/../build"; 641 | }; 642 | name = Debug; 643 | }; 644 | E6A9518F8D242F2B8CC0FAB9A4A93831 /* Release */ = { 645 | isa = XCBuildConfiguration; 646 | baseConfigurationReference = E9ACDE0F4DFA7D176530E817F532A7BF /* Pods-Tests.release.xcconfig */; 647 | buildSettings = { 648 | ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; 649 | CLANG_ENABLE_OBJC_WEAK = NO; 650 | CODE_SIGN_IDENTITY = "iPhone Developer"; 651 | "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; 652 | "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; 653 | "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; 654 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 655 | MACH_O_TYPE = staticlib; 656 | OTHER_LDFLAGS = ""; 657 | OTHER_LIBTOOLFLAGS = ""; 658 | PODS_ROOT = "$(SRCROOT)"; 659 | PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; 660 | SDKROOT = iphoneos; 661 | SKIP_INSTALL = YES; 662 | TARGETED_DEVICE_FAMILY = "1,2"; 663 | VALIDATE_PRODUCT = YES; 664 | }; 665 | name = Release; 666 | }; 667 | FA0A0D1A09AC49DB9347979D85D341E4 /* Release */ = { 668 | isa = XCBuildConfiguration; 669 | baseConfigurationReference = D26F069BF59A1EA7611818EA8CD0A843 /* JVTransitionAnimator.xcconfig */; 670 | buildSettings = { 671 | CODE_SIGN_IDENTITY = "iPhone Developer"; 672 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/JVTransitionAnimator"; 673 | INFOPLIST_FILE = "Target Support Files/JVTransitionAnimator/ResourceBundle-JVTransitionAnimator-JVTransitionAnimator-Info.plist"; 674 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 675 | PRODUCT_NAME = JVTransitionAnimator; 676 | SDKROOT = iphoneos; 677 | SKIP_INSTALL = YES; 678 | TARGETED_DEVICE_FAMILY = "1,2"; 679 | WRAPPER_EXTENSION = bundle; 680 | }; 681 | name = Release; 682 | }; 683 | FAEDE536AC16CEF85D0F64E86D6F373E /* Debug */ = { 684 | isa = XCBuildConfiguration; 685 | baseConfigurationReference = D26F069BF59A1EA7611818EA8CD0A843 /* JVTransitionAnimator.xcconfig */; 686 | buildSettings = { 687 | CODE_SIGN_IDENTITY = "iPhone Developer"; 688 | CONFIGURATION_BUILD_DIR = "$(BUILD_DIR)/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)/JVTransitionAnimator"; 689 | INFOPLIST_FILE = "Target Support Files/JVTransitionAnimator/ResourceBundle-JVTransitionAnimator-JVTransitionAnimator-Info.plist"; 690 | IPHONEOS_DEPLOYMENT_TARGET = 11.0; 691 | PRODUCT_NAME = JVTransitionAnimator; 692 | SDKROOT = iphoneos; 693 | SKIP_INSTALL = YES; 694 | TARGETED_DEVICE_FAMILY = "1,2"; 695 | WRAPPER_EXTENSION = bundle; 696 | }; 697 | name = Debug; 698 | }; 699 | /* End XCBuildConfiguration section */ 700 | 701 | /* Begin XCConfigurationList section */ 702 | 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { 703 | isa = XCConfigurationList; 704 | buildConfigurations = ( 705 | DD8F832993327D1DD8046C3CBCBD97CD /* Debug */, 706 | 257497152829C177993B5EC99C1D227A /* Release */, 707 | ); 708 | defaultConfigurationIsVisible = 0; 709 | defaultConfigurationName = Release; 710 | }; 711 | 83BF64DCFC12F61D79A990BB7480CE10 /* Build configuration list for PBXNativeTarget "Pods-JVTransitionAnimator" */ = { 712 | isa = XCConfigurationList; 713 | buildConfigurations = ( 714 | 41B5328FD1CD33786E2561E7FDD31C66 /* Debug */, 715 | C74F01CEB942425BDB96095B72A4E261 /* Release */, 716 | ); 717 | defaultConfigurationIsVisible = 0; 718 | defaultConfigurationName = Release; 719 | }; 720 | 953B6E4047F42AC6E4BE83168901DAAD /* Build configuration list for PBXNativeTarget "Pods-Tests" */ = { 721 | isa = XCConfigurationList; 722 | buildConfigurations = ( 723 | 7B9E7AC8CA059F36E1AA2073E84E70C4 /* Debug */, 724 | E6A9518F8D242F2B8CC0FAB9A4A93831 /* Release */, 725 | ); 726 | defaultConfigurationIsVisible = 0; 727 | defaultConfigurationName = Release; 728 | }; 729 | AC76D6864DFF1F632324AA93EC9DFA76 /* Build configuration list for PBXNativeTarget "JVTransitionAnimator-JVTransitionAnimator" */ = { 730 | isa = XCConfigurationList; 731 | buildConfigurations = ( 732 | FAEDE536AC16CEF85D0F64E86D6F373E /* Debug */, 733 | FA0A0D1A09AC49DB9347979D85D341E4 /* Release */, 734 | ); 735 | defaultConfigurationIsVisible = 0; 736 | defaultConfigurationName = Release; 737 | }; 738 | D738A283C7EDBCCB9598442992F6531E /* Build configuration list for PBXNativeTarget "JVTransitionAnimator" */ = { 739 | isa = XCConfigurationList; 740 | buildConfigurations = ( 741 | 294B248226B5AEC9FDFBCB77D00E3598 /* Debug */, 742 | 4EEF1CFF7279D69CB5C5179A3A720360 /* Release */, 743 | ); 744 | defaultConfigurationIsVisible = 0; 745 | defaultConfigurationName = Release; 746 | }; 747 | /* End XCConfigurationList section */ 748 | }; 749 | rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; 750 | } 751 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/JVTransitionAnimator/JVTransitionAnimator-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_JVTransitionAnimator : NSObject 3 | @end 4 | @implementation PodsDummy_JVTransitionAnimator 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/JVTransitionAnimator/JVTransitionAnimator-prefix.pch: -------------------------------------------------------------------------------- 1 | #ifdef __OBJC__ 2 | #import 3 | #else 4 | #ifndef FOUNDATION_EXPORT 5 | #if defined(__cplusplus) 6 | #define FOUNDATION_EXPORT extern "C" 7 | #else 8 | #define FOUNDATION_EXPORT extern 9 | #endif 10 | #endif 11 | #endif 12 | 13 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/JVTransitionAnimator/JVTransitionAnimator.xcconfig: -------------------------------------------------------------------------------- 1 | CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator 2 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 3 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/JVTransitionAnimator" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JVTransitionAnimator" 4 | PODS_BUILD_DIR = ${BUILD_DIR} 5 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 6 | PODS_ROOT = ${SRCROOT} 7 | PODS_TARGET_SRCROOT = ${PODS_ROOT}/../.. 8 | PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} 9 | SKIP_INSTALL = YES 10 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/JVTransitionAnimator/ResourceBundle-JVTransitionAnimator-JVTransitionAnimator-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleIdentifier 8 | ${PRODUCT_BUNDLE_IDENTIFIER} 9 | CFBundleInfoDictionaryVersion 10 | 6.0 11 | CFBundleName 12 | ${PRODUCT_NAME} 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | NSPrincipalClass 22 | 23 | 24 | 25 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## JVTransitionAnimator 5 | 6 | Copyright (c) 2015 Jorge Valbuena 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator-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 | Copyright (c) 2015 Jorge Valbuena <jorgevalbuena2@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | JVTransitionAnimator 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_JVTransitionAnimator : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_JVTransitionAnimator 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 12 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # resources to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 18 | 19 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 20 | > "$RESOURCES_TO_COPY" 21 | 22 | XCASSET_FILES=() 23 | 24 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 25 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 26 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 27 | 28 | case "${TARGETED_DEVICE_FAMILY:-}" in 29 | 1,2) 30 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 31 | ;; 32 | 1) 33 | TARGET_DEVICE_ARGS="--target-device iphone" 34 | ;; 35 | 2) 36 | TARGET_DEVICE_ARGS="--target-device ipad" 37 | ;; 38 | 3) 39 | TARGET_DEVICE_ARGS="--target-device tv" 40 | ;; 41 | 4) 42 | TARGET_DEVICE_ARGS="--target-device watch" 43 | ;; 44 | *) 45 | TARGET_DEVICE_ARGS="--target-device mac" 46 | ;; 47 | esac 48 | 49 | install_resource() 50 | { 51 | if [[ "$1" = /* ]] ; then 52 | RESOURCE_PATH="$1" 53 | else 54 | RESOURCE_PATH="${PODS_ROOT}/$1" 55 | fi 56 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 57 | cat << EOM 58 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 59 | EOM 60 | exit 1 61 | fi 62 | case $RESOURCE_PATH in 63 | *.storyboard) 64 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 65 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 66 | ;; 67 | *.xib) 68 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 69 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 70 | ;; 71 | *.framework) 72 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 73 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 74 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 75 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 76 | ;; 77 | *.xcdatamodel) 78 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 79 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 80 | ;; 81 | *.xcdatamodeld) 82 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 83 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 84 | ;; 85 | *.xcmappingmodel) 86 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 87 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 88 | ;; 89 | *.xcassets) 90 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 91 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 92 | ;; 93 | *) 94 | echo "$RESOURCE_PATH" || true 95 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 96 | ;; 97 | esac 98 | } 99 | if [[ "$CONFIGURATION" == "Debug" ]]; then 100 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator/JVTransitionAnimator.bundle" 101 | fi 102 | if [[ "$CONFIGURATION" == "Release" ]]; then 103 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator/JVTransitionAnimator.bundle" 104 | fi 105 | 106 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 107 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 108 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 109 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 110 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 111 | fi 112 | rm -f "$RESOURCES_TO_COPY" 113 | 114 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 115 | then 116 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 117 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 118 | while read line; do 119 | if [[ $line != "${PODS_ROOT}*" ]]; then 120 | XCASSET_FILES+=("$line") 121 | fi 122 | done <<<"$OTHER_XCASSETS" 123 | 124 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 125 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 126 | else 127 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 128 | fi 129 | fi 130 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JVTransitionAnimator" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"JVTransitionAnimator" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-JVTransitionAnimator/Pods-JVTransitionAnimator.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JVTransitionAnimator" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"JVTransitionAnimator" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-acknowledgements.markdown: -------------------------------------------------------------------------------- 1 | # Acknowledgements 2 | This application makes use of the following third party libraries: 3 | 4 | ## JVTransitionAnimator 5 | 6 | Copyright (c) 2015 Jorge Valbuena 7 | 8 | Permission is hereby granted, free of charge, to any person obtaining a copy 9 | of this software and associated documentation files (the "Software"), to deal 10 | in the Software without restriction, including without limitation the rights 11 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 12 | copies of the Software, and to permit persons to whom the Software is 13 | furnished to do so, subject to the following conditions: 14 | 15 | The above copyright notice and this permission notice shall be included in 16 | all copies or substantial portions of the Software. 17 | 18 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 19 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 20 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 21 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 22 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 23 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 24 | THE SOFTWARE. 25 | 26 | Generated by CocoaPods - https://cocoapods.org 27 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-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 | Copyright (c) 2015 Jorge Valbuena <jorgevalbuena2@gmail.com> 18 | 19 | Permission is hereby granted, free of charge, to any person obtaining a copy 20 | of this software and associated documentation files (the "Software"), to deal 21 | in the Software without restriction, including without limitation the rights 22 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 23 | copies of the Software, and to permit persons to whom the Software is 24 | furnished to do so, subject to the following conditions: 25 | 26 | The above copyright notice and this permission notice shall be included in 27 | all copies or substantial portions of the Software. 28 | 29 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 30 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 31 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 32 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 33 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 34 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 35 | THE SOFTWARE. 36 | 37 | License 38 | MIT 39 | Title 40 | JVTransitionAnimator 41 | Type 42 | PSGroupSpecifier 43 | 44 | 45 | FooterText 46 | Generated by CocoaPods - https://cocoapods.org 47 | Title 48 | 49 | Type 50 | PSGroupSpecifier 51 | 52 | 53 | StringsTable 54 | Acknowledgements 55 | Title 56 | Acknowledgements 57 | 58 | 59 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-dummy.m: -------------------------------------------------------------------------------- 1 | #import 2 | @interface PodsDummy_Pods_Tests : NSObject 3 | @end 4 | @implementation PodsDummy_Pods_Tests 5 | @end 6 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests-resources.sh: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | set -e 3 | set -u 4 | set -o pipefail 5 | 6 | function on_error { 7 | echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" 8 | } 9 | trap 'on_error $LINENO' ERR 10 | 11 | if [ -z ${UNLOCALIZED_RESOURCES_FOLDER_PATH+x} ]; then 12 | # If UNLOCALIZED_RESOURCES_FOLDER_PATH is not set, then there's nowhere for us to copy 13 | # resources to, so exit 0 (signalling the script phase was successful). 14 | exit 0 15 | fi 16 | 17 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 18 | 19 | RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt 20 | > "$RESOURCES_TO_COPY" 21 | 22 | XCASSET_FILES=() 23 | 24 | # This protects against multiple targets copying the same framework dependency at the same time. The solution 25 | # was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html 26 | RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????") 27 | 28 | case "${TARGETED_DEVICE_FAMILY:-}" in 29 | 1,2) 30 | TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" 31 | ;; 32 | 1) 33 | TARGET_DEVICE_ARGS="--target-device iphone" 34 | ;; 35 | 2) 36 | TARGET_DEVICE_ARGS="--target-device ipad" 37 | ;; 38 | 3) 39 | TARGET_DEVICE_ARGS="--target-device tv" 40 | ;; 41 | 4) 42 | TARGET_DEVICE_ARGS="--target-device watch" 43 | ;; 44 | *) 45 | TARGET_DEVICE_ARGS="--target-device mac" 46 | ;; 47 | esac 48 | 49 | install_resource() 50 | { 51 | if [[ "$1" = /* ]] ; then 52 | RESOURCE_PATH="$1" 53 | else 54 | RESOURCE_PATH="${PODS_ROOT}/$1" 55 | fi 56 | if [[ ! -e "$RESOURCE_PATH" ]] ; then 57 | cat << EOM 58 | error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. 59 | EOM 60 | exit 1 61 | fi 62 | case $RESOURCE_PATH in 63 | *.storyboard) 64 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 65 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 66 | ;; 67 | *.xib) 68 | echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}" || true 69 | ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS} 70 | ;; 71 | *.framework) 72 | echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 73 | mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 74 | echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" || true 75 | rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" 76 | ;; 77 | *.xcdatamodel) 78 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" || true 79 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" 80 | ;; 81 | *.xcdatamodeld) 82 | echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" || true 83 | xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" 84 | ;; 85 | *.xcmappingmodel) 86 | echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" || true 87 | xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" 88 | ;; 89 | *.xcassets) 90 | ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" 91 | XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") 92 | ;; 93 | *) 94 | echo "$RESOURCE_PATH" || true 95 | echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" 96 | ;; 97 | esac 98 | } 99 | if [[ "$CONFIGURATION" == "Debug" ]]; then 100 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator/JVTransitionAnimator.bundle" 101 | fi 102 | if [[ "$CONFIGURATION" == "Release" ]]; then 103 | install_resource "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator/JVTransitionAnimator.bundle" 104 | fi 105 | 106 | mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 107 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 108 | if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then 109 | mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 110 | rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 111 | fi 112 | rm -f "$RESOURCES_TO_COPY" 113 | 114 | if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "${XCASSET_FILES:-}" ] 115 | then 116 | # Find all other xcassets (this unfortunately includes those of path pods and other targets). 117 | OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) 118 | while read line; do 119 | if [[ $line != "${PODS_ROOT}*" ]]; then 120 | XCASSET_FILES+=("$line") 121 | fi 122 | done <<<"$OTHER_XCASSETS" 123 | 124 | if [ -z ${ASSETCATALOG_COMPILER_APPICON_NAME+x} ]; then 125 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" 126 | else 127 | printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" --app-icon "${ASSETCATALOG_COMPILER_APPICON_NAME}" --output-partial-info-plist "${TARGET_TEMP_DIR}/assetcatalog_generated_info_cocoapods.plist" 128 | fi 129 | fi 130 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests.debug.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JVTransitionAnimator" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"JVTransitionAnimator" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Pods/Target Support Files/Pods-Tests/Pods-Tests.release.xcconfig: -------------------------------------------------------------------------------- 1 | GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 2 | HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JVTransitionAnimator" 3 | LIBRARY_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/JVTransitionAnimator" 4 | OTHER_LDFLAGS = $(inherited) -ObjC -l"JVTransitionAnimator" 5 | PODS_BUILD_DIR = ${BUILD_DIR} 6 | PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) 7 | PODS_PODFILE_DIR_PATH = ${SRCROOT}/. 8 | PODS_ROOT = ${SRCROOT}/Pods 9 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Info.plist: -------------------------------------------------------------------------------- 1 | 2 | 3 | 4 | 5 | CFBundleDevelopmentRegion 6 | en 7 | CFBundleExecutable 8 | ${EXECUTABLE_NAME} 9 | CFBundleIdentifier 10 | $(PRODUCT_BUNDLE_IDENTIFIER) 11 | CFBundleInfoDictionaryVersion 12 | 6.0 13 | CFBundlePackageType 14 | BNDL 15 | CFBundleShortVersionString 16 | 1.0 17 | CFBundleSignature 18 | ???? 19 | CFBundleVersion 20 | 1 21 | 22 | 23 | -------------------------------------------------------------------------------- /Example/Tests/Tests-Prefix.pch: -------------------------------------------------------------------------------- 1 | // 2 | // Prefix header 3 | // 4 | // The contents of this file are implicitly included at the beginning of every test case source file. 5 | // 6 | 7 | #ifdef __OBJC__ 8 | 9 | 10 | 11 | #endif 12 | -------------------------------------------------------------------------------- /Example/Tests/Tests.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVTransitionAnimtorTests.m 3 | // JVTransitionAnimtorTests 4 | // 5 | // Created by Jorge Valbuena on 04/20/2015. 6 | // Copyright (c) 2014 Jorge Valbuena. All rights reserved. 7 | // 8 | 9 | ${TEST_EXAMPLE} 10 | -------------------------------------------------------------------------------- /Example/Tests/en.lproj/InfoPlist.strings: -------------------------------------------------------------------------------- 1 | /* Localized versions of Info.plist keys */ 2 | 3 | -------------------------------------------------------------------------------- /JVTransitionAnimator.podspec: -------------------------------------------------------------------------------- 1 | # 2 | # Be sure to run `pod lib lint JVTransitionAnimator.podspec' to ensure this is a 3 | # valid spec and remove all comments before submitting the spec. 4 | # 5 | # Any lines starting with a # are optional, but encouraged 6 | # 7 | # To learn more about a Podspec see http://guides.cocoapods.org/syntax/podspec.html 8 | # 9 | Pod::Spec.new do |s| 10 | s.name = "JVTransitionAnimator" 11 | s.version = "1.0" 12 | s.summary = "JVTransitionAnimator to animatem your view controllers." 13 | s.description = "A simple transition animator that allows to present View Controller in a pretty cool way." 14 | s.homepage = "https://github.com/JV17/JVTransitionAnimator" 15 | # s.screenshots = "www.example.com/screenshots_1", "www.example.com/screenshots_2" 16 | s.license = 'MIT' 17 | s.author = { "Jorge Valbuena" => "jorgevalbuena2@gmail.com" } 18 | s.source = { :git => "https://github.com/JV17/JVTransitionAnimator.git", :tag => s.version.to_s } 19 | s.platform = :ios, '11.0' 20 | s.requires_arc = true 21 | s.source_files = 'Pod/Classes/**/*' 22 | end 23 | -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- 1 | Copyright (c) 2015 Jorge Valbuena 2 | 3 | Permission is hereby granted, free of charge, to any person obtaining a copy 4 | of this software and associated documentation files (the "Software"), to deal 5 | in the Software without restriction, including without limitation the rights 6 | to use, copy, modify, merge, publish, distribute, sublicense, and/or sell 7 | copies of the Software, and to permit persons to whom the Software is 8 | furnished to do so, subject to the following conditions: 9 | 10 | The above copyright notice and this permission notice shall be included in 11 | all copies or substantial portions of the Software. 12 | 13 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR 14 | IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, 15 | FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE 16 | AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER 17 | LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, 18 | OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN 19 | THE SOFTWARE. 20 | -------------------------------------------------------------------------------- /Pod/Assets/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Pod/Assets/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/.gitkeep: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Pod/Classes/.gitkeep -------------------------------------------------------------------------------- /Pod/Classes/JVTransitionAnimator.h: -------------------------------------------------------------------------------- 1 | // 2 | // JVTransitionAnimator.h 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import 10 | #import 11 | 12 | 13 | @interface JVTransitionAnimator : UIPercentDrivenInteractiveTransition 14 | 15 | /** 16 | The main view controller which will be presenting other view controller. 17 | */ 18 | @property (nonatomic, strong) UIViewController *fromViewController; 19 | 20 | 21 | /** 22 | The destination view controller which is presented by you main view controller. 23 | */ 24 | @property (nonatomic, strong) UIViewController *toViewController; 25 | 26 | 27 | /** 28 | Allows interactive transitions. 29 | */ 30 | @property (nonatomic, assign) BOOL enabledInteractiveTransitions; 31 | 32 | 33 | #pragma mark - Animations Setup 34 | 35 | /** 36 | The animation duration as a @CGFloat. 37 | */ 38 | @property (nonatomic) CGFloat animationDuration; 39 | 40 | 41 | /** 42 | The animation delay as a @CGFloat. 43 | */ 44 | @property (nonatomic) CGFloat animationDelay; 45 | 46 | 47 | /** 48 | The animation damping as a @CGFloat. 49 | */ 50 | @property (nonatomic) CGFloat animationDamping; 51 | 52 | 53 | /** 54 | The animation velocity as a @CGFloat. 55 | */ 56 | @property (nonatomic) CGFloat animationVelocity; 57 | 58 | 59 | /** 60 | The animation options as a @UIViewAnimationOptions. 61 | */ 62 | @property (nonatomic) UIViewAnimationOptions animationOptions; 63 | 64 | 65 | #pragma mark - Animations Types 66 | 67 | /** 68 | This animation will push the new view controller into the screen and off when dismissing it. 69 | */ 70 | @property (nonatomic) BOOL pushOnScreenAnimation; 71 | 72 | 73 | /** 74 | This animation will slide in the new view controller into the screen and out when dismissing it. 75 | */ 76 | @property (nonatomic) BOOL slideInOutAnimation; 77 | 78 | 79 | /** 80 | This animation will slide up the new view controller into the screen and down when dismissing it. 81 | */ 82 | @property (nonatomic) BOOL slideUpDownAnimation; 83 | 84 | 85 | /** 86 | This animation will zoom in the new view controller into the screen. 87 | */ 88 | @property (nonatomic) BOOL zoomInAnimation; 89 | 90 | 91 | /** 92 | This animation will zoom out the new view controller into the screen. 93 | */ 94 | @property (nonatomic) BOOL zoomOutAnimation; 95 | 96 | @end -------------------------------------------------------------------------------- /Pod/Classes/JVTransitionAnimator.m: -------------------------------------------------------------------------------- 1 | // 2 | // JVTransitionAnimator.m 3 | // Pods 4 | // 5 | // Created by Jorge Valbuena on 2015-04-20. 6 | // 7 | // 8 | 9 | #import "JVTransitionAnimator.h" 10 | 11 | 12 | @interface JVTransitionAnimator() 13 | 14 | @property (nonatomic) BOOL presenting; 15 | 16 | @property (nonatomic) BOOL interactive; 17 | 18 | @property (nonatomic, strong) id transitionContext; 19 | 20 | @property (nonatomic, strong) UIView *container; 21 | 22 | @property (nonatomic, strong) UIView *fromView; 23 | 24 | @property (nonatomic, strong) UIView *toView; 25 | 26 | @property (nonatomic) CGAffineTransform offScreenRight; 27 | 28 | @property (nonatomic) CGAffineTransform offScreenLeft; 29 | 30 | @property (nonatomic, strong) UIScreenEdgePanGestureRecognizer *rightGesture; 31 | 32 | @property (nonatomic, strong) UIScreenEdgePanGestureRecognizer *leftGesture; 33 | 34 | @property (nonatomic, strong) UIScreenEdgePanGestureRecognizer *upGesture; 35 | 36 | @property (nonatomic, strong) UIScreenEdgePanGestureRecognizer *downGesture; 37 | 38 | @property (nonatomic) CGFloat percent; 39 | 40 | @end 41 | 42 | 43 | static CGFloat const kDelay = 0.0f; 44 | 45 | static CGFloat const kDuration = 0.3f / 1.5f; 46 | 47 | static CGFloat const kTransform2D = 3.14159265359; 48 | 49 | 50 | @implementation JVTransitionAnimator 51 | 52 | #pragma mark - UIViewControllerAnimatedTransitioning 53 | 54 | - (void)animateTransition:(id)transitionContext 55 | { 56 | if(transitionContext) 57 | { 58 | _transitionContext = transitionContext; 59 | } 60 | else 61 | { 62 | return; 63 | } 64 | 65 | _container = [self.transitionContext containerView]; 66 | _fromView = [self.transitionContext viewForKey:UITransitionContextFromViewKey]; 67 | _toView = [self.transitionContext viewForKey:UITransitionContextToViewKey]; 68 | 69 | _animationDuration = [self transitionDuration:self.transitionContext]; 70 | 71 | [self performSelectedAnimation]; 72 | } 73 | 74 | 75 | - (void)performSelectedAnimation 76 | { 77 | if (self.pushOnScreenAnimation) 78 | { 79 | [self performPushOnScreenAnimation]; 80 | } 81 | else if (self.slideInOutAnimation) 82 | { 83 | [self performSlideInOutAnimation]; 84 | } 85 | else if (self.slideUpDownAnimation) 86 | { 87 | [self performSlideUpDownAnimation]; 88 | } 89 | else if (self.zoomInAnimation) 90 | { 91 | [self performZoomInAnimation]; 92 | } 93 | else if (self.zoomOutAnimation) 94 | { 95 | [self performZoomOutAnimation]; 96 | } 97 | else 98 | { 99 | [self performSlideInOutAnimation]; 100 | } 101 | } 102 | 103 | 104 | - (NSTimeInterval)transitionDuration:(id)transitionContext 105 | { 106 | if (self.animationDuration) 107 | { 108 | return self.animationDuration; 109 | } 110 | 111 | return kDuration; 112 | } 113 | 114 | 115 | #pragma mark - UIViewControllerTransitioningDelegate 116 | 117 | - (id)animationControllerForPresentedController:(UIViewController *)presented presentingController:(UIViewController *)presenting sourceController:(UIViewController *)source 118 | { 119 | self.presenting = YES; 120 | return self; 121 | } 122 | 123 | 124 | - (id)animationControllerForDismissedController:(UIViewController *)dismissed 125 | { 126 | self.presenting = NO; 127 | return self; 128 | } 129 | 130 | 131 | #pragma mark - Interactive Transitions 132 | 133 | - (id)interactionControllerForPresentation:(id)animator 134 | { 135 | return self.interactive ? self : nil; 136 | } 137 | 138 | 139 | - (id)interactionControllerForDismissal:(id)animator 140 | { 141 | return self.interactive ? self : nil; 142 | } 143 | 144 | 145 | #pragma mark - Custom Accessors 146 | 147 | - (void)setFromViewController:(UIViewController *)fromViewController 148 | { 149 | _fromViewController = fromViewController; 150 | 151 | self.presenting = YES; 152 | 153 | if (self.slideUpDownAnimation) 154 | { 155 | // TODO: Remove this when implementation is finish 156 | // [self.fromViewController.view.window addGestureRecognizer:self.upGesture]; 157 | // [self.fromViewController.view.window addGestureRecognizer:self.downGesture]; 158 | } 159 | else 160 | { 161 | [self.fromViewController.view.window addGestureRecognizer:self.rightGesture]; 162 | [self.fromViewController.view.window addGestureRecognizer:self.leftGesture]; 163 | } 164 | } 165 | 166 | 167 | - (void)setSlideUpDownAnimation:(BOOL)slideUpDownAnimation 168 | { 169 | _slideUpDownAnimation = slideUpDownAnimation; 170 | 171 | self.presenting = YES; 172 | 173 | if (self.slideUpDownAnimation) 174 | { 175 | // TODO: Remove this when implementation is finish 176 | // adding gestures 177 | // [self.fromViewController.view.window addGestureRecognizer:self.upGesture]; 178 | // [self.fromViewController.view.window addGestureRecognizer:self.downGesture]; 179 | // [self.fromViewController.view.window removeGestureRecognizer:self.rightGesture]; 180 | // [self.fromViewController.view.window removeGestureRecognizer:self.leftGesture]; 181 | } 182 | } 183 | 184 | 185 | - (UIScreenEdgePanGestureRecognizer *)rightGesture 186 | { 187 | if (!_rightGesture) 188 | { 189 | _rightGesture = [[UIScreenEdgePanGestureRecognizer alloc] initWithTarget:self action:@selector(handleGestureRecognizer:)]; 190 | _rightGesture.edges = UIRectEdgeRight; 191 | } 192 | 193 | return _rightGesture; 194 | } 195 | 196 | 197 | - (UIScreenEdgePanGestureRecognizer *)leftGesture 198 | { 199 | if (!_leftGesture) 200 | { 201 | _leftGesture = [[UIScreenEdgePanGestureRecognizer alloc] initWithTarget:self action:@selector(handleGestureRecognizer:)]; 202 | _leftGesture.edges = UIRectEdgeLeft; 203 | } 204 | 205 | return _leftGesture; 206 | } 207 | 208 | 209 | - (UIScreenEdgePanGestureRecognizer *)upGesture 210 | { 211 | if (!_upGesture) 212 | { 213 | _upGesture = [[UIScreenEdgePanGestureRecognizer alloc] initWithTarget:self action:@selector(handleGestureRecognizer:)]; 214 | _upGesture.edges = UIRectEdgeTop; 215 | } 216 | 217 | return _upGesture; 218 | } 219 | 220 | 221 | - (UIScreenEdgePanGestureRecognizer *)downGesture 222 | { 223 | if (!_downGesture) 224 | { 225 | _downGesture = [[UIScreenEdgePanGestureRecognizer alloc] initWithTarget:self action:@selector(handleGestureRecognizer:)]; 226 | _downGesture.edges = UIRectEdgeBottom; 227 | } 228 | 229 | return _downGesture; 230 | } 231 | 232 | 233 | #pragma mark - Gesture Recognizer 234 | 235 | - (void)handleGestureRecognizer:(UIScreenEdgePanGestureRecognizer *)pan 236 | { 237 | if (!self.enabledInteractiveTransitions || self.zoomInAnimation || self.zoomOutAnimation) 238 | { 239 | NSLog(@"JVTransitionAnimator: Interactive Transition are not anabled or available for Zoom IN/OUT animations!"); 240 | return; 241 | } 242 | 243 | // TODO: remove this after implementation is finished! 244 | if (self.slideUpDownAnimation) 245 | { 246 | NSLog(@"JVTransitionAnimator: Interactive Transition are not available yet for Slide UP/DOWN animations!"); 247 | return; 248 | } 249 | 250 | if (!self.fromViewController || !self.toViewController) 251 | { 252 | NSLog(@"Please make sure fromViewController and toViewController properties have been set/initialize."); 253 | return; 254 | } 255 | 256 | [self updatePercentageWithPanRecognizer:pan]; 257 | [self updateViewFromPanState:pan.state]; 258 | } 259 | 260 | 261 | - (void)updatePercentageWithPanRecognizer:(UIScreenEdgePanGestureRecognizer *)pan 262 | { 263 | CGPoint translation = [pan translationInView:pan.view]; 264 | 265 | if (self.slideUpDownAnimation) 266 | { 267 | if (self.presenting) 268 | { 269 | self.percent = translation.y / -(pan.view.bounds.size.height * 0.9); 270 | } 271 | else 272 | { 273 | self.percent = translation.y / (pan.view.bounds.size.height * 1.5); 274 | } 275 | } 276 | else 277 | { 278 | if (self.presenting) 279 | { 280 | self.percent = translation.x / -(pan.view.bounds.size.width * 0.5); 281 | } 282 | else 283 | { 284 | self.percent = translation.x / (pan.view.bounds.size.width * 0.5); 285 | } 286 | } 287 | } 288 | 289 | 290 | - (void)updateViewFromPanState:(UIGestureRecognizerState)state 291 | { 292 | switch (state) 293 | { 294 | case UIGestureRecognizerStateBegan: 295 | { 296 | self.interactive = YES; 297 | 298 | if (self.toViewController && self.presenting) 299 | { 300 | [self.fromViewController presentViewController:self.toViewController animated:YES completion:^{ 301 | self.presenting = NO; 302 | }]; 303 | } 304 | else if (self.toViewController && !self.presenting) 305 | { 306 | [self.toViewController dismissViewControllerAnimated:YES completion:^{ 307 | self.presenting = YES; 308 | }]; 309 | } 310 | 311 | break; 312 | } 313 | case UIGestureRecognizerStateChanged: 314 | { 315 | [self updateInteractiveTransition:self.percent]; 316 | 317 | break; 318 | } 319 | default: 320 | { 321 | self.interactive = NO; 322 | [self finishInteractiveTransition]; 323 | 324 | break; 325 | } 326 | } 327 | } 328 | 329 | 330 | #pragma mark - Transition Animations 331 | 332 | - (void)performPushOnScreenAnimation 333 | { 334 | self.offScreenRight = CGAffineTransformMakeRotation(-(kTransform2D / 2)); 335 | self.offScreenLeft = CGAffineTransformMakeRotation(kTransform2D / 2); 336 | 337 | self.toView.transform = self.presenting ? self.offScreenRight : self.offScreenLeft; 338 | 339 | CGPoint oldFromViewAnchorPoint = self.fromView.layer.anchorPoint; 340 | CGPoint oldToViewAnchorPoint = self.toView.layer.anchorPoint; 341 | 342 | self.toView.layer.anchorPoint = CGPointMake(0.0, 0.0); 343 | self.fromView.layer.anchorPoint = CGPointMake(0.0, 0.0); 344 | 345 | CGPoint oldFromViewPosition = self.fromView.layer.position; 346 | CGPoint oldToViewPosition = self.toView.layer.position; 347 | 348 | self.toView.layer.position = CGPointMake(0.0, 0.0); 349 | self.fromView.layer.position = CGPointMake(0.0, 0.0); 350 | 351 | [self.container addSubview:self.fromView]; 352 | [self.container addSubview:self.toView]; 353 | 354 | [self setAnimationOptionsWithDelay:kDelay dampling:0.4f velocity:0.8f options:0]; 355 | 356 | [UIView animateWithDuration:self.animationDuration 357 | delay:self.animationDelay 358 | usingSpringWithDamping:self.animationDamping 359 | initialSpringVelocity:self.animationVelocity 360 | options:self.animationOptions 361 | animations:^{ 362 | 363 | self.toView.transform = CGAffineTransformIdentity; 364 | self.toView.alpha = 1.0; 365 | self.fromView.alpha = 0.2; 366 | 367 | } 368 | completion:^(BOOL finished) { 369 | 370 | if (finished) 371 | { 372 | self.fromView.layer.position = oldFromViewPosition; 373 | self.fromView.layer.anchorPoint = oldFromViewAnchorPoint; 374 | self.toView.layer.position = oldToViewPosition; 375 | self.toView.layer.anchorPoint = oldToViewAnchorPoint; 376 | self.fromView.alpha = 1.0; 377 | 378 | [self.transitionContext completeTransition:YES]; 379 | } 380 | }]; 381 | } 382 | 383 | 384 | - (void)performSlideInOutAnimation 385 | { 386 | CGFloat travelDistance = self.container.bounds.size.width; 387 | CGAffineTransform travel = CGAffineTransformMakeTranslation(self.presenting ? -travelDistance : travelDistance, 0); 388 | CGAffineTransform travel2 = CGAffineTransformMakeTranslation(self.presenting ? -travelDistance/4 : travelDistance / 4, 0); 389 | 390 | [self.container addSubview:self.toView]; 391 | self.toView.transform = CGAffineTransformInvert(travel); 392 | 393 | [self setAnimationOptionsWithDelay:kDelay dampling:0.4f velocity:0.9f options:0]; 394 | 395 | [UIView animateWithDuration:self.animationDuration 396 | delay:self.animationDelay 397 | usingSpringWithDamping:self.animationDamping 398 | initialSpringVelocity:self.animationVelocity 399 | options:self.animationOptions 400 | animations:^{ 401 | 402 | self.fromView.transform = travel2; 403 | self.fromView.alpha = 0.2; 404 | self.toView.transform = CGAffineTransformIdentity; 405 | self.toView.alpha = 1; 406 | 407 | } 408 | completion:^(BOOL finished) { 409 | 410 | if (finished) 411 | { 412 | self.fromView.transform = CGAffineTransformIdentity; 413 | self.fromView.alpha = 1; 414 | 415 | [self.transitionContext completeTransition:YES]; 416 | } 417 | }]; 418 | } 419 | 420 | 421 | - (void)performSlideUpDownAnimation 422 | { 423 | CGFloat travelDistance = self.container.bounds.size.height; 424 | CGAffineTransform travel = CGAffineTransformMakeTranslation(0, self.presenting ? -travelDistance : travelDistance); 425 | CGAffineTransform travel2 = CGAffineTransformMakeTranslation(0, self.presenting ? -travelDistance/4 : travelDistance/4); 426 | 427 | [self.container addSubview:self.toView]; 428 | self.toView.transform = CGAffineTransformInvert(travel); 429 | 430 | [self setAnimationOptionsWithDelay:kDelay dampling:0.4f velocity:0.9f options:0]; 431 | 432 | [UIView animateWithDuration:self.animationDuration 433 | delay:self.animationDelay 434 | usingSpringWithDamping:self.animationDamping 435 | initialSpringVelocity:self.animationVelocity 436 | options:self.animationOptions 437 | animations:^{ 438 | 439 | self.fromView.transform = travel2; 440 | self.fromView.alpha = 0.2; 441 | self.toView.transform = CGAffineTransformIdentity; 442 | self.toView.alpha = 1; 443 | 444 | } 445 | completion:^(BOOL finished) { 446 | 447 | if (finished) 448 | { 449 | self.fromView.transform = CGAffineTransformIdentity; 450 | self.fromView.alpha = 1; 451 | 452 | [self.transitionContext completeTransition:YES]; 453 | } 454 | }]; 455 | } 456 | 457 | 458 | - (void)performZoomInAnimation 459 | { 460 | [self.container addSubview:self.toView]; 461 | self.toView.transform = CGAffineTransformMakeScale(0.1, 0.1); 462 | 463 | [self setAnimationOptionsWithDelay:kDelay dampling:0.4f velocity:0.9f options:0]; 464 | 465 | [UIView animateWithDuration:self.animationDuration 466 | delay:self.animationDelay 467 | usingSpringWithDamping:self.animationDamping 468 | initialSpringVelocity:self.animationVelocity 469 | options:self.animationOptions 470 | animations:^{ 471 | 472 | self.toView.transform = CGAffineTransformIdentity; 473 | self.toView.alpha = 1; 474 | self.fromView.alpha = 0; 475 | 476 | } 477 | completion:^(BOOL finished) { 478 | 479 | if (finished) 480 | { 481 | self.fromView.alpha = 1; 482 | 483 | [self.transitionContext completeTransition:YES]; 484 | } 485 | }]; 486 | } 487 | 488 | 489 | - (void)performZoomOutAnimation 490 | { 491 | [self.container addSubview:self.toView]; 492 | self.toView.transform = CGAffineTransformIdentity; 493 | self.toView.alpha = 0; 494 | 495 | [self setAnimationOptionsWithDelay:kDelay dampling:1.0f velocity:0.9f options:0]; 496 | 497 | [UIView animateWithDuration:self.animationDuration 498 | delay:self.animationDelay 499 | options:self.animationOptions 500 | animations:^{ 501 | 502 | self.fromView.transform = CGAffineTransformMakeScale(0.1, 0.1); 503 | self.fromView.alpha = 0; 504 | self.toView.alpha = 1; 505 | 506 | } 507 | completion:^(BOOL finished) { 508 | 509 | if (finished) 510 | { 511 | self.fromView.transform = CGAffineTransformIdentity; 512 | 513 | [self.transitionContext completeTransition:YES]; 514 | } 515 | }]; 516 | } 517 | 518 | 519 | #pragma mark - Animation Options 520 | 521 | - (void)setAnimationOptionsWithDelay:(CGFloat)delay dampling:(CGFloat)dampling velocity:(CGFloat)velocity options:(UIViewAnimationOptions)options 522 | { 523 | self.animationDelay = (self.animationDelay == 0.0f) ? delay : self.animationDelay; 524 | self.animationDamping = (self.animationDamping == 0.0f) ? dampling : self.animationDamping; 525 | self.animationVelocity = (self.animationVelocity == 0.0f) ? velocity : self.animationVelocity; 526 | self.animationOptions = (self.animationOptions == 0) ? options : self.animationOptions; 527 | } 528 | 529 | @end -------------------------------------------------------------------------------- /Previews/jvtransition.preview1.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Previews/jvtransition.preview1.gif -------------------------------------------------------------------------------- /Previews/jvtransition.preview2.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Previews/jvtransition.preview2.gif -------------------------------------------------------------------------------- /Previews/jvtransition.preview3.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/JV17/JVTransitionAnimator/f88cc853c913f169171a29e6c8bad4ac948f293c/Previews/jvtransition.preview3.gif -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- 1 | # JVTransitionAnimator [![Version](https://img.shields.io/cocoapods/v/JVTransitionAnimator.svg?style=flat)](http://cocoapods.org/pods/JVTransitionAnimator) [![License](https://img.shields.io/cocoapods/l/JVTransitionAnimator.svg?style=flat)](http://cocoapods.org/pods/JVTransitionAnimator) [![Platform](https://img.shields.io/cocoapods/p/JVTransitionAnimator.svg?style=flat)](http://cocoapods.org/pods/JVTransitionAnimator) 2 | 3 | JVTransitionAnimator is a simple helper framework which allows you to present your View Controllers in a pretty cool way, with the use of Transition Animations. Pretty easy to use and customizable. 4 | 5 | ## Previews 6 | 7 | ###### • Custom Animations 8 | 9 | ![screenshot-1](Previews/jvtransition.preview1.gif) 10 | 11 | ###### • Pre-defined Animations 12 | 13 | ![screenshot-2](Previews/jvtransition.preview3.gif) 14 | 15 | ## Usage 16 | 17 | To run the example project, clone the repo, and run `pod install` from the Example directory first. 18 | 19 | * Now, just create a JVTransitionAnimator property. 20 | 21 | ```objc 22 | - (JVTransitionAnimator *)transitionAnimator 23 | { 24 | if(!_transitionAnimator) 25 | { 26 | _transitionAnimator = [[JVTransitionAnimator alloc] init]; 27 | } 28 | 29 | return _transitionAnimator; 30 | } 31 | ``` 32 | 33 | * To enabled interactive transitions you do this, for example, in the viewDidAppear of your UIViewController. Also, we need to set our transition delegate. 34 | 35 | ```objc 36 | - (void)viewDidAppear:(BOOL)animated 37 | { 38 | [super viewDidAppear:animated]; 39 | 40 | // we need to tell our transition animator the current view controller & the new controller to be pushed 41 | self.transitionAnimator.fromViewController = self; 42 | self.transitionAnimator.toViewController = self.secondController; 43 | 44 | // enabling interactive transitions 45 | self.transitionAnimator.enabledInteractiveTransitions = YES; 46 | 47 | // also don't forget to tell the new UIViewController to be presented that we will be using our animator & choose the animation 48 | self.transitionAnimator.slideInOutAnimation = YES; 49 | self.secondController.transitioningDelegate = self.transitionAnimator; 50 | } 51 | ``` 52 | 53 | * Then, we can further setup and customize our Transition Animations. 54 | 55 | ```objc 56 | // here is the trick if you want longer animations or set a delay or event not bouncing (known as dampling) at all 57 | self.transitionAnimator.duration = 1.0f; 58 | self.transitionAnimator.delay = 0.0f; 59 | self.transitionAnimator.damping = 0.5f; 60 | self.transitionAnimator.velocity = 0.9f; 61 | ``` 62 | 63 | * Finally, to trigger transitions we just need to make a simple presentViewController function call. 64 | 65 | ```objc 66 | // whenever you want to present the new view controller animated 67 | [self presentViewController:self.secondController animated:YES completion:nil]; 68 | ``` 69 | 70 | ## Requirements 71 | 72 | Developed and tested using iOS11+. 73 | 74 | ## Installation 75 | 76 | JVTransitionAnimtor is available through [CocoaPods](http://cocoapods.org). To install 77 | it, simply add the following line to your Podfile: 78 | 79 | ```ruby 80 | pod "JVTransitionAnimator" 81 | ``` 82 | 83 | ## Author & Support 84 | 85 | Contact me if you find any bugs or potential room for improvements. Jorge Valbuena (@JV17), jorge.valbuena@jorgedeveloper.com. BTW! You are welcome to help in supporting this pod or making improvements to it. 86 | 87 | ## License 88 | 89 | JVTouchEventsWindow is available under the MIT license. See the LICENSE file for more info. 90 | --------------------------------------------------------------------------------