From 57e0c193b64b426466862821b9e22e2130289630 Mon Sep 17 00:00:00 2001 From: Zhouqi Mo Date: Fri, 18 Sep 2020 17:12:06 +0800 Subject: [PATCH] iOS 14 support --- KMNavigationBarTransition.podspec | 2 +- .../project.pbxproj | 7 +- ...KMNavigationBarTransition-Example.xcscheme | 78 +++++++++++++++++++ .../KMNavigationBarTransition.xcscheme | 4 - ...ViewController+KMNavigationBarTransition.m | 3 + 5 files changed, 87 insertions(+), 7 deletions(-) create mode 100644 KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition-Example.xcscheme diff --git a/KMNavigationBarTransition.podspec b/KMNavigationBarTransition.podspec index 870fb17..31c6138 100644 --- a/KMNavigationBarTransition.podspec +++ b/KMNavigationBarTransition.podspec @@ -1,7 +1,7 @@ Pod::Spec.new do |s| s.name = "KMNavigationBarTransition" - s.version = "1.1.6" + s.version = "1.1.8" s.summary = "A drop-in universal library makes transition animations smooth between different navigation bar styles while pushing or popping." s.description = <<-DESC diff --git a/KMNavigationBarTransition.xcodeproj/project.pbxproj b/KMNavigationBarTransition.xcodeproj/project.pbxproj index b0ffbab..8db4a2a 100644 --- a/KMNavigationBarTransition.xcodeproj/project.pbxproj +++ b/KMNavigationBarTransition.xcodeproj/project.pbxproj @@ -283,6 +283,7 @@ developmentRegion = English; hasScannedForEncodings = 0; knownRegions = ( + English, en, Base, ); @@ -418,6 +419,7 @@ ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -458,6 +460,7 @@ MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; + SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; }; @@ -472,7 +475,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.mo.KMNavigationBarTransition-Example"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; }; name = Debug; }; @@ -485,7 +488,7 @@ LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks"; PRODUCT_BUNDLE_IDENTIFIER = "com.mo.KMNavigationBarTransition-Example"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 3.0; + SWIFT_VERSION = 4.0; }; name = Release; }; diff --git a/KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition-Example.xcscheme b/KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition-Example.xcscheme new file mode 100644 index 0000000..2093d8d --- /dev/null +++ b/KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition-Example.xcscheme @@ -0,0 +1,78 @@ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + diff --git a/KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition.xcscheme b/KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition.xcscheme index b711310..17fb3a5 100644 --- a/KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition.xcscheme +++ b/KMNavigationBarTransition.xcodeproj/xcshareddata/xcschemes/KMNavigationBarTransition.xcscheme @@ -29,8 +29,6 @@ shouldUseLaunchSchemeArgsEnv = "YES"> - - - -