From 11530ce5572b94bf646789520b2da9d4e728fae3 Mon Sep 17 00:00:00 2001 From: muyexi Date: Wed, 10 Jan 2018 18:02:03 +0800 Subject: [PATCH 1/2] fix(gitignore): remove pods --- .gitignore | 2 +- .../JPBaseAnimationTransition.h | 1 - .../JPNavigationController/JPNavigationBar.h | 1 - .../JPNavigationController.h | 1 - .../JPNavigationControllerCompat.h | 1 - .../JPNavigationControllerGestureRecognizer.h | 1 - .../JPNavigationControllerKit.h | 1 - .../JPNavigationControllerProtocol.h | 1 - .../JPNavigationControllerTransition.h | 1 - .../JPPushAnimationTransition.h | 1 - .../JPTransitionShadowView.h | 1 - .../JPWarpNavigationController.h | 1 - .../JPWarpViewController.h | 1 - .../UIColor+ImageGenerate.h | 1 - ...INavigationController+FulllScreenPopPush.h | 1 - .../UIView+ScreenCapture.h | 1 - .../UIViewController+ViewControllers.h | 1 - .../JPBaseAnimationTransition.h | 1 - .../JPNavigationController/JPNavigationBar.h | 1 - .../JPNavigationController.h | 1 - .../JPNavigationControllerCompat.h | 1 - .../JPNavigationControllerGestureRecognizer.h | 1 - .../JPNavigationControllerKit.h | 1 - .../JPNavigationControllerProtocol.h | 1 - .../JPNavigationControllerTransition.h | 1 - .../JPPushAnimationTransition.h | 1 - .../JPTransitionShadowView.h | 1 - .../JPWarpNavigationController.h | 1 - .../JPWarpViewController.h | 1 - .../UIColor+ImageGenerate.h | 1 - ...INavigationController+FulllScreenPopPush.h | 1 - .../UIView+ScreenCapture.h | 1 - .../UIViewController+ViewControllers.h | 1 - .../JPBaseAnimationTransition.h | 57 -- .../JPBaseAnimationTransition.m | 72 --- .../JPNavigationController/JPNavigationBar.h | 25 - .../JPNavigationController/JPNavigationBar.m | 42 -- .../backImage@2x.png | Bin 1895 -> 0 bytes .../backImage@3x.png | Bin 3258 -> 0 bytes .../shadow@2x.png | Bin 1855 -> 0 bytes .../shadow@3x.png | Bin 3125 -> 0 bytes .../JPNavigationController.h | 52 -- .../JPNavigationController.m | 333 ---------- .../JPNavigationControllerCompat.h | 26 - .../JPNavigationControllerGestureRecognizer.h | 36 -- .../JPNavigationControllerGestureRecognizer.m | 16 - .../JPNavigationControllerKit.h | 19 - .../JPNavigationControllerProtocol.h | 117 ---- .../JPNavigationControllerTransition.h | 45 -- .../JPNavigationControllerTransition.m | 142 ----- .../JPPushAnimationTransition.h | 16 - .../JPPushAnimationTransition.m | 142 ----- .../JPTransitionShadowView.h | 27 - .../JPTransitionShadowView.m | 48 -- .../JPWarpNavigationController.h | 53 -- .../JPWarpNavigationController.m | 278 --------- .../JPWarpViewController.h | 51 -- .../JPWarpViewController.m | 230 ------- .../UIColor+ImageGenerate.h | 27 - .../UIColor+ImageGenerate.m | 29 - ...INavigationController+FulllScreenPopPush.h | 18 - .../UIView+ScreenCapture.h | 27 - .../UIView+ScreenCapture.m | 25 - .../UIViewController+ViewControllers.h | 43 -- .../UIViewController+ViewControllers.m | 45 -- .../Pods/JPNavigationController/LICENSE | 21 - .../Pods/JPNavigationController/README.md | 412 ------------ JPAnimationDemo/Pods/Manifest.lock | 12 - .../Pods/Pods.xcodeproj/project.pbxproj | 588 ------------------ .../JPNavigationController-dummy.m | 5 - .../JPNavigationController-prefix.pch | 12 - .../JPNavigationController.xcconfig | 10 - ...-JPAnimationDemo-acknowledgements.markdown | 28 - ...ods-JPAnimationDemo-acknowledgements.plist | 60 -- .../Pods-JPAnimationDemo-dummy.m | 5 - .../Pods-JPAnimationDemo-frameworks.sh | 92 --- .../Pods-JPAnimationDemo-resources.sh | 105 ---- .../Pods-JPAnimationDemo.debug.xcconfig | 8 - .../Pods-JPAnimationDemo.release.xcconfig | 8 - 79 files changed, 1 insertion(+), 3440 deletions(-) delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPBaseAnimationTransition.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationBar.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationController.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerCompat.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerGestureRecognizer.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerKit.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerProtocol.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerTransition.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPPushAnimationTransition.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPTransitionShadowView.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpNavigationController.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpViewController.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIColor+ImageGenerate.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UINavigationController+FulllScreenPopPush.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIView+ScreenCapture.h delete mode 120000 JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIViewController+ViewControllers.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPBaseAnimationTransition.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationBar.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationController.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerCompat.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerGestureRecognizer.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerKit.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerProtocol.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerTransition.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPPushAnimationTransition.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPTransitionShadowView.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpNavigationController.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpViewController.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIColor+ImageGenerate.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UINavigationController+FulllScreenPopPush.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIView+ScreenCapture.h delete mode 120000 JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIViewController+ViewControllers.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.m delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.h delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.m delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/backImage@2x.png delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/backImage@3x.png delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/shadow@2x.png delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/shadow@3x.png delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.h delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.m delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerCompat.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.m delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerKit.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerProtocol.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.m delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.m delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.m delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.h delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.m delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.h delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.m delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.m delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UINavigationController+FulllScreenPopPush.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.h delete mode 100644 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.m delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.h delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.m delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/LICENSE delete mode 100755 JPAnimationDemo/Pods/JPNavigationController/README.md delete mode 100644 JPAnimationDemo/Pods/Manifest.lock delete mode 100644 JPAnimationDemo/Pods/Pods.xcodeproj/project.pbxproj delete mode 100644 JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-dummy.m delete mode 100644 JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-prefix.pch delete mode 100644 JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController.xcconfig delete mode 100644 JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.markdown delete mode 100644 JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.plist delete mode 100644 JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-dummy.m delete mode 100755 JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-frameworks.sh delete mode 100755 JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-resources.sh delete mode 100644 JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.debug.xcconfig delete mode 100644 JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.release.xcconfig diff --git a/.gitignore b/.gitignore index 86f21d8..da2229b 100644 --- a/.gitignore +++ b/.gitignore @@ -33,7 +33,7 @@ xcuserdata/ # you should judge for yourself, the pros and cons are mentioned at: # https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control # -# Pods/ +Pods/ # Carthage # diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPBaseAnimationTransition.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPBaseAnimationTransition.h deleted file mode 120000 index 373f3e8..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPBaseAnimationTransition.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPBaseAnimationTransition.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationBar.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationBar.h deleted file mode 120000 index 0e92a97..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationBar.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationBar.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationController.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationController.h deleted file mode 120000 index 4918c2d..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationController.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationController.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerCompat.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerCompat.h deleted file mode 120000 index b413bcb..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerCompat.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerCompat.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerGestureRecognizer.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerGestureRecognizer.h deleted file mode 120000 index 9b067dc..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerGestureRecognizer.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerKit.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerKit.h deleted file mode 120000 index 4104bfd..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerKit.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerKit.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerProtocol.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerProtocol.h deleted file mode 120000 index 4f47b5a..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerProtocol.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerProtocol.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerTransition.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerTransition.h deleted file mode 120000 index e0d7048..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPNavigationControllerTransition.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerTransition.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPPushAnimationTransition.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPPushAnimationTransition.h deleted file mode 120000 index 1367413..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPPushAnimationTransition.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPPushAnimationTransition.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPTransitionShadowView.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPTransitionShadowView.h deleted file mode 120000 index 8bc316e..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPTransitionShadowView.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPTransitionShadowView.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpNavigationController.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpNavigationController.h deleted file mode 120000 index 28d6ecd..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpNavigationController.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPWarpNavigationController.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpViewController.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpViewController.h deleted file mode 120000 index 32d9f4b..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/JPWarpViewController.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPWarpViewController.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIColor+ImageGenerate.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIColor+ImageGenerate.h deleted file mode 120000 index 9445aac..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIColor+ImageGenerate.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UIColor+ImageGenerate.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UINavigationController+FulllScreenPopPush.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UINavigationController+FulllScreenPopPush.h deleted file mode 120000 index c998204..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UINavigationController+FulllScreenPopPush.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UINavigationController+FulllScreenPopPush.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIView+ScreenCapture.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIView+ScreenCapture.h deleted file mode 120000 index 8c1aae5..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIView+ScreenCapture.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UIView+ScreenCapture.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIViewController+ViewControllers.h b/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIViewController+ViewControllers.h deleted file mode 120000 index 30c352d..0000000 --- a/JPAnimationDemo/Pods/Headers/Private/JPNavigationController/UIViewController+ViewControllers.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UIViewController+ViewControllers.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPBaseAnimationTransition.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPBaseAnimationTransition.h deleted file mode 120000 index 373f3e8..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPBaseAnimationTransition.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPBaseAnimationTransition.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationBar.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationBar.h deleted file mode 120000 index 0e92a97..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationBar.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationBar.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationController.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationController.h deleted file mode 120000 index 4918c2d..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationController.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationController.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerCompat.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerCompat.h deleted file mode 120000 index b413bcb..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerCompat.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerCompat.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerGestureRecognizer.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerGestureRecognizer.h deleted file mode 120000 index 9b067dc..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerGestureRecognizer.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerKit.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerKit.h deleted file mode 120000 index 4104bfd..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerKit.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerKit.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerProtocol.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerProtocol.h deleted file mode 120000 index 4f47b5a..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerProtocol.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerProtocol.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerTransition.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerTransition.h deleted file mode 120000 index e0d7048..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPNavigationControllerTransition.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPNavigationControllerTransition.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPPushAnimationTransition.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPPushAnimationTransition.h deleted file mode 120000 index 1367413..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPPushAnimationTransition.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPPushAnimationTransition.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPTransitionShadowView.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPTransitionShadowView.h deleted file mode 120000 index 8bc316e..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPTransitionShadowView.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPTransitionShadowView.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpNavigationController.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpNavigationController.h deleted file mode 120000 index 28d6ecd..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpNavigationController.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPWarpNavigationController.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpViewController.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpViewController.h deleted file mode 120000 index 32d9f4b..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/JPWarpViewController.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/JPWarpViewController.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIColor+ImageGenerate.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIColor+ImageGenerate.h deleted file mode 120000 index 9445aac..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIColor+ImageGenerate.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UIColor+ImageGenerate.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UINavigationController+FulllScreenPopPush.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UINavigationController+FulllScreenPopPush.h deleted file mode 120000 index c998204..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UINavigationController+FulllScreenPopPush.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UINavigationController+FulllScreenPopPush.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIView+ScreenCapture.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIView+ScreenCapture.h deleted file mode 120000 index 8c1aae5..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIView+ScreenCapture.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UIView+ScreenCapture.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIViewController+ViewControllers.h b/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIViewController+ViewControllers.h deleted file mode 120000 index 30c352d..0000000 --- a/JPAnimationDemo/Pods/Headers/Public/JPNavigationController/UIViewController+ViewControllers.h +++ /dev/null @@ -1 +0,0 @@ -../../../JPNavigationController/JPNavigationController/UIViewController+ViewControllers.h \ No newline at end of file diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.h deleted file mode 100644 index 7279bfa..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.h +++ /dev/null @@ -1,57 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -extern const CGFloat JPBaseAnimationTransitionInterlaceFactor; - -NS_ASSUME_NONNULL_BEGIN - -@interface JPBaseAnimationTransition : NSObject - -/** - * Transition Duration. - */ -@property (nonatomic, assign, readonly) NSTimeInterval transitionDuration; - -/** - * From view controller. - */ -@property (nonatomic, readonly, weak) UIViewController *fromViewController; - -/** - * Target view controller. - */ -@property (nonatomic, readonly, weak) UIViewController *toViewController; - -/** - * Container view. - */ -@property (nonatomic, readonly, weak) UIView *containerView; - -/** - * Animate Transition. - */ -- (void)animateTransition; - -/** - * Complete transition. - */ -- (void)transitionComplete; - -/** - * Fetch tabbar if existed. - */ -- (UITabBar * _Nullable)fetchTabbar; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.m deleted file mode 100644 index ba7987d..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPBaseAnimationTransition.m +++ /dev/null @@ -1,72 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPBaseAnimationTransition.h" - -@interface JPBaseAnimationTransition() - -@property (nonatomic, weak) id transitionContext; - -@end - -const CGFloat JPBaseAnimationTransitionInterlaceFactor = 0.3f; -@implementation JPBaseAnimationTransition - -- (instancetype)init { - self = [super init]; - if (self) { - _transitionDuration = 0.35f; - } - return self; -} - -- (NSTimeInterval)transitionDuration:(id )transitionContext { - return _transitionDuration; -} - -- (void)animateTransition:(id )transitionContext { - _fromViewController = [transitionContext viewControllerForKey:UITransitionContextFromViewControllerKey]; - _toViewController = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; - _containerView = [transitionContext containerView]; - _transitionContext = transitionContext; - - [self animateTransition]; -} - -- (void)animateTransition{ -} - -- (void)transitionComplete { - [self.transitionContext completeTransition:!self.transitionContext.transitionWasCancelled]; -} - - -#pragma mark - Private - -- (UITabBar *)fetchTabbar{ - UIViewController *rootVc = [UIApplication sharedApplication].keyWindow.rootViewController; - UITabBarController *tabbarVc = [self fetchTabbarVcFromRootViewController:rootVc]; - if (tabbarVc) { - return tabbarVc.tabBar; - } - return nil; -} - -- (UITabBarController *)fetchTabbarVcFromRootViewController:(UIViewController *)rootVc{ - if ([rootVc isKindOfClass:[UITabBarController class]]) { - return (UITabBarController *)rootVc; - } - else{ - return [self fetchTabbarVcFromRootViewController:rootVc.childViewControllers.firstObject]; - } -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.h deleted file mode 100755 index ec8c919..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.h +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -/** - * This class is custom navigation bar. - * Framework add the link container view on it, then the link view is out of its super class' range, this lead to link view cannot response user's touch events. we need handle this situation by override hitTest:withEvent: method. - */ - -#import - -@interface JPLinkContainerView : UIView - -@end - -@interface JPNavigationBar : UINavigationBar - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.m deleted file mode 100755 index 01aac02..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationBar.m +++ /dev/null @@ -1,42 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPNavigationBar.h" - -@implementation JPLinkContainerView - -@end - -@implementation JPNavigationBar - -- (UIView *)hitTest:(CGPoint)point withEvent:(UIEvent *)event{ - - __block JPLinkContainerView *linkView; - [self.subviews enumerateObjectsUsingBlock:^(__kindof UIView * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { - - if ([obj isKindOfClass:[JPLinkContainerView class]]) { - linkView = (JPLinkContainerView *)obj; - *stop = YES; - } - }]; - - // Link view response touch events when the touch point on link view. keep system action otherwise. - - CGPoint viewP = [self convertPoint:point toView:linkView]; - if ([linkView pointInside:viewP withEvent:event]) { - return [linkView hitTest:viewP withEvent:event]; - } - else{ - return [super hitTest:point withEvent:event]; - } -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/backImage@2x.png b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/backImage@2x.png deleted file mode 100644 index 48d299dbad9264b4205d1f439c1aee5bffa73951..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1895 zcmV-t2blPYP)Px+AxT6*R9FeMnB8w2)fvX0Gc)^Puf5I(_Bzfk@lB~jL_~#(5K^UZS8)w@ZEvcg zQYaS@AF3+BHa8_rR0Nd}iUbnZ`~|(Jl#AXX(Wd00AQ5}*#p{ie_-j4mojIq!Gqz(~ zh-2gBNXK(LJA0nlSsLyYHLsK+&-{^m)x|CMBhWbF+FW+@stUi0&!dbdi_ zL#JfInw&i&oP&v3>5GMS5QOKa+*>WUzE`nsDZI{eXwQ+#LyXC?hI>v71NE@ zWwHirPRp1H$&Sc!guradIXf7JO*brM=h+-E`-sqXEVmQ>FYO{sE}}b4*xeJ%;ZbCS3y) zF!KSkrBeJ471!1d516x3pdu_bh3QO#lQ)#vaeOq4uQINExonZoI?CLvXQqB-S$`af z4+%(c45^}xWE`*ym<=HJG;D_R(8rPZ4j{`6FUy7V3g-T;sy1|?p76X54(Ro@)+xx= zYKlseN|R|!h`-Dzj7l&|Fk~W|ea*gYbO$pns8wH8(|Aeb<6wYZU!l%$(n-Y|ufqs^ znIGY+5+Fs^oZj5PXCCMhvRKe^r>&8tzOJ6V2j&qU0Eh|yI#*V*%p5~k88amGRb%rC zU_RtGh{hg=Xt8d=a9%^DuCCO2(xltswflE}z$OeY~ z2z|jU*4Ow7f$u-=!|?Yb3bNM_1p#)Lzx+0fkN z{{;?m8DF-wcI&?yUQGU9Uk3s6&qT`lL|-r^m-}pzdsTb|>s((kK=a(2=Uz)up`))J z>gkhl!v6b>h>b2W&yZkGu?4Bi769APS6jC5Az7xY+jDJ=)%*H{^we`E5+!CT?%&Z@vy5ZUjVLs(0!! z9-=K^BbgcUBstREhTRHG3rv9NqP<>ar|B~rI<;2S<%J5*9V)1HAKppcTB#~59hVJ% z2_VUvsv(lM0@_(e+h-|DhPE$w5BB8L@EV6cZ1RTNmd3o!ZmYSJDj1su03Xp1`RKLw z7zYRe^PL*L_dO`XNARDii;0%E_sDPG?+;b`JI488x z;oEDh=QzN78Y*`6h3@!QnftNbAJ7McZ=zOw<*1*-wB+05C7Al6Jk0?j);$>0NM+Z# zlHki1^8kE9q{VOdHNF<^Gx)*k>gsMId~m=V8xvomlk=^<2`*r<1`MBKJq$ZE2{)NV4%8ueT*+JgBCSZF7t@L$ z9dkI*=9pfu?N38ZKf!C7PHMCN8`#lCX3xTuZZAl=GA;R+d}PCqxW}5{Laz_-VGgnP z&#qp(dfRPcwpm!xr@Ah_^m_HLYb6-^z$(xaJq$CWXydppb;H90eiJ^{Dy8&eS|Hkz zqW2xI+Uf5wuYV!+Cg#V4>?PPQX)_pAT5TN-aEt9-3IOl#bl?aQH<6G1`=LDnF)~yB zHXJA{_{=n*cYLqc{6~dhiuUMZ`Hu?Dz6l^^&HO6^DblQB;u+t%4`86z*CyB1rdJI# z$Np3t{~ADBDW3r7Ci1)t>;TaAZjtNtBziqY!6p?3g%>$M1;N}vKAph>=I}dujp-hu h-(uQ|(lr0+>whWr{DnL_=kovn002ovPDHLkV1kIPm}CF| diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/backImage@3x.png b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/backImage@3x.png deleted file mode 100644 index 16db4ac5151e3d6b3b1dfaba5e260d05422fa5f7..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 3258 zcmV;r3`O&aP)Px>bV)=(RA>donpx{GAmRhI+VVJFIdGna1_M(MwjQu4uH*FS{%=_7Nw{bGQk08zZ zEp>YV`6T<=?wAXG?BB7X0RL{t`8N}L>3r1|XA=4sIpmtm{8&G{?Ry0pq8eX-KoirESEO++<(OHO-OL%83xOaJoNx)7#LZAtj z%*Gh>uzB|wfSv~oR+V&&*xGA-%90V}WzJ9c7HI9ppxF^-@YLDu{r*Zcoz&^&{ z#3&Lpv0Wau*$PL#Vp{?GHOs>k=g6h$TyKHez60jhUS?n{*f`AK=gjiMEs$Y6TG9cM zfMrA57g+jT!eNrIm^NSefS4B0wH^cYSX3bGG=m?)YFHEJ6%LLL< z%S|rFg8psJP4GXrtrD(SzINNHBTbvSu9%IoGeFNW`eMw1+|Q4i&!6V*XZgMteF89O zTpU4aT+JYX3=Q-gRq0dCT{PdfWclp0)eh<*HpupYmg{xJMy$Dtiz`@6q{1;_OdyBZ z+G8jN9VrJLY~Fmhj*I6xf1L-K;j$&JT(#Tdiq&t(_JJOURICt@Mk#DIh{fbJFra0{ z;z@JSn!0~~YgB<$s*%e9Y3?tO4s=0`W>aSKi#7nerV^(iGYe}klElY}~ z0nTYs`PPVmN#jX5g(eT~4WF=&CIxv9&jjSC<@R0-;4MMwM0Y^2cP*n!@Sd)6~ zRIkzIN8pT18Z;m4_jSsPS4lZ@Jj?`O-?p$eVOhFt!z(jZuh#82ATI#<0n#1NfwW>p z2Gc1HfafTa_&aFTYwpvbXXO#GsAEc`@3(%)Y?0t%%Atcpic6a7iz9BNXQUn6tR=2vM(1I&L(gDr zo94xCQLh6n*Xy~)F-wvc8Sogi>?q(~0IW1118E3LZlq__Yxfq%t`Zh=&@;&HGNmyE z%?ec+ngT9}0paEdQrCb7kmhlzCJeC{6L^6xIF?_92+iHEUdMZE^Fu&oEmDlz zhb5okJM>K8qpMp0InWX;8U!*dbAE<+q$KuTz^@}GCMRXla z0d+895=U*Q*Rm#-qa->9O-tC1Ael4|E`waNZNZ}9XAG(?1@&4amsnM$3GKMF4fXm9 z9_Sxfl0{fTY&NDaK01QDFZ3R zXn=vM^Ye94eizu*wTps;!RCcN~1I7Qnd5r)4r%#v2lD4Rfx-I5EO7w zpTPmbU8`2UpkRm`7i<~vD%}%dGWoX{=Y0%z3YPv8009;X=ZY~#)Z`i@`HPUSoG_)Y zy?|6&x=xY!8}C!zBESh3b+6UIi0R4Rc(bdpcBzH`RRM>~r$M2BmxYQ6R z2($Zub2=tby!TAx`nDBF-p;NtFzF^>&De55dpaD2IvnUY^9NcFVibvRhTaxHn+vS# zu32q(U zVZst6Cq|QNu=u~Sq`$^F?)OTIo3gW00((-+52*!NfaOAkxNY)oM{Hieh=ZW`jILM3 zQrse1%*9?3|A$qR>VIh!-d03V_Vux&vVOylf$$QRTIBvo!R+>*1CqE^x6Kiw%C+~1 zvsk_w*#gct`c0wW6^!R0*JiP7ZnY&IWC$Z%TC&>Nhn{50k1e@WGy4^3W)`sh3w2u= znW5Qr4Q#lvNsf&%j9caINDT#46NrZmymqmpSoS&e5gv}vNO>5K^=W*)^GDIbhmv)R z%EzzAvpvm7Ykq%jOs9@-D;MmfQz9VJhEzksPAF@wQ8gNv-UeR z%et3u0d#i3@+VjewHpvt2Xwmu;p}CG1XN60vK$s>tsjpU0>pCJPJ)>Kp)bE!f0tvE zY+cKPf!0onu(T{%TU@d*0HA^wRWVH9v1pao)~rIyqH)coV=5E^j7E}pE`IIyJ@*X5xs3OgM%PY7 zAt)1oOj^quUU^3yC)_$u2;vEus^DF#3_urW?%F8#e2>=nh1W5_M(NJ=<^Mf#HrOdD zPGfe(D!8zj-vAyl>u+%xB*x2(s!088vaFUp(iDe+O6Cva3Btf1A?8_rk2VRVidDGh zKi^RJY>@3+R8M^Yi%M!(GKmEO3)NYFCEo)C7FFSjy?b3%<_U~jD2DNXdj6FUvFuFr zj@}JyBHIUAzFCvI9Zjm`Dzi;|eCD5eB&? zqe?YTmJ-(+dBVEzoRfSP33uWNkq?ktW2Gw5McPS0?M|2S9%{s@LvvPJNv%52 z*csPvf-xR?;WwEL?wzwd``nVgo0hQ}aLE+scqtYMjY?~oF0znh0qMkTS?YwGAf{Iv z!ccE5`ll1h3SUOhwIx;!eYjRlU%6kTC5AznE-GH-e*XByPViT`t|^c77HCA+`A~eO zEVGHdf+CRGM_7t5h$NiJgx*LONn5n$11XLlX!X|h9gNbi{DNvT4zSf(`WB{;5%sa(VgKi_zCt}o%VGEYd8JJu{F0mCZ7 ze}>b+MDxS(o2OtGIY!|KAMK9o%b;ueJzgX(=;moG`*ZeBv(bIA&j7gq@TuK#Jt*!; snJ4I%I`Q2AZg+HCLVVdvTJy922RZ!EIbxQ&bN~PV07*qoM6N<$f*md>_5c6? diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/shadow@2x.png b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.bundle/shadow@2x.png deleted file mode 100644 index 1e2caa5655cd4d2e3cf3087f40ffadc2bd16395e..0000000000000000000000000000000000000000 GIT binary patch literal 0 HcmV?d00001 literal 1855 zcmchY`%}{C9>>uf$CH^`xvP>$mU;42xR&l7T5qQ?YD%-T$O~$=U9{8zFQ{C!(n{r` zQ<;k9DIyiTESjx%&e0YxxS*vHsTi7)ez{nP3b=5X+1;l72hQ`u^E@-3=k>gw`ON$C zdGbSokv1E_8$lqD&GBQ1Ga%3g2h-lp%F;A%M$vDY7PFKy$itupfztvAWT`!l_*Ynl znWF3jcH-Ek+v5A{te4_Uz^jSj4n4H!<(w3V1j=#8rgeN zH(d47F}}$OD}Uyml}GUET4(B2i3i%2};*d(E;x8=313A;(#K=0) zwZ_6_#mLBM{nFBK(sy)hM#dXwC#Q_A^RR~sVU>SnPCEtQxTjOAgKd|1A<>ToX*!>uNeQQv z5Pp0`abiCbXRA5b{leD3aOe$NZJ3u## z1vvl@eTBAs0X2m>%iY}Fgd^HK(6Mx9VQ5)~q!FC4zfysQCSR&0RwmR?MnCo=nWJyp zgVWwcc&ApE<7YEizxb-cnsKawA7s+fS4gwJqkZA<+L&%a{$v>bP8bCGNiMG=>6YXB zJGek9WHHfu5`Pkrbhk%nHuhs~q3zOpwM;m2Y|j=C_I8_7qd68uP=C_P2>YvP;zj<4 zrbiu|rQQ44uvqSRP;O#-)QBWc9tcoC5ihpF0;Y29Zcv-i2t6m*v#HiftnZu56esU% zuBlvv^pQw+3btcAg(F9{;;G^MR8R3ri+)WPs9G%}4aLW@Kx%0@M-Ze#HRaV2X@~OSDp5N{K z`{7a=$c9I_p1AjINnr;-+syee;>LxCbPb!^MJ*~7m3`l#C7>;G{{gJ;4DX>P`#5DNl8g@L>$ik z)B1X6MP=oK#u)B1KXB_Ii@> zq0a3$;+^_-$J7-^AT=EZT?maglH0`B%PW8e3azE$(G@6dwC^x$Y8!iyK=FWE^^#Oajz;UTR|UKB@5op-QN7U?gHLXw!S&n&~XnRhKP=i zE&%{wSdp-A)XUD7VomVgdU~A=qVi_mzjp;&L$(FwZk&1I*7IwimqWyaN4d3dDyOFG zt{Vc#qgw%EJ6cPV(7BhlNe_08AG8}ta*aZ)l5R<^#dyzsc$+D@FJZin z*JL^c?OA<=EP4y9VLD~)q5EDTWiKOelZQ0tg>X+PILF@@%) zjf9uO8%dimp~cuN!L@R8u16m+h&*Kdx6d{;B%1n2`Zs68MebG4QDaGPTsb<%__Uj4 zDG%G8Myzx@Eiw#$i26REHKduF&6)1UF&21w`D_ab)lYj-miXai$5_W-+ut^Mi0%8RvETw`$L86GV z1OkyIEFlyXkS(Yz0YX680wnAt$daVAovG7~uk$u9_nzGssY2-XUH(OXN17=f$<_xC}1Ed*tBLG zDLpbaHfCo=X=(z#+X>!cXlt|unQDNCBk{5hUA3$_PE~EK(~hxcE#}Vl(ugO0LsAT{ zc$pVANHGENCYFQp_OgIi)4F@nwf38cQPyg7iGPDfKc5idS@>N~fpNyhwe8zTea6Dm zha9iqSWl$Do((IaVFOk*HsfXSo1Jboi{OhIib4kx0K&?EJtF3SUGtaXeKwx6Xi|&z z^VjoKx!OfRE7KI~i;u#lQx@YTHBjD*D{RwWP}ig=)seDGj;DOsGz4={X<(_)?{&^u z|IWGU^anc#2JdCX3bl5=_wPC`FH(ETNRbTcDGCV#nsAJC#(d*dV!oVgW&H;B|Bc6)VdHwxX|MbeP4cihqI|pF8IzL;gY#K=^A5^NmKb9syQy`?37&Qv7hn;D!go z`V|-DdQv8BVr-ENYQE#xu;!Wy=^QP%lxo@*X$c-wS+~{Iuh+}e^y!y4`NO2B_@3i8 zM8|vGFE2Q*HHKwfCkMe*9$9L^HSMZruLd6*WH~7{+x#5+aQ3z;T;Jh!VismIv+bZ* z84}m}hJ}Xyqg5@J6l|48G7MRqf6(AW*#Jjp*ZXGDJ=_EBF@4X4+-CJr1O-kT6iP43C?s=NNVG zl{uR%!8rS1X4!nwuyn`hZ9Ug?5Ut=p6%9k2Q=uDM2h*A4X`*z({E#0Mao7Pb< z{;)Ow{#yR3DIun_0ijD><8MW)orZ5JK{#2X>wbB4bk0=W-tBnvGrsoup_?5sT;}LZ zF|&STg){~0@iz5A?yN`*cc2}Y9K^S;G*2}y1q_U^mo~1gwM^DK0gVHwL~Z}#SQxD{PEFslX5I)N6#WmXF zKn60;jspDL#Z0{$2k4MK@=$Z^2DPG~mE6!DDcD)dD4Nr;tw**OWGOax%3wn=m%@9e zGH|OL?A9HmJH{S0HX3Rj4SVUVc|vNxPWUs;gJ8Y&x*rY1w9xp{;-`csG1JUgEyezc zOkZ~INs`R57r4m~UOyi_PF&;{{p1bTCGs1nFPe(El^*WUh@{ssqu0erGO495_=cI; zC+pa$uoIM*MNP4Y?8Y3ct7U=hd7y(mk^xwuON7>8V6u*Mt3pLlnC30uI2v|YH_Fs0 z_6~*p!hA^=QB}?)&>l{Pz*qLR6sg}5|Cg|Q_KwTN523;(1KG>pq?q%Z?DdBB2l8}e z{_a3!z|D_RnxX6aBgM+({~O#r)yqcsKw;7ix3WWDf>RR!iTxtqWa|DdYoBlbou->A zlIB0jzQ0Cv`a|{p3V$agBmz-0vaJ2LDE6Td`Nvr1US4?F6WvLV{0-Mgj8nlhc!5FZxycJ@>~nVd>yu~;))Zf(EK z_TnO8m`=|vPFu%dFstXBpEB3it21-n2Ze^(&#XmP5sB{_IM()fbiX5-C2Kq*e>l&s zh?|VsZ6UPVLul~+ji|}%(Ro-g&=L^ z6%~gY$MH!ru`z^m3ilA}3r~>&?4QG?YhrN7n2w79Gu+X9`QA@KkFaZgEMi%}_A`X( zUw9y@|iT9>R+{d!AL~16LnX*Px{FjLqoZJ zr&K^CE{!!c*=HSnp{f?FEt#M!`t!=i;Z_&lMGf&>B$KlG+zt@OanP*7LVsk?=D(^sFB*YNOGW1TV1kb$LU@I)y$8u>YVRB9YdCo7z~>K&=5hOPp(?K06nIo$Kn`xHr?#B{g3tKh$@dOYTYL4 z?dy?QGvUyg(!Jr-5obDnrnp^@mS)2Zoy`>cyPgRQZeqzQHLEY&n-6jFM6%_Up$@e? zr!3GxjMZ+7XjNze24|2m<1(qFf*{tuV=WVRzQRf8M?^+KX%4n{jG*6F%glA>Me)^^ zP6Sugain~Fbfs>*?7hiEk7m!o@~@6$822VxpmkDQq^mspqTSCZ+zWMb?RGUf%&){r zDFnt3rX^nRMCKj&RDwcAZCy6%Kr8goA8mL+w{7-l%%=pb)TeLEA>NQFJ?i1HA4~6m zWOWQqy$#mCfTLk2oVJ{*jU$h|A9=;y3IbR4{`@q@rz^^_O0oJ8yqrssU!9=*)-z5N zHj8wh;$a*if3}K$Bt~j}!lIwVi6s0P7$cK4REdn&rI1Z&paE7MZp}t5hed&H@tPbj zGD!*zAVZ(LqIR$ZEAQ!6eivA<%0sCuyy8FL%_n=hSr4W64Z)hVb6uFr C4uEq2 diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.h deleted file mode 100755 index 841b766..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.h +++ /dev/null @@ -1,52 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class JPNavigationController; - -/** - * Just follow the JPNavigationControllerDelegate protocol and override the delegate method in this protocol, - * use [self.navigationController pushViewController:aVc animated:YES] - * if need push gesture transition animation when left slip. - * You should preload the data of next viewController need to display for a good experience. - */ -@protocol JPNavigationControllerDelegate - -@optional - -/** - * The delegate method need to override if need push gesture transition animation when left slip. - * - * @param navigationController the root navigation controller. - */ --(void)navigationControllerDidPush:(JPNavigationController *)navigationController; - -/** - * Ask the delegate should response right slip. - * You may need intercept the pop gesture and, handle your events. open this link to know about this - * https://github.com/newyjp/JPAnimation. - * - * @param navigationController the root navigation controller. - * - * @return the result of asking the delegate should framework response right slip gesture. - */ --(BOOL)navigationControllerShouldStartPop:(JPNavigationController *)navigationController;; - -@end - -@interface JPNavigationController : UINavigationController - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.m deleted file mode 100755 index 901f6ac..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationController.m +++ /dev/null @@ -1,333 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPNavigationController.h" -#import "UIViewController+ViewControllers.h" -#import "JPWarpViewController.h" -#import "UINavigationController+FulllScreenPopPush.h" -#import "JPNavigationControllerProtocol.h" -#import "JPNavigationControllerCompat.h" -#import "JPWarpNavigationController.h" -#import "JPNavigationControllerGestureRecognizer.h" -#import "JPNavigationControllerTransition.h" - -@interface JPNavigationController () - -/** - * Pan gesture. - */ -@property(nonatomic, strong) JPNavigationControllerGestureRecognizer *fullScreenPopGesture; - -/** - * The biggest distance allow pop leave screen left slide in current root navigation controller. - */ -@property(nonatomic, assign) CGFloat interactivePopMaxAllowedInitialDistanceToLeftEdge; - -/** - * Close or open pop gesture for all viewControllers in current root navigation controller. - */ -@property(nonatomic, assign) BOOL closePopForAllViewControllers; - -/** - * System pop gesture target. - */ -@property(nonatomic, weak) id systemPopTarget; - -/** - * Transition. - */ -@property(nonatomic, strong) JPNavigationControllerTransition *transition; - -@end - -@implementation JPNavigationController - -- (instancetype)initWithRootViewController:(UIViewController *)rootViewController{ - NSAssert(rootViewController, @"The root view controller cannot be nil."); - if (!rootViewController) { - return nil; - } - - // Initialize, you need care that here we push a warped view controller, @see JPWarpViewController. - - self = [super init]; - if (self) { - JPWarpViewController *warpedViewController = [[JPWarpViewController alloc]initWithRootViewController:rootViewController rootNavigationController:self]; - self.viewControllers = @[warpedViewController]; - - _interactivePopMaxAllowedInitialDistanceToLeftEdge = JPScreenW; - _closePopForAllViewControllers = NO; - } - return self; -} - -- (void)viewDidLoad { - [super viewDidLoad]; - - // Hide navigation bar of self. - self.navigationBar.hidden = YES; - - - // Add pan gesture(lazying load) and, add delegate to pan, close system interactivePopGestureRecognizer at the same time. - if (![self.interactivePopGestureRecognizer.view.gestureRecognizers containsObject:self.fullScreenPopGesture]) { - [self.interactivePopGestureRecognizer.view addGestureRecognizer:_fullScreenPopGesture]; - NSArray *targets = [self.interactivePopGestureRecognizer valueForKey:@"targets"]; - _systemPopTarget = [targets.firstObject valueForKey:@"target"]; - self.interactivePopGestureRecognizer.enabled = NO; - - [_fullScreenPopGesture addTarget:self action:@selector(gestureDidTriggered:)]; - } -} - -- (UIViewController *)childViewControllerForStatusBarStyle{ - return self.topViewController; -} - - -#pragma mark - UIGestureRecognizerDelegate - -- (BOOL)gestureRecognizerShouldBegin:(JPNavigationControllerGestureRecognizer *)gestureRecognizer{ - CGPoint translation = [gestureRecognizer velocityInView:gestureRecognizer.view]; - - JPWarpViewController *warpVc = self.viewControllers.lastObject; - if (!warpVc) { - return NO; - } - JPWarpNavigationController *warpNav = warpVc.childViewControllers.firstObject; - if (!warpNav) { - return NO; - } - - if (translation.x < 0) { - - // left slip, means push action. - - if (warpNav.navigationDelegate && [warpNav.navigationDelegate respondsToSelector:@selector(navigationControllerDidPush:)]) { - [self addPushAction:gestureRecognizer]; - - return YES; - } - - return NO; - } - else{ - - // right slip, means pop action. - - // Forbid pop when the start point beyond user setted range for pop. - CGPoint beginningLocation = [gestureRecognizer locationInView:gestureRecognizer.view]; - if (_interactivePopMaxAllowedInitialDistanceToLeftEdge >= 0 && beginningLocation.x > _interactivePopMaxAllowedInitialDistanceToLeftEdge) { - return NO; - } - else{ - // forbid pop when transitioning. - if ([[self valueForKey:@"_isTransitioning"] boolValue]) { - return NO; - } - - // forbid pop when current viewController is root viewController. - if (self.viewControllers.count == 1) { - return NO; - } - - // forbid pop when closed all viewControllers' pop gesture. - if (_closePopForAllViewControllers) { - return NO; - } - - // Check current view controller is close pop or not. - if (warpNav.closePopForCurrentViewController) { - return NO; - } - - // ask delegate. - if (warpNav.navigationDelegate && [warpNav.navigationDelegate respondsToSelector:@selector(navigationControllerShouldStartPop:)]) { - if (![warpNav.navigationDelegate navigationControllerShouldStartPop:self]) { - return NO; - } - } - - // not use system pop action. - if (warpNav.useCustomPopAnimationForCurrentViewController) { - return YES; - } - - // use system pop action. - [self addSystemPopAction:gestureRecognizer]; - } - } - - return YES; -} - - -#pragma mark - Gesture - -- (void)gestureDidTriggered:(JPNavigationControllerGestureRecognizer *)gestureRecognizer{ - - if (gestureRecognizer.state == UIGestureRecognizerStateBegan) { - - CGPoint translation = [gestureRecognizer velocityInView:gestureRecognizer.view]; - if (translation.x < 0) { - - JPWarpViewController *warpVc = self.viewControllers.lastObject; - - if (!warpVc) { - return; - } - JPWarpNavigationController *warpNav = warpVc.childViewControllers.firstObject; - if (!warpNav) { - return; - } - - // ask delegate. - if (warpNav.navigationDelegate && [warpNav.navigationDelegate respondsToSelector:@selector(navigationControllerDidPush:)]) { - - // handle pop transition animation by system. - self.delegate = self.transition; - - [warpNav.navigationDelegate navigationControllerDidPush:self]; - } - } - } - else if (gestureRecognizer.state == UIGestureRecognizerStateEnded || gestureRecognizer.state == UIGestureRecognizerStateCancelled) { - - // reset root navigation controller delegate. - // if not do this, some unexpected error will happen when tap back button. - self.delegate = nil; - - // remove target. - [self removeAllAction:gestureRecognizer]; - - } -} - - -#pragma mark - System Pop Gesture Target - -- (void)addSystemPopAction:(JPNavigationControllerGestureRecognizer *)gesture{ - // handle pop transition animation by system. - self.delegate = nil; - - // System pop action. - SEL popSel = NSSelectorFromString(@"handleNavigationTransition:"); - [gesture addTarget:_systemPopTarget action:popSel]; - gesture.transitionType = JPNavigationControllerTransitionTypePopSystem; -} - - -#pragma mark - Push Gesture Target - -- (void)addPushAction:(JPNavigationControllerGestureRecognizer *)gesture{ - // push action. - [gesture addTarget:self.transition action:@selector(gestureDidTriggered:)]; - gesture.transitionType = JPNavigationControllerTransitionTypePush; -} - - -#pragma mark - Remove Gesture Target - -- (void)removeAllAction:(JPNavigationControllerGestureRecognizer *)gesture{ - switch (gesture.transitionType) { - case JPNavigationControllerTransitionTypeNone: - break; - - case JPNavigationControllerTransitionTypePush:{ - [gesture removeTarget:self.transition action:@selector(gestureDidTriggered:)]; - } - break; - - case JPNavigationControllerTransitionTypePopSystem:{ - SEL popSel = NSSelectorFromString(@"handleNavigationTransition:"); - [gesture removeTarget:_systemPopTarget action:popSel]; - } - break; - - case JPNavigationControllerTransitionTypePop:{ - } - break; - } -} - - -#pragma mark - Private - -- (JPNavigationControllerGestureRecognizer *)fullScreenPopGesture{ - if (!_fullScreenPopGesture) { - _fullScreenPopGesture = [JPNavigationControllerGestureRecognizer new]; - _fullScreenPopGesture.maximumNumberOfTouches = 1; - _fullScreenPopGesture.delegate = self; - _fullScreenPopGesture.transitionType = JPNavigationControllerTransitionTypeNone; - _fullScreenPopGesture.gestureType = JPNavigationControllerGestureRecognizerTypeWarp; - } - return _fullScreenPopGesture; -} - -- (JPNavigationControllerTransition *)transition{ - if (!_transition) { - _transition = [[JPNavigationControllerTransition alloc] initWithNavigationContollerViewController:self]; - } - return _transition; -} - -- (void)popToViewController:(NSDictionary *)arguments{ - if (!arguments) { - return; - } - - NSString *targetClassString = arguments[@"targetClassString"]; - JPNavigationContollerPopHandle handle = arguments[@"handle"]; - BOOL animated = [arguments[@"animated"] boolValue]; - - NSMutableArray *viewControllersM = [NSMutableArray array]; - - // find all viewControllers in stack that class is given class. - for (JPWarpViewController *vc in self.viewControllers) { - Class targetClass = NSClassFromString(targetClassString); - if ([vc.userViewController isKindOfClass:targetClass]) { - [viewControllersM addObject:vc]; - } - } - - // if find viewController for given class. - if (viewControllersM.count) { - - if (handle) { - NSMutableArray *targetViewControllersM = [NSMutableArray array]; - [viewControllersM enumerateObjectsUsingBlock:^(JPWarpViewController * _Nonnull obj, NSUInteger idx, BOOL * _Nonnull stop) { - - [targetViewControllersM addObject:obj.userViewController]; - - }]; - - UIViewController *vc = handle([targetViewControllersM copy], nil); - if (vc) { - [self popToViewController:vc.jp_warpViewController animated:animated]; - } - } - else{ - - JPWarpViewController *warpVc = viewControllersM.firstObject; - [self popToViewController:warpVc animated:animated]; - - } - } - else{ - // don't find viewController in stack for given class. - - if (handle) { - NSError *error = [NSError errorWithDomain:[NSString stringWithFormat:@"JPNavigationController don't find viewController in stack for >> %@ <<.", targetClassString] code:0 userInfo:nil]; - handle(nil, error); - } - } -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerCompat.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerCompat.h deleted file mode 100644 index d5db74c..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerCompat.h +++ /dev/null @@ -1,26 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#ifndef JPNavigationControllerCompat_h -#define JPNavigationControllerCompat_h - -#define JPScreenH [UIScreen mainScreen].bounds.size.height -#define JPScreenW [UIScreen mainScreen].bounds.size.width - - -typedef NS_ENUM(NSInteger, JPNavigationControllerTransitionType) { - JPNavigationControllerTransitionTypeNone = 0, - JPNavigationControllerTransitionTypePush = 1, - JPNavigationControllerTransitionTypePop = 2, - JPNavigationControllerTransitionTypePopSystem = 3, -}; - -#endif /* JPNavigationControllerCompat_h */ diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.h deleted file mode 100644 index 638db17..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.h +++ /dev/null @@ -1,36 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import -#import "JPNavigationControllerCompat.h" - -NS_ASSUME_NONNULL_BEGIN - -typedef NS_ENUM(NSInteger, JPNavigationControllerGestureRecognizerType) { - JPNavigationControllerGestureRecognizerTypeRoot = 0, - JPNavigationControllerGestureRecognizerTypeWarp = 1 -}; - -@interface JPNavigationControllerGestureRecognizer : UIPanGestureRecognizer - -/** - * The current transition type. - */ -@property(nonatomic, assign) JPNavigationControllerTransitionType transitionType; - -/** - * Gesture recognizer type. - */ -@property(nonatomic, assign) JPNavigationControllerGestureRecognizerType gestureType; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.m deleted file mode 100644 index 6140b11..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerGestureRecognizer.m +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPNavigationControllerGestureRecognizer.h" - -@implementation JPNavigationControllerGestureRecognizer - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerKit.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerKit.h deleted file mode 100755 index 39ebc95..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerKit.h +++ /dev/null @@ -1,19 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#ifndef JPNavigationControllerKit_h -#define JPNavigationControllerKit_h - -#import "JPNavigationController.h" -#import "UIColor+ImageGenerate.h" -#import "UINavigationController+FulllScreenPopPush.h" - -#endif /* JPNavigationControllerKit_h */ diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerProtocol.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerProtocol.h deleted file mode 100644 index 696b863..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerProtocol.h +++ /dev/null @@ -1,117 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPNavigationController.h" - -NS_ASSUME_NONNULL_BEGIN - -// When use jp_popToViewControllerClass:handle:animated:, may some error happened, or may more than one viewControllers are the same class, developers will be notificated use this block if this situation happened. -typedef UIViewController *_Nullable(^JPNavigationContollerPopHandle)(NSArray * _Nullable viewControllers, NSError * _Nullable error); - -@protocol JPNavigationControllerProtocol - -/** - * The root navigation controller. - * - * @see JPNavigationController - */ -@property(nonatomic, readonly) JPNavigationController * jp_rootNavigationController; - -/** - * The biggest distance allow pop leave screen left slide in current root navigation controller. - * Full screen width by default, mean can call pop anywhere in screen. - */ -@property (nonatomic) CGFloat jp_interactivePopMaxAllowedInitialDistanceToLeftEdge; - -/** - * Close or open pop gesture for current viewController in current root navigation controller. - * NO by default. - */ -@property(nonatomic) BOOL jp_closePopForCurrentViewController; - -/** - * Close or open pop gesture for all viewControllers in current root navigation controller. - * NO by default. - */ -@property(nonatomic) BOOL jp_closePopForAllViewControllers; - -/** - * Use custom pop animation for current viewController in current root navigation controller. - * Default is NO. - * - * This property always be used in situations that the current viewController need to play video or audio by `AVPlayer`, or need to play `CoreAnimation`, because system have some bugs on this situations. - * - * @watchout: - * If set this property as YES, framework will insert a image carptured from `toViewController` as background in current viewController, and make the view of current viewController to move drived by a binded `UIPanGestureRecognizer` when excute the pop animation actually. - * So the -viewWillDisappear:, -viewDidDisappear:, -viewWillAppear:, -viewDidAppear: will never be called when excute custom pop animation. - */ -@property(nonatomic) BOOL jp_useCustomPopAnimationForCurrentViewController; - -/** - * Link view height at screen bottom. - */ -@property(nonatomic)CGFloat jp_linkViewHeight; - -/** - * Link view at screen bottom. - * You just need pass your link view to this property, framework will display your link view automatically. - * @warning if the viewController display in window currently is a `UITableViewController` class, frame will add a contentInset automatically to avoid the link view cover on `UITableViewController`. but if you add a `UITableView` on `UIViewController`, framework will do nothing for that, you may handle this by yourself. - * - * @see `JPWarpNavigationController`. - */ -@property(nonatomic)UIView * jp_linkView; - -/** - * Register delegate to observer the delegate events. - * - * @param delegate A instance implementation `JPNavigationControllerDelegate` protocol. - * - * @see JPNavigationControllerDelegate. - */ -- (void)jp_registerNavigtionControllerDelegate:(id)delegate; - -/** - * Pop to target view controller, you just need to pass in the class of target view controller. It's easy to use than system's popToViewController: animated: method. - * - * @param targetClassString The class of viewController need pop to, it should be pushed in root navigationController. - * @param handle May some error happened, or may more than one viewControllers are the same class, developers will be notificated use this block if this situation happened. - * Pass nil means that if existed many viewControllers for given class, framework will pop the first object in viewControllers array. - * - * First param viewControllers This method will find all the `UIViewController` instance in stack of root navigation controller for given class,so this array may have multi-elements. And all the viewControllers will ordered by the order of the instance in stack of root navigation controller. - * - * Secondary param error If not found a `UIViewController` instance in stack of root navigation controller for given class, error will have value. - * - * Return `UIViewController` Return the need to pop `UIViewController` instance. - * - * @param animated The flag of need animation or not. - * - * @code - * - * [self.navigationController jp_popToViewControllerClassString:@"JPNavigationControllerDemo_linkBar" handle:^UIViewController * _Nullable(NSArray * _Nullable viewControllers, NSError * _Nullable error) { - * - * if (!error) { - * return viewControllers.firstObject; - * } - * else{ - * NSLog(@"%@", error); - * return nil; - * } - * - * } animated:YES]; - * - * @endcode - */ -- (void)jp_popToViewControllerClassString:(NSString *_Nonnull)targetClassString handle:(JPNavigationContollerPopHandle _Nullable)handle animated:(BOOL)animated; - -@end - -NS_ASSUME_NONNULL_END - diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.h deleted file mode 100644 index 6de778a..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.h +++ /dev/null @@ -1,45 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class JPNavigationController, JPNavigationControllerTransition; - -@protocol JPNavigationControllerTransitionDelegate - -@optional -//- (void) - -@end - -@interface JPNavigationControllerTransition : NSObject - -/** - * Initialze Method. - * - * @param navigationController root navigation controller. - * - * @return a instance. - */ -- (instancetype)initWithNavigationContollerViewController:(JPNavigationController *)navigationController; - -/** - * This method will be called when pan gesture be triggered. - * - * @param gestureRecognizer A instance of `UIPanGestureRecognizer`. - */ -- (void)gestureDidTriggered:(UIPanGestureRecognizer *)gestureRecognizer; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.m deleted file mode 100644 index 1792aaf..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPNavigationControllerTransition.m +++ /dev/null @@ -1,142 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPNavigationControllerTransition.h" -#import "JPNavigationController.h" -#import "JPNavigationControllerCompat.h" -#import "JPPushAnimationTransition.h" -#import "JPNavigationControllerGestureRecognizer.h" - -@interface JPNavigationControllerTransition() - -/** - * The root navigation controller. - */ -@property(nonatomic, weak) JPNavigationController *navigationController; - -/** - * Percent Driven Interactive Transition. - */ -@property (nonatomic, strong) UIPercentDrivenInteractiveTransition *interactivePopTransition; - -/** - * The current gesture is push or pop. - */ -@property(nonatomic, assign) JPNavigationControllerTransitionType transitionType; - -/** - * Pop animation transition. - */ -@property(nonatomic, strong) JPPushAnimationTransition *pushAnimTransition; - -@end - -// The borderline value devcide is need push pop or not when gesture end. -const CGFloat kJPNavigationControllerTransitionBorderlineDelta = 0.3; -@implementation JPNavigationControllerTransition - -- (instancetype)initWithNavigationContollerViewController:(JPNavigationController *)navigationController{ - self = [super init]; - if (self) { - _navigationController = navigationController; - _transitionType = JPNavigationControllerTransitionTypeNone; - } - return self; -} - -- (void)gestureDidTriggered:(JPNavigationControllerGestureRecognizer *)gestureRecognizer{ - - // Calculate the percent of the point origin-X / screen width, alloc UIPercentDrivenInteractiveTransition instance when push start, and check user is overrided the protocol method or not, if overrided, then start push and, set start percent = 0. - // Refresh the slip percent when pan gesture changed. - // Judge the slip percent is more than the JPPushBorderlineDelta when pan gesture end. - - CGFloat progress = [gestureRecognizer translationInView:gestureRecognizer.view].x / gestureRecognizer.view.bounds.size.width; - - if (gestureRecognizer.state == UIGestureRecognizerStateBegan) { - - _transitionType = gestureRecognizer.transitionType; - [self.interactivePopTransition updateInteractiveTransition:0]; - - } - else if (gestureRecognizer.state == UIGestureRecognizerStateChanged) { - - if (_transitionType == JPNavigationControllerTransitionTypePush) { - if (progress <= 0) { - progress = fabs(progress); - progress = MIN(1.0, MAX(0.0, progress)); - } - else{ - progress = 0; - } - - [self.interactivePopTransition updateInteractiveTransition:progress]; - } - - } - else if (gestureRecognizer.state == UIGestureRecognizerStateEnded || gestureRecognizer.state == UIGestureRecognizerStateCancelled) { - - if (fabs(progress) > kJPNavigationControllerTransitionBorderlineDelta) { - [self.interactivePopTransition finishInteractiveTransition]; - } - else { - [self.interactivePopTransition cancelInteractiveTransition]; - } - _transitionType = JPNavigationControllerTransitionTypeNone; - } -} - - -#pragma mark - UINavigationControllerDelegate - -- (id)navigationController:(UINavigationController *)navigationControxller - animationControllerForOperation:(UINavigationControllerOperation)operation - fromViewController:(UIViewController *)fromVC - toViewController:(UIViewController *)toVC { - - // return custom animation transition for given situtation. - if (operation == UINavigationControllerOperationPush) { - return self.pushAnimTransition; - } - - return nil; -} - - -- (id)navigationController:(UINavigationController *)navigationController - interactionControllerForAnimationController:(id)animationController { - - // If the animationController is custom instance, return interactivePopTransition to manage transition progress. - if (self.interactivePopTransition) { - return _interactivePopTransition; - } - - return nil; -} - - -#pragma mark - Private - -- (UIPercentDrivenInteractiveTransition *)interactivePopTransition{ - if (!_interactivePopTransition) { - _interactivePopTransition = [[UIPercentDrivenInteractiveTransition alloc] init]; - _interactivePopTransition.completionCurve = UIViewAnimationCurveEaseOut; - } - return _interactivePopTransition; -} - -- (JPPushAnimationTransition *)pushAnimTransition{ - if (!_pushAnimTransition) { - _pushAnimTransition = [JPPushAnimationTransition new]; - } - return _pushAnimTransition; -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.h deleted file mode 100644 index 6b1e407..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.h +++ /dev/null @@ -1,16 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPBaseAnimationTransition.h" - -@interface JPPushAnimationTransition : JPBaseAnimationTransition - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.m deleted file mode 100644 index c51b0c4..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPPushAnimationTransition.m +++ /dev/null @@ -1,142 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPPushAnimationTransition.h" -#import "JPNavigationControllerCompat.h" -#import "UIView+ScreenCapture.h" -#import "UIViewController+ViewControllers.h" -#import "JPTransitionShadowView.h" -#import "UIView+ScreenCapture.h" - -@interface JPPushAnimationTransition() - -/** - * ImageView for toViewController to animate. - */ -@property(nonatomic, strong) JPTransitionShadowView *toShadowView_anim; - -/** - * From ImageView for fromViewController to animate. - */ -@property(nonatomic, strong) UIImageView *fromImv_anim; - -@end - -@implementation JPPushAnimationTransition - -- (void)animateTransition{ - BOOL tabbarIsHidden = self.toViewController.hidesBottomBarWhenPushed; - - if (tabbarIsHidden) { - // hide tabbar. - [self animateTransitionForHiddenTabbar]; - } - else{ - [self animateTransitionForDisplayTabbar]; - } -} - - -#pragma mark - Animation - -- (void)animateTransitionForHiddenTabbar{ - - UIImage *fromImg = [self.fromViewController.view.window jp_captureCurrentView]; - self.fromImv_anim.image = fromImg; - self.fromImv_anim.frame = CGRectMake(0, 0, JPScreenW, JPScreenH); - [self.containerView addSubview:self.fromImv_anim]; - - CGRect toViewFrame = CGRectMake(JPScreenW - JPMixShadowViewShadowWidth, 0, JPScreenW + JPMixShadowViewShadowWidth, JPScreenH); - self.toShadowView_anim.frame = toViewFrame; - self.toViewController.view.frame = CGRectMake(JPMixShadowViewShadowWidth, 0, JPScreenW, JPScreenH); - [self.toShadowView_anim addSubview:self.toViewController.view]; - [self.containerView addSubview:self.toShadowView_anim]; - - // hide tabbar. - UITabBar *tabbar = [self fetchTabbar]; - if (tabbar) { - tabbar.hidden = YES; - } - - [UIView animateWithDuration:self.transitionDuration delay:0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - - CGRect fromViewFrame = self.fromImv_anim.frame; - fromViewFrame.origin.x = -JPBaseAnimationTransitionInterlaceFactor * JPScreenW; - self.fromImv_anim.frame = fromViewFrame; - - CGRect toViewframe = self.toShadowView_anim.frame; - toViewframe.origin.x = -JPMixShadowViewShadowWidth; - self.toShadowView_anim.frame = toViewframe; - - } completion:^(BOOL finished) { - - [self.toViewController.view removeFromSuperview]; - self.toViewController.view.frame = CGRectMake(0, 0, JPScreenW, JPScreenH); - [self.containerView addSubview:self.toViewController.view]; - [self transitionComplete]; - self.fromImv_anim.image = nil; - [self.fromImv_anim removeFromSuperview]; - [self.toShadowView_anim removeFromSuperview]; - - tabbar.hidden = NO; - }]; -} - -- (void)animateTransitionForDisplayTabbar{ - - self.fromViewController.view.frame = CGRectMake(0, 0, JPScreenW, JPScreenH); - [self.containerView addSubview:self.fromViewController.view]; - - CGRect toViewFrame = CGRectMake(JPScreenW - JPMixShadowViewShadowWidth, 0, JPScreenW + JPMixShadowViewShadowWidth, JPScreenH); - self.toShadowView_anim.frame = toViewFrame; - self.toViewController.view.frame = CGRectMake(JPMixShadowViewShadowWidth, 0, JPScreenW, JPScreenH); - [self.toShadowView_anim addSubview:self.toViewController.view]; - [self.containerView addSubview:self.toShadowView_anim]; - - [UIView animateWithDuration:self.transitionDuration delay:0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - - CGRect fromViewFrame = self.fromViewController.view.frame; - fromViewFrame.origin.x = -JPBaseAnimationTransitionInterlaceFactor * JPScreenW; - self.fromViewController.view.frame = fromViewFrame; - - CGRect toViewframe = self.toShadowView_anim.frame; - toViewframe.origin.x = -JPMixShadowViewShadowWidth; - self.toShadowView_anim.frame = toViewframe; - - } completion:^(BOOL finished) { - - [self.toViewController.view removeFromSuperview]; - self.toViewController.view.frame = CGRectMake(0, 0, JPScreenW, JPScreenH); - [self.containerView addSubview:self.toViewController.view]; - [self transitionComplete]; - [self.toShadowView_anim removeFromSuperview]; - - }]; -} - - -#pragma mark - Private - -- (UIImageView *)fromImv_anim{ - if (!_fromImv_anim) { - _fromImv_anim = [UIImageView new]; - } - return _fromImv_anim; -} - -- (JPTransitionShadowView *)toShadowView_anim{ - if (!_toShadowView_anim) { - _toShadowView_anim = [JPTransitionShadowView new]; - } - return _toShadowView_anim; -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.h deleted file mode 100644 index 0ccca4d..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -extern const CGFloat JPMixShadowViewShadowWidth; - -NS_ASSUME_NONNULL_BEGIN - -@interface JPTransitionShadowView : UIView - -/** - * Shadow imageView. - */ -@property(nonatomic, strong, readonly, nullable) UIImageView *shadowImv; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.m deleted file mode 100644 index 5d40882..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPTransitionShadowView.m +++ /dev/null @@ -1,48 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPTransitionShadowView.h" -#import "JPNavigationControllerCompat.h" - -static NSString *const kJPNavigationControllerShadowImagePath = @"JPNavigationController.bundle/shadow"; -const CGFloat JPMixShadowViewShadowWidth = 21.f; -@implementation JPTransitionShadowView - -- (instancetype)init{ - self = [super init]; - if (self) { - [self setup]; - } - return self; -} - -- (void)layoutSubviews{ - [super layoutSubviews]; - - _shadowImv.frame = CGRectMake(0, 0, JPScreenW + JPMixShadowViewShadowWidth, JPScreenH); -} - - -#pragma mark - Private - -- (void)setup{ - self.backgroundColor = [UIColor clearColor]; - - _shadowImv = ({ - UIImageView *imv = [UIImageView new]; - [self addSubview:imv]; - imv.image = [UIImage imageNamed:kJPNavigationControllerShadowImagePath]; - - imv; - }); -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.h deleted file mode 100755 index fb72920..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.h +++ /dev/null @@ -1,53 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@protocol JPNavigationControllerDelegate; - -@interface JPWarpNavigationController : UINavigationController - -/** - * Close or open pop gesture for current viewController in current root navigation controller. - * NO by default. - */ -@property(nonatomic, assign, readonly) BOOL closePopForCurrentViewController; - -/** - * Use custom pop animation for current viewController in current root navigation controller. - * Default is NO. - */ -@property(nonatomic, assign, readonly) BOOL useCustomPopAnimationForCurrentViewController; - -/** - * Link view height at screen bottom. - */ -@property(nonatomic, assign, readonly)CGFloat linkViewHeight; - -/** - * Link view at screen bottom. - * You just need pass your link view to this property, framework will display your link view automatically. - * @warning if the viewController display in window currently is a `UITableViewController` class, frame will add a contentInset automatically to avoid the link view cover on `UITableViewController`. but if you add a `UITableView` on `UIViewController`, framework will do nothing for that, you may handle this by yourself. - */ -@property(nonatomic, strong, readonly)UIView * linkView; - -/** - * Delegate to observer delegate events. - * - * @see JPNavigationControllerDelegate. - */ -@property(nonatomic, weak, readonly) id navigationDelegate; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.m deleted file mode 100755 index fabe0a1..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpNavigationController.m +++ /dev/null @@ -1,278 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPWarpNavigationController.h" -#import "JPNavigationController.h" -#import "UIViewController+ViewControllers.h" -#import "JPWarpViewController.h" -#import "UIColor+ImageGenerate.h" -#import "UINavigationController+FulllScreenPopPush.h" -#import "JPNavigationControllerCompat.h" -#import "UIView+ScreenCapture.h" -#import "JPNavigationBar.h" - -@interface JPWarpNavigationController () - -/** - * The root navigation controller. - */ -@property(nonatomic, weak) JPNavigationController *rootNavigationController; - -/** - * Link container view. - */ -@property(nonatomic, strong) JPLinkContainerView *linkContainerView; - -@end - -static NSString *const kJPWarpNavigationControllerBackImageName = @"JPNavigationController.bundle/backImage"; - -@implementation JPWarpNavigationController - -- (instancetype)init{ - self = [super init]; - if (self) { - [self _setup]; - } - return self; -} - -- (void)viewDidLoad { - [super viewDidLoad]; - - // default color for navigation bar. - [self.navigationBar setBackgroundImage:[[UIColor whiteColor] jp_image] forBarMetrics:UIBarMetricsDefault]; - - // Replace system's NavigationBar with custom NavigationBar. - JPNavigationBar *customNavBar = [[JPNavigationBar alloc]init]; - [self setValue:customNavBar forKey:@"navigationBar"]; -} - -- (UIViewController *)childViewControllerForStatusBarStyle{ - return self.topViewController; -} - - -#pragma mark - JPNavigationControllerProtocol - -- (JPNavigationController *)jp_rootNavigationController{ - return self.rootNavigationController; -} - -- (void)setJp_interactivePopMaxAllowedInitialDistanceToLeftEdge:(CGFloat)jp_interactivePopMaxAllowedInitialDistanceToLeftEdge{ - CGFloat distance = jp_interactivePopMaxAllowedInitialDistanceToLeftEdge; - distance = MAX(0, distance); - distance = MIN(distance, [UIScreen mainScreen].bounds.size.width); - if (!self.rootNavigationController) { - return; - } - [self.rootNavigationController setValue:@(distance) forKey:@"interactivePopMaxAllowedInitialDistanceToLeftEdge"]; -} - -- (CGFloat)jp_interactivePopMaxAllowedInitialDistanceToLeftEdge{ - if (self.rootNavigationController) { - return [[self.rootNavigationController valueForKey:@"interactivePopMaxAllowedInitialDistanceToLeftEdge"] floatValue]; - } - return JPScreenW; -} - -- (void)setJp_closePopForCurrentViewController:(BOOL)jp_closePopForCurrentViewController{ - [self willChangeValueForKey:@"closePopForCurrentViewController"]; - _closePopForCurrentViewController = jp_closePopForCurrentViewController; - [self didChangeValueForKey:@"closePopForCurrentViewController"]; -} - -- (BOOL)jp_closePopForCurrentViewController{ - return _closePopForCurrentViewController; -} - -- (void)setJp_closePopForAllViewControllers:(BOOL)jp_closePopForAllViewControllers{ - if (!self.rootNavigationController) { - return; - } - [self.rootNavigationController setValue:@(jp_closePopForAllViewControllers) forKey:@"closePopForAllViewControllers"]; -} - -- (BOOL)jp_closePopForAllViewControllers{ - if (self.rootNavigationController) { - return [[self.rootNavigationController valueForKey:@"closePopForAllViewControllers"] boolValue]; - } - return NO; -} - -- (void)setJp_useCustomPopAnimationForCurrentViewController:(BOOL)jp_useCustomPopAnimationForCurrentViewController{ - [self willChangeValueForKey:@"useCustomPopAnimationForCurrentViewController"]; - _useCustomPopAnimationForCurrentViewController = jp_useCustomPopAnimationForCurrentViewController; - - if (jp_useCustomPopAnimationForCurrentViewController) { - [self.userViewController.jp_warpViewController addPopGesture]; - } - else{ - [self.userViewController.jp_warpViewController removePopGesture];; - } - - [self didChangeValueForKey:@"useCustomPopAnimationForCurrentViewController"]; -} - -- (BOOL)jp_useCustomPopAnimationForCurrentViewController{ - return _useCustomPopAnimationForCurrentViewController; -} - -- (void)jp_registerNavigtionControllerDelegate:(id)delegate{ - [self willChangeValueForKey:@"navigationDelegate"]; - _navigationDelegate = delegate; - [self didChangeValueForKey:@"navigationDelegate"]; -} - -- (void)jp_popToViewControllerClassString:(NSString *)targetClassString handle:(JPNavigationContollerPopHandle)handle animated:(BOOL)animated{ - SEL sel = NSSelectorFromString(@"popToViewController:"); - NSMutableDictionary *arguments = [@{} mutableCopy]; - if (targetClassString) { - arguments[@"targetClassString"] = targetClassString; - } - if (handle) { - arguments[@"handle"] = handle; - } - arguments[@"animated"] = @(animated); -#pragma clang diagnostic push -#pragma clang diagnostic ignored "-Warc-performSelector-leaks" - [self.rootNavigationController performSelector:sel withObject:[arguments copy]]; -#pragma clang diagnostic pop -} - -- (void)setJp_linkView:(UIView *)jp_linkView{ - [self willChangeValueForKey:@"linkView"]; - _linkView = jp_linkView; - [self addLinkView]; - [self didChangeValueForKey:@"linkView"]; -} - -- (UIView *)jp_linkView{ - return _linkView; -} - -- (void)setJp_linkViewHeight:(CGFloat)jp_linkViewHeight{ - [self willChangeValueForKey:@"linkViewHeight"]; - _linkViewHeight = jp_linkViewHeight; - [self addLinkView]; - [self didChangeValueForKey:@"linkViewHeight"]; -} - -- (CGFloat)jp_linkViewHeight{ - return _linkViewHeight; -} - - -#pragma mark - Link View - -- (void)addLinkView{ - - // If jp_linkViewHeight > 0, we think have a link view in bottom. - // framework will check the viewController passed in by use is a class of `UITableViewController` or not, if YES, framework will add a contentInset for this viewController. - - UIViewController *childViewController = self.viewControllers.firstObject; - if (self.linkViewHeight > 0 && self.linkView) { - - if (self.linkView.superview) { - return; - } - - self.linkView.frame = CGRectMake(0, 0, [UIScreen mainScreen].bounds.size.width, self.linkViewHeight); - [self.linkContainerView addSubview:self.linkView]; - - if ([childViewController isKindOfClass:[UITableViewController class]]) { - UITableViewController *aVc = (UITableViewController *)self.viewControllers.firstObject; - aVc.tableView.contentInset = UIEdgeInsetsMake(0, 0, self.linkViewHeight, 0); - // for test - // NSLog(@"avc%@", NSStringFromUIEdgeInsets(aVc.tableView.contentInset)); - } - } -} - - -#pragma mark - Override - -- (void)pushViewController:(UIViewController *)viewController animated:(BOOL)animated{ - - // call -initWithRootViewController: first view controller push in stack. - JPNavigationController *rootNavigationController = [self rootNavigationController]; - if (!rootNavigationController) { - [super pushViewController:viewController animated:animated]; - return; - } - - // call pushViewController:animated:. - viewController.jp_rootNavigationController = rootNavigationController; - - UIImage *backImg = [[UIImage imageNamed:kJPWarpNavigationControllerBackImageName] imageWithRenderingMode:UIImageRenderingModeAlwaysOriginal]; - viewController.navigationItem.leftBarButtonItem = [[UIBarButtonItem alloc]initWithImage:backImg style:UIBarButtonItemStylePlain target:self action:@selector(didTapBackButton)]; - - JPWarpViewController *warpViewController = [[JPWarpViewController alloc]initWithRootViewController:viewController rootNavigationController:_rootNavigationController]; - - // capture screen for custom pop if need. - if (self.view.window) { - viewController.jp_screenCaptureImg = [self.view.window jp_captureCurrentView]; - } - - [rootNavigationController pushViewController:warpViewController animated:animated]; -} - -- (UIViewController *)popViewControllerAnimated:(BOOL)animated{ - return [self.rootNavigationController popViewControllerAnimated:animated]; -} - -- (NSArray *)popToViewController:(UIViewController *)viewController animated:(BOOL)animated{ - JPWarpViewController *warpVc = viewController.jp_warpViewController; - if (warpVc) { - return [self.rootNavigationController popToViewController:warpVc animated:animated]; - } - return nil; -} - -- (NSArray *)popToRootViewControllerAnimated:(BOOL)animated{ - return [self.rootNavigationController popToRootViewControllerAnimated:animated]; -} - -- (void)presentViewController:(UIViewController *)viewControllerToPresent animated:(BOOL)flag completion:(void (^)(void))completion{ - [self.rootNavigationController presentViewController:viewControllerToPresent animated:flag completion:completion]; -} - -- (void)dismissViewControllerAnimated:(BOOL)flag completion:(void (^)(void))completion{ - [self.rootNavigationController dismissViewControllerAnimated:flag completion:completion]; -} - - -#pragma mark - Private - -- (JPLinkContainerView *)linkContainerView{ - if (!_linkContainerView) { - _linkContainerView = [JPLinkContainerView new]; - _linkContainerView.backgroundColor = [UIColor clearColor]; - _linkContainerView.frame = CGRectMake(0, JPScreenH - self.linkViewHeight - 20.f, JPScreenW, self.linkViewHeight); - [self.navigationBar addSubview:_linkContainerView]; - } - return _linkContainerView; -} - -- (void)_setup{ - _closePopForCurrentViewController = NO; - _useCustomPopAnimationForCurrentViewController = NO; -} - -- (void)didTapBackButton{ - [self.rootNavigationController popViewControllerAnimated:YES]; -} - -- (UIViewController *)userViewController{ - return self.childViewControllers.firstObject; -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.h deleted file mode 100755 index 828328d..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.h +++ /dev/null @@ -1,51 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -@class JPNavigationController; - -NS_ASSUME_NONNULL_BEGIN - -@interface JPWarpViewController : UIViewController - -/** - * The view Controller user passed in(the view controller be pushed in navigationController's stack now). - * Use for help find the viewController wanna pop to in method popToViewController:animated:. - * - * @see jp_rootNavigationController - */ -@property(nonatomic, weak, readonly) UIViewController *userViewController; - -/** - * Initially method. - * This method be used for warping the ViewController from user by UINavigationController, then warp the UINavigationController by UIViewController and pass the overall ViewController back. Wanna know more details please see http://www.jianshu.com/p/88bc827f0692. - * - * @param rootViewController The viewController need be warped. - * @param rootNavigationController The root navigation controller, @see JPNavigationController. - * - * @return The viewController be warped. - */ -- (instancetype)initWithRootViewController:(UIViewController *)rootViewController rootNavigationController:(JPNavigationController *)rootNavigationController; - -/** - * Use customize pop gesture need add pop gesture in current viewController. - */ -- (void)addPopGesture; - -/** - * Remove pop gesture in current viewController. - */ -- (void)removePopGesture; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.m deleted file mode 100755 index 5ce8c41..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/JPWarpViewController.m +++ /dev/null @@ -1,230 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPWarpViewController.h" -#import "JPWarpNavigationController.h" -#import "UIViewController+ViewControllers.h" -#import "JPNavigationController.h" -#import "JPNavigationControllerCompat.h" -#import "JPTransitionShadowView.h" -#import "JPNavigationControllerGestureRecognizer.h" - -@interface JPWarpViewController () - -/** - * The warped navigation controller by self. - */ -@property(nonatomic, strong) JPWarpNavigationController *warpedNavigationController; - -/** - * User viewController. - */ -@property(nonatomic, weak) UIViewController *userViewController; - -/** - * Pop gesture. - */ -@property(nonatomic, strong) JPNavigationControllerGestureRecognizer *panGesture; - -/** - * The current gesture is push or pop. - */ -@property(nonatomic, assign) JPNavigationControllerTransitionType transitionType; - -/** - * ImageView for toViewController. - */ -@property(nonatomic, strong) UIImageView *toImv_anim; - -/** - * Shadow View. - */ -@property(nonatomic, strong) JPTransitionShadowView *shadowView; - -@end - -static NSValue *kJPWarpViewControllerTabbarRectValue; -// The borderline value devcide is need push pop or not when gesture end. -const CGFloat kJPWarpViewControllerTransitionBorderlineDelta = 0.4; -const CGFloat kJPWarpViewControllerTransitionDuration = 0.25; -const CGFloat kJPWarpViewControllerInterlaceFactor = 0.3; -@implementation JPWarpViewController - -- (instancetype)initWithRootViewController:(UIViewController *)rootViewController rootNavigationController:(JPNavigationController *)rootNavigationController{ - - // Alloc warpNav as B, warp the viewController user passed by B, then warp the B by self become C. - - self = [super init]; - if (self) { - rootViewController.jp_warpViewController = self; - - JPWarpNavigationController *warpNav = [[JPWarpNavigationController alloc] initWithRootViewController:rootViewController]; - [warpNav setValue:rootNavigationController forKey:@"rootNavigationController"]; - [self addChildViewController:warpNav]; - - _userViewController = rootViewController; - _warpedNavigationController = warpNav; - } - return self; -} - -- (void)viewDidLoad { - [super viewDidLoad]; - - self.view.backgroundColor = [UIColor whiteColor]; - [self.view addSubview:_warpedNavigationController.view]; - _transitionType = JPNavigationControllerTransitionTypeNone; -} - -- (UIViewController *)childViewControllerForStatusBarStyle{ - return self.childViewControllers.firstObject; -} - -- (void)addPopGesture{ - _panGesture = ({ - JPNavigationControllerGestureRecognizer *panGesture = [[JPNavigationControllerGestureRecognizer alloc]initWithTarget:self action:@selector(gestureDidTriggered:)]; - [self.view addGestureRecognizer:panGesture]; - panGesture.maximumNumberOfTouches = 1; - JPNavigationController *rootNav = _userViewController.jp_rootNavigationController; - panGesture.delegate = rootNav; - panGesture.gestureType = JPNavigationControllerGestureRecognizerTypeWarp; - [panGesture addTarget:rootNav action:NSSelectorFromString(@"gestureDidTriggered:")]; - - panGesture; - }); -} - -- (void)removePopGesture{ - _panGesture.delegate = nil; - [_panGesture removeTarget:self action:@selector(gestureDidTriggered:)]; - _panGesture = nil; -} - - -#pragma mark - Gesture - -- (void)gestureDidTriggered:(JPNavigationControllerGestureRecognizer *)gestureRecognizer{ - - // Calculate the percent of the point origin-X / screen width, alloc UIPercentDrivenInteractiveTransition instance when push start, and check user is overrided the protocol method or not, if overrided, then start push and, set start percent = 0. - // Refresh the slip percent when pan gesture changed. - // Judge the slip percent is more than the JPPushBorderlineDelta when pan gesture end. - - - CGFloat progress = [gestureRecognizer translationInView:gestureRecognizer.view].x / gestureRecognizer.view.bounds.size.width; - - if (gestureRecognizer.state == UIGestureRecognizerStateBegan) { - _transitionType = JPNavigationControllerTransitionTypePop; - - // add animation imageView. - self.toImv_anim.image = [_userViewController jp_screenCaptureImg]; - self.toImv_anim.frame = CGRectMake(-kJPWarpViewControllerInterlaceFactor * JPScreenW, 0, JPScreenW, JPScreenH); - [self.view.superview insertSubview:self.toImv_anim atIndex:0]; - - // add shadow view. - self.shadowView.frame = CGRectMake(-JPMixShadowViewShadowWidth, 0, JPScreenW + JPMixShadowViewShadowWidth, JPScreenH); - [self.view.superview insertSubview:self.shadowView aboveSubview:self.toImv_anim]; - - } - else if (gestureRecognizer.state == UIGestureRecognizerStateChanged) { - { - - if (_transitionType != JPNavigationControllerTransitionTypePop) { - return; - } - - if (progress < 0) { - progress = 0; - } - progress = MIN(1.0, MAX(0.0, progress)); - - CGFloat tx_to = JPScreenW * kJPWarpViewControllerInterlaceFactor * progress; - self.toImv_anim.transform = CGAffineTransformTranslate(CGAffineTransformIdentity, tx_to, 0); - CGFloat tx_from = JPScreenW * progress; - self.view.transform = CGAffineTransformTranslate(CGAffineTransformIdentity, tx_from, 0); - self.shadowView.transform = CGAffineTransformTranslate(CGAffineTransformIdentity, tx_from, 0); - } - } - else if (gestureRecognizer.state == UIGestureRecognizerStateEnded || gestureRecognizer.state == UIGestureRecognizerStateCancelled) { - - if (_transitionType != JPNavigationControllerTransitionTypePop) { - return; - } - - NSTimeInterval duration; - - if (progress > kJPWarpViewControllerTransitionBorderlineDelta) { - duration = kJPWarpViewControllerTransitionDuration; - - [UIView animateWithDuration:duration delay:0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - - CGFloat tx_to = JPScreenW * kJPWarpViewControllerInterlaceFactor; - self.toImv_anim.transform = CGAffineTransformTranslate(CGAffineTransformIdentity, tx_to, 0); - CGFloat tx_from = JPScreenW; - self.view.transform = CGAffineTransformTranslate(CGAffineTransformIdentity, tx_from, 0); - self.shadowView.transform = CGAffineTransformTranslate(CGAffineTransformIdentity, tx_from, 0); - - } completion:^(BOOL finished) { - - [_userViewController.navigationController popViewControllerAnimated:NO]; - self.toImv_anim.transform = CGAffineTransformIdentity; - self.view.transform = CGAffineTransformIdentity; - self.shadowView.transform = CGAffineTransformIdentity; - [self.toImv_anim removeFromSuperview]; - [self.shadowView removeFromSuperview]; - - }]; - } - else { - duration = kJPWarpViewControllerTransitionDuration * progress; - - [UIView animateWithDuration:duration delay:0 options:UIViewAnimationOptionCurveEaseOut animations:^{ - - self.toImv_anim.transform = CGAffineTransformIdentity; - self.view.transform = CGAffineTransformIdentity; - self.shadowView.transform = CGAffineTransformIdentity; - - } completion:^(BOOL finished) { - - [self.toImv_anim removeFromSuperview]; - [self.shadowView removeFromSuperview]; - - }]; - } - - _transitionType = JPNavigationControllerTransitionTypeNone; - } -} - - -#pragma mark - Override - -- (BOOL)hidesBottomBarWhenPushed{ - return _userViewController.hidesBottomBarWhenPushed; -} - - -#pragma mark - Private - -- (JPTransitionShadowView *)shadowView{ - if (!_shadowView) { - _shadowView = [JPTransitionShadowView new]; - } - return _shadowView; -} - -- (UIImageView *)toImv_anim{ - if (!_toImv_anim) { - _toImv_anim = [UIImageView new]; - } - return _toImv_anim; -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.h deleted file mode 100644 index 992eaa5..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface UIColor (ImageGenerate) - -/** - * Generate an image with the color instance. - * - * @return the generated image. - */ -- (UIImage *)jp_image; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.m deleted file mode 100644 index a5386b2..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIColor+ImageGenerate.m +++ /dev/null @@ -1,29 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "UIColor+ImageGenerate.h" - -@implementation UIColor (ImageGenerate) - -- (UIImage *)jp_image{ - CGRect rect = CGRectMake(0.0f, 0.0f, 1.0f, 1.0f); - - UIGraphicsBeginImageContext(rect.size); - CGContextRef context = UIGraphicsGetCurrentContext(); - CGContextSetFillColorWithColor(context, [self CGColor]); - CGContextFillRect(context, rect); - UIImage *theImage = UIGraphicsGetImageFromCurrentImageContext(); - - UIGraphicsEndImageContext(); - return theImage; -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UINavigationController+FulllScreenPopPush.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UINavigationController+FulllScreenPopPush.h deleted file mode 100644 index 2c11f04..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UINavigationController+FulllScreenPopPush.h +++ /dev/null @@ -1,18 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "JPNavigationControllerProtocol.h" - -@interface UINavigationController (FulllScreenPopPush) - -@end - - diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.h deleted file mode 100644 index 4ddf8cf..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.h +++ /dev/null @@ -1,27 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@interface UIView (ScreenCapture) - -/** - * Capture current view generate a image. - * - * @return a image of current view. - */ -- (UIImage *)jp_captureCurrentView; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.m deleted file mode 100644 index 8631b98..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIView+ScreenCapture.m +++ /dev/null @@ -1,25 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "UIView+ScreenCapture.h" -#import "JPNavigationControllerCompat.h" - -@implementation UIView (ScreenCapture) - -- (UIImage *)jp_captureCurrentView{ - UIGraphicsBeginImageContextWithOptions(self.bounds.size, self.opaque, 0); - [self drawViewHierarchyInRect:self.bounds afterScreenUpdates:YES]; - UIImage *image = UIGraphicsGetImageFromCurrentImageContext(); - UIGraphicsEndImageContext(); - return image; -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.h b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.h deleted file mode 100755 index f6dfba8..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.h +++ /dev/null @@ -1,43 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import - -NS_ASSUME_NONNULL_BEGIN - -@class JPNavigationController, JPWarpViewController; - -@interface UIViewController (ViewControllers) - -/** - * Root NavigationController. - * - * @see JPNavigationController. - */ -@property(nonatomic) JPNavigationController *jp_rootNavigationController; - -/** - * Warp ViewController. - * - * @see JPWarpViewController. - */ -@property(nonatomic) JPWarpViewController *jp_warpViewController; - -/** - * Screen capture image for last viewController. - * - * @see JPWarpNavigationController. - */ -@property(nonatomic) UIImage *jp_screenCaptureImg; - -@end - -NS_ASSUME_NONNULL_END diff --git a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.m b/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.m deleted file mode 100755 index 496ae8d..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/JPNavigationController/UIViewController+ViewControllers.m +++ /dev/null @@ -1,45 +0,0 @@ -/* - * This file is part of the JPNavigationController package. - * (c) NewPan <13246884282@163.com> - * - * For the full copyright and license information, please view the LICENSE - * file that was distributed with this source code. - * - * Click https://github.com/newyjp - * or http://www.jianshu.com/users/e2f2d779c022/latest_articles to contact me. - */ - -#import "UIViewController+ViewControllers.h" -#import - -static char kJPNavigationControllerRootNavigationKey; -static char kJPNavigationControllerWarpViewControllerKey; -static char kJPNavigationControllerScreenCaptureImageKey; - -@implementation UIViewController (ViewControllers) - -- (void)setJp_rootNavigationController:(JPNavigationController *)jp_rootNavigationController{ - objc_setAssociatedObject(self, &kJPNavigationControllerRootNavigationKey, jp_rootNavigationController, OBJC_ASSOCIATION_ASSIGN); -} - -- (JPNavigationController *)jp_rootNavigationController{ - return objc_getAssociatedObject(self, &kJPNavigationControllerRootNavigationKey); -} - -- (void)setJp_warpViewController:(JPWarpViewController *)jp_warpViewController{ - objc_setAssociatedObject(self, &kJPNavigationControllerWarpViewControllerKey, jp_warpViewController, OBJC_ASSOCIATION_ASSIGN); -} - -- (JPWarpViewController *)jp_warpViewController{ - return objc_getAssociatedObject(self, &kJPNavigationControllerWarpViewControllerKey); -} - -- (void)setJp_screenCaptureImg:(UIImage *)jp_screenCaptureImg{ - objc_setAssociatedObject(self, &kJPNavigationControllerScreenCaptureImageKey, jp_screenCaptureImg, OBJC_ASSOCIATION_RETAIN_NONATOMIC); -} - -- (UIImage *)jp_screenCaptureImg{ - return objc_getAssociatedObject(self, &kJPNavigationControllerScreenCaptureImageKey); -} - -@end diff --git a/JPAnimationDemo/Pods/JPNavigationController/LICENSE b/JPAnimationDemo/Pods/JPNavigationController/LICENSE deleted file mode 100755 index df16c7b..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/LICENSE +++ /dev/null @@ -1,21 +0,0 @@ -MIT License - -Copyright (c) 2016 NewPan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. diff --git a/JPAnimationDemo/Pods/JPNavigationController/README.md b/JPAnimationDemo/Pods/JPNavigationController/README.md deleted file mode 100755 index 7ead66c..0000000 --- a/JPAnimationDemo/Pods/JPNavigationController/README.md +++ /dev/null @@ -1,412 +0,0 @@ - - -

- -

- -[![license](https://img.shields.io/github/license/mashape/apistatus.svg)](https://github.com/newyjp/JPNavigationController) [![pod](https://img.shields.io/badge/pod-2.0.0-green.svg)](https://github.com/newyjp/JPNavigationController) [![pod](https://img.shields.io/badge/platform-iOS-yellow.svg)](https://github.com/newyjp/JPNavigationController) [![pod](https://img.shields.io/badge/about%20me-NewPan-red.svg)](http://www.jianshu.com/users/e2f2d779c022/latest_articles) -![pod](https://img.shields.io/travis/rust-lang/rust/master.svg) - -This library provides an fullScreen pop and push gesture for UINavigationController with customize UINavigationBar for each single support and, smooth playing video use `AVPlayer` when perform pop gesture support. - -

- -

- - -## Features - -- [x] FullScreen pop gesture support -- [x] FullScreen push gesture support -- [x] Customize UINavigationBar for each single viewController support -- [x] Add link view hovering in screen bottom support -- [x] Customize pop and push gesture distance on the left side of the screen support -- [x] Close pop gesture for single viewController support -- [x] Close pop gesture for all viewController support -- [x] Smooth playing video use `AVPlayer` when perform pop gesture support - - -## Requirements - -- iOS 8.0 or later -- Xcode 8.0 or later - - -## Getting Started - -- Read the [[iOS]UINavigationController全屏pop之为每个控制器自定义UINavigationBar](http://www.jianshu.com/p/88bc827f0692) -- Read the [[iOS]UINavigationController全屏pop之为每个控制器添加底部联动视图](http://www.jianshu.com/p/3ed21414551a) -- Read the [[iOS]UINavigationController全屏pop之为控制器添加左滑push](http://www.jianshu.com/p/ff68b5e646fc) -- Try the example by downloading the project from Github - - -## Communication - -- If you **found a bug**, open an issue. -- If you **have a feature request**, open an issue. -- If you **want to contribute**, submit a pull request. - - -## Installation - -## How To Use - -#### Initialize - -```objective-c -Objective-C: - -#import - -JPNavigationController *nav = [[JPNavigationController alloc]initWithRootViewController:YourVc]; -``` - -#### PushViewController - -```objective-c -Objective-C: - -[self.navigationController pushViewController:YourVc animated:YES]; -``` - -#### PopToViewController - -```objective-c -Objective-C: - -[self.navigationController popViewControllerAnimated:YES]; - -[self.navigationController popToRootViewControllerAnimated:YES]; - - -// Pop to a given view controller. - -// Plan A: find the target view controller by youself, then pop it. -JPNavigationControllerDemo_linkBar *vc = nil; -NSArray *viewControllers = self.navigationController.jp_rootNavigationController.jp_viewControllers; -for (UIViewController *c in viewControllers) { - if ([c isKindOfClass:[JPNavigationControllerDemo_linkBar class]]) { - vc = (JPNavigationControllerDemo_linkBar *)c; -        break; -    } -} - -if (vc) { - [self.navigationController popToViewController:vc animated:YES]; -} - - -// Plan B: use jp_popToViewControllerClassString:handle:animated:. -[self.navigationController jp_popToViewControllerClassString:@"JPNavigationControllerDemo_linkBar" handle:^UIViewController * _Nullable(NSArray * _Nullable viewControllers, NSError * _Nullable error) { - - if (!error) { - return viewControllers.firstObject; - } - else{ - NSLog(@"%@", error); - return nil; - } - -} animated:YES]; -``` - - -#### Customize UINavigationBar - -```objective-c -Objective-C: - -// Hide navigation bar. -self.navigationController.navigationBarHidden = YES; - -// Customize UINavigationBar color -[self.navigationController.navigationBar setBackgroundImage:aImage forBarMetrics:UIBarMetricsDefault]; - -``` - -#### Add push gesture connect viewController - -```objective-c -Objective-C: - -// Become the delegate of JPNavigationControllerDelegate protocol and, implemented protocol method, then you own left-slip to push function. -[self.navigationController jp_registerNavigtionControllerDelegate:self]; - -// Implementation protocol method -- (void)navigationControllerDidPush:(JPNavigationController *)navigationController{ - [self.navigationController pushViewController:YourVc animated:YES]; -} -``` - -#### Add link view hovering in screen bottom - -```objective-c -Objective-C: - -// Return the link view in the be pushed viewController. -- (void)viewDidLoad{ - [super viewDidLoad]; - - YourVc.navigationController.jp_linkViewHeight = 44.0f; - self.navigationController.jp_linkView = YourLinkView; -} -``` - - -#### Customize pop gesture distance - -```objective-c -Objective-C: - -self.navigationController.jp_interactivePopMaxAllowedInitialDistanceToLeftEdge = aValue; -``` - -#### Close pop gesture for single viewController - -```objective-c -Objective-C: - -self.navigationController.jp_closePopForAllViewController = YES; -``` - - -#### Close pop gesture for all viewController - -```objective-c -Objective-C: - -self.navigationController.jp_closePopForAllViewController = YES; -``` - -#### Use custom pop animation when contain AVPlayer - -```objective-c -Objective-C: - -self.navigationController.jp_useCustomPopAnimationForCurrentViewController = YES; -``` - -Installation ------------- - -There are two ways to use JPNavigationController in your project: -- using CocoaPods -- by cloning the project into your repository - -### Installation with CocoaPods - -[CocoaPods](http://cocoapods.org/) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the [Get Started](http://cocoapods.org/#get_started) section for more details. - -#### Podfile -``` -platform :ios, '8.0' -target “YourProjectName” do -pod 'JPNavigationController', '~> 2.0.0' -end -``` - -## Licenses - -All source code is licensed under the [MIT License](https://github.com/newyjp/JPNavigationController/blob/master/LICENSE). - - -如果你在天朝 ------------- - -框架支持为 UINavigationController 提供全屏 pop 和 push 手势支持, 并且你可以为每个控制器自定义 UINavigationBar, 注意, 每个控制器的 UINavigationBar 是互不干扰的. 实现基于AOP思想, 不会侵入你的项目. - -## 特性 - -- [x] 全屏 pop 手势支持 -- [x] 全屏 push 到绑定的控制器支持 -- [x] 为每个控制器定制 UINavigationBar 支持(包括设置颜色和透明度) -- [x] 为每个控制器添加底部联动视图支持 -- [x] 自定义 pop 手势范围支持(从屏幕最左侧开始计算宽度) -- [x] 为单个控制器关闭 pop 手势支持 -- [x] 为所有控制器关闭 pop 手势支持 -- [x] 当当前控制器使用 `AVPlayer` 播放视频的时候, 使用自定义的 pop 动画以保证 `AVPlayer` 流畅播放. - - -## 组件要求 - -- iOS 8.0 or later -- Xcode 8.0 or later - - -## 了解实现思路和源码解析 - -- 阅读我的简书文章 [[iOS]UINavigationController全屏pop之为每个控制器自定义UINavigationBar](http://www.jianshu.com/p/88bc827f0692) -- 阅读我的简书文章 [[iOS]UINavigationController全屏pop之为每个控制器添加底部联动视图](http://www.jianshu.com/p/3ed21414551a) -- 阅读我的简书文章 [[iOS]UINavigationController全屏pop之为控制器添加左滑push](http://www.jianshu.com/p/ff68b5e646fc) -- 下载我Github上的demo - - -## 联系 - -- 如果你发现了bug, 请帮我提交issue -- 如果你有好的建议, 请帮我提交issue -- 如果你想贡献代码, 请提交请求 - - -## 安装 - -## 具体使用 - -#### 初始化 - -```objective-c -Objective-C: - -#import - -JPNavigationController *nav = [[JPNavigationController alloc]initWithRootViewController:YourVc]; -``` - -#### PushViewController - -```objective-c -Objective-C: - -[self.navigationController pushViewController:YourVc animated:YES]; -``` - -#### PopToViewController - -```objective-c -Objective-C: - -[self.navigationController popViewControllerAnimated:YES]; - -[self.navigationController popToRootViewControllerAnimated:YES]; - - -// 弹出到指定的控制器 - -// 方案A: 找到目标控制器, pop -JPNavigationControllerDemo_linkBar *vc = nil; -NSArray *viewControllers = self.navigationController.jp_rootNavigationController.jp_viewControllers; -for (UIViewController *c in viewControllers) { -if ([c isKindOfClass:[JPNavigationControllerDemo_linkBar class]]) { - vc = (JPNavigationControllerDemo_linkBar *)c; -    break; -   } -} - -if (vc) { - [self.navigationController popToViewController:vc animated:YES]; -} - - -// 方案 B: jp_popToViewControllerClassString:handle:animated:. -[self.navigationController jp_popToViewControllerClassString:@"JPNavigationControllerDemo_linkBar" handle:^UIViewController * _Nullable(NSArray * _Nullable viewControllers, NSError * _Nullable error) { - - if (!error) { - return viewControllers.firstObject; - } - else{ - NSLog(@"%@", error); - return nil; - } - -} animated:YES]; -``` - - -#### 自定义 UINavigationBar - -```objective-c -Objective-C: - -// 隐藏导航条. -self.navigationController.navigationBarHidden = YES; - -// 自定义 UINavigationBar 颜色 -[self.navigationController.navigationBar setBackgroundImage:aImage forBarMetrics:UIBarMetricsDefault]; - -``` - -#### 添加push手势绑定控制器 - -```objective-c -Objective-C: - -// 成为JPNavigationControllerDelegate协议的代理, 实现协议方法即可拥有左滑push功能. -[self.navigationController jp_registerNavigtionControllerDelegate:self]; - -// 实现协议方法 -- (void)jp_navigationControllerDidPushLeft{ - [self.navigationController pushViewController:YourVc animated:YES]; -} -``` - -#### 添加底部联动视图支持 - -```objective-c -Objective-C: - -// 你只需要在 viewDidLoad: 方法里把你的联动视图传给框架, 框架会制动帮你显示. --(void)viewDidLoad{ - [super viewDidLoad]; - YourVc.navigationController.jp_linkViewHeight = 44.0f; - self.navigationController.jp_linkView = YourLinkView; -} -``` - - -#### 自定义 pop 手势响应范围 - -```objective-c -Objective-C: - -self.navigationController.jp_interactivePopMaxAllowedInitialDistanceToLeftEdge = aValue; -``` - -#### 禁用单个控制器 pop 手势 - -```objective-c -Objective-C: - -self.navigationController.jp_closePopForAllViewController = YES; -``` - - -#### 禁用所有控制器 pop 手势 - -```objective-c -Objective-C: - -self.navigationController.jp_closePopForAllViewController = YES; -``` - -#### 因为界面中有 AVPLayer 在播放视频, 所以为了保证 pop 手势执行的过程中视频能正常播放, 使用自定义的 pop 动画 -```objective-c -Objective-C: - -self.navigationController.jp_useCustomPopAnimationForCurrentViewController = YES; -``` - -集成到你的项目 ------------- - -两种选择把框架集成到你的项目: -- 使用 CocoaPods -- 下载我的demo, 把'JPNavigationController'文件夹拽到你的项目中 - -### 使用 CocoaPods 安装 - -[CocoaPods](http://cocoapods.org/) is a dependency manager for Objective-C, which automates and simplifies the process of using 3rd-party libraries in your projects. See the [Get Started](http://cocoapods.org/#get_started) section for more details. - -#### Podfile -``` -platform :ios, '8.0' -target “YourProjectName” do -pod 'JPNavigationController', '~> 2.0.0' -end -``` - -## 证书 - -All source code is licensed under the [MIT License](https://github.com/newyjp/JPNavigationController/blob/master/LICENSE). - - - diff --git a/JPAnimationDemo/Pods/Manifest.lock b/JPAnimationDemo/Pods/Manifest.lock deleted file mode 100644 index 26b63fa..0000000 --- a/JPAnimationDemo/Pods/Manifest.lock +++ /dev/null @@ -1,12 +0,0 @@ -PODS: - - JPNavigationController (2.0.0) - -DEPENDENCIES: - - JPNavigationController (~> 2.0.0) - -SPEC CHECKSUMS: - JPNavigationController: 5415f5fbeddd0c78cf0e889deb74f15f25da39d8 - -PODFILE CHECKSUM: f2b550a42ed61c8f43715d722a5cee9106603f64 - -COCOAPODS: 1.2.0 diff --git a/JPAnimationDemo/Pods/Pods.xcodeproj/project.pbxproj b/JPAnimationDemo/Pods/Pods.xcodeproj/project.pbxproj deleted file mode 100644 index 9b28298..0000000 --- a/JPAnimationDemo/Pods/Pods.xcodeproj/project.pbxproj +++ /dev/null @@ -1,588 +0,0 @@ -// !$*UTF8*$! -{ - archiveVersion = 1; - classes = { - }; - objectVersion = 46; - objects = { - -/* Begin PBXBuildFile section */ - 00F0B4F81A4F90D4DF11C0FB4D73F77C /* UIView+ScreenCapture.h in Headers */ = {isa = PBXBuildFile; fileRef = DFB4EA1CD0CF504A6B93F17F189900D5 /* UIView+ScreenCapture.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 040847039B3CA64365DDEB1B71A67B39 /* JPPushAnimationTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = C50E12E4FB79CF23068E35D430B0F422 /* JPPushAnimationTransition.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 082888AC9CCF90019D93B17B8E3FC18A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */; }; - 0976F2889D72C1B6AAF060FD79C8EEF2 /* JPNavigationController-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = C480B67E21539F4C6DBB2A40343DAF27 /* JPNavigationController-dummy.m */; }; - 0C89B2A28FA58116019A17592A7F7AA8 /* JPWarpNavigationController.h in Headers */ = {isa = PBXBuildFile; fileRef = C75F63F540A36FAC83D696DA863E3E47 /* JPWarpNavigationController.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 126B61D3F53DCBDFC037F999761265BB /* JPTransitionShadowView.h in Headers */ = {isa = PBXBuildFile; fileRef = AD3B155DB8520891E9F71D870C259984 /* JPTransitionShadowView.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 150D5C1F10E5FABD5F43815F2E88DE26 /* JPNavigationBar.h in Headers */ = {isa = PBXBuildFile; fileRef = EF42CD4F9E7A0DB0097C09AE901E29B2 /* JPNavigationBar.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3BD18A07E2FDD25ECEB1C2AB2B6A1AA7 /* JPNavigationControllerTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = CADC24B4CB0C528130F19A2A9188270E /* JPNavigationControllerTransition.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 4385F55DDC952D74D7CFF9A6355F7AA9 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */; }; - 507442C9EC232D1752611F59B3737DED /* UINavigationController+FulllScreenPopPush.h in Headers */ = {isa = PBXBuildFile; fileRef = A9C226B6E4C88CA09C4B4B83AF4CCC55 /* UINavigationController+FulllScreenPopPush.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 56D668CF9E5093ADEFB853B2BB6EFBBE /* UIViewController+ViewControllers.m in Sources */ = {isa = PBXBuildFile; fileRef = DAB0A83FCDCE11069676DB6D7C0AD2F4 /* UIViewController+ViewControllers.m */; }; - 5BAC79C3BE66265B106F742927011EF7 /* UIViewController+ViewControllers.h in Headers */ = {isa = PBXBuildFile; fileRef = 25F951D65127326E96A33B487918D220 /* UIViewController+ViewControllers.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 5BB84E113C0AF4DAC1A44DD0380B6A7F /* UIView+ScreenCapture.m in Sources */ = {isa = PBXBuildFile; fileRef = C08CFF71ED91A392D114C10BADCC0564 /* UIView+ScreenCapture.m */; }; - 73D037CC6ABB76837DE9F1E2F54A151D /* JPWarpViewController.h in Headers */ = {isa = PBXBuildFile; fileRef = 1573B390010746A82B793F207BA5F302 /* JPWarpViewController.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 8074295B37BCB6669E96168611D80892 /* UIColor+ImageGenerate.m in Sources */ = {isa = PBXBuildFile; fileRef = 362305C068517CA5965E24C78A203D67 /* UIColor+ImageGenerate.m */; }; - 86444200EF804F75272A5EE89F8FE22A /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 7EC994CDC2D681BA26389F78A7E4B325 /* UIKit.framework */; }; - 87D5A0968EB52DF259939FA36CD216D2 /* JPNavigationBar.m in Sources */ = {isa = PBXBuildFile; fileRef = EDA7F87AE1AF66F86D9395997DC3CC61 /* JPNavigationBar.m */; }; - 8CF4918A3747265D64D15C69A20B0FCF /* JPNavigationControllerTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = 02B87DB1ADD15B152F4F0B8BD435CEE9 /* JPNavigationControllerTransition.m */; }; - 92775670E4B1C0E72BBC813510B8946F /* JPWarpNavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 16B4CEED1E2AB498421062554A5F79EC /* JPWarpNavigationController.m */; }; - 95904616B9E43B6794E9387AD07A852B /* JPTransitionShadowView.m in Sources */ = {isa = PBXBuildFile; fileRef = A95F1EBD87FD59E9562EED4432B6937E /* JPTransitionShadowView.m */; }; - 98F40A957655EEB0397F6895BD24ABA0 /* JPNavigationControllerProtocol.h in Headers */ = {isa = PBXBuildFile; fileRef = 70B28413578AEAEACF1716436ADBBCC4 /* JPNavigationControllerProtocol.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 9900AB9EAEF15A6F875A5C1CFEE67C58 /* JPNavigationControllerGestureRecognizer.h in Headers */ = {isa = PBXBuildFile; fileRef = AF3E79E8B007E13B577B1D9108876FAD /* JPNavigationControllerGestureRecognizer.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 99E714E60A9C380D76A63678F24807E7 /* JPBaseAnimationTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = ABCC057291E500F64308DF99F8FC5FB4 /* JPBaseAnimationTransition.m */; }; - A0BA476D53D7731C71A367501B93E0BE /* JPNavigationControllerKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 6D6889F675D53B275F01F60E0C02027B /* JPNavigationControllerKit.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A2E34364F1ED3DFEF0D57BDBD3F4DF5E /* UIColor+ImageGenerate.h in Headers */ = {isa = PBXBuildFile; fileRef = C6C48F220AB79B76F2B88292C20999EB /* UIColor+ImageGenerate.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A3CC8FB8E7626893FFB27D1384422591 /* JPWarpViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = 255F5EEDF35249480FDAB01436D7290E /* JPWarpViewController.m */; }; - AACECFE58C3082834665DF87843D5EAE /* JPPushAnimationTransition.m in Sources */ = {isa = PBXBuildFile; fileRef = D95F04897D055255BA208816EE853713 /* JPPushAnimationTransition.m */; }; - BAD8D915EF68AA26F05AB5BEB54DD638 /* JPBaseAnimationTransition.h in Headers */ = {isa = PBXBuildFile; fileRef = 16CB20FCA9ED36B39B77F21F1B45AADD /* JPBaseAnimationTransition.h */; settings = {ATTRIBUTES = (Public, ); }; }; - BCDA00988A2DFA5AFB050D483CB207B0 /* Pods-JPAnimationDemo-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = AED64A324D98CF544EC62A679C5645B7 /* Pods-JPAnimationDemo-dummy.m */; }; - D831B47D7CFDF77D06B1F14ED4C21FAD /* JPNavigationControllerCompat.h in Headers */ = {isa = PBXBuildFile; fileRef = 936AFB31A9A3F5C191397EBA7568AA31 /* JPNavigationControllerCompat.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D88110ECE443A8ECBB87229EE4FA8D15 /* JPNavigationController.h in Headers */ = {isa = PBXBuildFile; fileRef = 68DEE8C778813BF9762EB254A6625406 /* JPNavigationController.h */; settings = {ATTRIBUTES = (Public, ); }; }; - D8A6EF371CD0687B7A07D03A00A6DE76 /* JPNavigationController.m in Sources */ = {isa = PBXBuildFile; fileRef = 456DC62FD1D01AB97C681C178AB1774F /* JPNavigationController.m */; }; - EF62F955C6A5156E00B71DFE0C18FB4D /* JPNavigationControllerGestureRecognizer.m in Sources */ = {isa = PBXBuildFile; fileRef = 14D9D4317F28A499414F30D234334FCA /* JPNavigationControllerGestureRecognizer.m */; }; -/* End PBXBuildFile section */ - -/* Begin PBXContainerItemProxy section */ - C4916A5D6DC7C5E536BAA3FF5489FA19 /* PBXContainerItemProxy */ = { - isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; - proxyType = 1; - remoteGlobalIDString = 915E8FEADDA0644106187EA8CE7B2E00; - remoteInfo = JPNavigationController; - }; -/* End PBXContainerItemProxy section */ - -/* Begin PBXFileReference section */ - 02B87DB1ADD15B152F4F0B8BD435CEE9 /* JPNavigationControllerTransition.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPNavigationControllerTransition.m; path = JPNavigationController/JPNavigationControllerTransition.m; sourceTree = ""; }; - 14D9D4317F28A499414F30D234334FCA /* JPNavigationControllerGestureRecognizer.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPNavigationControllerGestureRecognizer.m; path = JPNavigationController/JPNavigationControllerGestureRecognizer.m; sourceTree = ""; }; - 1573B390010746A82B793F207BA5F302 /* JPWarpViewController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPWarpViewController.h; path = JPNavigationController/JPWarpViewController.h; sourceTree = ""; }; - 16B4CEED1E2AB498421062554A5F79EC /* JPWarpNavigationController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPWarpNavigationController.m; path = JPNavigationController/JPWarpNavigationController.m; sourceTree = ""; }; - 16CB20FCA9ED36B39B77F21F1B45AADD /* JPBaseAnimationTransition.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPBaseAnimationTransition.h; path = JPNavigationController/JPBaseAnimationTransition.h; sourceTree = ""; }; - 255F5EEDF35249480FDAB01436D7290E /* JPWarpViewController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPWarpViewController.m; path = JPNavigationController/JPWarpViewController.m; sourceTree = ""; }; - 25F951D65127326E96A33B487918D220 /* UIViewController+ViewControllers.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIViewController+ViewControllers.h"; path = "JPNavigationController/UIViewController+ViewControllers.h"; sourceTree = ""; }; - 362305C068517CA5965E24C78A203D67 /* UIColor+ImageGenerate.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIColor+ImageGenerate.m"; path = "JPNavigationController/UIColor+ImageGenerate.m"; sourceTree = ""; }; - 3CB5CC9AB12A6221AFBEE3EEFB7288B9 /* libJPNavigationController.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = libJPNavigationController.a; path = libJPNavigationController.a; sourceTree = BUILT_PRODUCTS_DIR; }; - 41AA5072BBBEBADF6B4BEFC801170067 /* Pods-JPAnimationDemo-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-JPAnimationDemo-acknowledgements.markdown"; sourceTree = ""; }; - 456DC62FD1D01AB97C681C178AB1774F /* JPNavigationController.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPNavigationController.m; path = JPNavigationController/JPNavigationController.m; sourceTree = ""; }; - 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - 6277FD68271E79F057502E044157DEDD /* libPods-JPAnimationDemo.a */ = {isa = PBXFileReference; explicitFileType = archive.ar; includeInIndex = 0; name = "libPods-JPAnimationDemo.a"; path = "libPods-JPAnimationDemo.a"; sourceTree = BUILT_PRODUCTS_DIR; }; - 68DEE8C778813BF9762EB254A6625406 /* JPNavigationController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPNavigationController.h; path = JPNavigationController/JPNavigationController.h; sourceTree = ""; }; - 6D6889F675D53B275F01F60E0C02027B /* JPNavigationControllerKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPNavigationControllerKit.h; path = JPNavigationController/JPNavigationControllerKit.h; sourceTree = ""; }; - 70B28413578AEAEACF1716436ADBBCC4 /* JPNavigationControllerProtocol.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPNavigationControllerProtocol.h; path = JPNavigationController/JPNavigationControllerProtocol.h; sourceTree = ""; }; - 7EC994CDC2D681BA26389F78A7E4B325 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; - 83124B97F0D147CEA1C6CE345F8CA798 /* Pods-JPAnimationDemo-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-JPAnimationDemo-frameworks.sh"; sourceTree = ""; }; - 936AFB31A9A3F5C191397EBA7568AA31 /* JPNavigationControllerCompat.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPNavigationControllerCompat.h; path = JPNavigationController/JPNavigationControllerCompat.h; sourceTree = ""; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 9753C3699504000327CA6D4C2923BC96 /* JPNavigationController.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = JPNavigationController.xcconfig; sourceTree = ""; }; - A95F1EBD87FD59E9562EED4432B6937E /* JPTransitionShadowView.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPTransitionShadowView.m; path = JPNavigationController/JPTransitionShadowView.m; sourceTree = ""; }; - A9C226B6E4C88CA09C4B4B83AF4CCC55 /* UINavigationController+FulllScreenPopPush.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UINavigationController+FulllScreenPopPush.h"; path = "JPNavigationController/UINavigationController+FulllScreenPopPush.h"; sourceTree = ""; }; - ABCC057291E500F64308DF99F8FC5FB4 /* JPBaseAnimationTransition.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPBaseAnimationTransition.m; path = JPNavigationController/JPBaseAnimationTransition.m; sourceTree = ""; }; - AD3B155DB8520891E9F71D870C259984 /* JPTransitionShadowView.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPTransitionShadowView.h; path = JPNavigationController/JPTransitionShadowView.h; sourceTree = ""; }; - AED64A324D98CF544EC62A679C5645B7 /* Pods-JPAnimationDemo-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-JPAnimationDemo-dummy.m"; sourceTree = ""; }; - AF3E79E8B007E13B577B1D9108876FAD /* JPNavigationControllerGestureRecognizer.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPNavigationControllerGestureRecognizer.h; path = JPNavigationController/JPNavigationControllerGestureRecognizer.h; sourceTree = ""; }; - C08CFF71ED91A392D114C10BADCC0564 /* UIView+ScreenCapture.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+ScreenCapture.m"; path = "JPNavigationController/UIView+ScreenCapture.m"; sourceTree = ""; }; - C480B67E21539F4C6DBB2A40343DAF27 /* JPNavigationController-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "JPNavigationController-dummy.m"; sourceTree = ""; }; - C50E12E4FB79CF23068E35D430B0F422 /* JPPushAnimationTransition.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPPushAnimationTransition.h; path = JPNavigationController/JPPushAnimationTransition.h; sourceTree = ""; }; - C6C48F220AB79B76F2B88292C20999EB /* UIColor+ImageGenerate.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIColor+ImageGenerate.h"; path = "JPNavigationController/UIColor+ImageGenerate.h"; sourceTree = ""; }; - C720B0DD06D8AEBE4DC41E1BA1A6AA58 /* Pods-JPAnimationDemo-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-JPAnimationDemo-resources.sh"; sourceTree = ""; }; - C75F63F540A36FAC83D696DA863E3E47 /* JPWarpNavigationController.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPWarpNavigationController.h; path = JPNavigationController/JPWarpNavigationController.h; sourceTree = ""; }; - CA762096028781E2682693B640966E9C /* Pods-JPAnimationDemo.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-JPAnimationDemo.debug.xcconfig"; sourceTree = ""; }; - CADC24B4CB0C528130F19A2A9188270E /* JPNavigationControllerTransition.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPNavigationControllerTransition.h; path = JPNavigationController/JPNavigationControllerTransition.h; sourceTree = ""; }; - D95F04897D055255BA208816EE853713 /* JPPushAnimationTransition.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPPushAnimationTransition.m; path = JPNavigationController/JPPushAnimationTransition.m; sourceTree = ""; }; - DAB0A83FCDCE11069676DB6D7C0AD2F4 /* UIViewController+ViewControllers.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIViewController+ViewControllers.m"; path = "JPNavigationController/UIViewController+ViewControllers.m"; sourceTree = ""; }; - DFB4EA1CD0CF504A6B93F17F189900D5 /* UIView+ScreenCapture.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+ScreenCapture.h"; path = "JPNavigationController/UIView+ScreenCapture.h"; sourceTree = ""; }; - EDA7F87AE1AF66F86D9395997DC3CC61 /* JPNavigationBar.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = JPNavigationBar.m; path = JPNavigationController/JPNavigationBar.m; sourceTree = ""; }; - EF42CD4F9E7A0DB0097C09AE901E29B2 /* JPNavigationBar.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = JPNavigationBar.h; path = JPNavigationController/JPNavigationBar.h; sourceTree = ""; }; - F053B722D3356B28BD2FE71C5BEB6ACA /* JPNavigationController-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "JPNavigationController-prefix.pch"; sourceTree = ""; }; - F92D3A60787F3FD6813A9943DA708759 /* Pods-JPAnimationDemo.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-JPAnimationDemo.release.xcconfig"; sourceTree = ""; }; - FED7B0F8E82FC215D4FE158FC52E4402 /* JPNavigationController.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; name = JPNavigationController.bundle; path = JPNavigationController/JPNavigationController.bundle; sourceTree = ""; }; - FF3AEE9A38AA7388C7EC6019D54C04EF /* Pods-JPAnimationDemo-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-JPAnimationDemo-acknowledgements.plist"; sourceTree = ""; }; -/* End PBXFileReference section */ - -/* Begin PBXFrameworksBuildPhase section */ - 23297CA308467E53DB02E9E711A94AC3 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 4385F55DDC952D74D7CFF9A6355F7AA9 /* Foundation.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - 85446CBBF8C5C615A8E2134786B05923 /* Frameworks */ = { - isa = PBXFrameworksBuildPhase; - buildActionMask = 2147483647; - files = ( - 082888AC9CCF90019D93B17B8E3FC18A /* Foundation.framework in Frameworks */, - 86444200EF804F75272A5EE89F8FE22A /* UIKit.framework in Frameworks */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXFrameworksBuildPhase section */ - -/* Begin PBXGroup section */ - 0E2E8627AEC7B1E97593FB9D347A109C /* Support Files */ = { - isa = PBXGroup; - children = ( - 9753C3699504000327CA6D4C2923BC96 /* JPNavigationController.xcconfig */, - C480B67E21539F4C6DBB2A40343DAF27 /* JPNavigationController-dummy.m */, - F053B722D3356B28BD2FE71C5BEB6ACA /* JPNavigationController-prefix.pch */, - ); - name = "Support Files"; - path = "../Target Support Files/JPNavigationController"; - sourceTree = ""; - }; - 433CD3331B6C3787F473C941B61FC68F /* Frameworks */ = { - isa = PBXGroup; - children = ( - E6EE98446B568159EE277B68FD442AF0 /* iOS */, - ); - name = Frameworks; - sourceTree = ""; - }; - 5FEBC2E034AA1E7DB1373CA8C3144F13 /* Pods-JPAnimationDemo */ = { - isa = PBXGroup; - children = ( - 41AA5072BBBEBADF6B4BEFC801170067 /* Pods-JPAnimationDemo-acknowledgements.markdown */, - FF3AEE9A38AA7388C7EC6019D54C04EF /* Pods-JPAnimationDemo-acknowledgements.plist */, - AED64A324D98CF544EC62A679C5645B7 /* Pods-JPAnimationDemo-dummy.m */, - 83124B97F0D147CEA1C6CE345F8CA798 /* Pods-JPAnimationDemo-frameworks.sh */, - C720B0DD06D8AEBE4DC41E1BA1A6AA58 /* Pods-JPAnimationDemo-resources.sh */, - CA762096028781E2682693B640966E9C /* Pods-JPAnimationDemo.debug.xcconfig */, - F92D3A60787F3FD6813A9943DA708759 /* Pods-JPAnimationDemo.release.xcconfig */, - ); - name = "Pods-JPAnimationDemo"; - path = "Target Support Files/Pods-JPAnimationDemo"; - sourceTree = ""; - }; - 7DB346D0F39D3F0E887471402A8071AB = { - isa = PBXGroup; - children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - 433CD3331B6C3787F473C941B61FC68F /* Frameworks */, - D4A2A835C17BE3D453384DCE4F222515 /* Pods */, - EDA45C1AA709FD11F1356C534F06FB9C /* Products */, - E9239DA1437E32B682FEDFA62E87C89F /* Targets Support Files */, - ); - sourceTree = ""; - }; - CCF608526B94EBC61A3C83D6368EA67B /* Resources */ = { - isa = PBXGroup; - children = ( - FED7B0F8E82FC215D4FE158FC52E4402 /* JPNavigationController.bundle */, - ); - name = Resources; - sourceTree = ""; - }; - D4A2A835C17BE3D453384DCE4F222515 /* Pods */ = { - isa = PBXGroup; - children = ( - EEFC770F74D93DE56C01037F34B29FF3 /* JPNavigationController */, - ); - name = Pods; - sourceTree = ""; - }; - E6EE98446B568159EE277B68FD442AF0 /* iOS */ = { - isa = PBXGroup; - children = ( - 616BEB51ECCAD129BDBCB7A956B56CC6 /* Foundation.framework */, - 7EC994CDC2D681BA26389F78A7E4B325 /* UIKit.framework */, - ); - name = iOS; - sourceTree = ""; - }; - E9239DA1437E32B682FEDFA62E87C89F /* Targets Support Files */ = { - isa = PBXGroup; - children = ( - 5FEBC2E034AA1E7DB1373CA8C3144F13 /* Pods-JPAnimationDemo */, - ); - name = "Targets Support Files"; - sourceTree = ""; - }; - EDA45C1AA709FD11F1356C534F06FB9C /* Products */ = { - isa = PBXGroup; - children = ( - 3CB5CC9AB12A6221AFBEE3EEFB7288B9 /* libJPNavigationController.a */, - 6277FD68271E79F057502E044157DEDD /* libPods-JPAnimationDemo.a */, - ); - name = Products; - sourceTree = ""; - }; - EEFC770F74D93DE56C01037F34B29FF3 /* JPNavigationController */ = { - isa = PBXGroup; - children = ( - 16CB20FCA9ED36B39B77F21F1B45AADD /* JPBaseAnimationTransition.h */, - ABCC057291E500F64308DF99F8FC5FB4 /* JPBaseAnimationTransition.m */, - EF42CD4F9E7A0DB0097C09AE901E29B2 /* JPNavigationBar.h */, - EDA7F87AE1AF66F86D9395997DC3CC61 /* JPNavigationBar.m */, - 68DEE8C778813BF9762EB254A6625406 /* JPNavigationController.h */, - 456DC62FD1D01AB97C681C178AB1774F /* JPNavigationController.m */, - 936AFB31A9A3F5C191397EBA7568AA31 /* JPNavigationControllerCompat.h */, - AF3E79E8B007E13B577B1D9108876FAD /* JPNavigationControllerGestureRecognizer.h */, - 14D9D4317F28A499414F30D234334FCA /* JPNavigationControllerGestureRecognizer.m */, - 6D6889F675D53B275F01F60E0C02027B /* JPNavigationControllerKit.h */, - 70B28413578AEAEACF1716436ADBBCC4 /* JPNavigationControllerProtocol.h */, - CADC24B4CB0C528130F19A2A9188270E /* JPNavigationControllerTransition.h */, - 02B87DB1ADD15B152F4F0B8BD435CEE9 /* JPNavigationControllerTransition.m */, - C50E12E4FB79CF23068E35D430B0F422 /* JPPushAnimationTransition.h */, - D95F04897D055255BA208816EE853713 /* JPPushAnimationTransition.m */, - AD3B155DB8520891E9F71D870C259984 /* JPTransitionShadowView.h */, - A95F1EBD87FD59E9562EED4432B6937E /* JPTransitionShadowView.m */, - C75F63F540A36FAC83D696DA863E3E47 /* JPWarpNavigationController.h */, - 16B4CEED1E2AB498421062554A5F79EC /* JPWarpNavigationController.m */, - 1573B390010746A82B793F207BA5F302 /* JPWarpViewController.h */, - 255F5EEDF35249480FDAB01436D7290E /* JPWarpViewController.m */, - C6C48F220AB79B76F2B88292C20999EB /* UIColor+ImageGenerate.h */, - 362305C068517CA5965E24C78A203D67 /* UIColor+ImageGenerate.m */, - A9C226B6E4C88CA09C4B4B83AF4CCC55 /* UINavigationController+FulllScreenPopPush.h */, - DFB4EA1CD0CF504A6B93F17F189900D5 /* UIView+ScreenCapture.h */, - C08CFF71ED91A392D114C10BADCC0564 /* UIView+ScreenCapture.m */, - 25F951D65127326E96A33B487918D220 /* UIViewController+ViewControllers.h */, - DAB0A83FCDCE11069676DB6D7C0AD2F4 /* UIViewController+ViewControllers.m */, - CCF608526B94EBC61A3C83D6368EA67B /* Resources */, - 0E2E8627AEC7B1E97593FB9D347A109C /* Support Files */, - ); - name = JPNavigationController; - path = JPNavigationController; - sourceTree = ""; - }; -/* End PBXGroup section */ - -/* Begin PBXHeadersBuildPhase section */ - F415F618BAACC61855B02AAABF212152 /* Headers */ = { - isa = PBXHeadersBuildPhase; - buildActionMask = 2147483647; - files = ( - BAD8D915EF68AA26F05AB5BEB54DD638 /* JPBaseAnimationTransition.h in Headers */, - 150D5C1F10E5FABD5F43815F2E88DE26 /* JPNavigationBar.h in Headers */, - D88110ECE443A8ECBB87229EE4FA8D15 /* JPNavigationController.h in Headers */, - D831B47D7CFDF77D06B1F14ED4C21FAD /* JPNavigationControllerCompat.h in Headers */, - 9900AB9EAEF15A6F875A5C1CFEE67C58 /* JPNavigationControllerGestureRecognizer.h in Headers */, - A0BA476D53D7731C71A367501B93E0BE /* JPNavigationControllerKit.h in Headers */, - 98F40A957655EEB0397F6895BD24ABA0 /* JPNavigationControllerProtocol.h in Headers */, - 3BD18A07E2FDD25ECEB1C2AB2B6A1AA7 /* JPNavigationControllerTransition.h in Headers */, - 040847039B3CA64365DDEB1B71A67B39 /* JPPushAnimationTransition.h in Headers */, - 126B61D3F53DCBDFC037F999761265BB /* JPTransitionShadowView.h in Headers */, - 0C89B2A28FA58116019A17592A7F7AA8 /* JPWarpNavigationController.h in Headers */, - 73D037CC6ABB76837DE9F1E2F54A151D /* JPWarpViewController.h in Headers */, - A2E34364F1ED3DFEF0D57BDBD3F4DF5E /* UIColor+ImageGenerate.h in Headers */, - 507442C9EC232D1752611F59B3737DED /* UINavigationController+FulllScreenPopPush.h in Headers */, - 00F0B4F81A4F90D4DF11C0FB4D73F77C /* UIView+ScreenCapture.h in Headers */, - 5BAC79C3BE66265B106F742927011EF7 /* UIViewController+ViewControllers.h in Headers */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXHeadersBuildPhase section */ - -/* Begin PBXNativeTarget section */ - 043607335A500C26BDE98148BBE74236 /* Pods-JPAnimationDemo */ = { - isa = PBXNativeTarget; - buildConfigurationList = FDF0A78F03BFB42D91D178E65F024FD8 /* Build configuration list for PBXNativeTarget "Pods-JPAnimationDemo" */; - buildPhases = ( - 1878B1D798D20E8318A006CFCA18D79E /* Sources */, - 23297CA308467E53DB02E9E711A94AC3 /* Frameworks */, - ); - buildRules = ( - ); - dependencies = ( - 9DCBE0F06D85E9D7249378B686D5BF8D /* PBXTargetDependency */, - ); - name = "Pods-JPAnimationDemo"; - productName = "Pods-JPAnimationDemo"; - productReference = 6277FD68271E79F057502E044157DEDD /* libPods-JPAnimationDemo.a */; - productType = "com.apple.product-type.library.static"; - }; - 915E8FEADDA0644106187EA8CE7B2E00 /* JPNavigationController */ = { - isa = PBXNativeTarget; - buildConfigurationList = 7FB5B57C46CCC7929EA289FD249302BF /* Build configuration list for PBXNativeTarget "JPNavigationController" */; - buildPhases = ( - B37F1C647B68D2507E3935EB281CCB3F /* Sources */, - 85446CBBF8C5C615A8E2134786B05923 /* Frameworks */, - F415F618BAACC61855B02AAABF212152 /* Headers */, - ); - buildRules = ( - ); - dependencies = ( - ); - name = JPNavigationController; - productName = JPNavigationController; - productReference = 3CB5CC9AB12A6221AFBEE3EEFB7288B9 /* libJPNavigationController.a */; - productType = "com.apple.product-type.library.static"; - }; -/* End PBXNativeTarget section */ - -/* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { - isa = PBXProject; - attributes = { - LastSwiftUpdateCheck = 0730; - LastUpgradeCheck = 0700; - }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; - hasScannedForEncodings = 0; - knownRegions = ( - en, - ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = EDA45C1AA709FD11F1356C534F06FB9C /* Products */; - projectDirPath = ""; - projectRoot = ""; - targets = ( - 915E8FEADDA0644106187EA8CE7B2E00 /* JPNavigationController */, - 043607335A500C26BDE98148BBE74236 /* Pods-JPAnimationDemo */, - ); - }; -/* End PBXProject section */ - -/* Begin PBXSourcesBuildPhase section */ - 1878B1D798D20E8318A006CFCA18D79E /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - BCDA00988A2DFA5AFB050D483CB207B0 /* Pods-JPAnimationDemo-dummy.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; - B37F1C647B68D2507E3935EB281CCB3F /* Sources */ = { - isa = PBXSourcesBuildPhase; - buildActionMask = 2147483647; - files = ( - 99E714E60A9C380D76A63678F24807E7 /* JPBaseAnimationTransition.m in Sources */, - 87D5A0968EB52DF259939FA36CD216D2 /* JPNavigationBar.m in Sources */, - 0976F2889D72C1B6AAF060FD79C8EEF2 /* JPNavigationController-dummy.m in Sources */, - D8A6EF371CD0687B7A07D03A00A6DE76 /* JPNavigationController.m in Sources */, - EF62F955C6A5156E00B71DFE0C18FB4D /* JPNavigationControllerGestureRecognizer.m in Sources */, - 8CF4918A3747265D64D15C69A20B0FCF /* JPNavigationControllerTransition.m in Sources */, - AACECFE58C3082834665DF87843D5EAE /* JPPushAnimationTransition.m in Sources */, - 95904616B9E43B6794E9387AD07A852B /* JPTransitionShadowView.m in Sources */, - 92775670E4B1C0E72BBC813510B8946F /* JPWarpNavigationController.m in Sources */, - A3CC8FB8E7626893FFB27D1384422591 /* JPWarpViewController.m in Sources */, - 8074295B37BCB6669E96168611D80892 /* UIColor+ImageGenerate.m in Sources */, - 5BB84E113C0AF4DAC1A44DD0380B6A7F /* UIView+ScreenCapture.m in Sources */, - 56D668CF9E5093ADEFB853B2BB6EFBBE /* UIViewController+ViewControllers.m in Sources */, - ); - runOnlyForDeploymentPostprocessing = 0; - }; -/* End PBXSourcesBuildPhase section */ - -/* Begin PBXTargetDependency section */ - 9DCBE0F06D85E9D7249378B686D5BF8D /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = JPNavigationController; - target = 915E8FEADDA0644106187EA8CE7B2E00 /* JPNavigationController */; - targetProxy = C4916A5D6DC7C5E536BAA3FF5489FA19 /* PBXContainerItemProxy */; - }; -/* End PBXTargetDependency section */ - -/* Begin XCBuildConfiguration section */ - 01319CA8737E7D9AA009247CADE19F5D /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9753C3699504000327CA6D4C2923BC96 /* JPNavigationController.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/JPNavigationController/JPNavigationController-prefix.pch"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PRIVATE_HEADERS_FOLDER_PATH = ""; - PRODUCT_NAME = "$(TARGET_NAME)"; - PUBLIC_HEADERS_FOLDER_PATH = ""; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - }; - name = Debug; - }; - 015A368F878AC3E2CEAE21DDE8026304 /* Debug */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - ENABLE_TESTABILITY = YES; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_DYNAMIC_NO_PIC = NO; - GCC_OPTIMIZATION_LEVEL = 0; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_DEBUG=1", - "DEBUG=1", - "$(inherited)", - ); - GCC_SYMBOLS_PRIVATE_EXTERN = NO; - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - ONLY_ACTIVE_ARCH = YES; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Debug; - }; - 0343AB419EC8EC9BE8DAC037866C2695 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = F92D3A60787F3FD6813A9943DA708759 /* Pods-JPAnimationDemo.release.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MACH_O_TYPE = staticlib; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - }; - name = Release; - }; - 37FCA89C1ED70A7047720206F09FA418 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 9753C3699504000327CA6D4C2923BC96 /* JPNavigationController.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREFIX_HEADER = "Target Support Files/JPNavigationController/JPNavigationController-prefix.pch"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MTL_ENABLE_DEBUG_INFO = NO; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PRIVATE_HEADERS_FOLDER_PATH = ""; - PRODUCT_NAME = "$(TARGET_NAME)"; - PUBLIC_HEADERS_FOLDER_PATH = ""; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - }; - name = Release; - }; - 44CDBB6D11DE06DB64D6268622BDC47E /* Release */ = { - isa = XCBuildConfiguration; - buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = YES; - ENABLE_NS_ASSERTIONS = NO; - GCC_C_LANGUAGE_STANDARD = gnu99; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/; - STRIP_INSTALLED_PRODUCT = NO; - SYMROOT = "${SRCROOT}/../build"; - VALIDATE_PRODUCT = YES; - }; - name = Release; - }; - 58B40C3AAE0B8E1B2AC87009E1F1AE63 /* Debug */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = CA762096028781E2682693B640966E9C /* Pods-JPAnimationDemo.debug.xcconfig */; - buildSettings = { - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - DEBUG_INFORMATION_FORMAT = dwarf; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_NO_COMMON_BLOCKS = YES; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - MACH_O_TYPE = staticlib; - MTL_ENABLE_DEBUG_INFO = YES; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - }; - name = Debug; - }; -/* End XCBuildConfiguration section */ - -/* Begin XCConfigurationList section */ - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 015A368F878AC3E2CEAE21DDE8026304 /* Debug */, - 44CDBB6D11DE06DB64D6268622BDC47E /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - 7FB5B57C46CCC7929EA289FD249302BF /* Build configuration list for PBXNativeTarget "JPNavigationController" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 01319CA8737E7D9AA009247CADE19F5D /* Debug */, - 37FCA89C1ED70A7047720206F09FA418 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; - FDF0A78F03BFB42D91D178E65F024FD8 /* Build configuration list for PBXNativeTarget "Pods-JPAnimationDemo" */ = { - isa = XCConfigurationList; - buildConfigurations = ( - 58B40C3AAE0B8E1B2AC87009E1F1AE63 /* Debug */, - 0343AB419EC8EC9BE8DAC037866C2695 /* Release */, - ); - defaultConfigurationIsVisible = 0; - defaultConfigurationName = Release; - }; -/* End XCConfigurationList section */ - }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; -} diff --git a/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-dummy.m b/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-dummy.m deleted file mode 100644 index f8c1753..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_JPNavigationController : NSObject -@end -@implementation PodsDummy_JPNavigationController -@end diff --git a/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-prefix.pch b/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-prefix.pch deleted file mode 100644 index beb2a24..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController-prefix.pch +++ /dev/null @@ -1,12 +0,0 @@ -#ifdef __OBJC__ -#import -#else -#ifndef FOUNDATION_EXPORT -#if defined(__cplusplus) -#define FOUNDATION_EXPORT extern "C" -#else -#define FOUNDATION_EXPORT extern -#endif -#endif -#endif - diff --git a/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController.xcconfig b/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController.xcconfig deleted file mode 100644 index 69e75eb..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/JPNavigationController/JPNavigationController.xcconfig +++ /dev/null @@ -1,10 +0,0 @@ -CONFIGURATION_BUILD_DIR = $PODS_CONFIGURATION_BUILD_DIR/JPNavigationController -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = "${PODS_ROOT}/Headers/Private" "${PODS_ROOT}/Headers/Private/JPNavigationController" "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JPNavigationController" -OTHER_LDFLAGS = -framework "Foundation" -framework "UIKit" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT} -PODS_TARGET_SRCROOT = ${PODS_ROOT}/JPNavigationController -PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} -SKIP_INSTALL = YES diff --git a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.markdown b/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.markdown deleted file mode 100644 index e28aa0e..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.markdown +++ /dev/null @@ -1,28 +0,0 @@ -# Acknowledgements -This application makes use of the following third party libraries: - -## JPNavigationController - -MIT License - -Copyright (c) 2016 NewPan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - -Generated by CocoaPods - https://cocoapods.org diff --git a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.plist b/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.plist deleted file mode 100644 index 82d06ed..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-acknowledgements.plist +++ /dev/null @@ -1,60 +0,0 @@ - - - - - PreferenceSpecifiers - - - FooterText - This application makes use of the following third party libraries: - Title - Acknowledgements - Type - PSGroupSpecifier - - - FooterText - MIT License - -Copyright (c) 2016 NewPan - -Permission is hereby granted, free of charge, to any person obtaining a copy -of this software and associated documentation files (the "Software"), to deal -in the Software without restriction, including without limitation the rights -to use, copy, modify, merge, publish, distribute, sublicense, and/or sell -copies of the Software, and to permit persons to whom the Software is -furnished to do so, subject to the following conditions: - -The above copyright notice and this permission notice shall be included in all -copies or substantial portions of the Software. - -THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR -IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, -FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE -AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER -LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, -OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE -SOFTWARE. - - License - MIT - Title - JPNavigationController - Type - PSGroupSpecifier - - - FooterText - Generated by CocoaPods - https://cocoapods.org - Title - - Type - PSGroupSpecifier - - - StringsTable - Acknowledgements - Title - Acknowledgements - - diff --git a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-dummy.m b/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-dummy.m deleted file mode 100644 index d7161dd..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-dummy.m +++ /dev/null @@ -1,5 +0,0 @@ -#import -@interface PodsDummy_Pods_JPAnimationDemo : NSObject -@end -@implementation PodsDummy_Pods_JPAnimationDemo -@end diff --git a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-frameworks.sh b/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-frameworks.sh deleted file mode 100755 index 0f29f13..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-frameworks.sh +++ /dev/null @@ -1,92 +0,0 @@ -#!/bin/sh -set -e - -echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" -mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - -SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}" - -install_framework() -{ - if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then - local source="${BUILT_PRODUCTS_DIR}/$1" - elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then - local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")" - elif [ -r "$1" ]; then - local source="$1" - fi - - local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - - if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" - fi - - # use filter instead of exclude so missing patterns dont' throw errors - echo "rsync -av --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync -av --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" - - local basename - basename="$(basename -s .framework "$1")" - binary="${destination}/${basename}.framework/${basename}" - if ! [ -r "$binary" ]; then - binary="${destination}/${basename}" - fi - - # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then - strip_invalid_archs "$binary" - fi - - # Resign the code if required by the build settings to avoid unstable apps - code_sign_if_enabled "${destination}/$(basename "$1")" - - # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7. - if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then - local swift_runtime_libs - swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u && exit ${PIPESTATUS[0]}) - for lib in $swift_runtime_libs; do - echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" - rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" - code_sign_if_enabled "${destination}/${lib}" - done - fi -} - -# Signs a framework with the provided identity -code_sign_if_enabled() { - if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then - # Use the current code_sign_identitiy - echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}" - local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS} --preserve-metadata=identifier,entitlements '$1'" - - if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - code_sign_cmd="$code_sign_cmd &" - fi - echo "$code_sign_cmd" - eval "$code_sign_cmd" - fi -} - -# Strip invalid architectures -strip_invalid_archs() { - binary="$1" - # Get architectures for current file - archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | rev)" - stripped="" - for arch in $archs; do - if ! [[ "${VALID_ARCHS}" == *"$arch"* ]]; then - # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 - stripped="$stripped $arch" - fi - done - if [[ "$stripped" ]]; then - echo "Stripped $binary of architectures:$stripped" - fi -} - -if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then - wait -fi diff --git a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-resources.sh b/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-resources.sh deleted file mode 100755 index d20aa29..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-resources.sh +++ /dev/null @@ -1,105 +0,0 @@ -#!/bin/sh -set -e - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - -RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt -> "$RESOURCES_TO_COPY" - -XCASSET_FILES=() - -case "${TARGETED_DEVICE_FAMILY}" in - 1,2) - TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone" - ;; - 1) - TARGET_DEVICE_ARGS="--target-device iphone" - ;; - 2) - TARGET_DEVICE_ARGS="--target-device ipad" - ;; - 3) - TARGET_DEVICE_ARGS="--target-device tv" - ;; - *) - TARGET_DEVICE_ARGS="--target-device mac" - ;; -esac - -install_resource() -{ - if [[ "$1" = /* ]] ; then - RESOURCE_PATH="$1" - else - RESOURCE_PATH="${PODS_ROOT}/$1" - fi - if [[ ! -e "$RESOURCE_PATH" ]] ; then - cat << EOM -error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script. -EOM - exit 1 - fi - case $RESOURCE_PATH in - *.storyboard) - 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}" - 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} - ;; - *.xib) - 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}" - 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} - ;; - *.framework) - echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" - ;; - *.xcdatamodel) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom" - ;; - *.xcdatamodeld) - echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\"" - xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd" - ;; - *.xcmappingmodel) - echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\"" - xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm" - ;; - *.xcassets) - ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH" - XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE") - ;; - *) - echo "$RESOURCE_PATH" - echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY" - ;; - esac -} -if [[ "$CONFIGURATION" == "Debug" ]]; then - install_resource "JPNavigationController/JPNavigationController/JPNavigationController.bundle" -fi -if [[ "$CONFIGURATION" == "Release" ]]; then - install_resource "JPNavigationController/JPNavigationController/JPNavigationController.bundle" -fi - -mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then - mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" - rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}" -fi -rm -f "$RESOURCES_TO_COPY" - -if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ] -then - # Find all other xcassets (this unfortunately includes those of path pods and other targets). - OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d) - while read line; do - if [[ $line != "${PODS_ROOT}*" ]]; then - XCASSET_FILES+=("$line") - fi - done <<<"$OTHER_XCASSETS" - - 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}" -fi diff --git a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.debug.xcconfig b/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.debug.xcconfig deleted file mode 100644 index f6ecbbf..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.debug.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JPNavigationController" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/JPNavigationController" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/JPNavigationController" -OTHER_LDFLAGS = $(inherited) -ObjC -l"JPNavigationController" -framework "Foundation" -framework "UIKit" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods diff --git a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.release.xcconfig b/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.release.xcconfig deleted file mode 100644 index f6ecbbf..0000000 --- a/JPAnimationDemo/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo.release.xcconfig +++ /dev/null @@ -1,8 +0,0 @@ -GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -HEADER_SEARCH_PATHS = $(inherited) "${PODS_ROOT}/Headers/Public" "${PODS_ROOT}/Headers/Public/JPNavigationController" -LIBRARY_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/JPNavigationController" -OTHER_CFLAGS = $(inherited) -isystem "${PODS_ROOT}/Headers/Public" -isystem "${PODS_ROOT}/Headers/Public/JPNavigationController" -OTHER_LDFLAGS = $(inherited) -ObjC -l"JPNavigationController" -framework "Foundation" -framework "UIKit" -PODS_BUILD_DIR = $BUILD_DIR -PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) -PODS_ROOT = ${SRCROOT}/Pods From 6331b7dcf288ee195f69a5ce8150c30d929372af Mon Sep 17 00:00:00 2001 From: muyexi Date: Wed, 10 Jan 2018 18:07:46 +0800 Subject: [PATCH 2/2] feat: add podspec --- JPAnimation.podspec | 13 ++++++++ .../JPAnimationDemo.xcodeproj/project.pbxproj | 32 +++++++------------ JPAnimationDemo/Podfile.lock | 13 ++++++-- JPAnimationDemo/podfile | 2 +- 4 files changed, 36 insertions(+), 24 deletions(-) create mode 100644 JPAnimation.podspec diff --git a/JPAnimation.podspec b/JPAnimation.podspec new file mode 100644 index 0000000..4c93aa7 --- /dev/null +++ b/JPAnimation.podspec @@ -0,0 +1,13 @@ +Pod::Spec.new do |s| + s.name = "JPAnimation" + s.version = "0.1" + s.summary = "模仿 Airbnb 首页过渡动画" + s.homepage = "https://github.com/Chris-Pan/JPAnimation" + s.license = "MIT" + s.author = { "NewPan" => "13246884282@163.com" } + s.platform = :ios, '8.0' + s.source = { :git => 'https://github.com/Chris-Pan/JPAnimation.git', :tag => s.version } + s.source_files = 'JPAnimationDemo/JPAnimationDemo/JPAnimationTool.{h,m}' + + s.dependency 'JPNavigationController', '2.0' +end diff --git a/JPAnimationDemo/JPAnimationDemo.xcodeproj/project.pbxproj b/JPAnimationDemo/JPAnimationDemo.xcodeproj/project.pbxproj index 5d3d592..2026985 100644 --- a/JPAnimationDemo/JPAnimationDemo.xcodeproj/project.pbxproj +++ b/JPAnimationDemo/JPAnimationDemo.xcodeproj/project.pbxproj @@ -12,7 +12,6 @@ 5F1E3C8C1E14185500E1C1F7 /* AppDelegate.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3C8B1E14185500E1C1F7 /* AppDelegate.m */; }; 5F1E3C941E14185500E1C1F7 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 5F1E3C931E14185500E1C1F7 /* Assets.xcassets */; }; 5F1E3C971E14185500E1C1F7 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 5F1E3C951E14185500E1C1F7 /* LaunchScreen.storyboard */; }; - 5F1E3CD11E14187200E1C1F7 /* JPAnimationTool.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3CCD1E14187200E1C1F7 /* JPAnimationTool.m */; }; 5F1E3CD21E14187200E1C1F7 /* JPCollectionViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3CCF1E14187200E1C1F7 /* JPCollectionViewCell.m */; }; 5F1E3CD31E14187200E1C1F7 /* JPCollectionViewCell.xib in Resources */ = {isa = PBXBuildFile; fileRef = 5F1E3CD01E14187200E1C1F7 /* JPCollectionViewCell.xib */; }; 5F1E3CDC1E14187900E1C1F7 /* JPTableViewCell.m in Sources */ = {isa = PBXBuildFile; fileRef = 5F1E3CD51E14187900E1C1F7 /* JPTableViewCell.m */; }; @@ -31,8 +30,6 @@ 5F1E3C931E14185500E1C1F7 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = ""; }; 5F1E3C961E14185500E1C1F7 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = ""; }; 5F1E3C981E14185500E1C1F7 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 5F1E3CCC1E14187200E1C1F7 /* JPAnimationTool.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JPAnimationTool.h; sourceTree = ""; }; - 5F1E3CCD1E14187200E1C1F7 /* JPAnimationTool.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JPAnimationTool.m; sourceTree = ""; }; 5F1E3CCE1E14187200E1C1F7 /* JPCollectionViewCell.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = JPCollectionViewCell.h; sourceTree = ""; }; 5F1E3CCF1E14187200E1C1F7 /* JPCollectionViewCell.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = JPCollectionViewCell.m; sourceTree = ""; }; 5F1E3CD01E14187200E1C1F7 /* JPCollectionViewCell.xib */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = file.xib; path = JPCollectionViewCell.xib; sourceTree = ""; }; @@ -98,7 +95,6 @@ 5F1E3C861E14185500E1C1F7 /* JPAnimationDemo */ = { isa = PBXGroup; children = ( - 5F1E3CE31E15097300E1C1F7 /* JPAnimationTool */, 5F1E3CE21E14188D00E1C1F7 /* SecondViewController */, 5F1E3CE11E14188400E1C1F7 /* FirstViewController */, 5F1E3C8A1E14185500E1C1F7 /* AppDelegate.h */, @@ -144,15 +140,6 @@ name = SecondViewController; sourceTree = ""; }; - 5F1E3CE31E15097300E1C1F7 /* JPAnimationTool */ = { - isa = PBXGroup; - children = ( - 5F1E3CCC1E14187200E1C1F7 /* JPAnimationTool.h */, - 5F1E3CCD1E14187200E1C1F7 /* JPAnimationTool.m */, - ); - name = JPAnimationTool; - sourceTree = ""; - }; /* End PBXGroup section */ /* Begin PBXNativeTarget section */ @@ -187,7 +174,7 @@ TargetAttributes = { 5F1E3C831E14185500E1C1F7 = { CreatedOnToolsVersion = 8.2.1; - DevelopmentTeam = 95B6T5443Y; + DevelopmentTeam = 49H6GPPS8F; ProvisioningStyle = Automatic; }; }; @@ -232,13 +219,16 @@ files = ( ); inputPaths = ( + "${PODS_PODFILE_DIR_PATH}/Podfile.lock", + "${PODS_ROOT}/Manifest.lock", ); name = "[CP] Check Pods Manifest.lock"; outputPaths = ( + "$(DERIVED_FILE_DIR)/Pods-JPAnimationDemo-checkManifestLockResult.txt", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "diff \"${PODS_ROOT}/../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"; + 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"; showEnvVarsInLog = 0; }; F2E21E2A4F6F05CBDF899128 /* [CP] Embed Pods Frameworks */ = { @@ -262,9 +252,12 @@ files = ( ); inputPaths = ( + "${SRCROOT}/Pods/Target Support Files/Pods-JPAnimationDemo/Pods-JPAnimationDemo-resources.sh", + "${PODS_ROOT}/JPNavigationController/JPNavigationController/JPNavigationController.bundle", ); name = "[CP] Copy Pods Resources"; outputPaths = ( + "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; @@ -281,7 +274,6 @@ 5F1E3CDF1E14187900E1C1F7 /* JPViewController.m in Sources */, 5F1E3CD21E14187200E1C1F7 /* JPCollectionViewCell.m in Sources */, 5F1E3CDC1E14187900E1C1F7 /* JPTableViewCell.m in Sources */, - 5F1E3CD11E14187200E1C1F7 /* JPAnimationTool.m in Sources */, 5F1E3C8C1E14185500E1C1F7 /* AppDelegate.m in Sources */, 5F1E3C891E14185500E1C1F7 /* main.m in Sources */, 5F1E3CDE1E14187900E1C1F7 /* JPTableViewController.m in Sources */, @@ -395,11 +387,11 @@ baseConfigurationReference = 6EC407E7867A84C2B29DF634 /* Pods-JPAnimationDemo.debug.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 95B6T5443Y; + DEVELOPMENT_TEAM = 49H6GPPS8F; INFOPLIST_FILE = JPAnimationDemo/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.NewPan.JPAnimation; + PRODUCT_BUNDLE_IDENTIFIER = im.muyexi.JPAnimation; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Debug; @@ -409,11 +401,11 @@ baseConfigurationReference = 66DCF2729C8C3CC81B9AE55D /* Pods-JPAnimationDemo.release.xcconfig */; buildSettings = { ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon; - DEVELOPMENT_TEAM = 95B6T5443Y; + DEVELOPMENT_TEAM = 49H6GPPS8F; INFOPLIST_FILE = JPAnimationDemo/Info.plist; IPHONEOS_DEPLOYMENT_TARGET = 8.0; LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; - PRODUCT_BUNDLE_IDENTIFIER = com.NewPan.JPAnimation; + PRODUCT_BUNDLE_IDENTIFIER = im.muyexi.JPAnimation; PRODUCT_NAME = "$(TARGET_NAME)"; }; name = Release; diff --git a/JPAnimationDemo/Podfile.lock b/JPAnimationDemo/Podfile.lock index 26b63fa..7c95395 100644 --- a/JPAnimationDemo/Podfile.lock +++ b/JPAnimationDemo/Podfile.lock @@ -1,12 +1,19 @@ PODS: + - JPAnimation (0.1): + - JPNavigationController (= 2.0.0) - JPNavigationController (2.0.0) DEPENDENCIES: - - JPNavigationController (~> 2.0.0) + - JPAnimation (from `../`) + +EXTERNAL SOURCES: + JPAnimation: + :path: ../ SPEC CHECKSUMS: + JPAnimation: 0354fc920a66f7bc292a4b6b8749d98e5180be19 JPNavigationController: 5415f5fbeddd0c78cf0e889deb74f15f25da39d8 -PODFILE CHECKSUM: f2b550a42ed61c8f43715d722a5cee9106603f64 +PODFILE CHECKSUM: 3ae2463045eb38e635cbc5c424b6d996871e557a -COCOAPODS: 1.2.0 +COCOAPODS: 1.3.1 diff --git a/JPAnimationDemo/podfile b/JPAnimationDemo/podfile index 57904e2..0775b87 100644 --- a/JPAnimationDemo/podfile +++ b/JPAnimationDemo/podfile @@ -2,6 +2,6 @@ platform :ios, '8.0' target "JPAnimationDemo" do -pod 'JPNavigationController', '~> 2.0.0' +pod 'JPAnimation', :path => '../' end