From b074094f3e4a2e3d9cb61f8d9a0377cf3365bb41 Mon Sep 17 00:00:00 2001 From: Bruce Atkinson Date: Tue, 7 Apr 2020 00:57:25 +0200 Subject: [PATCH] 2020-04-07: v1.0.1 : Update for iOS 13 (Xcode 11.0+ Swift 5.1+). Fix warnings. Dark Mode Support. --- PayHost iOS SDK.xcodeproj/project.pbxproj | 46 +- .../contents.xcworkspacedata | 2 +- PayHost iOS SDK/Resources/AppDelegate.swift | 4 +- .../PayHost_iOS_SDK-Bridging-Header.h | 2 +- .../Storyboard/Base.lproj/Main.storyboard | 59 +- .../Storyboard/CardPayment.storyboard | 548 +----- .../Storyboard/HeaderMenuCell.swift | 2 +- .../SWRevealViewController.m | 290 ++-- .../CardVault/CardvaultBase.swift | 20 +- .../CardVault/DeleteCardVault.swift | 14 +- .../CardVault/LookupVaultView.swift | 13 +- .../ViewController/CardVaultCell.swift | 2 +- .../ViewController/Common/APIConstants.swift | 2 +- .../ViewController/Common/APIHelper.swift | 2 +- .../ViewController/Common/Constant.swift | 2 +- .../Common/LayoutConstant.swift | 14 +- .../Common/WebServiceHandler.swift | 2 +- .../FollowReqest/FollowRequestQueryView.swift | 17 +- .../Menu/MenuViewController.swift | 43 + .../SinglePayment/SingleWebPayment.swift | 26 +- .../SinglePayment/WebViewController.swift | 47 +- .../ViewController/XMLReader/XMLReader.m | 10 +- .../PayHost_iOS_SDKTests.swift | 2 +- .../PayHost_iOS_SDKUITests.swift | 2 +- Podfile | 4 +- Podfile.lock | 20 +- .../Categories/IQNSArray+Sort.swift | 4 +- .../Categories/IQUIScrollView+Additions.swift | 4 +- .../IQUITextFieldView+Additions.swift | 2 +- .../Categories/IQUIView+Hierarchy.swift | 16 +- .../IQUIViewController+Additions.swift | 4 +- .../Categories/IQUIWindow+Hierarchy.swift | 4 +- .../IQKeyboardManager.swift | 88 +- .../IQKeyboardReturnKeyHandler.swift | 4 +- .../IQTextView/IQTextView.swift | 8 +- .../IQToolbar/IQBarButtonItem.swift | 60 +- .../IQToolbar/IQTitleBarButtonItem.swift | 12 +- .../IQToolbar/IQToolbar.swift | 4 +- .../IQUIView+IQKeyboardToolbar.swift | 98 +- .../Classes/Extensions.swift | 33 + .../Classes/KRActivityIndicatorPath.swift | 40 - .../Classes/KRActivityIndicatorView.swift | 346 ++-- .../KRActivityIndicatorViewStyle.swift | 87 +- Pods/KRActivityIndicatorView/README.md | 38 +- .../KRProgressHUD/Classes/Extensions.swift | 2 +- .../Classes/InnerKRProgressHUD.swift | 65 +- .../KRProgressHUD/Classes/KRProgressHUD.swift | 300 ++-- Pods/KRProgressHUD/LICENSE | 2 +- Pods/KRProgressHUD/README.md | 54 +- Pods/Manifest.lock | 20 +- Pods/ObjectMapper/README-CN.md | 4 +- .../Sources/CodableTransform.swift | 73 + .../Sources/CustomDateFormatTransform.swift | 2 +- Pods/ObjectMapper/Sources/DataTransform.swift | 2 +- .../Sources/DateFormatterTransform.swift | 2 +- Pods/ObjectMapper/Sources/DateTransform.swift | 32 +- .../Sources/DictionaryTransform.swift | 20 +- Pods/ObjectMapper/Sources/EnumOperators.swift | 31 +- Pods/ObjectMapper/Sources/EnumTransform.swift | 2 +- Pods/ObjectMapper/Sources/FromJSON.swift | 25 +- .../Sources/HexColorTransform.swift | 22 +- .../Sources/ISO8601DateTransform.swift | 4 +- .../Sources/ImmutableMappable.swift | 129 +- .../Sources/IntegerOperators.swift | 28 +- Pods/ObjectMapper/Sources/Map.swift | 8 +- Pods/ObjectMapper/Sources/MapError.swift | 2 +- Pods/ObjectMapper/Sources/Mappable.swift | 35 +- Pods/ObjectMapper/Sources/Mapper.swift | 29 +- .../Sources/NSDecimalNumberTransform.swift | 2 +- Pods/ObjectMapper/Sources/Operators.swift | 23 +- Pods/ObjectMapper/Sources/ToJSON.swift | 20 +- Pods/ObjectMapper/Sources/TransformOf.swift | 2 +- .../Sources/TransformOperators.swift | 91 +- Pods/ObjectMapper/Sources/TransformType.swift | 2 +- Pods/ObjectMapper/Sources/URLTransform.swift | 2 +- Pods/Pods.xcodeproj/project.pbxproj | 1498 +++++++++-------- .../IQKeyboardManagerSwift-Info.plist | 26 + .../IQKeyboardManagerSwift.debug.xcconfig | 11 + .../IQKeyboardManagerSwift.release.xcconfig | 11 + .../IQKeyboardManagerSwift.xcconfig | 5 +- .../KRActivityIndicatorView-Info.plist | 26 + .../KRActivityIndicatorView.debug.xcconfig | 10 + .../KRActivityIndicatorView.release.xcconfig | 10 + .../KRActivityIndicatorView.xcconfig | 3 +- .../KRProgressHUD/KRProgressHUD-Info.plist | 26 + .../KRProgressHUD.debug.xcconfig | 11 + .../KRProgressHUD.release.xcconfig | 11 + .../KRProgressHUD/KRProgressHUD.xcconfig | 3 +- .../ObjectMapper/ObjectMapper-Info.plist | 26 + .../ObjectMapper/ObjectMapper.debug.xcconfig | 10 + .../ObjectMapper.release.xcconfig | 10 + .../ObjectMapper/ObjectMapper.xcconfig | 3 +- .../Pods-PayHost iOS SDK-Info.plist | 26 + ...-PayHost iOS SDK-acknowledgements.markdown | 2 +- ...ods-PayHost iOS SDK-acknowledgements.plist | 2 +- ...DK-frameworks-Debug-input-files.xcfilelist | 5 + ...K-frameworks-Debug-output-files.xcfilelist | 4 + ...-frameworks-Release-input-files.xcfilelist | 5 + ...frameworks-Release-output-files.xcfilelist | 4 + .../Pods-PayHost iOS SDK-frameworks.sh | 94 +- .../Pods-PayHost iOS SDK.debug.xcconfig | 8 +- .../Pods-PayHost iOS SDK.release.xcconfig | 8 +- README.md | 12 +- changelog.txt | 9 + 104 files changed, 2702 insertions(+), 2259 deletions(-) create mode 100644 Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/Extensions.swift delete mode 100644 Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorPath.swift create mode 100644 Pods/ObjectMapper/Sources/CodableTransform.swift create mode 100644 Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-Info.plist create mode 100644 Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.debug.xcconfig create mode 100644 Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.release.xcconfig create mode 100644 Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-Info.plist create mode 100644 Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.debug.xcconfig create mode 100644 Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.release.xcconfig create mode 100644 Pods/Target Support Files/KRProgressHUD/KRProgressHUD-Info.plist create mode 100644 Pods/Target Support Files/KRProgressHUD/KRProgressHUD.debug.xcconfig create mode 100644 Pods/Target Support Files/KRProgressHUD/KRProgressHUD.release.xcconfig create mode 100644 Pods/Target Support Files/ObjectMapper/ObjectMapper-Info.plist create mode 100644 Pods/Target Support Files/ObjectMapper/ObjectMapper.debug.xcconfig create mode 100644 Pods/Target Support Files/ObjectMapper/ObjectMapper.release.xcconfig create mode 100644 Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-Info.plist create mode 100644 Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-input-files.xcfilelist create mode 100644 Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-output-files.xcfilelist create mode 100644 Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-input-files.xcfilelist create mode 100644 Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-output-files.xcfilelist create mode 100755 changelog.txt diff --git a/PayHost iOS SDK.xcodeproj/project.pbxproj b/PayHost iOS SDK.xcodeproj/project.pbxproj index 2f92016..852d45b 100644 --- a/PayHost iOS SDK.xcodeproj/project.pbxproj +++ b/PayHost iOS SDK.xcodeproj/project.pbxproj @@ -3,11 +3,12 @@ archiveVersion = 1; classes = { }; - objectVersion = 50; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ 3B1B929AB6C431C85227832A /* Pods_PayHost_iOS_SDK.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C108251C28E887519EFE051D /* Pods_PayHost_iOS_SDK.framework */; }; + 40CE8A4D243333060025D68B /* WebKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 40CE8A4C243333060025D68B /* WebKit.framework */; }; 7937ECA020DB9E5100F2AF11 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7937EC9F20DB9E5100F2AF11 /* AppDelegate.swift */; }; 7937ECA520DB9E5100F2AF11 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 7937ECA320DB9E5100F2AF11 /* Main.storyboard */; }; 7937ECA720DB9E5A00F2AF11 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 7937ECA620DB9E5A00F2AF11 /* Assets.xcassets */; }; @@ -54,6 +55,7 @@ /* Begin PBXFileReference section */ 388DE73EB5D04022B4E94C99 /* Pods-PayHost iOS SDK.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-PayHost iOS SDK.debug.xcconfig"; path = "Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.debug.xcconfig"; sourceTree = ""; }; + 40CE8A4C243333060025D68B /* WebKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = WebKit.framework; path = System/Library/Frameworks/WebKit.framework; sourceTree = SDKROOT; }; 7937EC9C20DB9E5100F2AF11 /* PayHost iOS SDK.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = "PayHost iOS SDK.app"; sourceTree = BUILT_PRODUCTS_DIR; }; 7937EC9F20DB9E5100F2AF11 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = ""; }; 7937ECA420DB9E5100F2AF11 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = ""; }; @@ -99,6 +101,7 @@ isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( + 40CE8A4D243333060025D68B /* WebKit.framework in Frameworks */, 3B1B929AB6C431C85227832A /* Pods_PayHost_iOS_SDK.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; @@ -294,6 +297,7 @@ AE0FBD6253DF18522EFF575F /* Frameworks */ = { isa = PBXGroup; children = ( + 40CE8A4C243333060025D68B /* WebKit.framework */, 799E1A3920DCEBFA00CE711B /* SwiftLazy.framework */, 799E1A3720DCEBF500CE711B /* DITranquillity.framework */, C108251C28E887519EFE051D /* Pods_PayHost_iOS_SDK.framework */, @@ -371,13 +375,16 @@ TargetAttributes = { 7937EC9B20DB9E5100F2AF11 = { CreatedOnToolsVersion = 9.4; + LastSwiftMigration = 1130; }; 7937ECAF20DB9E5B00F2AF11 = { CreatedOnToolsVersion = 9.4; + LastSwiftMigration = 1130; TestTargetID = 7937EC9B20DB9E5100F2AF11; }; 7937ECBA20DB9E5B00F2AF11 = { CreatedOnToolsVersion = 9.4; + LastSwiftMigration = 1130; TestTargetID = 7937EC9B20DB9E5100F2AF11; }; }; @@ -437,23 +444,16 @@ buildActionMask = 2147483647; files = ( ); - inputPaths = ( - "${SRCROOT}/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh", - "${BUILT_PRODUCTS_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework", - "${BUILT_PRODUCTS_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework", - "${BUILT_PRODUCTS_DIR}/KRProgressHUD/KRProgressHUD.framework", - "${BUILT_PRODUCTS_DIR}/ObjectMapper/ObjectMapper.framework", + inputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-${CONFIGURATION}-input-files.xcfilelist", ); name = "[CP] Embed Pods Frameworks"; - outputPaths = ( - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/IQKeyboardManagerSwift.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KRActivityIndicatorView.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KRProgressHUD.framework", - "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjectMapper.framework", + outputFileListPaths = ( + "${PODS_ROOT}/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-${CONFIGURATION}-output-files.xcfilelist", ); runOnlyForDeploymentPostprocessing = 0; shellPath = /bin/sh; - shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh\"\n"; + shellScript = "\"${PODS_ROOT}/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh\"\n"; showEnvVarsInLog = 0; }; E1BCBD99B7C03F3FCEB3F435 /* [CP] Check Pods Manifest.lock */ = { @@ -604,7 +604,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.4; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = YES; ONLY_ACTIVE_ARCH = YES; SDKROOT = iphoneos; @@ -658,7 +658,7 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 11.4; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; MTL_ENABLE_DEBUG_INFO = NO; SDKROOT = iphoneos; SWIFT_COMPILATION_MODE = wholemodule; @@ -675,7 +675,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 58CQ68X4QT; INFOPLIST_FILE = "PayHost iOS SDK/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -683,7 +683,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.appinlet.payhost; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "PayHost iOS SDK/Resources/PayHost_iOS_SDK-Bridging-Header.h"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Debug; @@ -696,7 +696,7 @@ CODE_SIGN_STYLE = Automatic; DEVELOPMENT_TEAM = 58CQ68X4QT; INFOPLIST_FILE = "PayHost iOS SDK/Info.plist"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -704,7 +704,7 @@ PRODUCT_BUNDLE_IDENTIFIER = com.appinlet.payhost; PRODUCT_NAME = "$(TARGET_NAME)"; SWIFT_OBJC_BRIDGING_HEADER = "PayHost iOS SDK/Resources/PayHost_iOS_SDK-Bridging-Header.h"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; }; name = Release; @@ -723,7 +723,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "com.icanstdioz.test.PayHost-iOS-SDKTests"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PayHost iOS SDK.app/PayHost iOS SDK"; }; @@ -743,7 +743,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "com.icanstdioz.test.PayHost-iOS-SDKTests"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; TEST_HOST = "$(BUILT_PRODUCTS_DIR)/PayHost iOS SDK.app/PayHost iOS SDK"; }; @@ -762,7 +762,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "com.icanstdioz.test.PayHost-iOS-SDKUITests"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = "PayHost iOS SDK"; }; @@ -781,7 +781,7 @@ ); PRODUCT_BUNDLE_IDENTIFIER = "com.icanstdioz.test.PayHost-iOS-SDKUITests"; PRODUCT_NAME = "$(TARGET_NAME)"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; TEST_TARGET_NAME = "PayHost iOS SDK"; }; diff --git a/PayHost iOS SDK.xcworkspace/contents.xcworkspacedata b/PayHost iOS SDK.xcworkspace/contents.xcworkspacedata index 019db7a..685f995 100644 --- a/PayHost iOS SDK.xcworkspace/contents.xcworkspacedata +++ b/PayHost iOS SDK.xcworkspace/contents.xcworkspacedata @@ -2,7 +2,7 @@ + location = "group:PayHost iOS SDK.xcodeproj"> diff --git a/PayHost iOS SDK/Resources/AppDelegate.swift b/PayHost iOS SDK/Resources/AppDelegate.swift index fad0039..852ec54 100644 --- a/PayHost iOS SDK/Resources/AppDelegate.swift +++ b/PayHost iOS SDK/Resources/AppDelegate.swift @@ -19,7 +19,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { var window: UIWindow? - func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool { + func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplication.LaunchOptionsKey: Any]?) -> Bool { // Override point for customization after application launch. IQKeyboardManager.sharedManager().enable = true @@ -31,7 +31,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { func callNaviagtionUI(){ UINavigationBar.appearance().barTintColor = AppColor.naviagtionBarTintColor // bar color UINavigationBar.appearance().tintColor = AppColor.navigationtintColor //back button color - UINavigationBar.appearance().titleTextAttributes = [NSAttributedStringKey.foregroundColor: AppColor.NavigattionTitleColor] // view title color + UINavigationBar.appearance().titleTextAttributes = [NSAttributedString.Key.foregroundColor: AppColor.NavigattionTitleColor] // view title color UINavigationBar.appearance().isTranslucent = false //for image UINavigationBar.appearance().setBackgroundImage(UIImage(), for: .any, barMetrics: .default) diff --git a/PayHost iOS SDK/Resources/PayHost_iOS_SDK-Bridging-Header.h b/PayHost iOS SDK/Resources/PayHost_iOS_SDK-Bridging-Header.h index 90be87e..1211938 100644 --- a/PayHost iOS SDK/Resources/PayHost_iOS_SDK-Bridging-Header.h +++ b/PayHost iOS SDK/Resources/PayHost_iOS_SDK-Bridging-Header.h @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/PayHost iOS SDK/Storyboard/Base.lproj/Main.storyboard b/PayHost iOS SDK/Storyboard/Base.lproj/Main.storyboard index 1aeca84..c2f9625 100644 --- a/PayHost iOS SDK/Storyboard/Base.lproj/Main.storyboard +++ b/PayHost iOS SDK/Storyboard/Base.lproj/Main.storyboard @@ -1,12 +1,9 @@ - - - - + + - - + @@ -19,7 +16,7 @@ - + @@ -36,17 +33,17 @@ - - - + + + - + @@ -57,15 +54,11 @@ - - - - - + @@ -80,10 +73,6 @@ - - - - @@ -92,9 +81,9 @@ - + - + @@ -105,10 +94,7 @@ - + + - + + - + @@ -149,13 +137,14 @@ - - - + + + - + + @@ -169,7 +158,7 @@ - + diff --git a/PayHost iOS SDK/Storyboard/CardPayment.storyboard b/PayHost iOS SDK/Storyboard/CardPayment.storyboard index ddd4a71..6c3d98b 100644 --- a/PayHost iOS SDK/Storyboard/CardPayment.storyboard +++ b/PayHost iOS SDK/Storyboard/CardPayment.storyboard @@ -1,11 +1,9 @@ - - - - + + - - + + @@ -19,7 +17,7 @@ - + @@ -28,7 +26,7 @@ - - + - + @@ -57,7 +54,7 @@ - - + - + @@ -86,7 +82,7 @@ - - + - + @@ -115,7 +110,7 @@ - - + - + @@ -185,7 +179,7 @@ - + @@ -213,6 +207,7 @@ + @@ -251,7 +246,7 @@ - + @@ -271,319 +266,32 @@ - - + + - + + + + + - - - - + + + + - + - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -593,7 +301,7 @@ - + @@ -602,7 +310,7 @@ - - + - + @@ -631,7 +338,7 @@ - - + - + @@ -660,7 +366,7 @@ - - + - + @@ -730,7 +435,7 @@ - + @@ -756,6 +461,7 @@ + @@ -796,7 +502,7 @@ - + @@ -805,7 +511,7 @@ - - + - + @@ -834,7 +539,7 @@ - - + - + @@ -863,7 +567,7 @@ - - + - + @@ -933,7 +636,7 @@ - + @@ -960,6 +663,7 @@ + @@ -1000,7 +704,7 @@ - + @@ -1009,7 +713,7 @@ - - + - + @@ -1038,7 +741,7 @@ - - + - + @@ -1067,7 +769,7 @@ - - + - + @@ -1096,7 +797,7 @@ - - + - + @@ -1125,7 +825,7 @@ - - + - + @@ -1195,7 +894,7 @@ - + @@ -1226,6 +925,7 @@ + @@ -1264,73 +964,6 @@ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - @@ -1340,7 +973,7 @@ - + @@ -1349,7 +982,7 @@ - - + - + @@ -1378,7 +1010,7 @@ - - + - + @@ -1407,7 +1038,7 @@ - - + - + @@ -1436,7 +1066,7 @@ - - + - + @@ -1506,7 +1135,7 @@ - + @@ -1534,6 +1163,7 @@ + diff --git a/PayHost iOS SDK/Storyboard/HeaderMenuCell.swift b/PayHost iOS SDK/Storyboard/HeaderMenuCell.swift index 35251e2..c5b7ad4 100644 --- a/PayHost iOS SDK/Storyboard/HeaderMenuCell.swift +++ b/PayHost iOS SDK/Storyboard/HeaderMenuCell.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/PayHost iOS SDK/ThirdParty/SWRevealViewController/SWRevealViewController.m b/PayHost iOS SDK/ThirdParty/SWRevealViewController/SWRevealViewController.m index 20b7235..0d9aa4d 100755 --- a/PayHost iOS SDK/ThirdParty/SWRevealViewController/SWRevealViewController.m +++ b/PayHost iOS SDK/ThirdParty/SWRevealViewController/SWRevealViewController.m @@ -1,5 +1,5 @@ /* - + Copyright (c) 2013 Joan Lluch Permission is hereby granted, free of charge, to any person obtaining a copy @@ -19,10 +19,10 @@ of this software and associated documentation files (the "Software"), to deal 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. - + Early code inspired on a similar class by Philip Kluz (Philip.Kluz@zuui.org) -*/ + */ #import #import "SWRevealViewController.h" @@ -40,7 +40,7 @@ static CGFloat statusBarAdjustment( UIView* view ) if ( CGRectIntersectsRect(viewFrame, statusBarFrame) ) adjustment = fminf(statusBarFrame.size.width, statusBarFrame.size.height); - + return adjustment; } @@ -87,11 +87,11 @@ - (id)initWithFrame:(CGRect)frame controller:(SWRevealViewController*)controller { _c = controller; CGRect bounds = self.bounds; - + _frontView = [[UIView alloc] initWithFrame:bounds]; _frontView.autoresizingMask = UIViewAutoresizingFlexibleWidth|UIViewAutoresizingFlexibleHeight; [self reloadShadow]; - + [self addSubview:_frontView]; } return self; @@ -182,7 +182,7 @@ - (CGFloat)frontLocationForPosition:(FrontViewPosition)frontViewPosition else if ( frontViewPosition > FrontViewPositionRight ) location = revealWidth + revealOverdraw; - + return location*symetry; } @@ -204,7 +204,7 @@ - (void)dragFrontViewToXLocation:(CGFloat)xLocation - (void)layoutSubviews { if ( _disableLayout ) return; - + CGRect bounds = self.bounds; FrontViewPosition position = _c.frontViewPosition; @@ -307,7 +307,7 @@ - (void)_prepareForNewPosition:(FrontViewPosition)newPosition; return; int symetry = newPosition)transitionC { UIViewController *fromViewController = [transitionContext viewControllerForKey:UITransitionContextFromViewControllerKey]; UIViewController *toViewController = [transitionContext viewControllerForKey:UITransitionContextToViewControllerKey]; - + if ( fromViewController ) { [UIView transitionFromView:fromViewController.view toView:toViewController.view duration:_duration - options:UIViewAnimationOptionTransitionCrossDissolve|UIViewAnimationOptionOverrideInheritedOptions - completion:^(BOOL finished) { [transitionContext completeTransition:finished]; }]; + options:UIViewAnimationOptionTransitionCrossDissolve|UIViewAnimationOptionOverrideInheritedOptions + completion:^(BOOL finished) { [transitionContext completeTransition:finished]; }]; } else { @@ -528,8 +535,8 @@ - (void)animateTransition:(id )transitionC toView.alpha = 0; [UIView animateWithDuration:_duration delay:0 options:UIViewAnimationOptionCurveEaseOut - animations:^{ toView.alpha = alpha;} - completion:^(BOOL finished) { [transitionContext completeTransition:finished];}]; + animations:^{ toView.alpha = alpha;} + completion:^(BOOL finished) { [transitionContext completeTransition:finished];}]; } } @@ -552,7 +559,7 @@ @implementation SWRevealViewControllerPanGestureRecognizer - (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event { [super touchesBegan:touches withEvent:event]; - + UITouch *touch = [touches anyObject]; _beginPoint = [touch locationInView:self.view]; _dragging = NO; @@ -613,7 +620,7 @@ - (id)initWithCoder:(NSCoder *)aDecoder if ( self ) { [self _initDefaultProperties]; - } + } return self; } @@ -674,7 +681,7 @@ - (void)_initDefaultProperties - (UIViewController *)childViewControllerForStatusBarStyle { - int positionDif = _frontViewPosition - FrontViewPositionLeft; + int positionDif = (int)_frontViewPosition - (int)FrontViewPositionLeft; UIViewController *controller = _frontViewController; if ( positionDif > 0 ) controller = _rearViewController; @@ -707,7 +714,7 @@ - (void)loadView // On iOS7 the applicationFrame does not return the whole screen. This is possibly a bug. // As a workaround we use the screen bounds, this still works on iOS6, any zero based frame would work anyway! CGRect frame = [[UIScreen mainScreen] bounds]; - + // create a custom content view for the controller _contentView = [[SWRevealView alloc] initWithFrame:frame controller:self]; @@ -716,7 +723,7 @@ - (void)loadView // set the content view to clip its bounds if requested [_contentView setClipsToBounds:_clipsViewsToBounds]; - + // set our contentView to the controllers view self.view = _contentView; @@ -738,7 +745,7 @@ - (void)loadView - (void)viewDidAppear:(BOOL)animated { [super viewDidAppear:animated]; - + // Uncomment the following code if you want the child controllers // to be loaded at this point. // @@ -749,10 +756,10 @@ - (void)viewDidAppear:(BOOL)animated // If you need to manipulate views of any of your child controllers in an override // of this method, you can load yourself the views explicitly on your overriden method. // However we discourage it as an app following the MVC principles should never need to do so - -// [_frontViewController view]; -// [_rearViewController view]; - + + // [_frontViewController view]; + // [_rearViewController view]; + // we store at this point the view's user interaction state as we may temporarily disable it // and resume it back to the previous state, it is possible to override this behaviour by // intercepting it on the panGestureBegan and panGestureEnded delegates @@ -813,7 +820,7 @@ - (void)setRearViewController:(UIViewController *)rearViewController animated:(B [self _performTransitionOperation:SWRevealControllerOperationReplaceRearController withViewController:rearViewController animated:NO]; return; } - + [self _dispatchTransitionOperation:SWRevealControllerOperationReplaceRearController withViewController:rearViewController animated:animated]; } @@ -831,7 +838,7 @@ - (void)setRightViewController:(UIViewController *)rightViewController animated: [self _performTransitionOperation:SWRevealControllerOperationReplaceRightController withViewController:rightViewController animated:NO]; return; } - + [self _dispatchTransitionOperation:SWRevealControllerOperationReplaceRightController withViewController:rightViewController animated:animated]; } @@ -922,7 +929,7 @@ - (UITapGestureRecognizer*)tapGestureRecognizer if ( _tapGestureRecognizer == nil ) { UITapGestureRecognizer *tapRecognizer = - [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(_handleTapGesture:)]; + [[UITapGestureRecognizer alloc] initWithTarget:self action:@selector(_handleTapGesture:)]; tapRecognizer.delegate = self; [_contentView.frontView addGestureRecognizer:tapRecognizer]; @@ -943,13 +950,13 @@ - (void)setClipsViewsToBounds:(BOOL)clipsViewsToBounds #pragma mark - Provided acction methods - (IBAction)revealToggle:(id)sender -{ +{ [self revealToggleAnimated:YES]; } - (IBAction)rightRevealToggle:(id)sender -{ +{ [self rightRevealToggleAnimated:YES]; } @@ -1022,16 +1029,16 @@ - (void)_notifyPanGestureEnded - (void)_getRevealWidth:(CGFloat*)pRevealWidth revealOverDraw:(CGFloat*)pRevealOverdraw forSymetry:(int)symetry { - if ( symetry < 0 ) *pRevealWidth = _rightViewRevealWidth, *pRevealOverdraw = _rightViewRevealOverdraw; - else *pRevealWidth = _rearViewRevealWidth, *pRevealOverdraw = _rearViewRevealOverdraw; + if ( symetry < 0 ) (void)(*pRevealWidth = _rightViewRevealWidth), *pRevealOverdraw = _rightViewRevealOverdraw; + else (void)(*pRevealWidth = _rearViewRevealWidth), *pRevealOverdraw = _rearViewRevealOverdraw; if (*pRevealWidth < 0) *pRevealWidth = _contentView.bounds.size.width + *pRevealWidth; } - (void)_getBounceBack:(BOOL*)pBounceBack pStableDrag:(BOOL*)pStableDrag forSymetry:(int)symetry { - if ( symetry < 0 ) *pBounceBack = _bounceBackOnLeftOverdraw, *pStableDrag = _stableDragOnLeftOverdraw; - else *pBounceBack = _bounceBackOnOverdraw, *pStableDrag = _stableDragOnOverdraw; + if ( symetry < 0 ) (void)(*pBounceBack = _bounceBackOnLeftOverdraw), *pStableDrag = _stableDragOnLeftOverdraw; + else (void)(*pBounceBack = _bounceBackOnOverdraw), *pStableDrag = _stableDragOnOverdraw; } - (void)_getAdjustedFrontViewPosition:(FrontViewPosition*)frontViewPosition forSymetry:(int)symetry @@ -1043,7 +1050,7 @@ - (void)_getDragLocationx:(CGFloat*)xLocation progress:(CGFloat*)progress { UIView *frontView = _contentView.frontView; *xLocation = frontView.frame.origin.x; - + int symetry = *xLocation<0 ? -1 : 1; CGFloat xWidth = symetry < 0 ? _rightViewRevealWidth : _rearViewRevealWidth; @@ -1056,7 +1063,7 @@ - (void)_getDragLocation:(CGFloat*)xLocation progress:(CGFloat*)progress overdra { UIView *frontView = _contentView.frontView; *xLocation = frontView.frame.origin.x; - + int symetry = *xLocation<0 ? -1 : 1; CGFloat xWidth = symetry < 0 ? _rightViewRevealWidth : _rearViewRevealWidth; @@ -1087,11 +1094,11 @@ - (void)_enqueueBlock:(void (^)(void))block // Removes the top most block in the queue and executes the following one if any. // Calls to this method must be paired with calls to _enqueueBlock, particularly it may be called -// from within a block passed to _enqueueBlock to remove itself when done with animations. +// from within a block passed to _enqueueBlock to remove itself when done with animations. - (void)_dequeue { [_animationQueue removeLastObject]; - + if ( _animationQueue.count > 0 ) { void (^block)(void) = [_animationQueue lastObject]; @@ -1113,7 +1120,7 @@ - (BOOL)gestureRecognizerShouldBegin:(UIGestureRecognizer *)recognizer if ( recognizer == _tapGestureRecognizer ) return [self _tapGestureShouldBegin]; } - + return NO; } @@ -1142,7 +1149,7 @@ - (BOOL)_tapGestureShouldBegin if ( _frontViewPosition == FrontViewPositionLeft || _frontViewPosition == FrontViewPositionRightMostRemoved || _frontViewPosition == FrontViewPositionLeftSideMostRemoved ) - return NO; + return NO; // forbid gesture if the following delegate is implemented and returns NO if ( [_delegate respondsToSelector:@selector(revealControllerTapGestureShouldBegin:)] ) @@ -1158,27 +1165,27 @@ - (BOOL)_panGestureShouldBegin // forbid gesture if the initial translation is not horizontal UIView *recognizerView = _panGestureRecognizer.view; CGPoint translation = [_panGestureRecognizer translationInView:recognizerView]; -// NSLog( @"translation:%@", NSStringFromCGPoint(translation) ); -// if ( fabs(translation.y/translation.x) > 1 ) -// return NO; - + // NSLog( @"translation:%@", NSStringFromCGPoint(translation) ); + // if ( fabs(translation.y/translation.x) > 1 ) + // return NO; + // forbid gesture if the following delegate is implemented and returns NO if ( [_delegate respondsToSelector:@selector(revealControllerPanGestureShouldBegin:)] ) if ( [_delegate revealControllerPanGestureShouldBegin:self] == NO ) return NO; - + CGFloat xLocation = [_panGestureRecognizer locationInView:recognizerView].x; CGFloat width = recognizerView.bounds.size.width; BOOL draggableBorderAllowing = ( - /*_frontViewPosition != FrontViewPositionLeft ||*/ _draggableBorderWidth == 0.0f || - (_rearViewController && xLocation <= _draggableBorderWidth) || - (_rightViewController && xLocation >= (width - _draggableBorderWidth)) ); + /*_frontViewPosition != FrontViewPositionLeft ||*/ _draggableBorderWidth == 0.0f || + (_rearViewController && xLocation <= _draggableBorderWidth) || + (_rightViewController && xLocation >= (width - _draggableBorderWidth)) ); BOOL translationForbidding = ( _frontViewPosition == FrontViewPositionLeft && - ((_rearViewController == nil && translation.x > 0) || (_rightViewController == nil && translation.x < 0)) ); - + ((_rearViewController == nil && translation.x > 0) || (_rightViewController == nil && translation.x < 0)) ); + // allow gesture only within the bounds defined by the draggableBorderWidth property return draggableBorderAllowing && !translationForbidding ; } @@ -1210,7 +1217,7 @@ - (void)_handleRevealGesture:(UIPanGestureRecognizer *)recognizer break; case UIGestureRecognizerStateCancelled: - //case UIGestureRecognizerStateFailed: + //case UIGestureRecognizerStateFailed: [self _handleRevealGestureStateCancelledWithRecognizer:recognizer]; break; @@ -1227,10 +1234,10 @@ - (void)_handleRevealGestureStateBeganWithRecognizer:(UIPanGestureRecognizer *)r // the gesture, so we just enqueue a dummy block to ensure any programatic acctions will be // scheduled after the gesture is completed [self _enqueueBlock:^{}]; // <-- dummy block - + // we store the initial position and initialize a target position _panInitialFrontPosition = _frontViewPosition; - + // we disable user interactions on the views, however programatic accions will still be // enqueued to be performed after the gesture completes [self _disableUserInteraction]; @@ -1290,7 +1297,7 @@ - (void)_handleRevealGestureStateEndedWithRecognizer:(UIPanGestureRecognizer *)r // initially we assume drag to left and default duration FrontViewPosition frontViewPosition = FrontViewPositionLeft; NSTimeInterval duration = _toggleAnimationDuration; - + // Velocity driven change: if (ABS(velocity) > _quickFlickVelocity) { @@ -1315,8 +1322,8 @@ - (void)_handleRevealGestureStateEndedWithRecognizer:(UIPanGestureRecognizer *)r // Position driven change: else - { - // we may need to set the drag position + { + // we may need to set the drag position if (xLocation > revealWidth*0.5f) { frontViewPosition = FrontViewPositionRight; @@ -1324,7 +1331,7 @@ - (void)_handleRevealGestureStateEndedWithRecognizer:(UIPanGestureRecognizer *)r { if (bounceBack) frontViewPosition = FrontViewPositionLeft; - + else if (stableDrag && xLocation > revealWidth+revealOverdraw*0.5f) frontViewPosition = FrontViewPositionRightMost; } @@ -1342,7 +1349,7 @@ - (void)_handleRevealGestureStateEndedWithRecognizer:(UIPanGestureRecognizer *)r - (void)_handleRevealGestureStateCancelledWithRecognizer:(UIPanGestureRecognizer *)recognizer -{ +{ [self _restoreUserInteraction]; [self _notifyPanGestureEnded]; [self _dequeue]; @@ -1397,21 +1404,21 @@ - (void)_dispatchTransitionOperation:(SWRevealControllerOperation)operation with // Primitive method for view controller deployment and animated layout to the given position. - (void)_setFrontViewPosition:(FrontViewPosition)newPosition withDuration:(NSTimeInterval)duration { - void (^rearDeploymentCompletion)() = [self _rearViewDeploymentForNewFrontViewPosition:newPosition]; - void (^rightDeploymentCompletion)() = [self _rightViewDeploymentForNewFrontViewPosition:newPosition]; - void (^frontDeploymentCompletion)() = [self _frontViewDeploymentForNewFrontViewPosition:newPosition]; + void (^rearDeploymentCompletion)(void) = [self _rearViewDeploymentForNewFrontViewPosition:newPosition]; + void (^rightDeploymentCompletion)(void) = [self _rightViewDeploymentForNewFrontViewPosition:newPosition]; + void (^frontDeploymentCompletion)(void) = [self _frontViewDeploymentForNewFrontViewPosition:newPosition]; - void (^animations)() = ^() + void (^animations)(void) = ^() { // Calling this in the animation block causes the status bar to appear/dissapear in sync with our own animation [self setNeedsStatusBarAppearanceUpdate]; // We call the layoutSubviews method on the contentView view and send a delegate, which will // occur inside of an animation block if any animated transition is being performed - [_contentView layoutSubviews]; - - if ([_delegate respondsToSelector:@selector(revealController:animateToPosition:)]) - [_delegate revealController:self animateToPosition:_frontViewPosition]; + [self->_contentView layoutSubviews]; + + if ([self->_delegate respondsToSelector:@selector(revealController:animateToPosition:)]) + [self->_delegate revealController:self animateToPosition:self->_frontViewPosition]; }; void (^completion)(BOOL) = ^(BOOL finished) @@ -1427,12 +1434,12 @@ - (void)_setFrontViewPosition:(FrontViewPosition)newPosition withDuration:(NSTim if ( _toggleAnimationType == SWRevealToggleAnimationTypeEaseOut ) { [UIView animateWithDuration:duration delay:0.0 - options:UIViewAnimationOptionCurveEaseOut animations:animations completion:completion]; + options:UIViewAnimationOptionCurveEaseOut animations:animations completion:completion]; } else { [UIView animateWithDuration:_toggleAnimationDuration delay:0.0 usingSpringWithDamping:_springDampingRatio initialSpringVelocity:1/duration - options:0 animations:animations completion:completion]; + options:0 animations:animations completion:completion]; } } else @@ -1449,43 +1456,43 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV { if ( [_delegate respondsToSelector:@selector(revealController:willAddViewController:forOperation:animated:)] ) [_delegate revealController:self willAddViewController:new forOperation:operation animated:animated]; - + UIViewController *old = nil; UIView *view = nil; if ( operation == SWRevealControllerOperationReplaceRearController ) - old = _rearViewController, _rearViewController = new, view = _contentView.rearView; + (void)(old = _rearViewController), (void)(_rearViewController = new), view = _contentView.rearView; else if ( operation == SWRevealControllerOperationReplaceFrontController ) - old = _frontViewController, _frontViewController = new, view = _contentView.frontView; + (void)(old = _frontViewController), (void)(_frontViewController = new), view = _contentView.frontView; else if ( operation == SWRevealControllerOperationReplaceRightController ) - old = _rightViewController, _rightViewController = new, view = _contentView.rightView; - - void (^completion)() = [self _transitionFromViewController:old toViewController:new inView:view]; + (void)(old = _rightViewController), (void)(_rightViewController = new), view = _contentView.rightView; + + void (^completion)(void) = [self _transitionFromViewController:old toViewController:new inView:view]; - void (^animationCompletion)() = ^ + void (^animationCompletion)(void) = ^ { completion(); - if ( [_delegate respondsToSelector:@selector(revealController:didAddViewController:forOperation:animated:)] ) - [_delegate revealController:self didAddViewController:new forOperation:operation animated:animated]; - + if ( [self->_delegate respondsToSelector:@selector(revealController:didAddViewController:forOperation:animated:)] ) + [self->_delegate revealController:self didAddViewController:new forOperation:operation animated:animated]; + [self _dequeue]; }; if ( animated ) { id animationController = nil; - + if ( [_delegate respondsToSelector:@selector(revealController:animationControllerForOperation:fromViewController:toViewController:)] ) animationController = [_delegate revealController:self animationControllerForOperation:operation fromViewController:old toViewController:new]; - + if ( !animationController ) animationController = [[SWDefaultAnimationController alloc] initWithDuration:_replaceViewAnimationDuration]; - + SWContextTransitionObject *transitioningObject = [[SWContextTransitionObject alloc] initWithRevealController:self containerView:view - fromVC:old toVC:new completion:animationCompletion]; - + fromVC:old toVC:new completion:animationCompletion]; + if ( [animationController transitionDuration:transitioningObject] > 0 ) [animationController animateTransition:transitioningObject]; else @@ -1505,18 +1512,18 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV - (void (^)(void))_frontViewDeploymentForNewFrontViewPosition:(FrontViewPosition)newPosition { if ( (_rightViewController == nil && newPosition < FrontViewPositionLeft) || - (_rearViewController == nil && newPosition > FrontViewPositionLeft) ) + (_rearViewController == nil && newPosition > FrontViewPositionLeft) ) newPosition = FrontViewPositionLeft; BOOL positionIsChanging = (_frontViewPosition != newPosition); BOOL appear = - (_frontViewPosition >= FrontViewPositionRightMostRemoved || _frontViewPosition <= FrontViewPositionLeftSideMostRemoved || _frontViewPosition == FrontViewPositionNone) && - (newPosition < FrontViewPositionRightMostRemoved && newPosition > FrontViewPositionLeftSideMostRemoved); + (_frontViewPosition >= FrontViewPositionRightMostRemoved || _frontViewPosition <= FrontViewPositionLeftSideMostRemoved || _frontViewPosition == FrontViewPositionNone) && + (newPosition < FrontViewPositionRightMostRemoved && newPosition > FrontViewPositionLeftSideMostRemoved); BOOL disappear = - (newPosition >= FrontViewPositionRightMostRemoved || newPosition <= FrontViewPositionLeftSideMostRemoved ) && - (_frontViewPosition < FrontViewPositionRightMostRemoved && _frontViewPosition > FrontViewPositionLeftSideMostRemoved && _frontViewPosition != FrontViewPositionNone); + (newPosition >= FrontViewPositionRightMostRemoved || newPosition <= FrontViewPositionLeftSideMostRemoved ) && + (_frontViewPosition < FrontViewPositionRightMostRemoved && _frontViewPosition > FrontViewPositionLeftSideMostRemoved && _frontViewPosition != FrontViewPositionNone); if ( positionIsChanging ) { @@ -1526,19 +1533,19 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV _frontViewPosition = newPosition; - void (^deploymentCompletion)() = - [self _deploymentForViewController:_frontViewController inView:_contentView.frontView appear:appear disappear:disappear]; + void (^deploymentCompletion)(void) = + [self _deploymentForViewController:_frontViewController inView:_contentView.frontView appear:appear disappear:disappear]; - void (^completion)() = ^() + void (^completion)(void) = ^() { deploymentCompletion(); if ( positionIsChanging ) { - if ( [_delegate respondsToSelector:@selector(revealController:didMoveToPosition:)] ) - [_delegate revealController:self didMoveToPosition:newPosition]; + if ( [self->_delegate respondsToSelector:@selector(revealController:didMoveToPosition:)] ) + [self->_delegate revealController:self didMoveToPosition:newPosition]; } }; - + return completion; } @@ -1551,7 +1558,7 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV if ( _rearViewController == nil && newPosition > FrontViewPositionLeft ) newPosition = FrontViewPositionLeft; - + BOOL appear = (_rearViewPosition <= FrontViewPositionLeft || _rearViewPosition == FrontViewPositionNone) && newPosition > FrontViewPositionLeft; BOOL disappear = newPosition <= FrontViewPositionLeft && (_rearViewPosition > FrontViewPositionLeft && _rearViewPosition != FrontViewPositionNone); @@ -1560,14 +1567,14 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV _rearViewPosition = newPosition; - void (^deploymentCompletion)() = - [self _deploymentForViewController:_rearViewController inView:_contentView.rearView appear:appear disappear:disappear]; + void (^deploymentCompletion)(void) = + [self _deploymentForViewController:_rearViewController inView:_contentView.rearView appear:appear disappear:disappear]; - void (^completion)() = ^() + void (^completion)(void) = ^() { deploymentCompletion(); if ( disappear ) - [_contentView unloadRearView]; + [self->_contentView unloadRearView]; }; return completion; @@ -1579,7 +1586,7 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV { if ( _rightViewController == nil && newPosition < FrontViewPositionLeft ) newPosition = FrontViewPositionLeft; - + BOOL appear = (_rightViewPosition >= FrontViewPositionLeft || _rightViewPosition == FrontViewPositionNone) && newPosition < FrontViewPositionLeft ; BOOL disappear = newPosition >= FrontViewPositionLeft && (_rightViewPosition < FrontViewPositionLeft && _rightViewPosition != FrontViewPositionNone); @@ -1588,16 +1595,16 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV _rightViewPosition = newPosition; - void (^deploymentCompletion)() = - [self _deploymentForViewController:_rightViewController inView:_contentView.rightView appear:appear disappear:disappear]; + void (^deploymentCompletion)(void) = + [self _deploymentForViewController:_rightViewController inView:_contentView.rightView appear:appear disappear:disappear]; - void (^completion)() = ^() + void (^completion)(void) = ^() { deploymentCompletion(); if ( disappear ) - [_contentView unloadRightView]; + [self->_contentView unloadRightView]; }; - + return completion; } @@ -1624,17 +1631,6 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV UIView *controllerView = controller.view; controllerView.autoresizingMask = UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight; controllerView.frame = frame; - - if ( [controllerView isKindOfClass:[UIScrollView class]] ) - { - BOOL adjust = controller.automaticallyAdjustsScrollViewInsets; - - if ( adjust ) - { - [(id)controllerView setContentInset:UIEdgeInsetsMake(statusBarAdjustment(_contentView), 0, 0, 0)]; - } - } - [view addSubview:controllerView]; void (^completionBlock)(void) = ^(void) @@ -1651,7 +1647,7 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV { if (!controller) return ^(void){}; - + // nothing to do before completion at this stage void (^completionBlock)(void) = ^(void) @@ -1671,11 +1667,11 @@ - (void)_performTransitionOperation:(SWRevealControllerOperation)operation withV if ( toController ) [self addChildViewController:toController]; - void (^deployCompletion)() = [self _deployForViewController:toController inView:view]; + void (^deployCompletion)(void) = [self _deployForViewController:toController inView:view]; [fromController willMoveToParentViewController:nil]; - void (^undeployCompletion)() = [self _undeployForViewController:fromController]; + void (^undeployCompletion)(void) = [self _undeployForViewController:fromController]; void (^completionBlock)(void) = ^(void) { @@ -1797,7 +1793,7 @@ - (void)decodeRestorableStateWithCoder:(NSCoder *)coder _draggableBorderWidth = [coder decodeDoubleForKey:@"_draggableBorderWidth"]; _clipsViewsToBounds = [coder decodeBoolForKey:@"_clipsViewsToBounds"]; _extendsPointInsideHit = [coder decodeBoolForKey:@"_extendsPointInsideHit"]; - + [self setRearViewController:[coder decodeObjectForKey:@"_rearViewController"]]; [self setFrontViewController:[coder decodeObjectForKey:@"_frontViewController"]]; [self setRightViewController:[coder decodeObjectForKey:@"_rightViewController"]]; @@ -1881,55 +1877,5 @@ - (void)perform @end -//#pragma mark - SWRevealViewControllerSegue Class -// -//@implementation SWRevealViewControllerSegue // DEPRECATED -// -//- (void)perform -//{ -// if ( _performBlock ) -// _performBlock( self, self.sourceViewController, self.destinationViewController ); -//} -// -//@end -// -// -//#pragma mark Storyboard support -// -//@implementation SWRevealViewController(deprecated) -// -//- (void)prepareForSegue:(SWRevealViewControllerSegue *)segue sender:(id)sender // TO REMOVE: DEPRECATED IMPLEMENTATION -//{ -// // This method is required for compatibility with SWRevealViewControllerSegue, now deprecated. -// // It can be simply removed when using SWRevealViewControllerSegueSetController and SWRevealViewControlerSeguePushController -// -// NSString *identifier = segue.identifier; -// if ( [segue isKindOfClass:[SWRevealViewControllerSegue class]] && sender == nil ) -// { -// if ( [identifier isEqualToString:SWSegueRearIdentifier] ) -// { -// segue.performBlock = ^(SWRevealViewControllerSegue* rvc_segue, UIViewController* svc, UIViewController* dvc) -// { -// [self _setRearViewController:dvc animated:NO]; -// }; -// } -// else if ( [identifier isEqualToString:SWSegueFrontIdentifier] ) -// { -// segue.performBlock = ^(SWRevealViewControllerSegue* rvc_segue, UIViewController* svc, UIViewController* dvc) -// { -// [self _setFrontViewController:dvc animated:NO]; -// }; -// } -// else if ( [identifier isEqualToString:SWSegueRightIdentifier] ) -// { -// segue.performBlock = ^(SWRevealViewControllerSegue* rvc_segue, UIViewController* svc, UIViewController* dvc) -// { -// [self _setRightViewController:dvc animated:NO]; -// }; -// } -// } -//} -// -//@end diff --git a/PayHost iOS SDK/ViewController/CardVault/CardvaultBase.swift b/PayHost iOS SDK/ViewController/CardVault/CardvaultBase.swift index 9297606..e6fbebb 100644 --- a/PayHost iOS SDK/ViewController/CardVault/CardvaultBase.swift +++ b/PayHost iOS SDK/ViewController/CardVault/CardvaultBase.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // @@ -26,6 +26,20 @@ class CardvaultBase: UIViewController { override func viewDidLoad() { super.viewDidLoad() + if #available(iOS 12.0, *) { + switch UIScreen.main.traitCollection.userInterfaceStyle { + case .dark: // put your dark mode code here + self.view.backgroundColor = .black + case .light: + self.view.backgroundColor = .white + + + case .unspecified: break + @unknown default: + break + } + } + self.setUpview() } @@ -33,6 +47,8 @@ class CardvaultBase: UIViewController { func setUpview() { self.title = "Card Vault" + + setMenuButton() setTextViewShdow(requestTextvw) setTextViewShdow(responseTextvw) @@ -61,8 +77,6 @@ class CardvaultBase: UIViewController { self.requestTextvw.text = qucard.soapvalue WebServiceHandler().PostRequestWithXml(parms: qucard.soapvalue, Url: APIConstants.CardVault, headers: APIConstants.headers, Success: {(responseObject,ResponseString) -> () in - - if(ResponseString.contains("Completed")){ DispatchQueue.main.sync { self.responseTextvw.text = ResponseString diff --git a/PayHost iOS SDK/ViewController/CardVault/DeleteCardVault.swift b/PayHost iOS SDK/ViewController/CardVault/DeleteCardVault.swift index e18456f..3097692 100644 --- a/PayHost iOS SDK/ViewController/CardVault/DeleteCardVault.swift +++ b/PayHost iOS SDK/ViewController/CardVault/DeleteCardVault.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // @@ -28,6 +28,18 @@ class DeleteCardVault: UIViewController { override func viewDidLoad() { super.viewDidLoad() + if #available(iOS 12.0, *) { + switch UIScreen.main.traitCollection.userInterfaceStyle { + case .dark: // put your dark mode code here + self.view.backgroundColor = .black + case .light: + self.view.backgroundColor = .white + case .unspecified: break + @unknown default: + break + } + } + self.setUpview() } diff --git a/PayHost iOS SDK/ViewController/CardVault/LookupVaultView.swift b/PayHost iOS SDK/ViewController/CardVault/LookupVaultView.swift index 480f13a..453b224 100644 --- a/PayHost iOS SDK/ViewController/CardVault/LookupVaultView.swift +++ b/PayHost iOS SDK/ViewController/CardVault/LookupVaultView.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // @@ -30,6 +30,17 @@ class LookupVaultView: UIViewController { super.viewDidLoad() self.setUpview() + if #available(iOS 12.0, *) { + switch UIScreen.main.traitCollection.userInterfaceStyle { + case .dark: // put your dark mode code here + self.view.backgroundColor = .black + case .light: + self.view.backgroundColor = .white + case .unspecified: break + @unknown default: + break + } + } } diff --git a/PayHost iOS SDK/ViewController/CardVaultCell.swift b/PayHost iOS SDK/ViewController/CardVaultCell.swift index 4667bcc..b9b0189 100644 --- a/PayHost iOS SDK/ViewController/CardVaultCell.swift +++ b/PayHost iOS SDK/ViewController/CardVaultCell.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/PayHost iOS SDK/ViewController/Common/APIConstants.swift b/PayHost iOS SDK/ViewController/Common/APIConstants.swift index b18dbf6..4d9f7d0 100644 --- a/PayHost iOS SDK/ViewController/Common/APIConstants.swift +++ b/PayHost iOS SDK/ViewController/Common/APIConstants.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/PayHost iOS SDK/ViewController/Common/APIHelper.swift b/PayHost iOS SDK/ViewController/Common/APIHelper.swift index b70bf2f..9dd0760 100644 --- a/PayHost iOS SDK/ViewController/Common/APIHelper.swift +++ b/PayHost iOS SDK/ViewController/Common/APIHelper.swift @@ -254,7 +254,7 @@ struct CustomerDetailXML: Mappable { """ - print(soapStr) + print(soapStr as Any) } } diff --git a/PayHost iOS SDK/ViewController/Common/Constant.swift b/PayHost iOS SDK/ViewController/Common/Constant.swift index efae44c..e408356 100644 --- a/PayHost iOS SDK/ViewController/Common/Constant.swift +++ b/PayHost iOS SDK/ViewController/Common/Constant.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/PayHost iOS SDK/ViewController/Common/LayoutConstant.swift b/PayHost iOS SDK/ViewController/Common/LayoutConstant.swift index 6ad79bb..8b01a4a 100644 --- a/PayHost iOS SDK/ViewController/Common/LayoutConstant.swift +++ b/PayHost iOS SDK/ViewController/Common/LayoutConstant.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // @@ -23,7 +23,7 @@ struct SetLayout { } func textFiledWithPlaceholderColor(textfiled:UITextField,_ placeholderString:String){ textfiled.attributedPlaceholder = NSAttributedString(string: placeholderString, - attributes: [NSAttributedStringKey.foregroundColor: AppColor.placeholderColor]) + attributes: [NSAttributedString.Key.foregroundColor: AppColor.placeholderColor]) } } extension UITextField { @@ -93,7 +93,6 @@ class CornerView:UIView{ self.layer.cornerRadius = 8 self.layer.masksToBounds = true } - } class UIPlaceHolderTextView: UITextView { @@ -119,13 +118,10 @@ class UIPlaceHolderTextView: UITextView { if self.placeholderColor == nil { self.placeholderColor = UIColor.black } - NotificationCenter.default.addObserver(self, selector: #selector(textChanged(_:)), name: NSNotification.Name.UITextViewTextDidChange, object: nil) - NotificationCenter.default.addObserver(self, selector: #selector(textChanged(_:)), name: NSNotification.Name.UITextViewTextDidBeginEditing, object: nil) - - + NotificationCenter.default.addObserver(self, selector: #selector(textChanged(_:)), name: UITextView.textDidChangeNotification, object: nil) + NotificationCenter.default.addObserver(self, selector: #selector(textChanged(_:)), name: UITextView.textDidBeginEditingNotification, object: nil) } - @objc func textChanged(_ notification: Notification) -> Void { if self.placeholder?.count == 0 { return @@ -167,7 +163,7 @@ class UIPlaceHolderTextView: UITextView { placeholderLabel?.text = self.placeholder placeholderLabel?.sizeToFit() - self.sendSubview(toBack: self.placeholderLabel!) + self.sendSubviewToBack(self.placeholderLabel!) } if self.text.count == 0 && (self.placeholder?.count ?? 0) > 0 { diff --git a/PayHost iOS SDK/ViewController/Common/WebServiceHandler.swift b/PayHost iOS SDK/ViewController/Common/WebServiceHandler.swift index d6c8498..288cea9 100644 --- a/PayHost iOS SDK/ViewController/Common/WebServiceHandler.swift +++ b/PayHost iOS SDK/ViewController/Common/WebServiceHandler.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/PayHost iOS SDK/ViewController/FollowReqest/FollowRequestQueryView.swift b/PayHost iOS SDK/ViewController/FollowReqest/FollowRequestQueryView.swift index 6179870..ca0564d 100644 --- a/PayHost iOS SDK/ViewController/FollowReqest/FollowRequestQueryView.swift +++ b/PayHost iOS SDK/ViewController/FollowReqest/FollowRequestQueryView.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // @@ -33,11 +33,26 @@ class FollowRequestQueryView: UIViewController { override func viewDidLoad() { super.viewDidLoad() + if #available(iOS 12.0, *) { + switch UIScreen.main.traitCollection.userInterfaceStyle { + case .dark: // put your dark mode code here + self.view.backgroundColor = .black + case .light: + self.view.backgroundColor = .white + + + case .unspecified: break + @unknown default: + break + } + } self.SetUpView() } //MARK: --------------SetUp VIew------------------------ func SetUpView(){ + + vaultIdConstant.constant = 0 transactionTypeHeightConstant.constant = 0 setTextViewShdow(request) diff --git a/PayHost iOS SDK/ViewController/Menu/MenuViewController.swift b/PayHost iOS SDK/ViewController/Menu/MenuViewController.swift index b074374..9d6d233 100644 --- a/PayHost iOS SDK/ViewController/Menu/MenuViewController.swift +++ b/PayHost iOS SDK/ViewController/Menu/MenuViewController.swift @@ -16,13 +16,56 @@ import UIKit class MenuViewController: UIViewController { @IBOutlet weak var menutableview: UITableView! + @IBOutlet weak var bottonView: UIView! var menuName = ["Card Vault","Delete Vault","Lookup Vault"] var followUpReq = ["Query","Void","Refund","Settlement"] var SectionArray = ["Single Vault Request","Follow Up Request","Message types Request"] var menuName2 = ["Card Payment","Web Payment","Token Payment"] + override func viewWillAppear(_ animated: Bool) + { + if #available(iOS 12.0, *) { + switch UIScreen.main.traitCollection.userInterfaceStyle { + case .dark: // put your dark mode code here + self.view.backgroundColor = .black + self.menutableview.backgroundColor = .black + self.bottonView.backgroundColor = .black + + case .light: + self.view.backgroundColor = .white + self.menutableview.backgroundColor = .white + self.bottonView.backgroundColor = .white + + + + case .unspecified: break + @unknown default: + break + } + } + } + + + override func viewDidLoad() { super.viewDidLoad() + if #available(iOS 12.0, *) { + switch UIScreen.main.traitCollection.userInterfaceStyle { + case .dark: // put your dark mode code here + self.view.backgroundColor = .black + self.menutableview.backgroundColor = .black + self.bottonView.backgroundColor = .black + + case .light: + self.view.backgroundColor = .white + self.menutableview.backgroundColor = .white + self.bottonView.backgroundColor = .white + case .unspecified: break + @unknown default: + break + } + } + let nibName = UINib(nibName: "HeaderMenuCell", bundle: nil) self.menutableview.register(nibName, forHeaderFooterViewReuseIdentifier: "headercell") diff --git a/PayHost iOS SDK/ViewController/SinglePayment/SingleWebPayment.swift b/PayHost iOS SDK/ViewController/SinglePayment/SingleWebPayment.swift index 8895318..b13deef 100644 --- a/PayHost iOS SDK/ViewController/SinglePayment/SingleWebPayment.swift +++ b/PayHost iOS SDK/ViewController/SinglePayment/SingleWebPayment.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // @@ -37,6 +37,20 @@ class SingleWebPayment: UIViewController,XMLParserDelegate,UITextViewDelegate { override func viewDidLoad() { super.viewDidLoad() + if #available(iOS 12.0, *) { + switch UIScreen.main.traitCollection.userInterfaceStyle { + case .dark: // put your dark mode code here + self.view.backgroundColor = .black + case .light: + self.view.backgroundColor = .white + + + case .unspecified: break + @unknown default: + break + } + } + Response_string.delegate = self setMenuButton() setTextViewShdow(Response_string) @@ -127,8 +141,6 @@ class SingleWebPayment: UIViewController,XMLParserDelegate,UITextViewDelegate { let makeObject = TokenpaymentRequest(soapvalue:ConcateStr) print(makeObject.soapvalue) return makeObject.soapvalue - - } catch{ @@ -240,7 +252,7 @@ class SingleWebPayment: UIViewController,XMLParserDelegate,UITextViewDelegate { DispatchQueue.main.sync { do{ - var xmlDictionary = try? XMLReader.dictionary(forXMLString: Response) + let xmlDictionary = try? XMLReader.dictionary(forXMLString: Response) let dic1 : NSDictionary = xmlDictionary!["SOAP-ENV:Envelope"] as! NSDictionary let dic2 : NSDictionary = dic1["SOAP-ENV:Body"] as! NSDictionary @@ -310,7 +322,6 @@ class SingleWebPayment: UIViewController,XMLParserDelegate,UITextViewDelegate { cheakSumid = cheakSum["text"] as! String - var PassToDic = [String:String]() PassToDic["url"] = redirectUrl PassToDic["ref_id"] = ReferenceId @@ -325,11 +336,6 @@ class SingleWebPayment: UIViewController,XMLParserDelegate,UITextViewDelegate { } } - - - } - catch{ - } } diff --git a/PayHost iOS SDK/ViewController/SinglePayment/WebViewController.swift b/PayHost iOS SDK/ViewController/SinglePayment/WebViewController.swift index 1bfc1b4..f70de40 100644 --- a/PayHost iOS SDK/ViewController/SinglePayment/WebViewController.swift +++ b/PayHost iOS SDK/ViewController/SinglePayment/WebViewController.swift @@ -14,35 +14,47 @@ import UIKit import KRProgressHUD -class WebViewController: UIViewController { - - @IBOutlet weak var webview: UIWebView! +import WebKit + +class WebViewController: UIViewController, WKNavigationDelegate,WKUIDelegate, UIScrollViewDelegate { + @IBOutlet weak var webView: WKWebView! var PassToDic = [String:String]() var webStr = String() override func viewDidLoad() { super.viewDidLoad() + webView.configuration.userContentController.addUserScript(self.getZoomDisableScript()) self.setWebView() - - // Do any additional setup after loading the view. } + //Disable zoom webview + private func getZoomDisableScript() -> WKUserScript { + let source: String = "var meta = document.createElement('meta');" + + "meta.name = 'viewport';" + + "meta.content = 'width=device-width, initial-scale=1.0, maximum- scale=1.0, user-scalable=no';" + + "var head = document.getElementsByTagName('head')[0];" + "head.appendChild(meta);" + return WKUserScript(source: source, injectionTime: .atDocumentEnd, forMainFrameOnly: true) + } + //MARK:----------------------------Set WebView With parms ------------------------ func setWebView(){ var request = URLRequest(url: URL(string: PassToDic["url"]!)!) request.httpMethod = "POST" + request.addValue("application/x-www-form-urlencoded", forHTTPHeaderField: "Content-Type") let body = "PAYGATE_ID=\(PassToDic["payGate_id"]!)&REFERENCE=\(PassToDic["ref_id"]!)&CHECKSUM=\(PassToDic["chaeksum_id"]!)&PAY_REQUEST_ID=\(PassToDic["pay_requ_id"]!)" request.httpBody = body.data(using: .utf8) - + let task = URLSession.shared.dataTask(with: request) { (data : Data?, response : URLResponse?, error : Error?) in if data != nil { if String(data: data!, encoding: .utf8) != nil { - let strData = NSString(data: data!, encoding: String.Encoding.utf8.rawValue) + _ = NSString(data: data!, encoding: String.Encoding.utf8.rawValue) DispatchQueue.main.sync { - self.webview.loadRequest(request as URLRequest) + self.webView.load(request as URLRequest) + self.webView.allowsBackForwardNavigationGestures = false + } } } @@ -50,23 +62,6 @@ class WebViewController: UIViewController { task.resume() } - - } -extension WebViewController:UIWebViewDelegate{ - - func webView(_ webView: UIWebView, didFailLoadWithError error: Error) { - print(error) - } - func webViewDidStartLoad(_ webView: UIWebView) { - KRProgressHUD.show() - } - func webViewDidFinishLoad(_ webView: UIWebView) { - let resp: CachedURLResponse? = URLCache.shared.cachedResponse(for: webview.request!) - if let aFields = (resp?.response as? HTTPURLResponse)?.allHeaderFields { - print("\(aFields)") - } - KRProgressHUD.dismiss() - } -} + diff --git a/PayHost iOS SDK/ViewController/XMLReader/XMLReader.m b/PayHost iOS SDK/ViewController/XMLReader/XMLReader.m index 754c95a..0eeef7e 100755 --- a/PayHost iOS SDK/ViewController/XMLReader/XMLReader.m +++ b/PayHost iOS SDK/ViewController/XMLReader/XMLReader.m @@ -12,8 +12,8 @@ #error "XMLReader requires ARC support." #endif -NSString *const kXMLReaderTextNodeKey = @"text"; -NSString *const kXMLReaderAttributePrefix = @"@"; +NSString *const kXMLReaderTextNodeKey = @"text"; +NSString *const kXMLReaderAttributePrefix = @"@"; @interface XMLReader () @@ -59,7 +59,7 @@ + (NSDictionary *)dictionaryForXMLString:(NSString *)string options:(XMLReaderOp - (id)initWithError:(NSError **)error { - self = [super init]; + self = [super init]; if (self) { self.errorPointer = *error; @@ -85,7 +85,7 @@ - (NSDictionary *)objectWithData:(NSData *)data options:(XMLReaderOptions)option parser.delegate = self; BOOL success = [parser parse]; - + // Return the stack's root dictionary on success if (success) { @@ -100,7 +100,7 @@ - (NSDictionary *)objectWithData:(NSData *)data options:(XMLReaderOptions)option #pragma mark - NSXMLParserDelegate methods - (void)parser:(NSXMLParser *)parser didStartElement:(NSString *)elementName namespaceURI:(NSString *)namespaceURI qualifiedName:(NSString *)qName attributes:(NSDictionary *)attributeDict -{ +{ // Get the dictionary for the current level in the stack NSMutableDictionary *parentDict = [self.dictionaryStack lastObject]; diff --git a/PayHost iOS SDKTests/PayHost_iOS_SDKTests.swift b/PayHost iOS SDKTests/PayHost_iOS_SDKTests.swift index 734aab8..d2ff0c2 100644 --- a/PayHost iOS SDKTests/PayHost_iOS_SDKTests.swift +++ b/PayHost iOS SDKTests/PayHost_iOS_SDKTests.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/PayHost iOS SDKUITests/PayHost_iOS_SDKUITests.swift b/PayHost iOS SDKUITests/PayHost_iOS_SDKUITests.swift index 024fa14..d9ef432 100644 --- a/PayHost iOS SDKUITests/PayHost_iOS_SDKUITests.swift +++ b/PayHost iOS SDKUITests/PayHost_iOS_SDKUITests.swift @@ -7,7 +7,7 @@ // Developer: App Inlet (Pty) Ltd // Developer URI: https://www.appinlet.com/ // -// Copyright: © 2018 PayGate (Pty) Ltd. +// Copyright: © 2020 PayGate (Pty) Ltd. // License: GNU General Public License v3.0 // License URI: http://www.gnu.org/licenses/gpl-3.0.html // diff --git a/Podfile b/Podfile index 32e9d13..9f80f8c 100644 --- a/Podfile +++ b/Podfile @@ -4,9 +4,11 @@ target 'PayHost iOS SDK' do # Comment the next line if you're not using Swift and don't want to use dynamic frameworks use_frameworks! + inhibit_all_warnings! pod 'KRProgressHUD' pod 'ObjectMapper' - pod 'IQKeyboardManagerSwift', '5.0.0' + pod 'IQKeyboardManagerSwift', '5.0.0' ,:inhibit_warnings => true + end diff --git a/Podfile.lock b/Podfile.lock index abc5252..0dabda4 100644 --- a/Podfile.lock +++ b/Podfile.lock @@ -1,9 +1,9 @@ PODS: - IQKeyboardManagerSwift (5.0.0) - - KRActivityIndicatorView (2.1.2) - - KRProgressHUD (3.2.2): - - KRActivityIndicatorView (= 2.1.2) - - ObjectMapper (3.2.0) + - KRActivityIndicatorView (3.0.5) + - KRProgressHUD (3.4.5): + - KRActivityIndicatorView (= 3.0.5) + - ObjectMapper (3.5.2) DEPENDENCIES: - IQKeyboardManagerSwift (= 5.0.0) @@ -11,7 +11,7 @@ DEPENDENCIES: - ObjectMapper SPEC REPOS: - https://github.com/cocoapods/specs.git: + trunk: - IQKeyboardManagerSwift - KRActivityIndicatorView - KRProgressHUD @@ -19,10 +19,10 @@ SPEC REPOS: SPEC CHECKSUMS: IQKeyboardManagerSwift: 3f340202ebe1a7076279b9b9b3c817243ddb3aab - KRActivityIndicatorView: 27e7a7e3da7fbc8e5405fbc4088b51cc2095a410 - KRProgressHUD: 8872da74b1c462e15c82a8fff250a2d34ee82ea2 - ObjectMapper: 5cccd2de6f253eda859df8116a5a554d9769e859 + KRActivityIndicatorView: 912bc0413d98340f384b12a4e1e6aa8f42fb377d + KRProgressHUD: df4cdc3a1baf708d4276a089ee34d133fa9a6f3e + ObjectMapper: b53ae947d370bf89423e86be7d4e2d2b2a8d3f40 -PODFILE CHECKSUM: a777a930741455b0deb13042216c45682628f655 +PODFILE CHECKSUM: 5d4760e8fc964c66d5a4953e6daed7093a79e9db -COCOAPODS: 1.5.3 +COCOAPODS: 1.9.1 diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift index 8f7e8ab..38274f1 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift @@ -36,7 +36,7 @@ internal extension Array { /** Returns the array by sorting the UIView's by their tag property. */ - internal func sortedArrayByTag() -> [Element] { + func sortedArrayByTag() -> [Element] { return sorted(by: { (obj1 : Element, obj2 : Element) -> Bool in @@ -50,7 +50,7 @@ internal extension Array { /** Returns the array by sorting the UIView's by their tag property. */ - internal func sortedArrayByPosition() -> [Element] { + func sortedArrayByPosition() -> [Element] { return sorted(by: { (obj1 : Element, obj2 : Element) -> Bool in diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift index efe69d8..c9ab62a 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift @@ -32,7 +32,7 @@ public extension UIScrollView { /** If YES, then scrollview will ignore scrolling (simply not scroll it) for adjusting textfield position. Default is NO. */ - public var shouldIgnoreScrollingAdjustment: Bool { + var shouldIgnoreScrollingAdjustment: Bool { get { if let aValue = objc_getAssociatedObject(self, &kIQShouldIgnoreScrollingAdjustment) as? Bool { @@ -49,7 +49,7 @@ public extension UIScrollView { /** To set customized distance from keyboard for textField/textView. Can't be less than zero */ - public var shouldRestoreScrollViewContentOffset: Bool { + var shouldRestoreScrollViewContentOffset: Bool { get { if let aValue = objc_getAssociatedObject(self, &kIQShouldRestoreScrollViewContentOffset) as? Bool { diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift index f9be678..eb7b198 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift @@ -39,7 +39,7 @@ public extension UIView { /** To set customized distance from keyboard for textField/textView. Can't be less than zero */ - public var keyboardDistanceFromTextField: CGFloat { + var keyboardDistanceFromTextField: CGFloat { get { if let aValue = objc_getAssociatedObject(self, &kIQKeyboardDistanceFromTextField) as? CGFloat { diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift index 86b3f56..2056233 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift @@ -36,7 +36,7 @@ public extension UIView { /** Returns the UIViewController object that manages the receiver. */ - public func viewController()->UIViewController? { + func viewController()->UIViewController? { var nextResponder: UIResponder? = self @@ -55,7 +55,7 @@ public extension UIView { /** Returns the topMost UIViewController object in hierarchy. */ - public func topMostController()->UIViewController? { + func topMostController()->UIViewController? { var controllersHierarchy = [UIViewController]() @@ -94,7 +94,7 @@ public extension UIView { /** Returns the superView of provided class type. */ - public func superviewOfClassType(_ classType:UIView.Type)->UIView? { + func superviewOfClassType(_ classType:UIView.Type)->UIView? { var superView = superview @@ -130,7 +130,7 @@ public extension UIView { /** Returns all siblings of the receiver which canBecomeFirstResponder. */ - public func responderSiblings()->[UIView] { + func responderSiblings()->[UIView] { //Array of (UITextField/UITextView's). var tempTextFields = [UIView]() @@ -152,7 +152,7 @@ public extension UIView { /** Returns all deep subViews of the receiver which canBecomeFirstResponder. */ - public func deepResponderViews()->[UIView] { + func deepResponderViews()->[UIView] { //Array of (UITextField/UITextView's). var textfields = [UIView]() @@ -216,7 +216,7 @@ public extension UIView { /** Returns YES if the receiver object is UISearchBarTextField, otherwise return NO. */ - public func isSearchBarTextField()-> Bool { + func isSearchBarTextField()-> Bool { var searchBar : UIResponder? = self.next @@ -240,7 +240,7 @@ public extension UIView { /** Returns YES if the receiver object is UIAlertSheetTextField, otherwise return NO. */ - public func isAlertViewTextField()->Bool { + func isAlertViewTextField()->Bool { var alertViewController : UIResponder? = self.viewController() @@ -267,7 +267,7 @@ public extension UIView { /** Returns current view transform with respect to the 'toView'. */ - public func convertTransformToView(_ toView:UIView?)->CGAffineTransform { + func convertTransformToView(_ toView:UIView?)->CGAffineTransform { var newView = toView diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift index 93476d8..01d2f76 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift @@ -32,7 +32,7 @@ public extension UIViewController { /** To set customized distance from keyboard for textField/textView. Can't be less than zero */ - @IBOutlet public var IQLayoutGuideConstraint: NSLayoutConstraint? { + @IBOutlet var IQLayoutGuideConstraint: NSLayoutConstraint? { get { return objc_getAssociatedObject(self, &kIQLayoutGuideConstraint) as? NSLayoutConstraint @@ -42,4 +42,4 @@ public extension UIViewController { objc_setAssociatedObject(self, &kIQLayoutGuideConstraint, newValue,objc_AssociationPolicy.OBJC_ASSOCIATION_RETAIN_NONATOMIC) } } -} \ No newline at end of file +} diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIWindow+Hierarchy.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIWindow+Hierarchy.swift index f29c984..692edcf 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIWindow+Hierarchy.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/Categories/IQUIWindow+Hierarchy.swift @@ -28,7 +28,7 @@ import UIKit public extension UIWindow { /** @return Returns the current Top Most ViewController in hierarchy. */ - public func topMostWindowController()->UIViewController? { + func topMostWindowController()->UIViewController? { var topController = rootViewController @@ -40,7 +40,7 @@ public extension UIWindow { } /** @return Returns the topViewController in stack of topMostWindowController. */ - public func currentViewController()->UIViewController? { + func currentViewController()->UIViewController? { var currentViewController = topMostWindowController() diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift index 8954ec0..db4c450 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardManager.swift @@ -441,7 +441,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if let textFieldRetain = _textFieldView { //Getting index of current textField. - if let index = textFields.index(of: textFieldRetain) { + if let index = textFields.firstIndex(of: textFieldRetain) { //If it is not first textField. then it's previous object canBecomeFirstResponder. if index > 0 { @@ -461,7 +461,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if let textFields = responderViews() { if let textFieldRetain = _textFieldView { //Getting index of current textField. - if let index = textFields.index(of: textFieldRetain) { + if let index = textFields.firstIndex(of: textFieldRetain) { //If it is not first textField. then it's previous object canBecomeFirstResponder. if index < textFields.count-1 { @@ -482,7 +482,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if let textFieldRetain = _textFieldView { if let textFields = responderViews() { //Getting index of current textField. - if let index = textFields.index(of: textFieldRetain) { + if let index = textFields.firstIndex(of: textFieldRetain) { //If it is not first textField. then it's previous object becomeFirstResponder. if index > 0 { @@ -517,7 +517,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if let textFieldRetain = _textFieldView { if let textFields = responderViews() { //Getting index of current textField. - if let index = textFields.index(of: textFieldRetain) { + if let index = textFields.firstIndex(of: textFieldRetain) { //If it is not last textField. then it's next object becomeFirstResponder. if index < textFields.count-1 { @@ -615,7 +615,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { /** Resigning on tap gesture. (Enhancement ID: #14)*/ @objc internal func tapRecognized(_ gesture: UITapGestureRecognizer) { - if gesture.state == UIGestureRecognizerState.ended { + if gesture.state == UIGestureRecognizer.State.ended { //Resigning currently responder textField. _ = resignFirstResponder() @@ -735,7 +735,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { open func unregisterTextFieldViewClass(_ aClass: UIView.Type, didBeginEditingNotificationName : String, didEndEditingNotificationName : String) { - if let index = registeredClasses.index(where: { element in + if let index = registeredClasses.firstIndex(where: { element in return element == aClass.self }) { registeredClasses.remove(at: index) @@ -796,7 +796,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { fileprivate var _animationDuration = 0.25 /** To mimic the keyboard animation */ - fileprivate var _animationCurve = UIViewAnimationOptions.curveEaseOut + fileprivate var _animationCurve = UIView.AnimationOptions.curveEaseOut /*******************************************/ @@ -908,7 +908,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { newFrame.size = unwrappedController.view.frame.size //Used UIViewAnimationOptionBeginFromCurrentState to minimize strange animations. - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in // Setting it's new frame unwrappedController.view.frame = newFrame @@ -1051,7 +1051,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { showLog("Restoring \(lastScrollView._IQDescription()) contentInset to : \(_startingContentInsets) and contentOffset to : \(_startingContentOffset)") - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in lastScrollView.contentInset = self._startingContentInsets lastScrollView.scrollIndicatorInsets = self._startingScrollIndicatorInsets @@ -1069,7 +1069,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { showLog("Restoring \(lastScrollView._IQDescription()) contentInset to : \(_startingContentInsets) and contentOffset to : \(_startingContentOffset)") - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in lastScrollView.contentInset = self._startingContentInsets lastScrollView.scrollIndicatorInsets = self._startingScrollIndicatorInsets @@ -1168,7 +1168,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { } //Getting problem while using `setContentOffset:animated:`, So I used animation API. - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in self.showLog("Adjusting \(scrollView.contentOffset.y-shouldOffsetY) to \(scrollView._IQDescription()) ContentOffset") @@ -1199,7 +1199,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { showLog("\(lastScrollView._IQDescription()) old ContentInset : \(lastScrollView.contentInset)") //Getting problem while using `setContentOffset:animated:`, So I used animation API. - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in lastScrollView.contentInset = movedInsets var newInset = lastScrollView.scrollIndicatorInsets @@ -1219,7 +1219,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { let constant = min(_layoutGuideConstraintInitialConstant, constraint.constant-move) - UIView.animate(withDuration: _animationDuration, delay: 0, options: (_animationCurve.union(UIViewAnimationOptions.beginFromCurrentState)), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: (_animationCurve.union(UIView.AnimationOptions.beginFromCurrentState)), animations: { () -> Void in constraint.constant = constant self._rootViewController?.view.setNeedsLayout() @@ -1234,7 +1234,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { let constant = max(_layoutGuideConstraintInitialConstant, constraint.constant+move) - UIView.animate(withDuration: _animationDuration, delay: 0, options: (_animationCurve.union(UIViewAnimationOptions.beginFromCurrentState)), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: (_animationCurve.union(UIView.AnimationOptions.beginFromCurrentState)), animations: { () -> Void in constraint.constant = constant self._rootViewController?.view.setNeedsLayout() @@ -1253,7 +1253,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if (textView.frame.size.height-textView.contentInset.bottom>textViewHeight) { - UIView.animate(withDuration: _animationDuration, delay: 0, options: (_animationCurve.union(UIViewAnimationOptions.beginFromCurrentState)), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: (_animationCurve.union(UIView.AnimationOptions.beginFromCurrentState)), animations: { () -> Void in self.showLog("\(textFieldView._IQDescription()) Old UITextView.contentInset : \(textView.contentInset)") @@ -1388,14 +1388,14 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if let info = (notification as NSNotification?)?.userInfo { // Getting keyboard animation. - if let curve = (info[UIKeyboardAnimationCurveUserInfoKey] as? NSNumber)?.uintValue { - _animationCurve = UIViewAnimationOptions(rawValue: curve) + if let curve = (info[UIResponder.keyboardAnimationCurveUserInfoKey] as? NSNumber)?.uintValue { + _animationCurve = UIView.AnimationOptions(rawValue: curve) } else { - _animationCurve = UIViewAnimationOptions.curveEaseOut + _animationCurve = UIView.AnimationOptions.curveEaseOut } // Getting keyboard animation duration - if let duration = (info[UIKeyboardAnimationDurationUserInfoKey] as? NSNumber)?.doubleValue { + if let duration = (info[UIResponder.keyboardAnimationDurationUserInfoKey] as? NSNumber)?.doubleValue { //Saving animation duration if duration != 0.0 { @@ -1406,7 +1406,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { } // Getting UIKeyboardSize. - if let kbFrame = (info[UIKeyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue { + if let kbFrame = (info[UIResponder.keyboardFrameEndUserInfoKey] as? NSValue)?.cgRectValue { let screenSize = UIScreen.main.bounds @@ -1536,7 +1536,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { let info : [AnyHashable: Any]? = (notification as NSNotification?)?.userInfo // Getting keyboard animation duration - if let duration = (info?[UIKeyboardAnimationDurationUserInfoKey] as? NSNumber)?.doubleValue { + if let duration = (info?[UIResponder.keyboardAnimationDurationUserInfoKey] as? NSNumber)?.doubleValue { if duration != 0 { // Setitng keyboard animation duration _animationDuration = duration @@ -1558,7 +1558,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { //Restoring the contentOffset of the lastScrollView if let lastScrollView = _lastScrollView { - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in lastScrollView.contentInset = self._startingContentInsets lastScrollView.scrollIndicatorInsets = self._startingScrollIndicatorInsets @@ -1599,7 +1599,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { _topViewBeginRect.size = rootViewController.view.frame.size //Used UIViewAnimationOptionBeginFromCurrentState to minimize strange animations. - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in if let constraint = self._layoutGuideConstraint { @@ -1629,7 +1629,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if let rootViewController = _rootViewController { - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in constraint.constant = self._layoutGuideConstraintInitialConstant rootViewController.view.setNeedsLayout() @@ -1703,7 +1703,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if _textFieldView is UITextView == true && _textFieldView?.inputAccessoryView == nil { - UIView.animate(withDuration: 0.00001, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: 0.00001, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in self.addToolbarIfRequired() @@ -1786,7 +1786,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if isTextViewContentInsetChanged == true { - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in self.isTextViewContentInsetChanged = false @@ -1822,7 +1822,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { if isTextViewContentInsetChanged == true { - UIView.animate(withDuration: _animationDuration, delay: 0, options: UIViewAnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in + UIView.animate(withDuration: _animationDuration, delay: 0, options: UIView.AnimationOptions.beginFromCurrentState.union(_animationCurve), animations: { () -> Void in self.isTextViewContentInsetChanged = false @@ -1846,7 +1846,7 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { let oldStatusBarFrame = _statusBarFrame // Getting keyboard animation duration - if let newFrame = ((notification as NSNotification?)?.userInfo?[UIApplicationStatusBarFrameUserInfoKey] as? NSNumber)?.cgRectValue { + if let newFrame = ((notification as NSNotification?)?.userInfo?[UIApplication.statusBarFrameUserInfoKey] as? NSNumber)?.cgRectValue { _statusBarFrame = newFrame } @@ -2152,43 +2152,43 @@ open class IQKeyboardManager: NSObject, UIGestureRecognizerDelegate { open func registerAllNotifications() { // Registering for keyboard notification. - NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillShow(_:)), name: NSNotification.Name.UIKeyboardWillShow, object: nil) - NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardDidShow(_:)), name: NSNotification.Name.UIKeyboardDidShow, object: nil) - NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillHide(_:)), name: NSNotification.Name.UIKeyboardWillHide, object: nil) - NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardDidHide(_:)), name: NSNotification.Name.UIKeyboardDidHide, object: nil) + NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillShow(_:)), name: UIResponder.keyboardWillShowNotification, object: nil) + NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardDidShow(_:)), name: UIResponder.keyboardDidShowNotification, object: nil) + NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardWillHide(_:)), name: UIResponder.keyboardWillHideNotification, object: nil) + NotificationCenter.default.addObserver(self, selector: #selector(self.keyboardDidHide(_:)), name: UIResponder.keyboardDidHideNotification, object: nil) // Registering for UITextField notification. - registerTextFieldViewClass(UITextField.self, didBeginEditingNotificationName: NSNotification.Name.UITextFieldTextDidBeginEditing.rawValue, didEndEditingNotificationName: NSNotification.Name.UITextFieldTextDidEndEditing.rawValue) + registerTextFieldViewClass(UITextField.self, didBeginEditingNotificationName: UITextField.textDidBeginEditingNotification.rawValue, didEndEditingNotificationName: UITextField.textDidEndEditingNotification.rawValue) // Registering for UITextView notification. - registerTextFieldViewClass(UITextView.self, didBeginEditingNotificationName: NSNotification.Name.UITextViewTextDidBeginEditing.rawValue, didEndEditingNotificationName: NSNotification.Name.UITextViewTextDidEndEditing.rawValue) + registerTextFieldViewClass(UITextView.self, didBeginEditingNotificationName: UITextView.textDidBeginEditingNotification.rawValue, didEndEditingNotificationName: UITextView.textDidEndEditingNotification.rawValue) // Registering for orientation changes notification - NotificationCenter.default.addObserver(self, selector: #selector(self.willChangeStatusBarOrientation(_:)), name: NSNotification.Name.UIApplicationWillChangeStatusBarOrientation, object: UIApplication.shared) + NotificationCenter.default.addObserver(self, selector: #selector(self.willChangeStatusBarOrientation(_:)), name: UIApplication.willChangeStatusBarOrientationNotification, object: UIApplication.shared) // Registering for status bar frame change notification - NotificationCenter.default.addObserver(self, selector: #selector(self.didChangeStatusBarFrame(_:)), name: NSNotification.Name.UIApplicationDidChangeStatusBarFrame, object: UIApplication.shared) + NotificationCenter.default.addObserver(self, selector: #selector(self.didChangeStatusBarFrame(_:)), name: UIApplication.didChangeStatusBarFrameNotification, object: UIApplication.shared) } open func unregisterAllNotifications() { // Unregistering for keyboard notification. - NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardWillShow, object: nil) - NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardDidShow, object: nil) - NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardWillHide, object: nil) - NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIKeyboardDidHide, object: nil) + NotificationCenter.default.removeObserver(self, name: UIResponder.keyboardWillShowNotification, object: nil) + NotificationCenter.default.removeObserver(self, name: UIResponder.keyboardDidShowNotification, object: nil) + NotificationCenter.default.removeObserver(self, name: UIResponder.keyboardWillHideNotification, object: nil) + NotificationCenter.default.removeObserver(self, name: UIResponder.keyboardDidHideNotification, object: nil) // Unregistering for UITextField notification. - unregisterTextFieldViewClass(UITextField.self, didBeginEditingNotificationName: NSNotification.Name.UITextFieldTextDidBeginEditing.rawValue, didEndEditingNotificationName: NSNotification.Name.UITextFieldTextDidEndEditing.rawValue) + unregisterTextFieldViewClass(UITextField.self, didBeginEditingNotificationName: UITextField.textDidBeginEditingNotification.rawValue, didEndEditingNotificationName: UITextField.textDidEndEditingNotification.rawValue) // Unregistering for UITextView notification. - unregisterTextFieldViewClass(UITextView.self, didBeginEditingNotificationName: NSNotification.Name.UITextViewTextDidBeginEditing.rawValue, didEndEditingNotificationName: NSNotification.Name.UITextViewTextDidEndEditing.rawValue) + unregisterTextFieldViewClass(UITextView.self, didBeginEditingNotificationName: UITextView.textDidBeginEditingNotification.rawValue, didEndEditingNotificationName: UITextView.textDidEndEditingNotification.rawValue) // Unregistering for orientation changes notification - NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIApplicationWillChangeStatusBarOrientation, object: UIApplication.shared) + NotificationCenter.default.removeObserver(self, name: UIApplication.willChangeStatusBarOrientationNotification, object: UIApplication.shared) // Unregistering for status bar frame change notification - NotificationCenter.default.removeObserver(self, name: NSNotification.Name.UIApplicationDidChangeStatusBarFrame, object: UIApplication.shared) + NotificationCenter.default.removeObserver(self, name: UIApplication.didChangeStatusBarFrameNotification, object: UIApplication.shared) } fileprivate func showLog(_ logString: String) { diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift index 3825974..b126232 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift @@ -304,7 +304,7 @@ open class IQKeyboardReturnKeyHandler: NSObject , UITextFieldDelegate, UITextVie if let unwrappedTextFields = textFields { //Getting index of current textField. - if let index = unwrappedTextFields.index(of: view) { + if let index = unwrappedTextFields.firstIndex(of: view) { //If it is not last textField. then it's next object becomeFirstResponder. if index < (unwrappedTextFields.count - 1) { @@ -399,7 +399,7 @@ open class IQKeyboardReturnKeyHandler: NSObject , UITextFieldDelegate, UITextVie } @available(iOS 10.0, *) - open func textFieldDidEndEditing(_ textField: UITextField, reason: UITextFieldDidEndEditingReason) { + open func textFieldDidEndEditing(_ textField: UITextField, reason: UITextField.DidEndEditingReason) { var aDelegate : UITextFieldDelegate? = delegate diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift index 301e6f2..377a398 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQTextView/IQTextView.swift @@ -29,17 +29,17 @@ open class IQTextView : UITextView { required public init?(coder aDecoder: NSCoder) { super.init(coder: aDecoder) - NotificationCenter.default.addObserver(self, selector: #selector(self.refreshPlaceholder), name: NSNotification.Name.UITextViewTextDidChange, object: self) + NotificationCenter.default.addObserver(self, selector: #selector(self.refreshPlaceholder), name: UITextView.textDidChangeNotification, object: self) } override init(frame: CGRect, textContainer: NSTextContainer?) { super.init(frame: frame, textContainer: textContainer) - NotificationCenter.default.addObserver(self, selector: #selector(self.refreshPlaceholder), name: NSNotification.Name.UITextViewTextDidChange, object: self) + NotificationCenter.default.addObserver(self, selector: #selector(self.refreshPlaceholder), name: UITextView.textDidChangeNotification, object: self) } override open func awakeFromNib() { super.awakeFromNib() - NotificationCenter.default.addObserver(self, selector: #selector(self.refreshPlaceholder), name: NSNotification.Name.UITextViewTextDidChange, object: self) + NotificationCenter.default.addObserver(self, selector: #selector(self.refreshPlaceholder), name: UITextView.textDidChangeNotification, object: self) } deinit { @@ -98,7 +98,7 @@ open class IQTextView : UITextView { @objc open func refreshPlaceholder() { - if text.characters.count != 0 { + if text.count != 0 { placeholderLabel?.alpha = 0 } else { placeholderLabel?.alpha = 1 diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift index a9c05a7..b70a2c1 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift @@ -46,43 +46,43 @@ open class IQBarButtonItem: UIBarButtonItem { //Title self.appearance().setTitlePositionAdjustment(UIOffset.zero, for: UIBarMetrics.default) - self.appearance().setTitleTextAttributes(nil, for: UIControlState()) - self.appearance().setTitleTextAttributes(nil, for: UIControlState.highlighted) - self.appearance().setTitleTextAttributes(nil, for: UIControlState.disabled) - self.appearance().setTitleTextAttributes(nil, for: UIControlState.selected) - self.appearance().setTitleTextAttributes(nil, for: UIControlState.application) - self.appearance().setTitleTextAttributes(nil, for: UIControlState.reserved) + self.appearance().setTitleTextAttributes(nil, for: UIControl.State()) + self.appearance().setTitleTextAttributes(nil, for: UIControl.State.highlighted) + self.appearance().setTitleTextAttributes(nil, for: UIControl.State.disabled) + self.appearance().setTitleTextAttributes(nil, for: UIControl.State.selected) + self.appearance().setTitleTextAttributes(nil, for: UIControl.State.application) + self.appearance().setTitleTextAttributes(nil, for: UIControl.State.reserved) //Background Image - self.appearance().setBackgroundImage(nil, for: UIControlState(), barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.highlighted, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.disabled, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.selected, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.application, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.reserved, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State(), barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.highlighted, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.disabled, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.selected, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.application, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.reserved, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState(), style: UIBarButtonItemStyle.done, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.highlighted, style: UIBarButtonItemStyle.done, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.disabled, style: UIBarButtonItemStyle.done, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.selected, style: UIBarButtonItemStyle.done, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.application, style: UIBarButtonItemStyle.done, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.reserved, style: UIBarButtonItemStyle.done, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State(), style: UIBarButtonItem.Style.done, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.highlighted, style: UIBarButtonItem.Style.done, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.disabled, style: UIBarButtonItem.Style.done, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.selected, style: UIBarButtonItem.Style.done, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.application, style: UIBarButtonItem.Style.done, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.reserved, style: UIBarButtonItem.Style.done, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState(), style: UIBarButtonItemStyle.plain, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.highlighted, style: UIBarButtonItemStyle.plain, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.disabled, style: UIBarButtonItemStyle.plain, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.selected, style: UIBarButtonItemStyle.plain, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.application, style: UIBarButtonItemStyle.plain, barMetrics: UIBarMetrics.default) - self.appearance().setBackgroundImage(nil, for: UIControlState.reserved, style: UIBarButtonItemStyle.plain, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State(), style: UIBarButtonItem.Style.plain, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.highlighted, style: UIBarButtonItem.Style.plain, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.disabled, style: UIBarButtonItem.Style.plain, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.selected, style: UIBarButtonItem.Style.plain, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.application, style: UIBarButtonItem.Style.plain, barMetrics: UIBarMetrics.default) + self.appearance().setBackgroundImage(nil, for: UIControl.State.reserved, style: UIBarButtonItem.Style.plain, barMetrics: UIBarMetrics.default) self.appearance().setBackgroundVerticalPositionAdjustment(0, for: UIBarMetrics.default) //Back Button - self.appearance().setBackButtonBackgroundImage(nil, for: UIControlState(), barMetrics: UIBarMetrics.default) - self.appearance().setBackButtonBackgroundImage(nil, for: UIControlState.highlighted, barMetrics: UIBarMetrics.default) - self.appearance().setBackButtonBackgroundImage(nil, for: UIControlState.disabled, barMetrics: UIBarMetrics.default) - self.appearance().setBackButtonBackgroundImage(nil, for: UIControlState.selected, barMetrics: UIBarMetrics.default) - self.appearance().setBackButtonBackgroundImage(nil, for: UIControlState.application, barMetrics: UIBarMetrics.default) - self.appearance().setBackButtonBackgroundImage(nil, for: UIControlState.reserved, barMetrics: UIBarMetrics.default) + self.appearance().setBackButtonBackgroundImage(nil, for: UIControl.State(), barMetrics: UIBarMetrics.default) + self.appearance().setBackButtonBackgroundImage(nil, for: UIControl.State.highlighted, barMetrics: UIBarMetrics.default) + self.appearance().setBackButtonBackgroundImage(nil, for: UIControl.State.disabled, barMetrics: UIBarMetrics.default) + self.appearance().setBackButtonBackgroundImage(nil, for: UIControl.State.selected, barMetrics: UIBarMetrics.default) + self.appearance().setBackButtonBackgroundImage(nil, for: UIControl.State.application, barMetrics: UIBarMetrics.default) + self.appearance().setBackButtonBackgroundImage(nil, for: UIControl.State.reserved, barMetrics: UIBarMetrics.default) self.appearance().setBackButtonTitlePositionAdjustment(UIOffset.zero, for: UIBarMetrics.default) self.appearance().setBackButtonBackgroundVerticalPositionAdjustment(0, for: UIBarMetrics.default) diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift index ba2dde2..df22be9 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift @@ -40,7 +40,7 @@ open class IQTitleBarButtonItem: IQBarButtonItem { override open var title: String? { didSet { - _titleButton?.setTitle(title, for: UIControlState()) + _titleButton?.setTitle(title, for: UIControl.State()) } } @@ -51,9 +51,9 @@ open class IQTitleBarButtonItem: IQBarButtonItem { didSet { if let color = selectableTextColor { - _titleButton?.setTitleColor(color, for:UIControlState()) + _titleButton?.setTitleColor(color, for:UIControl.State()) } else { - _titleButton?.setTitleColor(UIColor.init(red: 0.0, green: 0.5, blue: 1.0, alpha: 1), for:UIControlState()) + _titleButton?.setTitleColor(UIColor.init(red: 0.0, green: 0.5, blue: 1.0, alpha: 1), for:UIControl.State()) } } } @@ -89,7 +89,7 @@ open class IQTitleBarButtonItem: IQBarButtonItem { convenience init(title : String?) { - self.init(title: nil, style: UIBarButtonItemStyle.plain, target: nil, action: nil) + self.init(title: nil, style: UIBarButtonItem.Style.plain, target: nil, action: nil) _titleView = UIView() _titleView?.backgroundColor = UIColor.clear @@ -98,10 +98,10 @@ open class IQTitleBarButtonItem: IQBarButtonItem { _titleButton?.isEnabled = false _titleButton?.titleLabel?.numberOfLines = 3 _titleButton?.setTitleColor(UIColor.lightGray, for:.disabled) - _titleButton?.setTitleColor(UIColor.init(red: 0.0, green: 0.5, blue: 1.0, alpha: 1), for:UIControlState()) + _titleButton?.setTitleColor(UIColor.init(red: 0.0, green: 0.5, blue: 1.0, alpha: 1), for:UIControl.State()) _titleButton?.backgroundColor = UIColor.clear _titleButton?.titleLabel?.textAlignment = .center - _titleButton?.setTitle(title, for: UIControlState()) + _titleButton?.setTitle(title, for: UIControl.State()) titleFont = UIFont.systemFont(ofSize: 13.0) _titleButton?.titleLabel?.font = self.titleFont _titleView?.addSubview(_titleButton!) diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift index d99adc5..969ff37 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift @@ -125,7 +125,7 @@ open class IQToolbar: UIToolbar , UIInputViewAudioFeedback { super.init(frame: frame) sizeToFit() - autoresizingMask = UIViewAutoresizing.flexibleWidth + autoresizingMask = UIView.AutoresizingMask.flexibleWidth tintColor = UIColor.black self.isTranslucent = true } @@ -135,7 +135,7 @@ open class IQToolbar: UIToolbar , UIInputViewAudioFeedback { super.init(coder: aDecoder) sizeToFit() - autoresizingMask = UIViewAutoresizing.flexibleWidth + autoresizingMask = UIView.AutoresizingMask.flexibleWidth tintColor = UIColor.black self.isTranslucent = true } diff --git a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift index 0203268..1edacab 100644 --- a/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift +++ b/Pods/IQKeyboardManagerSwift/IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift @@ -56,7 +56,7 @@ public extension UIView { /** IQToolbar references for better customization control. */ - public var keyboardToolbar: IQToolbar { + var keyboardToolbar: IQToolbar { get { var toolbar = inputAccessoryView as? IQToolbar @@ -87,7 +87,7 @@ public extension UIView { /** If `shouldHideToolbarPlaceholder` is YES, then title will not be added to the toolbar. Default to NO. */ - public var shouldHideToolbarPlaceholder: Bool { + var shouldHideToolbarPlaceholder: Bool { get { let aValue: AnyObject? = objc_getAssociatedObject(self, &kIQShouldHideToolbarPlaceholder) as AnyObject? @@ -105,7 +105,7 @@ public extension UIView { } @available(*,deprecated, message: "This is renamed to `shouldHideToolbarPlaceholder` for more clear naming.") - public var shouldHidePlaceholderText: Bool { + var shouldHidePlaceholderText: Bool { get { return shouldHideToolbarPlaceholder } @@ -117,7 +117,7 @@ public extension UIView { /** `toolbarPlaceholder` to override default `placeholder` text when drawing text on toolbar. */ - public var toolbarPlaceholder: String? { + var toolbarPlaceholder: String? { get { let aValue = objc_getAssociatedObject(self, &kIQToolbarPlaceholder) as? String @@ -131,7 +131,7 @@ public extension UIView { } @available(*,deprecated, message: "This is renamed to `toolbarPlaceholder` for more clear naming.") - public var placeholderText: String? { + var placeholderText: String? { get { return toolbarPlaceholder } @@ -143,7 +143,7 @@ public extension UIView { /** `drawingToolbarPlaceholder` will be actual text used to draw on toolbar. This would either `placeholder` or `toolbarPlaceholder`. */ - public var drawingToolbarPlaceholder: String? { + var drawingToolbarPlaceholder: String? { if (self.shouldHideToolbarPlaceholder) { @@ -168,7 +168,7 @@ public extension UIView { } @available(*,deprecated, message: "This is renamed to `drawingToolbarPlaceholder` for more clear naming.") - public var drawingPlaceholderText: String? { + var drawingPlaceholderText: String? { return drawingToolbarPlaceholder } @@ -180,7 +180,7 @@ public extension UIView { fileprivate static func flexibleBarButtonItem () -> IQBarButtonItem { struct Static { - static let nilButton = IQBarButtonItem(barButtonSystemItem:UIBarButtonSystemItem.flexibleSpace, target: nil, action: nil) + static let nilButton = IQBarButtonItem(barButtonSystemItem:UIBarButtonItem.SystemItem.flexibleSpace, target: nil, action: nil) } Static.nilButton.isSystemItem = true @@ -197,7 +197,7 @@ public extension UIView { @param target Target object for selector. @param action Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. */ - public func addDoneOnKeyboardWithTarget(_ target : AnyObject?, action : Selector) { + func addDoneOnKeyboardWithTarget(_ target : AnyObject?, action : Selector) { addDoneOnKeyboardWithTarget(target, action: action, titleText: nil) } @@ -209,7 +209,7 @@ public extension UIView { @param action Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addDoneOnKeyboardWithTarget (_ target : AnyObject?, action : Selector, titleText: String?) { + func addDoneOnKeyboardWithTarget (_ target : AnyObject?, action : Selector, titleText: String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -239,7 +239,7 @@ public extension UIView { //Done button var doneButton = toolbar.doneBarButton if doneButton.isSystemItem == false { - doneButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.done, target: target, action: action) + doneButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.done, target: target, action: action) doneButton.isSystemItem = true doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel @@ -281,7 +281,7 @@ public extension UIView { @param action Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. */ - public func addDoneOnKeyboardWithTarget (_ target : AnyObject?, action : Selector, shouldShowPlaceholder: Bool) { + func addDoneOnKeyboardWithTarget (_ target : AnyObject?, action : Selector, shouldShowPlaceholder: Bool) { var title : String? @@ -305,7 +305,7 @@ public extension UIView { @param action Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addRightButtonOnKeyboardWithImage (_ image : UIImage, target : AnyObject?, action : Selector, titleText: String?) { + func addRightButtonOnKeyboardWithImage (_ image : UIImage, target : AnyObject?, action : Selector, titleText: String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -342,7 +342,7 @@ public extension UIView { } else { - doneButton = IQBarButtonItem(image: image, style: UIBarButtonItemStyle.done, target: target, action: action) + doneButton = IQBarButtonItem(image: image, style: UIBarButtonItem.Style.done, target: target, action: action) doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel toolbar.doneBarButton = doneButton @@ -384,7 +384,7 @@ public extension UIView { @param action Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. */ - public func addRightButtonOnKeyboardWithImage (_ image : UIImage, target : AnyObject?, action : Selector, shouldShowPlaceholder: Bool) { + func addRightButtonOnKeyboardWithImage (_ image : UIImage, target : AnyObject?, action : Selector, shouldShowPlaceholder: Bool) { var title : String? @@ -402,7 +402,7 @@ public extension UIView { @param target Target object for selector. @param action Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. */ - public func addRightButtonOnKeyboardWithText (_ text : String, target : AnyObject?, action : Selector) { + func addRightButtonOnKeyboardWithText (_ text : String, target : AnyObject?, action : Selector) { addRightButtonOnKeyboardWithText(text, target: target, action: action, titleText: nil) } @@ -415,7 +415,7 @@ public extension UIView { @param action Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addRightButtonOnKeyboardWithText (_ text : String, target : AnyObject?, action : Selector, titleText: String?) { + func addRightButtonOnKeyboardWithText (_ text : String, target : AnyObject?, action : Selector, titleText: String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -452,7 +452,7 @@ public extension UIView { } else { - doneButton = IQBarButtonItem(title: text, style: UIBarButtonItemStyle.done, target: target, action: action) + doneButton = IQBarButtonItem(title: text, style: UIBarButtonItem.Style.done, target: target, action: action) doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel toolbar.doneBarButton = doneButton @@ -494,7 +494,7 @@ public extension UIView { @param action Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. */ - public func addRightButtonOnKeyboardWithText (_ text : String, target : AnyObject?, action : Selector, shouldShowPlaceholder: Bool) { + func addRightButtonOnKeyboardWithText (_ text : String, target : AnyObject?, action : Selector, shouldShowPlaceholder: Bool) { var title : String? @@ -517,7 +517,7 @@ public extension UIView { @param cancelAction Cancel button action name. Usually 'cancelAction:(IQBarButtonItem*)item'. @param doneAction Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. */ - public func addCancelDoneOnKeyboardWithTarget (_ target : AnyObject?, cancelAction : Selector, doneAction : Selector) { + func addCancelDoneOnKeyboardWithTarget (_ target : AnyObject?, cancelAction : Selector, doneAction : Selector) { addCancelDoneOnKeyboardWithTarget(target, cancelAction: cancelAction, doneAction: doneAction, titleText: nil) } @@ -530,7 +530,7 @@ public extension UIView { @param doneAction Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addCancelDoneOnKeyboardWithTarget (_ target : AnyObject?, cancelAction : Selector, doneAction : Selector, titleText: String?) { + func addCancelDoneOnKeyboardWithTarget (_ target : AnyObject?, cancelAction : Selector, doneAction : Selector, titleText: String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -542,7 +542,7 @@ public extension UIView { //Cancel button var cancelButton = toolbar.previousBarButton if cancelButton.isSystemItem == false { - cancelButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.cancel, target: target, action: cancelAction) + cancelButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.cancel, target: target, action: cancelAction) cancelButton.isSystemItem = true cancelButton.invocation = toolbar.previousBarButton.invocation cancelButton.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel @@ -571,7 +571,7 @@ public extension UIView { //Done button var doneButton = toolbar.doneBarButton if doneButton.isSystemItem == false { - doneButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.done, target: target, action: doneAction) + doneButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.done, target: target, action: doneAction) doneButton.isSystemItem = true doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel @@ -614,7 +614,7 @@ public extension UIView { @param doneAction Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. */ - public func addCancelDoneOnKeyboardWithTarget (_ target : AnyObject?, cancelAction : Selector, doneAction : Selector, shouldShowPlaceholder: Bool) { + func addCancelDoneOnKeyboardWithTarget (_ target : AnyObject?, cancelAction : Selector, doneAction : Selector, shouldShowPlaceholder: Bool) { var title : String? @@ -639,7 +639,7 @@ public extension UIView { @param leftButtonAction Left button action name. Usually 'cancelAction:(IQBarButtonItem*)item'. @param rightButtonAction Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. */ - public func addRightLeftOnKeyboardWithTarget( _ target : AnyObject?, leftButtonTitle : String, rightButtonTitle : String, rightButtonAction : Selector, leftButtonAction : Selector) { + func addRightLeftOnKeyboardWithTarget( _ target : AnyObject?, leftButtonTitle : String, rightButtonTitle : String, rightButtonAction : Selector, leftButtonAction : Selector) { addRightLeftOnKeyboardWithTarget(target, leftButtonTitle: leftButtonTitle, rightButtonTitle: rightButtonTitle, rightButtonAction: rightButtonAction, leftButtonAction: leftButtonAction, titleText: nil) } @@ -654,7 +654,7 @@ public extension UIView { @param rightButtonAction Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addRightLeftOnKeyboardWithTarget( _ target : AnyObject?, leftButtonTitle : String, rightButtonTitle : String, rightButtonAction : Selector, leftButtonAction : Selector, titleText: String?) { + func addRightLeftOnKeyboardWithTarget( _ target : AnyObject?, leftButtonTitle : String, rightButtonTitle : String, rightButtonAction : Selector, leftButtonAction : Selector, titleText: String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -673,7 +673,7 @@ public extension UIView { } else { - cancelButton = IQBarButtonItem(title: leftButtonTitle, style: UIBarButtonItemStyle.plain, target: target, action: leftButtonAction) + cancelButton = IQBarButtonItem(title: leftButtonTitle, style: UIBarButtonItem.Style.plain, target: target, action: leftButtonAction) cancelButton.invocation = toolbar.previousBarButton.invocation cancelButton.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel toolbar.previousBarButton = cancelButton @@ -708,7 +708,7 @@ public extension UIView { } else { - doneButton = IQBarButtonItem(title: rightButtonTitle, style: UIBarButtonItemStyle.done, target: target, action: rightButtonAction) + doneButton = IQBarButtonItem(title: rightButtonTitle, style: UIBarButtonItem.Style.done, target: target, action: rightButtonAction) doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel toolbar.doneBarButton = doneButton @@ -752,7 +752,7 @@ public extension UIView { @param rightButtonAction Right button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. */ - public func addRightLeftOnKeyboardWithTarget( _ target : AnyObject?, leftButtonTitle : String, rightButtonTitle : String, rightButtonAction : Selector, leftButtonAction : Selector, shouldShowPlaceholder: Bool) { + func addRightLeftOnKeyboardWithTarget( _ target : AnyObject?, leftButtonTitle : String, rightButtonTitle : String, rightButtonAction : Selector, leftButtonAction : Selector, shouldShowPlaceholder: Bool) { var title : String? @@ -776,7 +776,7 @@ public extension UIView { @param nextAction Next button action name. Usually 'nextAction:(id)item'. @param doneAction Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. */ - public func addPreviousNextDoneOnKeyboardWithTarget ( _ target : AnyObject?, previousAction : Selector, nextAction : Selector, doneAction : Selector) { + func addPreviousNextDoneOnKeyboardWithTarget ( _ target : AnyObject?, previousAction : Selector, nextAction : Selector, doneAction : Selector) { addPreviousNextDoneOnKeyboardWithTarget(target, previousAction: previousAction, nextAction: nextAction, doneAction: doneAction, titleText: nil) } @@ -790,7 +790,7 @@ public extension UIView { @param doneAction Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addPreviousNextDoneOnKeyboardWithTarget ( _ target : AnyObject?, previousAction : Selector, nextAction : Selector, doneAction : Selector, titleText: String?) { + func addPreviousNextDoneOnKeyboardWithTarget ( _ target : AnyObject?, previousAction : Selector, nextAction : Selector, doneAction : Selector, titleText: String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -834,7 +834,7 @@ public extension UIView { } else { - prev = IQBarButtonItem(image: imageLeftArrow, style: UIBarButtonItemStyle.plain, target: target, action: previousAction) + prev = IQBarButtonItem(image: imageLeftArrow, style: UIBarButtonItem.Style.plain, target: target, action: previousAction) prev.invocation = toolbar.previousBarButton.invocation prev.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel toolbar.previousBarButton = prev @@ -850,7 +850,7 @@ public extension UIView { } else { - next = IQBarButtonItem(image: imageRightArrow, style: UIBarButtonItemStyle.plain, target: target, action: nextAction) + next = IQBarButtonItem(image: imageRightArrow, style: UIBarButtonItem.Style.plain, target: target, action: nextAction) next.invocation = toolbar.nextBarButton.invocation next.accessibilityLabel = toolbar.nextBarButton.accessibilityLabel toolbar.nextBarButton = next @@ -860,7 +860,7 @@ public extension UIView { items.append(prev) //Fixed space - let fixed = IQBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.fixedSpace, target: nil, action: nil) + let fixed = IQBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.fixedSpace, target: nil, action: nil) fixed.isSystemItem = true if #available(iOS 10, *) { fixed.width = 6 @@ -892,7 +892,7 @@ public extension UIView { //Done button var doneButton = toolbar.doneBarButton if doneButton.isSystemItem == false { - doneButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.done, target: target, action: doneAction) + doneButton = IQBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.done, target: target, action: doneAction) doneButton.isSystemItem = true doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel @@ -936,7 +936,7 @@ public extension UIView { @param doneAction Done button action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. */ - public func addPreviousNextDoneOnKeyboardWithTarget ( _ target : AnyObject?, previousAction : Selector, nextAction : Selector, doneAction : Selector, shouldShowPlaceholder: Bool) { + func addPreviousNextDoneOnKeyboardWithTarget ( _ target : AnyObject?, previousAction : Selector, nextAction : Selector, doneAction : Selector, shouldShowPlaceholder: Bool) { var title : String? @@ -961,7 +961,7 @@ public extension UIView { @param rightButtonAction RightBarButton action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonImage : UIImage, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, titleText : String?) { + func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonImage : UIImage, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, titleText : String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -1006,7 +1006,7 @@ public extension UIView { } else { - prev = IQBarButtonItem(image: imageLeftArrow, style: UIBarButtonItemStyle.plain, target: target, action: previousAction) + prev = IQBarButtonItem(image: imageLeftArrow, style: UIBarButtonItem.Style.plain, target: target, action: previousAction) prev.invocation = toolbar.previousBarButton.invocation prev.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel toolbar.previousBarButton = prev @@ -1022,7 +1022,7 @@ public extension UIView { } else { - next = IQBarButtonItem(image: imageRightArrow, style: UIBarButtonItemStyle.plain, target: target, action: nextAction) + next = IQBarButtonItem(image: imageRightArrow, style: UIBarButtonItem.Style.plain, target: target, action: nextAction) next.invocation = toolbar.nextBarButton.invocation next.accessibilityLabel = toolbar.nextBarButton.accessibilityLabel toolbar.nextBarButton = next @@ -1032,7 +1032,7 @@ public extension UIView { items.append(prev) //Fixed space - let fixed = IQBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.fixedSpace, target: nil, action: nil) + let fixed = IQBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.fixedSpace, target: nil, action: nil) fixed.isSystemItem = true if #available(iOS 10, *) { fixed.width = 6 @@ -1071,7 +1071,7 @@ public extension UIView { } else { - doneButton = IQBarButtonItem(image: rightButtonImage, style: UIBarButtonItemStyle.done, target: target, action: rightButtonAction) + doneButton = IQBarButtonItem(image: rightButtonImage, style: UIBarButtonItem.Style.done, target: target, action: rightButtonAction) doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel toolbar.doneBarButton = doneButton @@ -1115,7 +1115,7 @@ public extension UIView { // @param rightButtonAction RightBarButton action name. Usually 'doneAction:(IQBarButtonItem*)item'. // @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. // */ - public func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonImage : UIImage, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, shouldShowPlaceholder : Bool) { + func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonImage : UIImage, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, shouldShowPlaceholder : Bool) { var title : String? @@ -1136,7 +1136,7 @@ public extension UIView { @param nextAction Next button action name. Usually 'nextAction:(id)item'. @param rightButtonAction RightBarButton action name. Usually 'doneAction:(IQBarButtonItem*)item'. */ - public func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonTitle : String, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector) { + func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonTitle : String, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector) { addPreviousNextRightOnKeyboardWithTarget(target, rightButtonTitle: rightButtonTitle, previousAction: previousAction, nextAction: nextAction, rightButtonAction: rightButtonAction, titleText: nil) } @@ -1151,7 +1151,7 @@ public extension UIView { @param rightButtonAction RightBarButton action name. Usually 'doneAction:(IQBarButtonItem*)item'. @param titleText text to show as title in IQToolbar'. */ - public func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonTitle : String, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, titleText : String?) { + func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonTitle : String, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, titleText : String?) { //If can't set InputAccessoryView. Then return if self.responds(to: #selector(setter: UITextField.inputAccessoryView)) { @@ -1195,7 +1195,7 @@ public extension UIView { } else { - prev = IQBarButtonItem(image: imageLeftArrow, style: UIBarButtonItemStyle.plain, target: target, action: previousAction) + prev = IQBarButtonItem(image: imageLeftArrow, style: UIBarButtonItem.Style.plain, target: target, action: previousAction) prev.invocation = toolbar.previousBarButton.invocation prev.accessibilityLabel = toolbar.previousBarButton.accessibilityLabel toolbar.previousBarButton = prev @@ -1211,7 +1211,7 @@ public extension UIView { } else { - next = IQBarButtonItem(image: imageRightArrow, style: UIBarButtonItemStyle.plain, target: target, action: nextAction) + next = IQBarButtonItem(image: imageRightArrow, style: UIBarButtonItem.Style.plain, target: target, action: nextAction) next.invocation = toolbar.nextBarButton.invocation next.accessibilityLabel = toolbar.nextBarButton.accessibilityLabel toolbar.nextBarButton = next @@ -1221,7 +1221,7 @@ public extension UIView { items.append(prev) //Fixed space - let fixed = IQBarButtonItem(barButtonSystemItem: UIBarButtonSystemItem.fixedSpace, target: nil, action: nil) + let fixed = IQBarButtonItem(barButtonSystemItem: UIBarButtonItem.SystemItem.fixedSpace, target: nil, action: nil) fixed.isSystemItem = true if #available(iOS 10, *) { fixed.width = 6 @@ -1260,7 +1260,7 @@ public extension UIView { } else { - doneButton = IQBarButtonItem(title: rightButtonTitle, style: UIBarButtonItemStyle.done, target: target, action: rightButtonAction) + doneButton = IQBarButtonItem(title: rightButtonTitle, style: UIBarButtonItem.Style.done, target: target, action: rightButtonAction) doneButton.invocation = toolbar.doneBarButton.invocation doneButton.accessibilityLabel = toolbar.doneBarButton.accessibilityLabel toolbar.doneBarButton = doneButton @@ -1304,7 +1304,7 @@ public extension UIView { // @param rightButtonAction RightBarButton action name. Usually 'doneAction:(IQBarButtonItem*)item'. // @param shouldShowPlaceholder A boolean to indicate whether to show textField placeholder on IQToolbar'. // */ - public func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonTitle : String, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, shouldShowPlaceholder : Bool) { + func addPreviousNextRightOnKeyboardWithTarget( _ target : AnyObject?, rightButtonTitle : String, previousAction : Selector, nextAction : Selector, rightButtonAction : Selector, shouldShowPlaceholder : Bool) { var title : String? diff --git a/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/Extensions.swift b/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/Extensions.swift new file mode 100644 index 0000000..fa5834f --- /dev/null +++ b/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/Extensions.swift @@ -0,0 +1,33 @@ +// +// Extensions.swift +// KRActivityIndicatorView +// +// Copyright © 2018 Krimpedance. All rights reserved. +// + +import UIKit + +extension CAGradientLayer { + func color(point: CGPoint) -> UIColor { + var pixel: [UInt8] = [0, 0, 0, 0] + let context = CGContext( + data: &pixel, + width: 1, + height: 1, + bitsPerComponent: 8, + bytesPerRow: 4, + space: CGColorSpaceCreateDeviceRGB(), + bitmapInfo: CGImageAlphaInfo.premultipliedLast.rawValue + ) + + context!.translateBy(x: -point.x, y: -point.y) + render(in: context!) + + let red: CGFloat = CGFloat(pixel[0])/255.0 + let green: CGFloat = CGFloat(pixel[1])/255.0 + let blue: CGFloat = CGFloat(pixel[2])/255.0 + let alpha: CGFloat = CGFloat(pixel[3])/255.0 + + return UIColor(red: red, green: green, blue: blue, alpha: alpha) + } +} diff --git a/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorPath.swift b/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorPath.swift deleted file mode 100644 index 2d7ba57..0000000 --- a/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorPath.swift +++ /dev/null @@ -1,40 +0,0 @@ -// -// KRActivityIndicatorPath.swift -// KRActivityIndicatorView -// -// Copyright © 2017年 Krimpedance. All rights reserved. -// - -import UIKit - -/** - * KRActivityIndicator Path - */ - -struct KRActivityIndicatorPath { - private static let paths: [CGPath] = [ - UIBezierPath(ovalIn: CGRect(x: 4.472, y: 0.209, width: 4.801, height: 4.801)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 0.407, y: 5.154, width: 4.321, height: 4.321)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 0.93, y: 11.765, width: 3.841, height: 3.841)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 5.874, y: 16.31, width: 3.361, height: 3.361)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 12.341, y: 16.126, width: 3.169, height: 3.169)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 16.912, y: 11.668, width: 2.641, height: 2.641)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 16.894, y: 5.573, width: 2.115, height: 2.115)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 12.293, y: 1.374, width: 1.901, height: 1.901)).cgPath - ] - - private static let largePaths: [CGPath] = [ - UIBezierPath(ovalIn: CGRect(x: 12.013, y: 1.962, width: 8.336, height: 8.336)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 1.668, y: 14.14, width: 7.502, height: 7.502)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 2.792, y: 30.484, width: 6.668, height: 6.668)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 14.968, y: 41.665, width: 5.835, height: 5.835)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 31.311, y: 41.381, width: 5.001, height: 5.001)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 42.496, y: 30.041, width: 4.168, height: 4.168)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 42.209, y: 14.515, width: 3.338, height: 3.338)).cgPath, - UIBezierPath(ovalIn: CGRect(x: 30.857, y: 4.168, width: 2.501, height: 2.501)).cgPath - ] - - static func getPath(isLarge: Bool) -> [CGPath] { - return isLarge ? largePaths : paths - } -} diff --git a/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorView.swift b/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorView.swift index c8bf661..39067f2 100644 --- a/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorView.swift +++ b/Pods/KRActivityIndicatorView/KRActivityIndicatorView/Classes/KRActivityIndicatorView.swift @@ -1,151 +1,221 @@ // -// KRProgressIndicator.swift -// KRProgressIndicator +// KRActivityIndicatorView.swift +// KRActivityIndicatorView // -// Copyright © 2016年 Krimpedance. All rights reserved. +// Copyright © 2016 Krimpedance. All rights reserved. // import UIKit -/** - * KRActivityIndicatorView is a simple and customizable activity indicator - */ +/// KRActivityIndicatorView is a simple and customizable activity indicator @IBDesignable public final class KRActivityIndicatorView: UIView { - fileprivate var animationLayer = CALayer() - - /// Activity indicator's head color (read-only). - /// If you change color, change activityIndicatorViewStyle property. - @IBInspectable public fileprivate(set) var headColor: UIColor { - get { - return style.headColor - } - set { - style = .gradationColor(head: newValue, tail: tailColor) - } - } - - /// Activity indicator's tail color (read-only). - /// If you change color, change activityIndicatorViewStyle property. - @IBInspectable public fileprivate(set) var tailColor: UIColor { - get { - return style.tailColor - } - set { - style = .gradationColor(head: headColor, tail: newValue) - } - } - - /// Size of activity indicator. - /// Default(false) size is 20x20, large size is 50x50. - @IBInspectable public var isLarge: Bool = false { - didSet { viewResized() } - } - - /// Animation of activity indicator when it's shown. - @IBInspectable public var animating: Bool = true { - didSet { animating ? startAnimating() : stopAnimating() } - } - - /// set `true` to `isHidden` when call `stopAnimating()` - @IBInspectable public var hidesWhenStopped: Bool = false { - didSet { animationLayer.isHidden = !isAnimating && hidesWhenStopped } - } - - /// Activity indicator color style. - public var style = KRActivityIndicatorViewStyle.gradationColor(head: .black, tail: .lightGray) { - didSet { drawIndicatorPath() } - } - - /// Whether view performs animation - public var isAnimating: Bool { - return animationLayer.animation(forKey: "rotate") != nil - } - - public required init?(coder aDecoder: NSCoder) { - super.init(coder: aDecoder) - backgroundColor = UIColor.clear - layer.addSublayer(animationLayer) - } - - public override init(frame: CGRect) { - super.init(frame: frame) - backgroundColor = UIColor.clear - layer.addSublayer(animationLayer) - } - - public convenience init() { - self.init(frame: CGRect(x: 0, y: 0, width: 20, height: 20)) - backgroundColor = UIColor.clear - layer.addSublayer(animationLayer) - } - - /** - Initializes and returns a newly allocated view object with the specified position. - An initialized view object or nil if the object couldn't be created. - - - parameter activityIndicatorStyle: Activity indicator default color use of KRActivityIndicatorViewStyle - */ - public convenience init(style: KRActivityIndicatorViewStyle) { - self.init(frame: CGRect(x: 0, y: 0, width: 20, height: 20)) - self.style = style - backgroundColor = UIColor.clear - layer.addSublayer(animationLayer) - } - - public override func layoutSubviews() { - super.layoutSubviews() - viewResized() - if animating { startAnimating() } - } + private let animationKey = "KRActivityIndicatorViewAnimationKey" + + private var animationLayer = CALayer() + + /// Activity indicator's head color (read-only). + /// You can set head color from IB. + /// If you want to change color from code, use colors property. + @IBInspectable public fileprivate(set) var headColor: UIColor { + get { return colors.first ?? .black } + set { colors = [newValue, tailColor] } + } + + /// Activity indicator's tail color (read-only). + /// You can set tail color from IB. + /// If you want to change color from code, use colors property. + @IBInspectable public fileprivate(set) var tailColor: UIColor { + get { return colors.last ?? .black } + set { colors = [headColor, newValue] } + } + + /// Number of dots + @IBInspectable public var numberOfDots: Int = 8 { + didSet { drawIndicatorPath() } + } + + // Duration for one rotation + @IBInspectable public var duration: Double = 1.0 { + didSet { + guard isAnimating else { return } + stopAnimating() + startAnimating() + } + } + + /// Animation of activity indicator when it's shown. + @IBInspectable public var animating: Bool = true { + didSet { animating ? startAnimating() : stopAnimating() } + } + + /// set `true` to `isHidden` when call `stopAnimating()` + @IBInspectable public var hidesWhenStopped: Bool = false { + didSet { animationLayer.isHidden = !isAnimating && hidesWhenStopped } + } + + /// Activity indicator gradient colors. + public var colors: [UIColor] = [.black, .lightGray] { + didSet { drawIndicatorPath() } + } + + /// Whether view performs animation + public var isAnimating: Bool { + return animationLayer.animation(forKey: animationKey) != nil + } + + // Initializer ---------- + + public required init?(coder aDecoder: NSCoder) { + super.init(coder: aDecoder) + layer.addSublayer(animationLayer) + } + + public override init(frame: CGRect) { + super.init(frame: frame) + backgroundColor = UIColor.clear + layer.addSublayer(animationLayer) + } + + /// Initializer + public convenience init() { + self.init(frame: CGRect(x: 0, y: 0, width: 20, height: 20)) + } + + /// Initializer with colors + /// + /// - Parameter colors: Activity indicator gradient colors. + public convenience init(colors: [UIColor]) { + self.init(frame: CGRect(x: 0, y: 0, width: 20, height: 20)) + self.colors = colors + } + + // Deprecated ---------- + + /// Activity indicator color style. + @available(*, deprecated) + public var style = KRActivityIndicatorViewStyle.gradationColor(head: .black, tail: .lightGray) { + didSet { colors = [style.headColor, style.tailColor] } + } + + /// Initialize with style. + /// - Parameter style: Activity indicator default color use of KRActivityIndicatorViewStyle + @available(*, deprecated) + public convenience init(style: KRActivityIndicatorViewStyle) { + self.init(colors: [style.headColor, style.tailColor]) + } + + // Lyfecycle ---------- + + public override func layoutSubviews() { + super.layoutSubviews() + viewResized() + } } -extension KRActivityIndicatorView { - public func startAnimating() { - if animationLayer.animation(forKey: "rotate") != nil { return } - - let animation = CABasicAnimation(keyPath: "transform.rotation") - animation.fromValue = 0 - animation.toValue = Double.pi * 2 - animation.duration = 1.1 - animation.timingFunction = CAMediaTimingFunction(name: kCAMediaTimingFunctionLinear) - animation.isRemovedOnCompletion = false - animation.repeatCount = Float(NSIntegerMax) - animation.fillMode = kCAFillModeForwards - animation.autoreverses = false - - animationLayer.isHidden = false - animationLayer.add(animation, forKey: "rotate") - } - - public func stopAnimating() { - animationLayer.removeAllAnimations() - animationLayer.isHidden = hidesWhenStopped - } -} +// MARK: - Private actions ------------ private extension KRActivityIndicatorView { - func viewResized() { - let layerSize: CGFloat = isLarge ? 50 : 20 - animationLayer.frame = CGRect(x: 0, y: 0, width: layerSize, height: layerSize) - animationLayer.position = CGPoint(x: layer.position.x-layer.frame.origin.x, y: layer.position.y-layer.frame.origin.y) - animationLayer.isHidden = !isAnimating && hidesWhenStopped - drawIndicatorPath() - } - - func drawIndicatorPath() { - animationLayer.sublayers?.forEach { $0.removeFromSuperlayer() } - - let paths = KRActivityIndicatorPath.getPath(isLarge: isLarge) - let colors = style.getGradientColors(dividedIn: paths.count) - - paths.enumerated().forEach { index, path in - let pathLayer = CAShapeLayer() - pathLayer.frame = animationLayer.bounds - pathLayer.fillColor = colors[index].cgColor - pathLayer.lineWidth = 0 - pathLayer.path = path - animationLayer.addSublayer(pathLayer) - } - } + func viewResized() { + animationLayer.frame = layer.bounds + animationLayer.isHidden = !isAnimating && hidesWhenStopped + drawIndicatorPath() + if animating { startAnimating() } + } + + func drawIndicatorPath() { + animationLayer.sublayers?.forEach { $0.removeFromSuperlayer() } + + let width = Double(min(animationLayer.bounds.width, animationLayer.bounds.height)) + + // 各ドットの直径を求めるためのベースとなる比率 + let diff = 0.6 / Double(numberOfDots-1) + let baseRatio = 100 / (1.8 * Double(numberOfDots) - Double(numberOfDots * (numberOfDots - 1)) * diff) + + // ベースとなる円の直径(レイヤー内にドットが収まるように調整する) + var diameter = width + while true { + let circumference = diameter * Double.pi + let dotDiameter = baseRatio * 0.9 * circumference / 100 + let space = width - diameter - dotDiameter + if space > 0 { break } + diameter -= 2 + } + + let colors = getGradientColors(dividedIn: numberOfDots) + let circumference = diameter * Double.pi + let spaceRatio = 50 / Double(numberOfDots) / 100 + + var degree = Double(20) // 全体を 20° 傾ける + + (0.. [UIColor] { + let gradient = CAGradientLayer() + gradient.frame = CGRect(x: 0, y: 0, width: 2, height: (num-1) * 10 + 1) + + switch colors.count { + case 0: gradient.colors = [UIColor.black.cgColor, UIColor.lightGray.cgColor] + case 1: gradient.colors = [colors.first!.cgColor, colors.first!.cgColor] + default: gradient.colors = colors.map { $0.cgColor } + } + + return (0.. [UIColor] { - let gradient = CAGradientLayer() - gradient.frame = CGRect(x: 0, y: 0, width: 2, height: (num-1) * 10) - gradient.colors = [headColor.cgColor, tailColor.cgColor] - - var colors = [UIColor]() - - colors.append(headColor) - (1.. UIColor { - var pixel: [CUnsignedChar] = [0, 0, 0, 0] - let colorSpace = CGColorSpaceCreateDeviceRGB() - let bitmap = CGBitmapInfo(rawValue: CGImageAlphaInfo.premultipliedLast.rawValue) - let context = CGContext(data: &pixel, width: 1, height: 1, bitsPerComponent: 8, bytesPerRow: 4, space: colorSpace, bitmapInfo: bitmap.rawValue) - - context?.translateBy(x: -point.x, y: -point.y) - render(in: context!) - - let red: CGFloat = CGFloat(pixel[0])/255.0 - let green: CGFloat = CGFloat(pixel[1])/255.0 - let blue: CGFloat = CGFloat(pixel[2])/255.0 - let alpha: CGFloat = CGFloat(pixel[3])/255.0 - - return UIColor(red: red, green: green, blue: blue, alpha: alpha) - } + case color(UIColor) + case gradationColor(head: UIColor, tail: UIColor) + + public var headColor: UIColor { + switch self { + case let .color(color): return color + case let .gradationColor(head: color, tail: _) : return color + } + } + + public var tailColor: UIColor { + switch self { + case let .color(color): return color + case let .gradationColor(head: _, tail: color) : return color + } + } } diff --git a/Pods/KRActivityIndicatorView/README.md b/Pods/KRActivityIndicatorView/README.md index 5343a6f..08a1a7c 100644 --- a/Pods/KRActivityIndicatorView/README.md +++ b/Pods/KRActivityIndicatorView/README.md @@ -23,8 +23,8 @@ On HUD => https://github.com/krimpedance/KRProgressHUD ## Requirements - iOS 8.0+ -- Xcode 9.0+ -- Swift 4.0+ +- Xcode 11.0+ +- Swift 5.1+ ## DEMO To run the example project, clone the repo, and open `KRActivityIndicatorViewDemo.xcodeproj` from the DEMO directory. @@ -62,13 +62,13 @@ view.addSubview(activityIndicator) With single color. ```swift -KRActivityIndicatorView(style: .color(.green)) +KRActivityIndicatorView(colors: [.green]) ``` With gradation color. ```swift -KRActivityIndicatorView(style: .gradationColor(head: .red, tail: .orange)) +KRActivityIndicatorView(colors: [.red, .orange, .white]) ``` #### Start and stop animation. @@ -80,26 +80,32 @@ activityIndicator.stopAnimating() ## Customization -#### KRActivityIndicatorViewStyle - -* `color(color)` - The fill color of activity indicator is set to `color`. -* `color(head: UIColor, tail: UIColor)` - The fill color of activity indicator is gradated from `head` color to `tail` color. - #### Current available params on IB: * `headColor` - gradient head color. * `tailColor` - gradient tail color. -* `isLarge` - Size of KRActivityIndicatorView. Default(off) size is 20x20, Large size is 50x50. +* `numberOfDots` - number of indicator dots. +* `duration` - Duration for one rotation. * `animating` - Animation of activity indicator when it's shown * `hidesWhenStopped` - calls `setHidden` when call `stopAnimating()` -## Contributing to this project -I'm seeking bug reports and feature requests. ## Release Note -- 2.1.2 : Compatible with Swift 4.1 -- 2.1.1 : Supported from iOS 8.0. -- 2.1.0 : Available at CocoaPods and Carthage with Xcode9 and Swift4. -- 2.0.2 : Fixed bag which don't change `headColor` and 'tailColor'. ++ 3.0.4 : + - Support SwiftPM + ++ 3.0.3 : + - Compatible with iOS 13 and Swift 5.1 + ++ 3.0.2 : + - Compatible with Swift 5.0 + ++ 3.0.1 : + - Fixed bug that indicator doesn't start animation. + - Fixed bug when number of colors is less than 2. + ++ 3.0.0 : + - Indicator view size changable + - Multiple gradiate colors settable ## License KRActivityIndicatorView is available under the MIT license. See the LICENSE file for more info. diff --git a/Pods/KRProgressHUD/KRProgressHUD/Classes/Extensions.swift b/Pods/KRProgressHUD/KRProgressHUD/Classes/Extensions.swift index 810a535..76cb955 100644 --- a/Pods/KRProgressHUD/KRProgressHUD/Classes/Extensions.swift +++ b/Pods/KRProgressHUD/KRProgressHUD/Classes/Extensions.swift @@ -28,7 +28,7 @@ extension UIApplication { // MARK: - NSLayoutConstraint extension ------------ extension NSLayoutConstraint { - convenience init(item view1: Any, attribute attr1: NSLayoutAttribute, relatedBy relation: NSLayoutRelation = .equal, toItem view2: Any? = nil, attribute attr2: NSLayoutAttribute? = nil, constant: CGFloat = 0) { + convenience init(item view1: Any, attribute attr1: NSLayoutConstraint.Attribute, relatedBy relation: NSLayoutConstraint.Relation = .equal, toItem view2: Any? = nil, attribute attr2: NSLayoutConstraint.Attribute? = nil, constant: CGFloat = 0) { self.init(item: view1, attribute: attr1, relatedBy: relation, toItem: view2, attribute: attr2 ?? attr1, multiplier: 1.0, constant: constant) } } diff --git a/Pods/KRProgressHUD/KRProgressHUD/Classes/InnerKRProgressHUD.swift b/Pods/KRProgressHUD/KRProgressHUD/Classes/InnerKRProgressHUD.swift index 5b57279..f26054a 100644 --- a/Pods/KRProgressHUD/KRProgressHUD/Classes/InnerKRProgressHUD.swift +++ b/Pods/KRProgressHUD/KRProgressHUD/Classes/InnerKRProgressHUD.swift @@ -18,7 +18,7 @@ private let messageLabelMinWidth = CGFloat(120) extension KRProgressHUD { func configureProgressHUDView() { - window.windowLevel = UIWindowLevelNormal + window.windowLevel = .normal hudViewController.view.translatesAutoresizingMaskIntoConstraints = false hudView.backgroundColor = .white @@ -30,7 +30,6 @@ extension KRProgressHUD { iconView.translatesAutoresizingMaskIntoConstraints = false activityIndicatorView.frame.size = iconViewSize - activityIndicatorView.isLarge = true activityIndicatorView.animating = false activityIndicatorView.hidesWhenStopped = true @@ -73,8 +72,8 @@ extension KRProgressHUD { imageSize: CGSize? = nil, isOnlyText: Bool = false, isLoading: Bool = false, - completion: CompletionHandler? = nil ) { - DispatchQueue.main.async { + completion: CompletionHandler? = nil) { + DispatchQueue.main.async { [unowned self] in self.applyStyles() self.updateLayouts(message: message, iconType: iconType, image: image, imageSize: imageSize, isOnlyText: isOnlyText) @@ -88,7 +87,7 @@ extension KRProgressHUD { } func dismiss(completion: CompletionHandler?) { - DispatchQueue.main.async { + DispatchQueue.main.async { [unowned self] in self.fadeOutView(completion: completion) } } @@ -99,28 +98,28 @@ extension KRProgressHUD { extension KRProgressHUD { func setUpConstraints() { hudViewCenterYConstraint = NSLayoutConstraint(item: hudView, attribute: .centerY, toItem: hudViewController.view, constant: viewOffset ?? viewAppearance.viewOffset) - hudViewSideMarginConstraints.append(contentsOf: [ + hudViewSideMarginConstraints += [ NSLayoutConstraint(item: hudView, attribute: .left, relatedBy: .greaterThanOrEqual, toItem: hudViewController.view, constant: hudViewMargin), NSLayoutConstraint(item: hudView, attribute: .right, relatedBy: .lessThanOrEqual, toItem: hudViewController.view, constant: -hudViewMargin) - ]) + ] - iconViewConstraints.append(contentsOf: [ + iconViewConstraints += [ NSLayoutConstraint(item: iconView, attribute: .top, toItem: hudView, constant: hudViewPadding), NSLayoutConstraint(item: iconView, attribute: .centerX, toItem: hudView), NSLayoutConstraint(item: iconView, attribute: .left, relatedBy: .greaterThanOrEqual, toItem: hudView, constant: hudViewPadding), NSLayoutConstraint(item: iconView, attribute: .right, relatedBy: .lessThanOrEqual, toItem: hudView, constant: -hudViewPadding), NSLayoutConstraint(item: iconView, attribute: .bottom, relatedBy: .lessThanOrEqual, toItem: hudView, constant: -hudViewPadding) - ]) + ] messageLabelMinWidthConstraint = NSLayoutConstraint(item: messageLabel, attribute: .width, relatedBy: .greaterThanOrEqual, constant: messageLabelMinWidth) - messageLabelConstraints.append(contentsOf: [ + messageLabelConstraints += [ messageLabelMinWidthConstraint, NSLayoutConstraint(item: messageLabel, attribute: .top, toItem: iconView, attribute: .bottom, constant: messageLabelTopMargin), NSLayoutConstraint(item: messageLabel, attribute: .top, relatedBy: .greaterThanOrEqual, toItem: hudView, constant: hudViewPadding), NSLayoutConstraint(item: messageLabel, attribute: .left, toItem: hudView, constant: hudViewPadding), NSLayoutConstraint(item: messageLabel, attribute: .right, toItem: hudView, constant: -hudViewPadding), NSLayoutConstraint(item: messageLabel, attribute: .bottom, toItem: hudView, constant: -hudViewPadding) - ]) + ] hudViewController.view.addConstraints([ NSLayoutConstraint(item: hudView, attribute: .centerX, toItem: hudViewController.view), @@ -141,12 +140,12 @@ extension KRProgressHUD { } func registerDismissHandler() { - dismissHandler = DispatchWorkItem { + dismissHandler = DispatchWorkItem { [unowned self] in KRProgressHUD.dismiss() _ = self.cancelCurrentDismissHandler() } - let deadline = DispatchTime.now() + (deadlineTime ?? viewAppearance.deadlineTime) - DispatchQueue.global().asyncAfter(deadline: deadline, execute: dismissHandler!) + let duration = DispatchTime.now() + (self.duration ?? viewAppearance.duration) + DispatchQueue.global().asyncAfter(deadline: duration, execute: dismissHandler!) } func fadeInView(completion: CompletionHandler?) { @@ -155,16 +154,25 @@ extension KRProgressHUD { } else { hudViewController.view.alpha = 0 if let presentingVC = presentingViewController { + window.rootViewController = nil + presentingVC.addChild(hudViewController) presentingVC.view.addSubview(hudViewController.view) setConstraintsToPresentingVC() + presentingVC.didMove(toParent: hudViewController) } else { - appWindow = UIApplication.shared.keyWindow + if #available(iOS 13.0, *) { + if let windowScene = UIApplication.shared.connectedScenes.first as? UIWindowScene { + window.windowScene = windowScene + } else { + print("UIWindowScene not found") + } + } window.makeKeyAndVisible() } } KRProgressHUD.isVisible = true - UIView.animate(withDuration: fadeTime, animations: { + UIView.animate(withDuration: fadeTime, animations: { [unowned self] in self.hudView.alpha = 1 self.hudViewController.view.alpha = 1 }, completion: { _ in @@ -173,14 +181,17 @@ extension KRProgressHUD { } func fadeOutView(completion: CompletionHandler?) { - UIView.animate(withDuration: fadeTime, animations: { + UIView.animate(withDuration: fadeTime, animations: { [unowned self] in self.hudViewController.view.alpha = 0 - }, completion: { _ in - self.appWindow?.makeKeyAndVisible() - self.appWindow = nil + }, completion: { [unowned self] _ in self.window.isHidden = true - self.hudViewController.view.removeFromSuperview() - self.presentingViewController = nil + if self.presentingViewController != nil { + self.hudViewController.willMove(toParent: nil) + self.hudViewController.view.removeFromSuperview() + self.hudViewController.removeFromParent() + self.presentingViewController = nil + self.window.rootViewController = self.hudViewController + } self.activityIndicatorView.stopAnimating() KRProgressHUD.isVisible = false completion?() @@ -192,7 +203,7 @@ extension KRProgressHUD { messageLabel.textColor = style?.textColor ?? viewAppearance.style.textColor iconDrawingLayer.fillColor = style?.iconColor?.cgColor ?? viewAppearance.style.iconColor?.cgColor hudViewController.view.backgroundColor = maskType?.maskColor ?? viewAppearance.maskType.maskColor - activityIndicatorView.style = activityIndicatorStyle ?? viewAppearance.activityIndicatorStyle + activityIndicatorView.colors = activityIndicatorColors ?? viewAppearance.activityIndicatorColors messageLabel.font = font ?? viewAppearance.font } @@ -247,10 +258,10 @@ extension KRProgressHUD { func setConstraintsToPresentingVC() { guard let view = presentingViewController?.view, view == hudViewController.view.superview else { return } view.addConstraints([ - NSLayoutConstraint(item: hudViewController.view, attribute: .top, toItem: view), - NSLayoutConstraint(item: hudViewController.view, attribute: .bottom, toItem: view), - NSLayoutConstraint(item: hudViewController.view, attribute: .left, toItem: view), - NSLayoutConstraint(item: hudViewController.view, attribute: .right, toItem: view) + NSLayoutConstraint(item: hudViewController.view!, attribute: .top, toItem: view), + NSLayoutConstraint(item: hudViewController.view!, attribute: .bottom, toItem: view), + NSLayoutConstraint(item: hudViewController.view!, attribute: .left, toItem: view), + NSLayoutConstraint(item: hudViewController.view!, attribute: .right, toItem: view) ]) } } diff --git a/Pods/KRProgressHUD/KRProgressHUD/Classes/KRProgressHUD.swift b/Pods/KRProgressHUD/KRProgressHUD/Classes/KRProgressHUD.swift index 4fd6653..5924797 100644 --- a/Pods/KRProgressHUD/KRProgressHUD/Classes/KRProgressHUD.swift +++ b/Pods/KRProgressHUD/KRProgressHUD/Classes/KRProgressHUD.swift @@ -8,14 +8,12 @@ import UIKit import KRActivityIndicatorView -/** - Type of KRProgressHUD's background view. - - - **clear:** `UIColor.clear`. - - **white:** `UIColor(white: 1, alpho: 0.2)`. - - **black:** `UIColor(white: 0, alpho: 0.2)`. Default type. - - **custom:** You can set custom mask color. - */ +/// Type of KRProgressHUD's background view. +/// +/// - clear: `UIColor.clear`. +/// - white: `UIColor(white: 1, alpho: 0.2)`. +/// - black: `UIColor(white: 0, alpho: 0.2)`. Default type. +/// - custom: You can set custom mask color. public enum KRProgressHUDMaskType { case clear, white, black, custom(color: UIColor) @@ -29,14 +27,12 @@ public enum KRProgressHUDMaskType { } } -/** - Style of KRProgressHUD. - - - **white:** HUD's backgroundColor is `.white`. HUD's text color is `.black`. Default style. - - **black:** HUD's backgroundColor is `.black`. HUD's text color is `.white`. - - **custom(background, text, icon):** You can set custom color of HUD's background, text and glyph icon. - If you set nil to `icon`, it's shown in original color. - */ +/// Style of KRProgressHUD +/// +/// - white: HUD's backgroundColor is `.white`. HUD's text color is `.black`. Default style. +/// - black: HUD's backgroundColor is `.black`. HUD's text color is `.white`. +/// - custom: You can set custom color of HUD's background, text and glyph icon. +/// If you set nil to `icon`, it's shown in original color. public enum KRProgressHUDStyle { case white case black @@ -46,7 +42,7 @@ public enum KRProgressHUDStyle { switch self { case .white: return .white case .black: return .black - case .custom(let style): return style.background + case let .custom(background, _, _): return background } } @@ -54,21 +50,19 @@ public enum KRProgressHUDStyle { switch self { case .white: return .black case .black: return .white - case .custom(let style): return style.text + case let .custom(_, text, _): return text } } var iconColor: UIColor? { switch self { - case .custom(let style): return style.icon + case let .custom(_, _, icon): return icon default: return nil } } } -/** - * KRProgressHUD is a beautiful and easy-to-use progress HUD. - */ +/// KRProgressHUD is a beautiful and easy-to-use progress HUD. public final class KRProgressHUD { public typealias CompletionHandler = () -> Void @@ -77,14 +71,23 @@ public final class KRProgressHUD { public var style = KRProgressHUDStyle.white /// Default mask type. public var maskType = KRProgressHUDMaskType.black - /// Default KRActivityIndicatorView style. - public var activityIndicatorStyle = KRActivityIndicatorViewStyle.gradationColor(head: .black, tail: .lightGray) + /// Default KRActivityIndicatorView colors + public var activityIndicatorColors = [UIColor]([.black, .lightGray]) /// Default message label font. public var font = UIFont.systemFont(ofSize: 13) /// Default HUD center offset of y axis. public var viewOffset = CGFloat(0.0) - /// Default time to show HUD. - public var deadlineTime = Double(1.0) + /// Default duration to show HUD. + public var duration = Double(1.0) + + @available(*, deprecated, message: "Use activityIndicatorColors") + public var activityIndicatorStyle = KRActivityIndicatorViewStyle.gradationColor(head: .black, tail: .lightGray) { + didSet { activityIndicatorColors = [activityIndicatorStyle.headColor, activityIndicatorStyle.tailColor] } + } + @available(*, renamed: "duration") + public var deadline = Double(1.0) { + didSet { duration = deadline } + } fileprivate init() {} } @@ -98,7 +101,7 @@ public final class KRProgressHUD { let hudView = UIView() let iconView = UIView() - let activityIndicatorView = KRActivityIndicatorView(style: .gradationColor(head: .black, tail: .lightGray)) + let activityIndicatorView = KRActivityIndicatorView() let iconDrawingView = UIView() let iconDrawingLayer = CAShapeLayer() let imageView = UIImageView() @@ -106,10 +109,10 @@ public final class KRProgressHUD { var style: KRProgressHUDStyle? var maskType: KRProgressHUDMaskType? - var activityIndicatorStyle: KRActivityIndicatorViewStyle? + var activityIndicatorColors: [UIColor]? var font: UIFont? var viewOffset: CGFloat? - var deadlineTime: Double? + var duration: Double? var hudViewCenterYConstraint: NSLayoutConstraint! var hudViewSideMarginConstraints = [NSLayoutConstraint]() @@ -118,7 +121,6 @@ public final class KRProgressHUD { var messageLabelMinWidthConstraint: NSLayoutConstraint! var dismissHandler: DispatchWorkItem? - weak var appWindow: UIWindow? weak var presentingViewController: UIViewController? /// This have whether HUD is indicated. @@ -132,220 +134,198 @@ public final class KRProgressHUD { // MARK: - Set styles -------------------------- extension KRProgressHUD { - /** - Returns the appearance proxy for the receiver. - - - returns: The appearance proxy for the receiver. - */ + /// Returns the appearance proxy for the receiver. + /// + /// - Returns: The appearance proxy for the receiver. public static func appearance() -> KRProgressHUDAppearance { return shared.viewAppearance } - /** - Sets the HUD style. - This value is cleared by `resetStyles()`. - - - parameter style: KRProgressHUDStyle - - - returns: KRProgressHUD.Type (discardable) - */ + /// Sets the HUD style. + /// This value is cleared by `resetStyles()`. + /// + /// - Parameter style: KRProgressHUDStyle + /// - Returns: KRProgressHUD.Type (discardable) @discardableResult public static func set(style: KRProgressHUDStyle) -> KRProgressHUD.Type { shared.style = style return KRProgressHUD.self } - /** - Sets the HUD mask type. - This value is cleared by `resetStyles()`. - - - parameter maskType: KRProgressHUDMaskType - - - returns: KRProgressHUD.Type (discardable) - */ + /// Sets the HUD mask type. + /// This value is cleared by `resetStyles()`. + /// + /// - Parameter maskType: KRProgressHUDMaskType + /// - Returns: KRProgressHUD.Type (discardable) @discardableResult public static func set(maskType: KRProgressHUDMaskType) -> KRProgressHUD.Type { shared.maskType = maskType return KRProgressHUD.self } - /** - Sets the KRActivityIndicatorView style. - This value is cleared by `resetStyles()`. - - - parameter style: KRActivityIndicatorViewStyle - - - returns: KRProgressHUD.Type (discardable) - */ - @discardableResult public static func set(activityIndicatorViewStyle style: KRActivityIndicatorViewStyle) -> KRProgressHUD.Type { - shared.activityIndicatorStyle = style + /// Sets the KRActivityIndicatorView gradient colors. + /// This value is cleared by `resetStyles()`. + /// + /// - Parameter colors: KRActivityIndicatorViewStyle + /// - Returns: KRProgressHUD.Type (discardable) + @discardableResult public static func set(activityIndicatorViewColors colors: [UIColor]) -> KRProgressHUD.Type { + shared.activityIndicatorColors = colors return KRProgressHUD.self } - /** - Sets the HUD message label font. - This value is cleared by `resetStyles()`. - - - parameter font: the message label font. - - - returns: KRProgressHUD.Type (discardable) - */ + /// Sets the HUD message label font. + /// This value is cleared by `resetStyles()`. + /// + /// - Parameter font: The message label font. + /// - Returns: KRProgressHUD.Type (discardable) @discardableResult public static func set(font: UIFont) -> KRProgressHUD.Type { shared.font = font return KRProgressHUD.self } - /** - Sets the HUD center offset of y axis. - This value is cleared by `resetStyles()`. - - - parameter viewOffset: the HUD center offset of y axis. - - - returns: KRProgressHUD.Type (discardable) - */ + /// Sets the HUD center offset of y axis. + /// This value is cleared by `resetStyles()`. + /// + /// - Parameter offset: The HUD center offset of y axis. + /// - Returns: KRProgressHUD.Type (discardable) @discardableResult public static func set(viewOffset offset: CGFloat) -> KRProgressHUD.Type { shared.viewOffset = offset return KRProgressHUD.self } /** - Sets deadline time to show HUD. - - This is used: - - `showSuccess()` - - `showInfo()` - - `showWarning()` - - `showError()` - - `showImage()` - - `showMessage()` This value is cleared by `resetStyles()`. - - parameter time: deadline time. + - parameter time: - - returns: KRProgressHUD.Type (discardable) + - returns: */ - @discardableResult public static func set(deadlineTime time: Double) -> KRProgressHUD.Type { - shared.deadlineTime = time + /// Sets duration to show HUD. + /// + /// This is used: + /// - `showSuccess()` + /// - `showInfo()` + /// - `showWarning()` + /// - `showError()` + /// - `showImage()` + /// - `showMessage()` + /// + /// - Parameter time: Deadline time. + /// - Returns: KRProgressHUD.Type (discardable) + @discardableResult public static func set(duration: Double) -> KRProgressHUD.Type { + shared.duration = duration return KRProgressHUD.self } - /** - Resets the HUD styles. - - - returns: KRProgressHUD.Type (discardable) - */ + /// Resets the HUD styles. + /// + /// - Returns: KRProgressHUD.Type (discardable) @discardableResult public static func resetStyles() -> KRProgressHUD.Type { shared.style = nil shared.maskType = nil - shared.activityIndicatorStyle = nil + shared.activityIndicatorColors = nil shared.font = nil shared.viewOffset = nil - shared.deadlineTime = nil + shared.duration = nil return KRProgressHUD.self } - /** - Sets the view controller which presents HUD. - This is applied only once. - - - parameter viewController: Presenting view controller. - - - returns: KRProgressHUD.Type - */ + /// Sets the view controller which presents HUD. + /// This is applied only once. + /// + /// - Parameter viewController: Presenting view controller. + /// - Returns: KRProgressHUD.Type public static func showOn(_ viewController: UIViewController) -> KRProgressHUD.Type { shared.presentingViewController = viewController return KRProgressHUD.self } + + @available(*, deprecated, message: "Use set(activityIndicatorViewColors:)") + @discardableResult public static func set(activityIndicatorViewStyle style: KRActivityIndicatorViewStyle) -> KRProgressHUD.Type { + shared.activityIndicatorColors = [style.headColor, style.tailColor] + return KRProgressHUD.self + } + + @available(*, renamed: "set(ducation:)") + @discardableResult public static func set(deadline time: Double) -> KRProgressHUD.Type { + shared.duration = time + return KRProgressHUD.self + } } -// MARK: - Show, Update & Dismiss -------------------------- +// MARK: - Show, Update & Dismiss ------------ extension KRProgressHUD { - /** - Shows the HUD. - You can appoint only the args which You want to appoint. - - - parameter message: HUD's message (option). - - parameter completion: Show completion handler (option). - */ + /// Shows the HUD. + /// You can appoint only the args which You want to appoint. + /// + /// - Parameters: + /// - message: HUD's message. + /// - completion: Handler when showing is completed. public static func show(withMessage message: String? = nil, completion: CompletionHandler? = nil) { shared.show(withMessage: message, isLoading: true, completion: completion) } - /** - Shows the HUD with success glyph. - The HUD dismiss after 1 secound (Default). - - - parameter message: HUD's message (option). - */ + /// Shows the HUD with success glyph. + /// The HUD dismiss after `duration` secound. + /// + /// - Parameter message: HUD's message. public static func showSuccess(withMessage message: String? = nil) { shared.show(withMessage: message, iconType: .success) } - /** - Shows the HUD with information glyph. - The HUD dismiss after 1 secound (Default). - - - parameter message: HUD's message (option). - */ + /// Shows the HUD with information glyph. + /// The HUD dismiss after `duration` secound. + /// + /// - Parameter message: HUD's message. public static func showInfo(withMessage message: String? = nil) { shared.show(withMessage: message, iconType: .info) } - /** - Shows the HUD with warning glyph. - The HUD dismiss after 1 secound (Default). - - - parameter message: HUD's message (option). - */ + /// Shows the HUD with warning glyph. + /// The HUD dismiss after `duration` secound. + /// + /// - Parameter message: HUD's message. public static func showWarning(withMessage message: String? = nil) { shared.show(withMessage: message, iconType: .warning) } - /** - Shows the HUD with error glyph. - The HUD dismiss after 1 secound (Default). - - - parameter message: HUD's message (option). - */ + /// Shows the HUD with error glyph. + /// The HUD dismiss after `duration` secound. + /// + /// - Parameter message: HUD's message. public static func showError(withMessage message: String? = nil) { shared.show(withMessage: message, iconType: .error) } - /** - Shows the HUD with image. - The HUD dismiss after 1 secound (Default). - - - parameter image: Image that display instead of activity indicator. - - parameter message: HUD's message (option). - */ + /// Shows the HUD with image. + /// The HUD dismiss after `duration` secound. + /// + /// - Parameters: + /// - image: Image that display instead of activity indicator. + /// - size: Image size. + /// - message: HUD's message. public static func showImage(_ image: UIImage, size: CGSize? = nil, message: String? = nil) { shared.show(withMessage: message, image: image, imageSize: size) } - /** - Shows the message only HUD. - The HUD dismiss after 1 secound (Default). - - - parameter message: HUD's message. - */ + /// Shows the message only HUD. + /// The HUD dismiss after `duration` secound. + /// + /// - Parameter message: HUD's message. public static func showMessage(_ message: String) { shared.show(withMessage: message, isOnlyText: true) } - /** - Updates the HUD message. - - - parameter message: String - */ + /// Updates the HUD message. + /// + /// - Parameter message: Message. public static func update(message: String) { shared.messageLabel.text = message } - /** - Hides the HUD. - - - parameter completion: Hide completion handler (option). - */ + /// Hides the HUD. + /// + /// - Parameter completion: Hide completion handler. public static func dismiss(_ completion: CompletionHandler? = nil) { shared.dismiss(completion: completion) } diff --git a/Pods/KRProgressHUD/LICENSE b/Pods/KRProgressHUD/LICENSE index d87a7e3..0419bab 100644 --- a/Pods/KRProgressHUD/LICENSE +++ b/Pods/KRProgressHUD/LICENSE @@ -1,4 +1,4 @@ -Copyright (c) 2016 krimpedance +Copyright (c) 2018 krimpedance Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/KRProgressHUD/README.md b/Pods/KRProgressHUD/README.md index 1be28c8..78fc464 100644 --- a/Pods/KRProgressHUD/README.md +++ b/Pods/KRProgressHUD/README.md @@ -22,8 +22,8 @@ ## Requirements - iOS 8.0+ -- Xcode 9.0+ -- Swift 4.0+ +- Xcode 11.0+ +- Swift 5.1+ ## DEMO To run the example project, clone the repo, and open `KRProgressHUDDemo.xcodeproj` from the DEMO directory. @@ -50,7 +50,7 @@ github "Krimpedance/KRProgressHUD" #### Caution : **Only use it if you absolutely need to perform a task before taking the user forward.** -**If you want to use it with other cases (ex. pull to refresh), I suggest using [KRActivityIndicatorView](https://github.com/krimpedance/KRActivityIndicator).** +**If you want to use it with other cases (ex. pull to refresh), I suggest using [KRActivityIndicatorView](https://github.com/krimpedance/KRActivityIndicatorView).** `KRProgressHUD` is created as a singleton. @@ -132,18 +132,18 @@ class func dismiss(_ completion: CompleteHandler? = nil) ```Swift class KRProgressHUDAppearance { - /// Default style. - public var style = KRProgressHUDStyle.white - /// Default mask type. - public var maskType = KRProgressHUDMaskType.black - /// Default KRActivityIndicatorView style. - public var activityIndicatorStyle = KRActivityIndicatorViewStyle.gradationColor(head: .black, tail: .lightGray) - /// Default message label font. - public var font = UIFont.systemFont(ofSize: 13) - /// Default HUD center position. - public var viewCenterPosition = CGPoint(x: UIScreen.main.bounds.width/2, y: UIScreen.main.bounds.height/2) - /// Default time to show HUD. - public var deadlineTime = Double(1.0) + /// Default style. + public var style = KRProgressHUDStyle.white + /// Default mask type. + public var maskType = KRProgressHUDMaskType.black + /// Default KRActivityIndicatorView colors + public var activityIndicatorColors = [UIColor]([.black, .lightGray]) + /// Default message label font. + public var font = UIFont.systemFont(ofSize: 13) + /// Default HUD center offset of y axis. + public var viewOffset = CGFloat(0.0) + /// Default duration to show HUD. + public var duration = Double(1.0) } ``` @@ -152,10 +152,10 @@ When you'd like to make styles reflected only in specific situation, use followi ```Swift @discardableResult public class func set(style: KRProgressHUDStyle) -> KRProgressHUD.Type @discardableResult public class func set(maskType: KRProgressHUDMaskType) -> KRProgressHUD.Type -@discardableResult public class func set(activityIndicatorViewStyle style: KRActivityIndicatorViewStyle) -> KRProgressHUD.Type +@discardableResult public class func set(activityIndicatorViewColors colors: [UIColor]) -> KRProgressHUD.Type @discardableResult public class func set(font: UIFont) -> KRProgressHUD.Type @discardableResult public class func set(centerPosition point: CGPoint) -> KRProgressHUD.Type -@discardableResult public class func set(deadlineTime time: Double) -> KRProgressHUD.Type +@discardableResult public class func set(duration: Double) -> KRProgressHUD.Type // Example @@ -175,20 +175,18 @@ These `set()` setting can be reset by I'm seeking bug reports and feature requests. ## Release Note -+ 3.2.2 : - - Compatible with Swift 4.1. ++ 3.4.4 : + - Support SwiftPM. -+ 3.2.1 : - - Fixed bug of recursion when uses `UINavigationController`. [#34](https://github.com/krimpedance/KRProgressHUD/pull/34) - - Fixed bug of HUD layout when uses `showOn(_ viewController:)` method. ++ 3.4.2 (3.4.3) : + - Fix for iOS 13 & Xcode 11. -+ 3.2.0 : - - Can now customize mask color. - - HUD size varies dynamically depending on text length. - - Fixed bug of HUD layout when the screen orientation changes. [#32](https://github.com/krimpedance/KRProgressHUD/pull/32) ++ 3.4.1 : + - Compatible with Swift 5.0. -+ 3.1.2 : - - Fixed bug of custom small image. ++ 3.4.0 : + - Updated for KRActivityIndicatorView@3.0.0. + - Few properties and methods were renamed. ## License KRProgressHUD is available under the MIT license. diff --git a/Pods/Manifest.lock b/Pods/Manifest.lock index abc5252..0dabda4 100644 --- a/Pods/Manifest.lock +++ b/Pods/Manifest.lock @@ -1,9 +1,9 @@ PODS: - IQKeyboardManagerSwift (5.0.0) - - KRActivityIndicatorView (2.1.2) - - KRProgressHUD (3.2.2): - - KRActivityIndicatorView (= 2.1.2) - - ObjectMapper (3.2.0) + - KRActivityIndicatorView (3.0.5) + - KRProgressHUD (3.4.5): + - KRActivityIndicatorView (= 3.0.5) + - ObjectMapper (3.5.2) DEPENDENCIES: - IQKeyboardManagerSwift (= 5.0.0) @@ -11,7 +11,7 @@ DEPENDENCIES: - ObjectMapper SPEC REPOS: - https://github.com/cocoapods/specs.git: + trunk: - IQKeyboardManagerSwift - KRActivityIndicatorView - KRProgressHUD @@ -19,10 +19,10 @@ SPEC REPOS: SPEC CHECKSUMS: IQKeyboardManagerSwift: 3f340202ebe1a7076279b9b9b3c817243ddb3aab - KRActivityIndicatorView: 27e7a7e3da7fbc8e5405fbc4088b51cc2095a410 - KRProgressHUD: 8872da74b1c462e15c82a8fff250a2d34ee82ea2 - ObjectMapper: 5cccd2de6f253eda859df8116a5a554d9769e859 + KRActivityIndicatorView: 912bc0413d98340f384b12a4e1e6aa8f42fb377d + KRProgressHUD: df4cdc3a1baf708d4276a089ee34d133fa9a6f3e + ObjectMapper: b53ae947d370bf89423e86be7d4e2d2b2a8d3f40 -PODFILE CHECKSUM: a777a930741455b0deb13042216c45682628f655 +PODFILE CHECKSUM: 5d4760e8fc964c66d5a4953e6daed7093a79e9db -COCOAPODS: 1.5.3 +COCOAPODS: 1.9.1 diff --git a/Pods/ObjectMapper/README-CN.md b/Pods/ObjectMapper/README-CN.md index b1a0209..1651759 100644 --- a/Pods/ObjectMapper/README-CN.md +++ b/Pods/ObjectMapper/README-CN.md @@ -146,9 +146,7 @@ ObjectMapper 使用这个函数获取对象后进行映射。开发者需要在 如果你需要在 extension 里实现 ObjectMapper,你需要选择这个协议而不是 `Mappable` 。 -## `ImmutableMappable` Protocol (Beta) - -> ⚠️ 这个特性还处于 Beta 阶段。正式发布时 API 可能会完全不同。 +## `ImmutableMappable` Protocol 使用 `ImmutableMappable` 可以映射不可变的属性。下面的表格展示了 `ImmutableMappable` 和 `Mappable` 的不同: diff --git a/Pods/ObjectMapper/Sources/CodableTransform.swift b/Pods/ObjectMapper/Sources/CodableTransform.swift new file mode 100644 index 0000000..4cb72d5 --- /dev/null +++ b/Pods/ObjectMapper/Sources/CodableTransform.swift @@ -0,0 +1,73 @@ +// +// CodableTransform.swift +// ObjectMapper +// +// Created by Jari Kalinainen on 10/10/2018. +// +// The MIT License (MIT) +// +// Copyright (c) 2014-2018 Tristan Himmelman +// +// 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. + +import Foundation + +/// Transforms JSON dictionary to Codable type T and back +open class CodableTransform: TransformType { + + public typealias Object = T + public typealias JSON = Any + + public init() {} + + open func transformFromJSON(_ value: Any?) -> Object? { + var _data: Data? = nil + switch value { + case let dict as [String : Any]: + _data = try? JSONSerialization.data(withJSONObject: dict, options: []) + case let array as [[String : Any]]: + _data = try? JSONSerialization.data(withJSONObject: array, options: []) + default: + _data = nil + } + guard let data = _data else { return nil } + + do { + let decoder = JSONDecoder() + let item = try decoder.decode(T.self, from: data) + return item + } catch { + return nil + } + } + + open func transformToJSON(_ value: T?) -> JSON? { + guard let item = value else { + return nil + } + do { + let encoder = JSONEncoder() + let data = try encoder.encode(item) + let dictionary = try JSONSerialization.jsonObject(with: data, options: .allowFragments) + return dictionary + } catch { + return nil + } + } +} diff --git a/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift b/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift index 3cd5c59..f7b8c54 100644 --- a/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift +++ b/Pods/ObjectMapper/Sources/CustomDateFormatTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/DataTransform.swift b/Pods/ObjectMapper/Sources/DataTransform.swift index d96f3d6..87cb25c 100644 --- a/Pods/ObjectMapper/Sources/DataTransform.swift +++ b/Pods/ObjectMapper/Sources/DataTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/DateFormatterTransform.swift b/Pods/ObjectMapper/Sources/DateFormatterTransform.swift index fa75f3b..9828e2d 100644 --- a/Pods/ObjectMapper/Sources/DateFormatterTransform.swift +++ b/Pods/ObjectMapper/Sources/DateFormatterTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/DateTransform.swift b/Pods/ObjectMapper/Sources/DateTransform.swift index 2c175cb..f55c87f 100644 --- a/Pods/ObjectMapper/Sources/DateTransform.swift +++ b/Pods/ObjectMapper/Sources/DateTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -32,23 +32,43 @@ open class DateTransform: TransformType { public typealias Object = Date public typealias JSON = Double - public init() {} + public enum Unit: TimeInterval { + case seconds = 1 + case milliseconds = 1_000 + + func addScale(to interval: TimeInterval) -> TimeInterval { + return interval * rawValue + } + + func removeScale(from interval: TimeInterval) -> TimeInterval { + return interval / rawValue + } + } + + private let unit: Unit + + public init(unit: Unit = .seconds) { + self.unit = unit + } open func transformFromJSON(_ value: Any?) -> Date? { + var timeInterval: TimeInterval? if let timeInt = value as? Double { - return Date(timeIntervalSince1970: TimeInterval(timeInt)) + timeInterval = TimeInterval(timeInt) } if let timeStr = value as? String { - return Date(timeIntervalSince1970: TimeInterval(atof(timeStr))) + timeInterval = TimeInterval(atof(timeStr)) } - return nil + return timeInterval.flatMap { + return Date(timeIntervalSince1970: unit.removeScale(from: $0)) + } } open func transformToJSON(_ value: Date?) -> Double? { if let date = value { - return Double(date.timeIntervalSince1970) + return Double(unit.addScale(to: date.timeIntervalSince1970)) } return nil } diff --git a/Pods/ObjectMapper/Sources/DictionaryTransform.swift b/Pods/ObjectMapper/Sources/DictionaryTransform.swift index e7b6ef3..35a1e6f 100644 --- a/Pods/ObjectMapper/Sources/DictionaryTransform.swift +++ b/Pods/ObjectMapper/Sources/DictionaryTransform.swift @@ -3,8 +3,26 @@ // ObjectMapper // // Created by Milen Halachev on 7/20/16. -// Copyright © 2016 hearst. All rights reserved. // +// Copyright (c) 2014-2018 Tristan Himmelman +// +// 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. import Foundation diff --git a/Pods/ObjectMapper/Sources/EnumOperators.swift b/Pods/ObjectMapper/Sources/EnumOperators.swift index 5a1a667..3693a1d 100644 --- a/Pods/ObjectMapper/Sources/EnumOperators.swift +++ b/Pods/ObjectMapper/Sources/EnumOperators.swift @@ -3,8 +3,28 @@ // ObjectMapper // // Created by Tristan Himmelman on 2016-09-26. -// Copyright © 2016 hearst. All rights reserved. // +// The MIT License (MIT) +// +// Copyright (c) 2014-2018 Tristan Himmelman +// +// 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. import Foundation @@ -31,10 +51,13 @@ public func >>> (left: T?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly Unwrapped Optional Object of Raw Representable type public func <- (left: inout T!, right: Map) { left <- (right, EnumTransform()) } +#endif // MARK:- Arrays of Raw Representable type @@ -58,10 +81,13 @@ public func >>> (left: [T]?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Array of Raw Representable object public func <- (left: inout [T]!, right: Map) { left <- (right, EnumTransform()) } +#endif // MARK:- Dictionaries of Raw Representable type @@ -85,7 +111,10 @@ public func >>> (left: [String: T]?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Dictionary of Raw Representable object public func <- (left: inout [String: T]!, right: Map) { left <- (right, EnumTransform()) } +#endif diff --git a/Pods/ObjectMapper/Sources/EnumTransform.swift b/Pods/ObjectMapper/Sources/EnumTransform.swift index 43e4ce7..f63d3ad 100644 --- a/Pods/ObjectMapper/Sources/EnumTransform.swift +++ b/Pods/ObjectMapper/Sources/EnumTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/FromJSON.swift b/Pods/ObjectMapper/Sources/FromJSON.swift index 952b42b..78268de 100755 --- a/Pods/ObjectMapper/Sources/FromJSON.swift +++ b/Pods/ObjectMapper/Sources/FromJSON.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2016 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -40,10 +40,13 @@ internal final class FromJSON { field = object } + // Code targeting the Swift 4.1 compiler and below. + #if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional basic type class func optionalBasicType(_ field: inout FieldType!, object: FieldType?) { field = object } + #endif /// Mappable object class func object(_ field: inout N, map: Map) { @@ -64,6 +67,8 @@ internal final class FromJSON { } } + // Code targeting the Swift 4.1 compiler and below. + #if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional Mappable Object class func optionalObject(_ field: inout N!, map: Map) { if let f = field , map.toObject && map.currentValue != nil { @@ -72,6 +77,7 @@ internal final class FromJSON { field = Mapper(context: map.context).map(JSONObject: map.currentValue) } } + #endif /// mappable object array class func objectArray(_ field: inout Array, map: Map) { @@ -90,6 +96,8 @@ internal final class FromJSON { } } + // Code targeting the Swift 4.1 compiler and below. + #if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional mappable object array class func optionalObjectArray(_ field: inout Array!, map: Map) { if let objects: Array = Mapper(context: map.context).mapArray(JSONObject: map.currentValue) { @@ -98,6 +106,7 @@ internal final class FromJSON { field = nil } } + #endif /// mappable object array class func twoDimensionalObjectArray(_ field: inout Array>, map: Map) { @@ -111,10 +120,13 @@ internal final class FromJSON { field = Mapper(context: map.context).mapArrayOfArrays(JSONObject: map.currentValue) } + // Code targeting the Swift 4.1 compiler and below. + #if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional 2 dimentional mappable object array class func optionalTwoDimensionalObjectArray(_ field: inout Array>!, map: Map) { field = Mapper(context: map.context).mapArrayOfArrays(JSONObject: map.currentValue) } + #endif /// Dctionary containing Mappable objects class func objectDictionary(_ field: inout Dictionary, map: Map) { @@ -136,6 +148,8 @@ internal final class FromJSON { } } + // Code targeting the Swift 4.1 compiler and below. + #if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Dictionary containing Mappable objects class func optionalObjectDictionary(_ field: inout Dictionary!, map: Map) { if let f = field , map.toObject && map.currentValue != nil { @@ -144,6 +158,7 @@ internal final class FromJSON { field = Mapper(context: map.context).mapDictionary(JSONObject: map.currentValue) } } + #endif /// Dictionary containing Array of Mappable objects class func objectDictionaryOfArrays(_ field: inout Dictionary, map: Map) { @@ -157,10 +172,13 @@ internal final class FromJSON { field = Mapper(context: map.context).mapDictionaryOfArrays(JSONObject: map.currentValue) } + // Code targeting the Swift 4.1 compiler and below. + #if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Dictionary containing Array of Mappable objects class func optionalObjectDictionaryOfArrays(_ field: inout Dictionary!, map: Map) { field = Mapper(context: map.context).mapDictionaryOfArrays(JSONObject: map.currentValue) } + #endif /// mappable object Set class func objectSet(_ field: inout Set, map: Map) { @@ -174,8 +192,11 @@ internal final class FromJSON { field = Mapper(context: map.context).mapSet(JSONObject: map.currentValue) } + // Code targeting the Swift 4.1 compiler and below. + #if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional mappable object array class func optionalObjectSet(_ field: inout Set!, map: Map) { field = Mapper(context: map.context).mapSet(JSONObject: map.currentValue) - } + } + #endif } diff --git a/Pods/ObjectMapper/Sources/HexColorTransform.swift b/Pods/ObjectMapper/Sources/HexColorTransform.swift index ac045a3..1f02289 100644 --- a/Pods/ObjectMapper/Sources/HexColorTransform.swift +++ b/Pods/ObjectMapper/Sources/HexColorTransform.swift @@ -3,8 +3,26 @@ // ObjectMapper // // Created by Vitaliy Kuzmenko on 10/10/16. -// Copyright © 2016 hearst. All rights reserved. // +// Copyright (c) 2014-2018 Tristan Himmelman +// +// 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. #if os(iOS) || os(tvOS) || os(watchOS) import UIKit @@ -119,7 +137,7 @@ open class HexColorTransform: TransformType { #if os(iOS) || os(tvOS) || os(watchOS) return UIColor(red: red, green: green, blue: blue, alpha: alpha) #else - return NSColor(calibratedRed: red, green: green, blue: blue, alpha: alpha) + return NSColor(red: red, green: green, blue: blue, alpha: alpha) #endif } } diff --git a/Pods/ObjectMapper/Sources/ISO8601DateTransform.swift b/Pods/ObjectMapper/Sources/ISO8601DateTransform.swift index 2200423..1f256ea 100644 --- a/Pods/ObjectMapper/Sources/ISO8601DateTransform.swift +++ b/Pods/ObjectMapper/Sources/ISO8601DateTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -29,7 +29,7 @@ import Foundation public extension DateFormatter { - public convenience init(withFormat format : String, locale : String) { + convenience init(withFormat format : String, locale : String) { self.init() self.locale = Locale(identifier: locale) dateFormat = format diff --git a/Pods/ObjectMapper/Sources/ImmutableMappable.swift b/Pods/ObjectMapper/Sources/ImmutableMappable.swift index d9d242a..1f67824 100644 --- a/Pods/ObjectMapper/Sources/ImmutableMappable.swift +++ b/Pods/ObjectMapper/Sources/ImmutableMappable.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -33,20 +33,20 @@ public protocol ImmutableMappable: BaseMappable { public extension ImmutableMappable { /// Implement this method to support object -> JSON transform. - public func mapping(map: Map) {} + func mapping(map: Map) {} /// Initializes object from a JSON String - public init(JSONString: String, context: MapContext? = nil) throws { + init(JSONString: String, context: MapContext? = nil) throws { self = try Mapper(context: context).map(JSONString: JSONString) } /// Initializes object from a JSON Dictionary - public init(JSON: [String: Any], context: MapContext? = nil) throws { + init(JSON: [String: Any], context: MapContext? = nil) throws { self = try Mapper(context: context).map(JSON: JSON) } /// Initializes object from a JSONObject - public init(JSONObject: Any, context: MapContext? = nil) throws { + init(JSONObject: Any, context: MapContext? = nil) throws { self = try Mapper(context: context).map(JSONObject: JSONObject) } @@ -62,7 +62,7 @@ public extension Map { // MARK: Basic /// Returns a value or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let value = currentValue as? T else { throw MapError(key: key, currentValue: currentValue, reason: "Cannot cast to '\(T.self)'", file: file, function: function, line: line) @@ -71,7 +71,7 @@ public extension Map { } /// Returns a transformed value or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> Transform.Object { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> Transform.Object { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let value = transform.transformFromJSON(currentValue) else { throw MapError(key: key, currentValue: currentValue, reason: "Cannot transform to '\(Transform.Object.self)' using \(transform)", file: file, function: function, line: line) @@ -80,19 +80,38 @@ public extension Map { } /// Returns a RawRepresentable type or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T { return try self.value(key, nested: nested, delimiter: delimiter, using: EnumTransform(), file: file, function: function, line: line) } + /// Returns a RawRepresentable type or throws an error. + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T? { + return try self.value(key, nested: nested, delimiter: delimiter, using: EnumTransform(), file: file, function: function, line: line) + } + /// Returns a `[RawRepresentable]` type or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [T] { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [T] { + return try self.value(key, nested: nested, delimiter: delimiter, using: EnumTransform(), file: file, function: function, line: line) + } + + /// Returns a `[RawRepresentable]` type or throws an error. + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [T]? { return try self.value(key, nested: nested, delimiter: delimiter, using: EnumTransform(), file: file, function: function, line: line) } // MARK: BaseMappable /// Returns a `BaseMappable` object or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T { + let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) + guard let JSONObject = currentValue else { + throw MapError(key: key, currentValue: currentValue, reason: "Found unexpected nil value", file: file, function: function, line: line) + } + return try Mapper(context: context).mapOrFail(JSONObject: JSONObject) + } + + /// Returns a `BaseMappable` object boxed in `Optional` or throws an error. + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> T? { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let JSONObject = currentValue else { throw MapError(key: key, currentValue: currentValue, reason: "Found unexpected nil value", file: file, function: function, line: line) @@ -103,7 +122,19 @@ public extension Map { // MARK: [BaseMappable] /// Returns a `[BaseMappable]` or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [T] { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [T] { + let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) + guard let jsonArray = currentValue as? [Any] else { + throw MapError(key: key, currentValue: currentValue, reason: "Cannot cast to '[Any]'", file: file, function: function, line: line) + } + + return try jsonArray.map { JSONObject -> T in + return try Mapper(context: context).mapOrFail(JSONObject: JSONObject) + } + } + + /// Returns a `[BaseMappable]` boxed in `Optional` or throws an error. + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [T]? { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let jsonArray = currentValue as? [Any] else { throw MapError(key: key, currentValue: currentValue, reason: "Cannot cast to '[Any]'", file: file, function: function, line: line) @@ -115,7 +146,7 @@ public extension Map { } /// Returns a `[BaseMappable]` using transform or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [Transform.Object] { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [Transform.Object] { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let jsonArray = currentValue as? [Any] else { throw MapError(key: key, currentValue: currentValue, reason: "Cannot cast to '[Any]'", file: file, function: function, line: line) @@ -132,7 +163,19 @@ public extension Map { // MARK: [String: BaseMappable] /// Returns a `[String: BaseMappable]` or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [String: T] { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [String: T] { + + let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) + guard let jsonDictionary = currentValue as? [String: Any] else { + throw MapError(key: key, currentValue: currentValue, reason: "Cannot cast to '[String: Any]'", file: file, function: function, line: line) + } + return try jsonDictionary.mapValues { json in + return try Mapper(context: context).mapOrFail(JSONObject: json) + } + } + + /// Returns a `[String: BaseMappable]` boxed in `Optional` or throws an error. + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [String: T]? { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let jsonDictionary = currentValue as? [String: Any] else { @@ -146,25 +189,37 @@ public extension Map { } /// Returns a `[String: BaseMappable]` using transform or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [String: Transform.Object] { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [String: Transform.Object] { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let jsonDictionary = currentValue as? [String: Any] else { throw MapError(key: key, currentValue: currentValue, reason: "Cannot cast to '[String: Any]'", file: file, function: function, line: line) } - var value: [String: Transform.Object] = [:] - for (key, json) in jsonDictionary { + return try jsonDictionary.mapValues { json in guard let object = transform.transformFromJSON(json) else { throw MapError(key: key, currentValue: json, reason: "Cannot transform to '\(Transform.Object.self)' using \(transform)", file: file, function: function, line: line) } - value[key] = object + return object + } + } + + /// Returns a `[String: BaseMappable]` using transform or throws an error. + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [[T]]? { + + let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) + guard let json2DArray = currentValue as? [[Any]] else { + throw MapError(key: key, currentValue: currentValue, reason: "Cannot cast to '[[Any]]'", file: file, function: function, line: line) + } + return try json2DArray.map { jsonArray in + try jsonArray.map { jsonObject -> T in + return try Mapper(context: context).mapOrFail(JSONObject: jsonObject) + } } - return value } // MARK: [[BaseMappable]] /// Returns a `[[BaseMappable]]` or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [[T]] { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [[T]] { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let json2DArray = currentValue as? [[Any]] else { @@ -178,7 +233,7 @@ public extension Map { } /// Returns a `[[BaseMappable]]` using transform or throws an error. - public func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [[Transform.Object]] { + func value(_ key: String, nested: Bool? = nil, delimiter: String = ".", using transform: Transform, file: StaticString = #file, function: StaticString = #function, line: UInt = #line) throws -> [[Transform.Object]] { let currentValue = self.currentValue(for: key, nested: nested, delimiter: delimiter) guard let json2DArray = currentValue as? [[Any]] else { @@ -199,25 +254,29 @@ public extension Map { public extension Mapper where N: ImmutableMappable { - public func map(JSON: [String: Any]) throws -> N { + func map(JSON: [String: Any]) throws -> N { return try self.mapOrFail(JSON: JSON) } - public func map(JSONString: String) throws -> N { + func map(JSONString: String) throws -> N { return try mapOrFail(JSONString: JSONString) } - public func map(JSONObject: Any) throws -> N { + func map(JSONObject: Any) throws -> N { return try mapOrFail(JSONObject: JSONObject) } // MARK: Array mapping functions - public func mapArray(JSONArray: [[String: Any]]) throws -> [N] { + func mapArray(JSONArray: [[String: Any]]) throws -> [N] { + #if swift(>=4.1) + return try JSONArray.compactMap(mapOrFail) + #else return try JSONArray.flatMap(mapOrFail) + #endif } - public func mapArray(JSONString: String) throws -> [N] { + func mapArray(JSONString: String) throws -> [N] { guard let JSONObject = Mapper.parseJSONString(JSONString: JSONString) else { throw MapError(key: nil, currentValue: JSONString, reason: "Cannot convert string into Any'") } @@ -225,7 +284,7 @@ public extension Mapper where N: ImmutableMappable { return try mapArray(JSONObject: JSONObject) } - public func mapArray(JSONObject: Any) throws -> [N] { + func mapArray(JSONObject: Any) throws -> [N] { guard let JSONArray = JSONObject as? [[String: Any]] else { throw MapError(key: nil, currentValue: JSONObject, reason: "Cannot cast to '[[String: Any]]'") } @@ -235,7 +294,7 @@ public extension Mapper where N: ImmutableMappable { // MARK: Dictionary mapping functions - public func mapDictionary(JSONString: String) throws -> [String: N] { + func mapDictionary(JSONString: String) throws -> [String: N] { guard let JSONObject = Mapper.parseJSONString(JSONString: JSONString) else { throw MapError(key: nil, currentValue: JSONString, reason: "Cannot convert string into Any'") } @@ -243,7 +302,7 @@ public extension Mapper where N: ImmutableMappable { return try mapDictionary(JSONObject: JSONObject) } - public func mapDictionary(JSONObject: Any?) throws -> [String: N] { + func mapDictionary(JSONObject: Any?) throws -> [String: N] { guard let JSON = JSONObject as? [String: [String: Any]] else { throw MapError(key: nil, currentValue: JSONObject, reason: "Cannot cast to '[String: [String: Any]]''") } @@ -251,20 +310,20 @@ public extension Mapper where N: ImmutableMappable { return try mapDictionary(JSON: JSON) } - public func mapDictionary(JSON: [String: [String: Any]]) throws -> [String: N] { + func mapDictionary(JSON: [String: [String: Any]]) throws -> [String: N] { return try JSON.filterMap(mapOrFail) } // MARK: Dictinoary of arrays mapping functions - public func mapDictionaryOfArrays(JSONObject: Any?) throws -> [String: [N]] { + func mapDictionaryOfArrays(JSONObject: Any?) throws -> [String: [N]] { guard let JSON = JSONObject as? [String: [[String: Any]]] else { throw MapError(key: nil, currentValue: JSONObject, reason: "Cannot cast to '[String: [String: Any]]''") } return try mapDictionaryOfArrays(JSON: JSON) } - public func mapDictionaryOfArrays(JSON: [String: [[String: Any]]]) throws -> [String: [N]] { + func mapDictionaryOfArrays(JSON: [String: [[String: Any]]]) throws -> [String: [N]] { return try JSON.filterMap { array -> [N] in try mapArray(JSONArray: array) } @@ -272,7 +331,7 @@ public extension Mapper where N: ImmutableMappable { // MARK: 2 dimentional array mapping functions - public func mapArrayOfArrays(JSONObject: Any?) throws -> [[N]] { + func mapArrayOfArrays(JSONObject: Any?) throws -> [[N]] { guard let JSONArray = JSONObject as? [[[String: Any]]] else { throw MapError(key: nil, currentValue: JSONObject, reason: "Cannot cast to '[[[String: Any]]]''") } @@ -283,7 +342,7 @@ public extension Mapper where N: ImmutableMappable { internal extension Mapper { - internal func mapOrFail(JSON: [String: Any]) throws -> N { + func mapOrFail(JSON: [String: Any]) throws -> N { let map = Map(mappingType: .fromJSON, JSON: JSON, context: context, shouldIncludeNilValues: shouldIncludeNilValues) // Check if object is ImmutableMappable, if so use ImmutableMappable protocol for mapping @@ -300,14 +359,14 @@ internal extension Mapper { return value } - internal func mapOrFail(JSONString: String) throws -> N { + func mapOrFail(JSONString: String) throws -> N { guard let JSON = Mapper.parseJSONStringIntoDictionary(JSONString: JSONString) else { throw MapError(key: nil, currentValue: JSONString, reason: "Cannot parse into '[String: Any]'") } return try mapOrFail(JSON: JSON) } - internal func mapOrFail(JSONObject: Any) throws -> N { + func mapOrFail(JSONObject: Any) throws -> N { guard let JSON = JSONObject as? [String: Any] else { throw MapError(key: nil, currentValue: JSONObject, reason: "Cannot cast to '[String: Any]'") } diff --git a/Pods/ObjectMapper/Sources/IntegerOperators.swift b/Pods/ObjectMapper/Sources/IntegerOperators.swift index a4191e6..6e548d4 100644 --- a/Pods/ObjectMapper/Sources/IntegerOperators.swift +++ b/Pods/ObjectMapper/Sources/IntegerOperators.swift @@ -3,8 +3,28 @@ // ObjectMapper // // Created by Suyeol Jeon on 17/02/2017. -// Copyright © 2017 hearst. All rights reserved. // +// The MIT License (MIT) +// +// Copyright (c) 2014-2018 Tristan Himmelman +// +// 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. import Foundation @@ -34,6 +54,8 @@ public func <- (left: inout T?, right: Map) { } } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// ImplicitlyUnwrappedOptional SignedInteger mapping public func <- (left: inout T!, right: Map) { switch right.mappingType { @@ -45,6 +67,7 @@ public func <- (left: inout T!, right: Map) { default: () } } +#endif // MARK: - Unsigned Integer @@ -74,6 +97,8 @@ public func <- (left: inout T?, right: Map) { } } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// ImplicitlyUnwrappedOptional UnsignedInteger mapping public func <- (left: inout T!, right: Map) { switch right.mappingType { @@ -85,6 +110,7 @@ public func <- (left: inout T!, right: Map) { default: () } } +#endif // MARK: - Casting Utils diff --git a/Pods/ObjectMapper/Sources/Map.swift b/Pods/ObjectMapper/Sources/Map.swift index 9dfcd5a..38dc2a3 100644 --- a/Pods/ObjectMapper/Sources/Map.swift +++ b/Pods/ObjectMapper/Sources/Map.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -124,14 +124,18 @@ public final class Map { public func value() -> T? { let value = currentValue as? T - // Swift 4.1 breaks Float casting from `NSNumber`. So Added extra checks for `Flaot` `[Float]` and `[String:Float]` + // Swift 4.1 breaks Float casting from `NSNumber`. So Added extra checks for `Float` `[Float]` and `[String:Float]` if value == nil && T.self == Float.self { if let v = currentValue as? NSNumber { return v.floatValue as? T } } else if value == nil && T.self == [Float].self { if let v = currentValue as? [Double] { + #if swift(>=4.1) + return v.compactMap{ Float($0) } as? T + #else return v.flatMap{ Float($0) } as? T + #endif } } else if value == nil && T.self == [String:Float].self { if let v = currentValue as? [String:Double] { diff --git a/Pods/ObjectMapper/Sources/MapError.swift b/Pods/ObjectMapper/Sources/MapError.swift index 8e1c69a..9e9736b 100644 --- a/Pods/ObjectMapper/Sources/MapError.swift +++ b/Pods/ObjectMapper/Sources/MapError.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/Mappable.swift b/Pods/ObjectMapper/Sources/Mappable.swift index ac5d71d..2b3dad8 100644 --- a/Pods/ObjectMapper/Sources/Mappable.swift +++ b/Pods/ObjectMapper/Sources/Mappable.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -46,10 +46,10 @@ public protocol StaticMappable: BaseMappable { static func objectForMapping(map: Map) -> BaseMappable? } -public extension BaseMappable { +public extension Mappable { /// Initializes object from a JSON String - public init?(JSONString: String, context: MapContext? = nil) { + init?(JSONString: String, context: MapContext? = nil) { if let obj: Self = Mapper(context: context).map(JSONString: JSONString) { self = obj } else { @@ -58,21 +58,24 @@ public extension BaseMappable { } /// Initializes object from a JSON Dictionary - public init?(JSON: [String: Any], context: MapContext? = nil) { + init?(JSON: [String: Any], context: MapContext? = nil) { if let obj: Self = Mapper(context: context).map(JSON: JSON) { self = obj } else { return nil } } - +} + +public extension BaseMappable { + /// Returns the JSON Dictionary for the object - public func toJSON() -> [String: Any] { + func toJSON() -> [String: Any] { return Mapper().toJSON(self) } - + /// Returns the JSON String for the object - public func toJSONString(prettyPrint: Bool = false) -> String? { + func toJSONString(prettyPrint: Bool = false) -> String? { return Mapper().toJSONString(self, prettyPrint: prettyPrint) } } @@ -80,7 +83,7 @@ public extension BaseMappable { public extension Array where Element: BaseMappable { /// Initialize Array from a JSON String - public init?(JSONString: String, context: MapContext? = nil) { + init?(JSONString: String, context: MapContext? = nil) { if let obj: [Element] = Mapper(context: context).mapArray(JSONString: JSONString) { self = obj } else { @@ -89,18 +92,18 @@ public extension Array where Element: BaseMappable { } /// Initialize Array from a JSON Array - public init(JSONArray: [[String: Any]], context: MapContext? = nil) { + init(JSONArray: [[String: Any]], context: MapContext? = nil) { let obj: [Element] = Mapper(context: context).mapArray(JSONArray: JSONArray) self = obj } /// Returns the JSON Array - public func toJSON() -> [[String: Any]] { + func toJSON() -> [[String: Any]] { return Mapper().toJSONArray(self) } /// Returns the JSON String for the object - public func toJSONString(prettyPrint: Bool = false) -> String? { + func toJSONString(prettyPrint: Bool = false) -> String? { return Mapper().toJSONString(self, prettyPrint: prettyPrint) } } @@ -108,7 +111,7 @@ public extension Array where Element: BaseMappable { public extension Set where Element: BaseMappable { /// Initializes a set from a JSON String - public init?(JSONString: String, context: MapContext? = nil) { + init?(JSONString: String, context: MapContext? = nil) { if let obj: Set = Mapper(context: context).mapSet(JSONString: JSONString) { self = obj } else { @@ -117,7 +120,7 @@ public extension Set where Element: BaseMappable { } /// Initializes a set from JSON - public init?(JSONArray: [[String: Any]], context: MapContext? = nil) { + init?(JSONArray: [[String: Any]], context: MapContext? = nil) { guard let obj = Mapper(context: context).mapSet(JSONArray: JSONArray) as Set? else { return nil } @@ -125,12 +128,12 @@ public extension Set where Element: BaseMappable { } /// Returns the JSON Set - public func toJSON() -> [[String: Any]] { + func toJSON() -> [[String: Any]] { return Mapper().toJSONSet(self) } /// Returns the JSON String for the object - public func toJSONString(prettyPrint: Bool = false) -> String? { + func toJSONString(prettyPrint: Bool = false) -> String? { return Mapper().toJSONString(self, prettyPrint: prettyPrint) } } diff --git a/Pods/ObjectMapper/Sources/Mapper.swift b/Pods/ObjectMapper/Sources/Mapper.swift index 30e7b8b..cccbdce 100755 --- a/Pods/ObjectMapper/Sources/Mapper.swift +++ b/Pods/ObjectMapper/Sources/Mapper.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -108,7 +108,10 @@ public final class Mapper { } } else if let klass = N.self as? ImmutableMappable.Type { // Check if object is ImmutableMappable do { - return try klass.init(map: map) as? N + if var object = try klass.init(map: map) as? N { + object.mapping(map: map) + return object + } } catch let error { #if DEBUG let exception: NSException @@ -118,8 +121,6 @@ public final class Mapper { exception = NSException(name: .init(rawValue: "ImmutableMappableError"), reason: error.localizedDescription, userInfo: nil) } exception.raise() - #else - NSLog("\(error)") #endif } } else { @@ -161,7 +162,11 @@ public final class Mapper { /// Maps an array of JSON dictionary to an array of Mappable objects public func mapArray(JSONArray: [[String: Any]]) -> [N] { // map every element in JSON array to type N + #if swift(>=4.1) + let result = JSONArray.compactMap(map) + #else let result = JSONArray.flatMap(map) + #endif return result } @@ -184,7 +189,7 @@ public final class Mapper { public func mapDictionary(JSON: [String: [String: Any]]) -> [String: N]? { // map every value in dictionary to type N let result = JSON.filterMap(map) - if result.isEmpty == false { + if !result.isEmpty { return result } @@ -230,7 +235,7 @@ public final class Mapper { mapArray(JSONArray: $0) } - if result.isEmpty == false { + if !result.isEmpty { return result } @@ -240,13 +245,11 @@ public final class Mapper { /// Maps an 2 dimentional array of JSON dictionaries to a 2 dimentional array of Mappable objects public func mapArrayOfArrays(JSONObject: Any?) -> [[N]]? { if let JSONArray = JSONObject as? [[[String: Any]]] { - var objectArray = [[N]]() - for innerJSONArray in JSONArray { - let array = mapArray(JSONArray: innerJSONArray) - objectArray.append(array) + let objectArray = JSONArray.map { innerJSONArray in + return mapArray(JSONArray: innerJSONArray) } - if objectArray.isEmpty == false { + if !objectArray.isEmpty { return objectArray } } @@ -427,7 +430,11 @@ extension Mapper where N: Hashable { /// Maps an Set of JSON dictionary to an array of Mappable objects public func mapSet(JSONArray: [[String: Any]]) -> Set { // map every element in JSON array to type N + #if swift(>=4.1) + return Set(JSONArray.compactMap(map)) + #else return Set(JSONArray.flatMap(map)) + #endif } ///Maps a Set of Objects to a Set of JSON dictionaries [[String : Any]] diff --git a/Pods/ObjectMapper/Sources/NSDecimalNumberTransform.swift b/Pods/ObjectMapper/Sources/NSDecimalNumberTransform.swift index 5852135..d06a4b9 100644 --- a/Pods/ObjectMapper/Sources/NSDecimalNumberTransform.swift +++ b/Pods/ObjectMapper/Sources/NSDecimalNumberTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/Operators.swift b/Pods/ObjectMapper/Sources/Operators.swift index eb49735..2c12c52 100755 --- a/Pods/ObjectMapper/Sources/Operators.swift +++ b/Pods/ObjectMapper/Sources/Operators.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -76,6 +76,8 @@ public func >>> (left: T?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional object of basic type public func <- (left: inout T!, right: Map) { switch right.mappingType { @@ -86,6 +88,7 @@ public func <- (left: inout T!, right: Map) { default: () } } +#endif // MARK:- Mappable Objects - @@ -124,6 +127,8 @@ public func >>> (left: T?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional Mappable objects public func <- (left: inout T!, right: Map) { switch right.mappingType { @@ -134,6 +139,7 @@ public func <- (left: inout T!, right: Map) { default: () } } +#endif // MARK:- Dictionary of Mappable objects - Dictionary @@ -173,6 +179,8 @@ public func >>> (left: Dictionary?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional Dictionary of Mappable object public func <- (left: inout Dictionary!, right: Map) { switch right.mappingType { @@ -183,6 +191,7 @@ public func <- (left: inout Dictionary!, right: Map) default: () } } +#endif /// Dictionary of Mappable objects public func <- (left: inout Dictionary, right: Map) { @@ -219,6 +228,8 @@ public func >>> (left: Dictionary?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional Dictionary of Mappable object public func <- (left: inout Dictionary!, right: Map) { switch right.mappingType { @@ -229,6 +240,7 @@ public func <- (left: inout Dictionary!, right: Ma default: () } } +#endif // MARK:- Array of Mappable objects - Array @@ -267,6 +279,8 @@ public func >>> (left: Array?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional array of Mappable objects public func <- (left: inout Array!, right: Map) { switch right.mappingType { @@ -277,6 +291,7 @@ public func <- (left: inout Array!, right: Map) { default: () } } +#endif // MARK:- Array of Array of Mappable objects - Array> @@ -316,6 +331,8 @@ public func >>> (left: Array>?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional array of Mappable objects public func <- (left: inout Array>!, right: Map) { switch right.mappingType { @@ -326,6 +343,7 @@ public func <- (left: inout Array>!, right: Map) { default: () } } +#endif // MARK:- Set of Mappable objects - Set @@ -365,6 +383,8 @@ public func >>> (left: Set?, right: Map) { } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional Set of Mappable objects public func <- (left: inout Set!, right: Map) { switch right.mappingType { @@ -375,3 +395,4 @@ public func <- (left: inout Set!, right: Map) { default: () } } +#endif diff --git a/Pods/ObjectMapper/Sources/ToJSON.swift b/Pods/ObjectMapper/Sources/ToJSON.swift index 4109b3c..674db27 100644 --- a/Pods/ObjectMapper/Sources/ToJSON.swift +++ b/Pods/ObjectMapper/Sources/ToJSON.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal @@ -42,24 +42,20 @@ private func setValue(_ value: Any, key: String, checkForNestedKeys: Bool, delim } private func setValue(_ value: Any, forKeyPathComponents components: ArraySlice, dictionary: inout [String : Any]) { - if components.isEmpty { + guard let head = components.first else { return } - let head = components.first! - + let headAsString = String(head) if components.count == 1 { - dictionary[String(head)] = value + dictionary[headAsString] = value } else { - var child = dictionary[String(head)] as? [String : Any] - if child == nil { - child = [:] - } - + var child = dictionary[headAsString] as? [String : Any] ?? [:] + let tail = components.dropFirst() - setValue(value, forKeyPathComponents: tail, dictionary: &child!) + setValue(value, forKeyPathComponents: tail, dictionary: &child) - dictionary[String(head)] = child + dictionary[headAsString] = child } } diff --git a/Pods/ObjectMapper/Sources/TransformOf.swift b/Pods/ObjectMapper/Sources/TransformOf.swift index 97056c6..6012260 100644 --- a/Pods/ObjectMapper/Sources/TransformOf.swift +++ b/Pods/ObjectMapper/Sources/TransformOf.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/TransformOperators.swift b/Pods/ObjectMapper/Sources/TransformOperators.swift index 0a96e00..1c55f9b 100644 --- a/Pods/ObjectMapper/Sources/TransformOperators.swift +++ b/Pods/ObjectMapper/Sources/TransformOperators.swift @@ -3,8 +3,28 @@ // ObjectMapper // // Created by Tristan Himmelman on 2016-09-26. -// Copyright © 2016 hearst. All rights reserved. // +// The MIT License (MIT) +// +// Copyright (c) 2014-2018 Tristan Himmelman +// +// 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. import Foundation @@ -54,6 +74,8 @@ public func >>> (left: Transform.Object?, right: (Map, } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional object of basic type with Transform public func <- (left: inout Transform.Object!, right: (Map, Transform)) { let (map, transform) = right @@ -66,6 +88,7 @@ public func <- (left: inout Transform.Object!, right: default: () } } +#endif /// Array of Basic type with Transform public func <- (left: inout [Transform.Object], right: (Map, Transform)) { @@ -111,6 +134,8 @@ public func >>> (left: [Transform.Object]?, right: (Ma } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional array of Basic type with Transform public func <- (left: inout [Transform.Object]!, right: (Map, Transform)) { let (map, transform) = right @@ -123,6 +148,7 @@ public func <- (left: inout [Transform.Object]!, right default: () } } +#endif /// Dictionary of Basic type with Transform public func <- (left: inout [String: Transform.Object], right: (Map, Transform)) { @@ -168,6 +194,8 @@ public func >>> (left: [String: Transform.Object]?, ri } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional dictionary of Basic type with Transform public func <- (left: inout [String: Transform.Object]!, right: (Map, Transform)) { let (map, transform) = right @@ -180,6 +208,7 @@ public func <- (left: inout [String: Transform.Object] default: () } } +#endif // MARK:- Transforms of Mappable Objects - @@ -227,6 +256,8 @@ public func >>> (left: Transform.Object?, right: (Map, } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped optional Mappable objects that have transforms public func <- (left: inout Transform.Object!, right: (Map, Transform)) where Transform.Object: BaseMappable { let (map, transform) = right @@ -239,6 +270,7 @@ public func <- (left: inout Transform.Object!, right: default: () } } +#endif // MARK:- Dictionary of Mappable objects with a transform - Dictionary @@ -284,6 +316,8 @@ public func >>> (left: Dictionary=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional Dictionary of Mappable object with a transform public func <- (left: inout Dictionary!, right: (Map, Transform)) where Transform.Object: BaseMappable { let (map, transform) = right @@ -294,6 +328,7 @@ public func <- (left: inout Dictionary>> right } } +#endif /// Dictionary of Mappable objects with a transform public func <- (left: inout Dictionary, right: (Map, Transform)) where Transform.Object: BaseMappable { @@ -367,6 +402,8 @@ public func >>> (left: Dictionary=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional Dictionary of Mappable object with a transform public func <- (left: inout Dictionary!, right: (Map, Transform)) where Transform.Object: BaseMappable { let (map, transform) = right @@ -387,6 +424,7 @@ public func <- (left: inout Dictionary>> right } } +#endif // MARK:- Array of Mappable objects with transforms - Array @@ -435,6 +473,8 @@ public func >>> (left: Array?, right } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional array of Mappable objects public func <- (left: inout Array!, right: (Map, Transform)) where Transform.Object: BaseMappable { let (map, transform) = right @@ -447,6 +487,7 @@ public func <- (left: inout Array!, default: () } } +#endif // MARK:- Array of Array of objects - Array>> with transforms @@ -458,9 +499,15 @@ public func <- (left: inout [[Transform.Object]], righ left >>> right case .fromJSON where map.isKeyPresent: guard let original2DArray = map.currentValue as? [[Any]] else { break } + #if swift(>=4.1) + let transformed2DArray = original2DArray.compactMap { values in + fromJSONArrayWithTransform(values as Any?, transform: transform) + } + #else let transformed2DArray = original2DArray.flatMap { values in fromJSONArrayWithTransform(values as Any?, transform: transform) } + #endif FromJSON.basicType(&left, object: transformed2DArray) default: break @@ -470,9 +517,15 @@ public func <- (left: inout [[Transform.Object]], righ public func >>> (left: [[Transform.Object]], right: (Map, Transform)) { let (map, transform) = right if map.mappingType == .toJSON{ + #if swift(>=4.1) + let transformed2DArray = left.compactMap { values in + toJSONArrayWithTransform(values, transform: transform) + } + #else let transformed2DArray = left.flatMap { values in toJSONArrayWithTransform(values, transform: transform) } + #endif ToJSON.basicType(transformed2DArray, map: map) } } @@ -485,9 +538,15 @@ public func <- (left: inout [[Transform.Object]]?, rig left >>> right case .fromJSON where map.isKeyPresent: guard let original2DArray = map.currentValue as? [[Any]] else { break } + #if swift(>=4.1) + let transformed2DArray = original2DArray.compactMap { values in + fromJSONArrayWithTransform(values as Any?, transform: transform) + } + #else let transformed2DArray = original2DArray.flatMap { values in fromJSONArrayWithTransform(values as Any?, transform: transform) } + #endif FromJSON.optionalBasicType(&left, object: transformed2DArray) default: break @@ -497,14 +556,22 @@ public func <- (left: inout [[Transform.Object]]?, rig public func >>> (left: [[Transform.Object]]?, right: (Map, Transform)) { let (map, transform) = right if map.mappingType == .toJSON { + #if swift(>=4.1) + let transformed2DArray = left?.compactMap { values in + toJSONArrayWithTransform(values, transform: transform) + } + #else let transformed2DArray = left?.flatMap { values in toJSONArrayWithTransform(values, transform: transform) } + #endif ToJSON.optionalBasicType(transformed2DArray, map: map) } } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional array of array of objects with transform public func <- (left: inout [[Transform.Object]]!, right: (Map, Transform)) { let (map, transform) = right @@ -513,14 +580,21 @@ public func <- (left: inout [[Transform.Object]]!, rig left >>> right case .fromJSON where map.isKeyPresent: guard let original2DArray = map.currentValue as? [[Any]] else { break } + #if swift(>=4.1) + let transformed2DArray = original2DArray.compactMap { values in + fromJSONArrayWithTransform(values as Any?, transform: transform) + } + #else let transformed2DArray = original2DArray.flatMap { values in fromJSONArrayWithTransform(values as Any?, transform: transform) } + #endif FromJSON.optionalBasicType(&left, object: transformed2DArray) default: break } } +#endif // MARK:- Set of Mappable objects with a transform - Set @@ -572,6 +646,8 @@ public func >>> (left: Set?, right: } +// Code targeting the Swift 4.1 compiler and below. +#if !(swift(>=4.1.50) || (swift(>=3.4) && !swift(>=4.0))) /// Implicitly unwrapped Optional set of Mappable objects with transform public func <- (left: inout Set!, right: (Map, Transform)) where Transform.Object: BaseMappable { let (map, transform) = right @@ -585,13 +661,20 @@ public func <- (left: inout Set!, ri default: () } } +#endif private func fromJSONArrayWithTransform(_ input: Any?, transform: Transform) -> [Transform.Object]? { if let values = input as? [Any] { + #if swift(>=4.1) + return values.compactMap { value in + return transform.transformFromJSON(value) + } + #else return values.flatMap { value in return transform.transformFromJSON(value) } + #endif } else { return nil } @@ -608,9 +691,15 @@ private func fromJSONDictionaryWithTransform(_ input: } private func toJSONArrayWithTransform(_ input: [Transform.Object]?, transform: Transform) -> [Transform.JSON]? { + #if swift(>=4.1) + return input?.compactMap { value in + return transform.transformToJSON(value) + } + #else return input?.flatMap { value in return transform.transformToJSON(value) } + #endif } private func toJSONDictionaryWithTransform(_ input: [String: Transform.Object]?, transform: Transform) -> [String: Transform.JSON]? { diff --git a/Pods/ObjectMapper/Sources/TransformType.swift b/Pods/ObjectMapper/Sources/TransformType.swift index 61578c3..5daf0d3 100644 --- a/Pods/ObjectMapper/Sources/TransformType.swift +++ b/Pods/ObjectMapper/Sources/TransformType.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/ObjectMapper/Sources/URLTransform.swift b/Pods/ObjectMapper/Sources/URLTransform.swift index 5624476..1e8bbb2 100644 --- a/Pods/ObjectMapper/Sources/URLTransform.swift +++ b/Pods/ObjectMapper/Sources/URLTransform.swift @@ -6,7 +6,7 @@ // // The MIT License (MIT) // -// Copyright (c) 2014-2016 Hearst +// Copyright (c) 2014-2018 Tristan Himmelman // // Permission is hereby granted, free of charge, to any person obtaining a copy // of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/Pods.xcodeproj/project.pbxproj b/Pods/Pods.xcodeproj/project.pbxproj index ba843f2..c6dbab3 100644 --- a/Pods/Pods.xcodeproj/project.pbxproj +++ b/Pods/Pods.xcodeproj/project.pbxproj @@ -3,481 +3,494 @@ archiveVersion = 1; classes = { }; - objectVersion = 46; + objectVersion = 51; objects = { /* Begin PBXBuildFile section */ - 02A8CD406255AE081E99A62241BAC587 /* IQToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = EABDC72C37899C677AE0D1BE9DB5BE1D /* IQToolbar.swift */; }; - 03CA80A930C75EBEAB64BFA46BE61FD9 /* KRActivityIndicatorView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 484CFF3BF0CA8B5F8054E18530DA9442 /* KRActivityIndicatorView-dummy.m */; }; - 04F92443ADBF565C7BB63D2BE06CDE70 /* Pods-PayHost iOS SDK-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 955F209CBA47E9779353191F694570DA /* Pods-PayHost iOS SDK-dummy.m */; }; - 0F981C56836FE34E921BC7253826A170 /* CustomDateFormatTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = F6F4786472A2F35A0F5734E8C9C8BFAA /* CustomDateFormatTransform.swift */; }; - 134859C42E05396F62489E4329ECF6EA /* ToJSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = D99B67E1B2D77E58A300A3D936DAFC90 /* ToJSON.swift */; }; - 1894026C296B8A77711607C98ED40C86 /* IntegerOperators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2BC6A9B6C25E598E5C59D812D7794029 /* IntegerOperators.swift */; }; - 18E9B5E96557418567FCB7DCC559299F /* TransformOperators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6FAAD52E8F1AC1F4AC208D93F7D6BE0B /* TransformOperators.swift */; }; - 194858D10B9B1DD9FFEFBE4EAA0700F3 /* TransformOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = D828404F24E5853A9E97E024E08345D1 /* TransformOf.swift */; }; - 1F0F49D029C4471F2AE3712D1FCB1D8A /* IQTitleBarButtonItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = D811B30CF06F292DC097A499C80E1CE6 /* IQTitleBarButtonItem.swift */; }; - 208A480BC997A2FBEDBBA74F2434DEBA /* KRProgressHUDViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC9DCCD869F5D826C3563A4480FD05CA /* KRProgressHUDViewController.swift */; }; - 2384AC373E752D55842F37DE4F2CE2A7 /* IQUIScrollView+Additions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 484F150D51E51800162993FD55B6A745 /* IQUIScrollView+Additions.swift */; }; - 255C4ADB2BD82FEEF86A3D4D43F31C63 /* ISO8601DateTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2E6C211073A6C9E4C1CF951FD5897953 /* ISO8601DateTransform.swift */; }; - 25A195CFCA17BD56D98B207C3F709513 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 62527C85F44688AB67BF3C2060445B05 /* UIKit.framework */; }; - 27156C9092B7A82E24CF96312A941150 /* TransformType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 739B53186F79789475939D8B5C67D778 /* TransformType.swift */; }; - 2A2FE216328BFC23AF9D30EAEFAA2303 /* IQKeyboardManager.bundle in Resources */ = {isa = PBXBuildFile; fileRef = 509F2A90FE52E2168454020C701EE6BD /* IQKeyboardManager.bundle */; }; - 2CA17188D1602C61A5B874EE15E287F6 /* KRProgressHUDIconType.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6534B0128E4172F9FDEE9F56C259584 /* KRProgressHUDIconType.swift */; }; - 2D89AB26203628C04B3E87D045525701 /* MapError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 987B0BA87C624FC723299A901167CD86 /* MapError.swift */; }; - 3077B4186B916A8DB980BBB72DF7FFB9 /* IQUIView+Hierarchy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15D918848C6B6E4B8A3C9181468068DB /* IQUIView+Hierarchy.swift */; }; - 317B66E5D6780D7FD3706DE50FAE9915 /* Pods-PayHost iOS SDK-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 68377C2F25CF53903BD6F754DE1C33E7 /* Pods-PayHost iOS SDK-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 3D1474C367C73546A9258C4A1BFC9293 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D68EAEF5F545ED072E2D5A3EDCCDFDEC /* Foundation.framework */; }; - 3EDCD282B51E16652DC07D259A4ABC31 /* KRProgressHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2F468955B6E1915CF2650C414F987B2 /* KRProgressHUD.swift */; }; - 4215D7313CE6E738AAD80E9FEC6C60CC /* DateFormatterTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 53B45577F7CBDD089273D08779FD3475 /* DateFormatterTransform.swift */; }; - 484DCB8CE2868C38DEA4AF6CF234DDEC /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D68EAEF5F545ED072E2D5A3EDCCDFDEC /* Foundation.framework */; }; - 4882783C5576C5D43CE79C03DE33C3DD /* IQKeyboardManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 223C5B0BA8AC195BBA0DD1CAE9338E50 /* IQKeyboardManager.swift */; }; - 53E0A72846668C4BDCBAEF9C879987ED /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 40C085225DEB6F37B52B06034433B44D /* QuartzCore.framework */; }; - 551FB4DF0E5072BB849BB4FCE74F7361 /* HexColorTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9495CCD0F1F619F54534E2FAD739EE1 /* HexColorTransform.swift */; }; - 59109302859941E04E87DC7044DFEE89 /* ObjectMapper-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 303A9BFEA8F2F7C8D04F385F63966257 /* ObjectMapper-dummy.m */; }; - 64FFC1F647245F61C405AE7AC1DA9D31 /* IQUIWindow+Hierarchy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9DEE81606146D9C598405384E2A2E3F0 /* IQUIWindow+Hierarchy.swift */; }; - 67A4D8A24085ADC44A65404E73461B43 /* Mappable.swift in Sources */ = {isa = PBXBuildFile; fileRef = A3843EB57F310623CC2ACA09CEC1C84C /* Mappable.swift */; }; - 6C2FE27FDBD6621AAB57E4082419C347 /* NSDecimalNumberTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = E99EE65D880D5C871585F09F75F15C56 /* NSDecimalNumberTransform.swift */; }; - 706840688BA7E9BDE5F4DD2C0E558835 /* EnumOperators.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8032BA662DCBB988361AF542C27340A /* EnumOperators.swift */; }; - 77CA4CD47748C0B69982A6D82C2799D5 /* Mapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = A8EFF0917606A42D143706E2CFE26984 /* Mapper.swift */; }; - 7FED2F4354037A5FE31CBEF9E48FE86F /* KRActivityIndicatorView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C053E65190EFB7141D257A7C7CA27B7A /* KRActivityIndicatorView.framework */; }; - 866952184CCB9236E8D567A97A7C3224 /* IQUIViewController+Additions.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDA819A11799FF44788CB4C457611C15 /* IQUIViewController+Additions.swift */; }; - 87AD9D97F0F94C85720FC018235CD8A9 /* IQKeyboardManagerSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = D58DA47FF0F069383F308C85E6737229 /* IQKeyboardManagerSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - 88A25F661A4435D57041D21700515CC6 /* IQTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B248940B67089777325FB35119AB8C7 /* IQTextView.swift */; }; - 8C24D10078B6686E6A81E92E81EED4D8 /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 010CAB3D6D4B9CE4497A45CEFE2D9120 /* CoreGraphics.framework */; }; - 92664741D031D8278A316BA7EFC84446 /* KRActivityIndicatorPath.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2DA14E1C180EC14D651880AF8AEE821 /* KRActivityIndicatorPath.swift */; }; - 9B9C1A095D68E3B91BD38F910C6F2E7F /* IQKeyboardManagerConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7530C00EAEB04A38183062F80EA45A6 /* IQKeyboardManagerConstants.swift */; }; - 9C178A996A6A0F14CF4B1F1D1BA4B2EB /* IQUIView+IQKeyboardToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 49BE2625D51C3AF14E6C1B6C1095556B /* IQUIView+IQKeyboardToolbar.swift */; }; - A128DBCF691E0F4D2AC3EEA36F7BD562 /* ObjectMapper-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = EAC48F8EAD0FCEBB14C6FA19BBFAAB13 /* ObjectMapper-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - A5BFC49ED41BC416BEBF4772517AB741 /* Map.swift in Sources */ = {isa = PBXBuildFile; fileRef = 62B7707B88C9B88308D5A35D8B2245D7 /* Map.swift */; }; - AC8B5F4EB8F6F705F45537AAC9F3596A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D68EAEF5F545ED072E2D5A3EDCCDFDEC /* Foundation.framework */; }; - B0EF72D8E2CB6594FEE4DB2600B32650 /* IQKeyboardManagerSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 3C8D6E22D17A497CF3AB6531B6D23F89 /* IQKeyboardManagerSwift-dummy.m */; }; - B1A7ADAE2CAEDA5D703CE5C6A6DA405B /* IQUITextFieldView+Additions.swift in Sources */ = {isa = PBXBuildFile; fileRef = B21DCDA76237AEDF98D2933A7DD647A1 /* IQUITextFieldView+Additions.swift */; }; - B2EFEFFB34D517F8E9A203B674AEBD13 /* DictionaryTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1557C5563CAEAC106650B3F82484602F /* DictionaryTransform.swift */; }; - B9C39C539A810D1958AEEF1AEC0FD75C /* ImmutableMappable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F184081F142DED7A1D9C1577C197B328 /* ImmutableMappable.swift */; }; - C40F6D2FE20755C045864C23F73260C8 /* IQKeyboardReturnKeyHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2A5E6EA8C00D8B78DE5AD7DC28424AF /* IQKeyboardReturnKeyHandler.swift */; }; - C768B9D9A1FAC5FCAE14F59628A933F3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D68EAEF5F545ED072E2D5A3EDCCDFDEC /* Foundation.framework */; }; - C77FAFB9F57F4B95CD6B9235ED15FBD6 /* KRProgressHUD-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8B0938C543AD7AA496A68DC784DFC4E2 /* KRProgressHUD-dummy.m */; }; - CB29E86F679E9DDC5C5A1C89482701CA /* IQPreviousNextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA15D7819571CFC509A0279E2357BBF4 /* IQPreviousNextView.swift */; }; - CC93854C66A808596F5A3B58FDB49BF8 /* IQNSArray+Sort.swift in Sources */ = {isa = PBXBuildFile; fileRef = C00496E8E2ACF28F154708AE3D7D0742 /* IQNSArray+Sort.swift */; }; - D392D371C9E6B7F543A80951F1B6F350 /* KRActivityIndicatorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = A49F30670E694799E47E28F6603CC9FE /* KRActivityIndicatorView.swift */; }; - D8D8B7E67C3F17BBFC668574FA55FA54 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = D68EAEF5F545ED072E2D5A3EDCCDFDEC /* Foundation.framework */; }; - DB87FF0D3B17ABB5452FDD4D70C9A84D /* FromJSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = EE7C43161D294E4FF5C810F386074F35 /* FromJSON.swift */; }; - E2BACCDF0CDAC407690535F958054C29 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DCFEC03C05963405EC7BE7E88F39C48 /* Extensions.swift */; }; - EA67527CAF7ED571C8A84B66DDD70FBE /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2CF4983F92352AF7B740F0F70628F40 /* Operators.swift */; }; - EA7DBE3CBE4BB064DEE23907B7B7E55A /* KRActivityIndicatorView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9DB47FC575CD2FBD8E3A04748B1D3F4A /* KRActivityIndicatorView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - EC1A896625476730D64BF9645624BBAD /* DataTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0416F1882EDE00A5B83E53D71B3522B5 /* DataTransform.swift */; }; - EC2CCB07B8CCEF669FAF345D29691030 /* IQKeyboardManagerConstantsInternal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BC4A02A6CD1C8BA05F4640A92A58008 /* IQKeyboardManagerConstantsInternal.swift */; }; - EF31DEF966B6036D2D6C844979432D4D /* KRActivityIndicatorViewStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7EBCD7085FADCAC8CDD6C14CA76FFDEC /* KRActivityIndicatorViewStyle.swift */; }; - F48DD4AF7C254B7A2F67A690AF8EF143 /* IQBarButtonItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91CBEBEB64CD1EB59F2822758FF497AC /* IQBarButtonItem.swift */; }; - F527B0A072DFD754B471E4C1F6B16C48 /* URLTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24B0AE8FBD268A1E565F300CE8921A92 /* URLTransform.swift */; }; - F52BFCF2B5AD81D02F0CAC3FA31F8FF9 /* InnerKRProgressHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5B55028410F0B5EBE8498A8527053AE /* InnerKRProgressHUD.swift */; }; - F9B63BDA169DB048D41DA8395261AEBA /* DateTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 973CFA41BAFB022B126F4E6A02B27AF6 /* DateTransform.swift */; }; - FC3294A0000030B4742823802882FF96 /* KRProgressHUD-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 73FF1B5BA689000EFAD1745D72460A6E /* KRProgressHUD-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; - FCE734BD83FB03D3DC9F8AA843ECD73B /* EnumTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 42011BF11A5E528C2438DF7164D8B6C4 /* EnumTransform.swift */; }; + 011870970D0B25596A5ABB2284111BA6 /* IQKeyboardManagerSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 97420CD62213905F9394626F17A42653 /* IQKeyboardManagerSwift-dummy.m */; }; + 02E11AACB509E00F07FC45B073374310 /* EnumTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = D6FC90229524D031502E4BBA536F2885 /* EnumTransform.swift */; }; + 042134D5E6DCCABC52CC325388705509 /* IQUIView+IQKeyboardToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 50D4955586C96EA55AC7C7CACB1DB0D3 /* IQUIView+IQKeyboardToolbar.swift */; }; + 0C9FD48191A4E68417C886A9BA356C76 /* ISO8601DateTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3FEDD95C7C6D331AB396A2B7D241C86E /* ISO8601DateTransform.swift */; }; + 0E478FF7AD49149E802261DB853A2837 /* DateTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = B0A38D14D2FF85D76573AB0FE165141F /* DateTransform.swift */; }; + 2AF2761DA3C38D6F1BDE0EC11682CC4C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 684444362AB3AE747590DD9058E4AD5C /* Foundation.framework */; }; + 338A33F0E7CD8361905A4BEB5BC9B1F5 /* IQTextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = BB2096F722B841FAFB37B5D6B72C0B3E /* IQTextView.swift */; }; + 3556C30029720A3AF9CDBF70BE28281C /* FromJSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F928FEE946A1EBCEAB9881E5FD6542C /* FromJSON.swift */; }; + 3EC52C8A6BABE4066E466519E31C3E03 /* IQKeyboardManagerSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3F752597D3BDBDDB90B3694AA0655077 /* IQKeyboardManagerSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 407CE41C33F73AD50885765DD46F9834 /* IQKeyboardManagerConstantsInternal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D91B76963F8B1399DEC2F85642B1CAE /* IQKeyboardManagerConstantsInternal.swift */; }; + 45EF41171CA52C2B9E61E1CCD69DDAB6 /* Map.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1298780D02BAEC7FB2D3E436C3AC186F /* Map.swift */; }; + 474BD176D99232B052652223E9CE4BDB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 684444362AB3AE747590DD9058E4AD5C /* Foundation.framework */; }; + 4A2D8E4BA4222581DB30A8693DD38882 /* KRActivityIndicatorView-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 83134682F44059EDD23F45FEB5189A9E /* KRActivityIndicatorView-dummy.m */; }; + 553CF23D91DC8777B26191C77938004A /* NSDecimalNumberTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = EB67A3E420DF77C7EFD6FEC909C0F9A6 /* NSDecimalNumberTransform.swift */; }; + 5DF7D4DDD9D864CD3BDA42B3796CB9D1 /* IQToolbar.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6DCFEDA05BEFB10051DF287AD767AF6A /* IQToolbar.swift */; }; + 6175AF685E0002FAA4CC678BE48A8C10 /* KRProgressHUDIconType.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCAE8DAA875F7EE2E5CB59D567FE928A /* KRProgressHUDIconType.swift */; }; + 64C60112E347C8B0F4B70760861FA125 /* EnumOperators.swift in Sources */ = {isa = PBXBuildFile; fileRef = B579D399EDFE2A87D10079A5A0B85AA4 /* EnumOperators.swift */; }; + 65F3F57891C3534229655745DB094F1B /* TransformOf.swift in Sources */ = {isa = PBXBuildFile; fileRef = C132520490D26F441BE4984EB32F2DD5 /* TransformOf.swift */; }; + 664B70329CC935DB023416ADE2F203DC /* DictionaryTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = DC2A7120B313FBCAA0EB5EF24EC80B16 /* DictionaryTransform.swift */; }; + 6A4DA0F3D04D1D6959AEB6AC0FF30D3C /* CoreGraphics.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E3596B819A6EE1317FB26D62064E21AF /* CoreGraphics.framework */; }; + 71B31EDCC1ACA87CD0B5A8EDACDF1D03 /* KRProgressHUD-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F33D55E8B1372DE31CEC306215CEFA52 /* KRProgressHUD-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 76C1A19FDA11BB821306AFBB083B9DB1 /* IQUITextFieldView+Additions.swift in Sources */ = {isa = PBXBuildFile; fileRef = FF0B95AAF3867F51B78F534820C7675C /* IQUITextFieldView+Additions.swift */; }; + 76CEB7F10CB3A5FD4EB7FAEE292D9BB4 /* IQBarButtonItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 665957A406F6B5D907E8216B5A78F412 /* IQBarButtonItem.swift */; }; + 78BB4BFABCB498A10A06C02661795CDB /* ObjectMapper-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 14EFC4D1D394248AD3D3423B3B675305 /* ObjectMapper-dummy.m */; }; + 7908F4065CB1E8A38293CE28F4936941 /* Mapper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7EE4991047E4BB9BDFFDC10EFBB62292 /* Mapper.swift */; }; + 83ADD0310D235BAF1EF73EBFCFCBBB50 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 684444362AB3AE747590DD9058E4AD5C /* Foundation.framework */; }; + 8691040C4144FF67AF097D34E7B4075A /* KRActivityIndicatorView.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1C6E7241588BC0B1C4542ACEAF52CC0 /* KRActivityIndicatorView.swift */; }; + 86D61ED9E92755CAA98639EF12E90D65 /* Operators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 067782F8498A09FAC8614B3202FEBE3D /* Operators.swift */; }; + 8B1AACB428E8CBE1DA787D946A2E7304 /* IQNSArray+Sort.swift in Sources */ = {isa = PBXBuildFile; fileRef = 195C3038F5CF5E7D67D7169D8E28E485 /* IQNSArray+Sort.swift */; }; + 8B9A92D11D4EEED16C604FE0A493451B /* Pods-PayHost iOS SDK-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 082DFAA70FE277953AD8D04803974ECB /* Pods-PayHost iOS SDK-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + 8DA5B74F96053B88D81B4C81C4D42C64 /* ToJSON.swift in Sources */ = {isa = PBXBuildFile; fileRef = 21B621C1BBB564EA09EE365BDD02C19A /* ToJSON.swift */; }; + 8DD6655A8D7C00D6744CDB29327EE83E /* IQUIView+Hierarchy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 91C1C8EFA377C0B33859584E379E8D99 /* IQUIView+Hierarchy.swift */; }; + 8F965F0161EB81C4C8228D10EDF56453 /* KRActivityIndicatorView.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 97424E111B2EC40067810DAACC45C05F /* KRActivityIndicatorView.framework */; }; + 96DBFE11AAE27CA46A220B4FB06C355B /* IntegerOperators.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3CB74394303FB859F6F43AE45EFB5C21 /* IntegerOperators.swift */; }; + 98256B7605EC40EBC1653FAE1FBAAF7C /* IQKeyboardManagerConstants.swift in Sources */ = {isa = PBXBuildFile; fileRef = 925C5D4043521C511C126A98F72E6767 /* IQKeyboardManagerConstants.swift */; }; + 98CC7BEAD7F982A0978939D804818C72 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0FEE972499A526E7C8F2655082960BA /* Extensions.swift */; }; + 9A2E1EA1F0F8F4FA13589FEFC4D712B0 /* HexColorTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCF452FDE3B0EBAE120434058B2C7F7B /* HexColorTransform.swift */; }; + 9C8A12E79E63AA73FC25D6D536DDA89A /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 684444362AB3AE747590DD9058E4AD5C /* Foundation.framework */; }; + 9F73038C5D5809B9C54A4D5455C0CA91 /* MapError.swift in Sources */ = {isa = PBXBuildFile; fileRef = DBE13D9833DC00177182655BDE291451 /* MapError.swift */; }; + A2195480FD04EAD347BB54512D60F925 /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8CD5E01C4E57DBE0F67E29123426B6B2 /* UIKit.framework */; }; + A23B1618251C3B92A365B5669F513796 /* CodableTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = E623B8971C2544D9A395EB51962C128B /* CodableTransform.swift */; }; + A35CB412DFB6E16F962F7D2A5E792D5D /* TransformType.swift in Sources */ = {isa = PBXBuildFile; fileRef = AD44ADAF987B67AD473081A838059925 /* TransformType.swift */; }; + A6ACF3873DCAD3FCF1A773074ED922FC /* IQKeyboardManager.bundle in Resources */ = {isa = PBXBuildFile; fileRef = C82061B96CED61E797790E2D383BAC01 /* IQKeyboardManager.bundle */; }; + B08BE67E2FAACEB75B2642DEA72EBAEC /* KRActivityIndicatorView-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = DA4660EF85AAD3CBD7F1E431044F2DD8 /* KRActivityIndicatorView-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + B101432D47885C832BF1066E7F89C7DC /* IQUIViewController+Additions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 60325C7B28D0F357FCEE5208C41B5C77 /* IQUIViewController+Additions.swift */; }; + B4A09A31159DC4BBD705B24893E7AC38 /* ObjectMapper-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E08AA08594EF8FC10BA6CCCA830D0025 /* ObjectMapper-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; }; + BA20136BCBE057C39C17715499EBABDB /* IQKeyboardManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = BAECC785C0839AD4D0DF11E0D30B4B40 /* IQKeyboardManager.swift */; }; + BA2A816A2CDE195F83BBC03AB4671980 /* TransformOperators.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC9D998C5155E095EFBC79EDF524077A /* TransformOperators.swift */; }; + BD9CCB8ED4E9B9CCCAA0D21E86BC4652 /* IQPreviousNextView.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2BA04BF818D6FF30393271320FCA18D /* IQPreviousNextView.swift */; }; + BE77AF28ABBCD1A186B56195290331D8 /* Mappable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5958B0BD0430906BA66C571E9B82CFA0 /* Mappable.swift */; }; + C1295E98EFFD9626E5D50D96EF9E14BA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 684444362AB3AE747590DD9058E4AD5C /* Foundation.framework */; }; + C218FE5D841254675FA809C980579D18 /* KRProgressHUD-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 35FA331C9CAEF02DF2A8663C8D29A376 /* KRProgressHUD-dummy.m */; }; + C8EA7E3F75F76EE125999F562CF47AB1 /* Pods-PayHost iOS SDK-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 70B19C32DD3FF9809DA35B2F10640ABA /* Pods-PayHost iOS SDK-dummy.m */; }; + CB4318178237D4899B88D6253994DB4E /* IQUIScrollView+Additions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23C94E03EE763FF760F18C970714CC59 /* IQUIScrollView+Additions.swift */; }; + CC069B0287D9AD5428F0C35460A8DD33 /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C947AFDC6A09068BDE45FB65E1467433 /* QuartzCore.framework */; }; + CC24972563148849699038574AA62A46 /* IQUIWindow+Hierarchy.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E4D07C66064BAF9B98B52C225DD404 /* IQUIWindow+Hierarchy.swift */; }; + D0A665A78DA17DC6D4E13883245CAA3C /* InnerKRProgressHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54DB2D0088EFF9D0224D9A2E838419FF /* InnerKRProgressHUD.swift */; }; + DBA00C6A264C2E09CA73D144B38CB16A /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8BBEB33B1CC9505BF6253B2A78342917 /* Extensions.swift */; }; + E2FDD2A5769C153B3B7D0B0C8630EE62 /* IQKeyboardReturnKeyHandler.swift in Sources */ = {isa = PBXBuildFile; fileRef = F978C2EFD5C4FCFCE2FAA888E57EDE0D /* IQKeyboardReturnKeyHandler.swift */; }; + EB2E92AFE8E36A23EE6D311736B88B67 /* DataTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = A87F84B3C8A742504C615E913B473E42 /* DataTransform.swift */; }; + EC070297716F78F774EA722F417DD787 /* KRProgressHUD.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1799A926353280FABC29453E6299E49D /* KRProgressHUD.swift */; }; + F000D6CA12F7C477EC63335B91707775 /* URLTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B0435EA41B4C822B587DC9D54C8CD42 /* URLTransform.swift */; }; + F18FCAB8BC039DC8AC34B752FD1D7A42 /* KRProgressHUDViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75085A5A8F39EDAC7E8A13065298404C /* KRProgressHUDViewController.swift */; }; + F2CA9FD6E3A7EFBB13BCEF662D06524B /* CustomDateFormatTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 148ED52ED2284B1E3577C7853FAD38FB /* CustomDateFormatTransform.swift */; }; + F60975556A37AD5647ED82DC76E9CF6F /* DateFormatterTransform.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54AF49C86659D0BC9D44B77581B5F3B7 /* DateFormatterTransform.swift */; }; + F64EAB10BAE213A7034C70C8CCAE2B44 /* KRActivityIndicatorViewStyle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 27C2CA8AD6F78E792CF4377BB0A602FC /* KRActivityIndicatorViewStyle.swift */; }; + F9B31EED95B0E98A057B6012F9883DCF /* ImmutableMappable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2060570FF2FFA21F3A1DD95C1CB75E51 /* ImmutableMappable.swift */; }; + FA6D5AF65C3FB7BF100D4BF726FCC3C7 /* IQTitleBarButtonItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = B600E728A4CFCE1A6A9E865AC0055E9C /* IQTitleBarButtonItem.swift */; }; /* End PBXBuildFile section */ /* Begin PBXContainerItemProxy section */ - 07E8CE093CA95259C899D9315A870AFB /* PBXContainerItemProxy */ = { + 2259673D31452449CEEDAA76A52AC381 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = AAD871965311281EC1C74B5C0CF8DCAA; - remoteInfo = KRProgressHUD; + remoteGlobalIDString = 162E649F50FEC62B61BDD87D1BD422B4; + remoteInfo = ObjectMapper; }; - 6E1ACCEA3AFA88A2F7BD4327ABA571A6 /* PBXContainerItemProxy */ = { + 4733EBF47F3988162FBBAD5BCE72EFA9 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 9C4AED8E7F0E8047550BDB01102B0913; + remoteGlobalIDString = 4F7A1E5A05AF87570E2873C5F725E2CB; remoteInfo = KRActivityIndicatorView; }; - ADC12BE987152E15A7459443C7D8C918 /* PBXContainerItemProxy */ = { + 5F3A5DC7A94FF5FE690FD26A901C570F /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = C235F77E101E742652CCF98FFDFA5182; - remoteInfo = IQKeyboardManagerSwift; + remoteGlobalIDString = 4F7A1E5A05AF87570E2873C5F725E2CB; + remoteInfo = KRActivityIndicatorView; }; - B862317FB30DABCCC8E156BF795B7563 /* PBXContainerItemProxy */ = { + A1F16E203D840092C884A332C0CCC033 /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = CD6C9FB6B052E1CF663F8A56041EA163; - remoteInfo = ObjectMapper; + remoteGlobalIDString = BA4681533D6AA601F9C9E2A116B7472C; + remoteInfo = KRProgressHUD; }; - DE053A367D63E74AC8F74EE52E7B476D /* PBXContainerItemProxy */ = { + D1AB6A5641BC9F9951985EC03CC49DDF /* PBXContainerItemProxy */ = { isa = PBXContainerItemProxy; - containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + containerPortal = BFDFE7DC352907FC980B868725387E98 /* Project object */; proxyType = 1; - remoteGlobalIDString = 9C4AED8E7F0E8047550BDB01102B0913; - remoteInfo = KRActivityIndicatorView; + remoteGlobalIDString = B490E7485944099E16C9CBD79119D1D4; + remoteInfo = IQKeyboardManagerSwift; }; /* End PBXContainerItemProxy section */ /* Begin PBXFileReference section */ - 010CAB3D6D4B9CE4497A45CEFE2D9120 /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; }; - 0416F1882EDE00A5B83E53D71B3522B5 /* DataTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DataTransform.swift; path = Sources/DataTransform.swift; sourceTree = ""; }; - 0B248940B67089777325FB35119AB8C7 /* IQTextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQTextView.swift; path = IQKeyboardManagerSwift/IQTextView/IQTextView.swift; sourceTree = ""; }; - 0DCFEC03C05963405EC7BE7E88F39C48 /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = KRProgressHUD/Classes/Extensions.swift; sourceTree = ""; }; - 0F654DF96BD52C8A818FCA19D4790F5B /* ObjectMapper-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ObjectMapper-prefix.pch"; sourceTree = ""; }; - 1475A81BB9A2645AA2DDEE4A67543B84 /* KRActivityIndicatorView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = KRActivityIndicatorView.modulemap; sourceTree = ""; }; - 1557C5563CAEAC106650B3F82484602F /* DictionaryTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DictionaryTransform.swift; path = Sources/DictionaryTransform.swift; sourceTree = ""; }; - 15D918848C6B6E4B8A3C9181468068DB /* IQUIView+Hierarchy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIView+Hierarchy.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift"; sourceTree = ""; }; - 1BC4A02A6CD1C8BA05F4640A92A58008 /* IQKeyboardManagerConstantsInternal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardManagerConstantsInternal.swift; path = IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstantsInternal.swift; sourceTree = ""; }; - 1C09CCCD0DA1586624504D38903B9D30 /* Pods-PayHost iOS SDK-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PayHost iOS SDK-acknowledgements.markdown"; sourceTree = ""; }; - 223C5B0BA8AC195BBA0DD1CAE9338E50 /* IQKeyboardManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardManager.swift; path = IQKeyboardManagerSwift/IQKeyboardManager.swift; sourceTree = ""; }; - 24B0AE8FBD268A1E565F300CE8921A92 /* URLTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = URLTransform.swift; path = Sources/URLTransform.swift; sourceTree = ""; }; - 26F979EC0B25DD035C216699312AE921 /* Pods-PayHost iOS SDK.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-PayHost iOS SDK.modulemap"; sourceTree = ""; }; - 2BC6A9B6C25E598E5C59D812D7794029 /* IntegerOperators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IntegerOperators.swift; path = Sources/IntegerOperators.swift; sourceTree = ""; }; - 2C9B98E43E9C84233CE2EFD448835004 /* IQKeyboardManagerSwift.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = IQKeyboardManagerSwift.xcconfig; sourceTree = ""; }; - 2E6C211073A6C9E4C1CF951FD5897953 /* ISO8601DateTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ISO8601DateTransform.swift; path = Sources/ISO8601DateTransform.swift; sourceTree = ""; }; - 2FD2E9D0FD5D8B99E55730335324E5DD /* Pods-PayHost iOS SDK.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PayHost iOS SDK.release.xcconfig"; sourceTree = ""; }; - 303A9BFEA8F2F7C8D04F385F63966257 /* ObjectMapper-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ObjectMapper-dummy.m"; sourceTree = ""; }; - 33863AA13598C56648102EFE65AB1521 /* IQKeyboardManagerSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "IQKeyboardManagerSwift-prefix.pch"; sourceTree = ""; }; - 33D57A6F5D1AE2AEA30E03252CCD66E1 /* KRProgressHUD-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRProgressHUD-prefix.pch"; sourceTree = ""; }; - 3461335B690EBB7844D0D1ECAF341384 /* Pods-PayHost iOS SDK-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PayHost iOS SDK-frameworks.sh"; sourceTree = ""; }; - 3C8D6E22D17A497CF3AB6531B6D23F89 /* IQKeyboardManagerSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "IQKeyboardManagerSwift-dummy.m"; sourceTree = ""; }; - 40C085225DEB6F37B52B06034433B44D /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; }; - 42011BF11A5E528C2438DF7164D8B6C4 /* EnumTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EnumTransform.swift; path = Sources/EnumTransform.swift; sourceTree = ""; }; - 484CFF3BF0CA8B5F8054E18530DA9442 /* KRActivityIndicatorView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KRActivityIndicatorView-dummy.m"; sourceTree = ""; }; - 484F150D51E51800162993FD55B6A745 /* IQUIScrollView+Additions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIScrollView+Additions.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift"; sourceTree = ""; }; - 49BE2625D51C3AF14E6C1B6C1095556B /* IQUIView+IQKeyboardToolbar.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIView+IQKeyboardToolbar.swift"; path = "IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift"; sourceTree = ""; }; - 49FA24D58A4EAC2DEB728CC116871E39 /* ObjectMapper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = ObjectMapper.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 509F2A90FE52E2168454020C701EE6BD /* IQKeyboardManager.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; name = IQKeyboardManager.bundle; path = IQKeyboardManagerSwift/Resources/IQKeyboardManager.bundle; sourceTree = ""; }; - 53B45577F7CBDD089273D08779FD3475 /* DateFormatterTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DateFormatterTransform.swift; path = Sources/DateFormatterTransform.swift; sourceTree = ""; }; - 5D02A5A3DC87CC79E6BA0806871DD026 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 5F5D1C863075C6D72AA201DB88726D86 /* KRActivityIndicatorView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRActivityIndicatorView-prefix.pch"; sourceTree = ""; }; - 60ABB642A09E431E98FA9BD155421200 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 62527C85F44688AB67BF3C2060445B05 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; - 62B7707B88C9B88308D5A35D8B2245D7 /* Map.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Map.swift; path = Sources/Map.swift; sourceTree = ""; }; - 6507C2198EF1FD8DCA84936E40F15A76 /* KRProgressHUD.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = KRProgressHUD.modulemap; sourceTree = ""; }; - 68377C2F25CF53903BD6F754DE1C33E7 /* Pods-PayHost iOS SDK-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PayHost iOS SDK-umbrella.h"; sourceTree = ""; }; - 6A575004AFA514BC5E92C8323942E085 /* KRProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KRProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 6D1C0BEC49D5E86A8BC7AC655B7DF169 /* Pods_PayHost_iOS_SDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_PayHost_iOS_SDK.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - 6FAAD52E8F1AC1F4AC208D93F7D6BE0B /* TransformOperators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformOperators.swift; path = Sources/TransformOperators.swift; sourceTree = ""; }; - 739B53186F79789475939D8B5C67D778 /* TransformType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformType.swift; path = Sources/TransformType.swift; sourceTree = ""; }; - 73FF1B5BA689000EFAD1745D72460A6E /* KRProgressHUD-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRProgressHUD-umbrella.h"; sourceTree = ""; }; - 76AF202F04745F434522250FBBC6F88F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - 7EBCD7085FADCAC8CDD6C14CA76FFDEC /* KRActivityIndicatorViewStyle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRActivityIndicatorViewStyle.swift; path = KRActivityIndicatorView/Classes/KRActivityIndicatorViewStyle.swift; sourceTree = ""; }; - 8056C602E607C7DB567A173CC1CEBB97 /* Pods-PayHost iOS SDK-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PayHost iOS SDK-acknowledgements.plist"; sourceTree = ""; }; - 8B0938C543AD7AA496A68DC784DFC4E2 /* KRProgressHUD-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KRProgressHUD-dummy.m"; sourceTree = ""; }; - 91CBEBEB64CD1EB59F2822758FF497AC /* IQBarButtonItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQBarButtonItem.swift; path = IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift; sourceTree = ""; }; - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; - 940B0B5F790E385C8EC886BA461E8914 /* IQKeyboardManagerSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = IQKeyboardManagerSwift.modulemap; sourceTree = ""; }; - 955F209CBA47E9779353191F694570DA /* Pods-PayHost iOS SDK-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PayHost iOS SDK-dummy.m"; sourceTree = ""; }; - 95EC1B3223AB76E5AAFFD26F798C474E /* ObjectMapper.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ObjectMapper.modulemap; sourceTree = ""; }; - 973CFA41BAFB022B126F4E6A02B27AF6 /* DateTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DateTransform.swift; path = Sources/DateTransform.swift; sourceTree = ""; }; - 987B0BA87C624FC723299A901167CD86 /* MapError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MapError.swift; path = Sources/MapError.swift; sourceTree = ""; }; - 9DB47FC575CD2FBD8E3A04748B1D3F4A /* KRActivityIndicatorView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRActivityIndicatorView-umbrella.h"; sourceTree = ""; }; - 9DEE81606146D9C598405384E2A2E3F0 /* IQUIWindow+Hierarchy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIWindow+Hierarchy.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIWindow+Hierarchy.swift"; sourceTree = ""; }; - A2A5E6EA8C00D8B78DE5AD7DC28424AF /* IQKeyboardReturnKeyHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardReturnKeyHandler.swift; path = IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift; sourceTree = ""; }; - A35F7899FC37356E72D2918F5622EB6F /* KRProgressHUD.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KRProgressHUD.xcconfig; sourceTree = ""; }; - A3843EB57F310623CC2ACA09CEC1C84C /* Mappable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Mappable.swift; path = Sources/Mappable.swift; sourceTree = ""; }; - A49F30670E694799E47E28F6603CC9FE /* KRActivityIndicatorView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRActivityIndicatorView.swift; path = KRActivityIndicatorView/Classes/KRActivityIndicatorView.swift; sourceTree = ""; }; - A8EFF0917606A42D143706E2CFE26984 /* Mapper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Mapper.swift; path = Sources/Mapper.swift; sourceTree = ""; }; - A9495CCD0F1F619F54534E2FAD739EE1 /* HexColorTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HexColorTransform.swift; path = Sources/HexColorTransform.swift; sourceTree = ""; }; - B21DCDA76237AEDF98D2933A7DD647A1 /* IQUITextFieldView+Additions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUITextFieldView+Additions.swift"; path = "IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift"; sourceTree = ""; }; - B2EF7FC5B27099E47128945A9F88C5B2 /* IQKeyboardManagerSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = IQKeyboardManagerSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - B6534B0128E4172F9FDEE9F56C259584 /* KRProgressHUDIconType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRProgressHUDIconType.swift; path = KRProgressHUD/Classes/KRProgressHUDIconType.swift; sourceTree = ""; }; - B7530C00EAEB04A38183062F80EA45A6 /* IQKeyboardManagerConstants.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardManagerConstants.swift; path = IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstants.swift; sourceTree = ""; }; - B8032BA662DCBB988361AF542C27340A /* EnumOperators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EnumOperators.swift; path = Sources/EnumOperators.swift; sourceTree = ""; }; - BA15D7819571CFC509A0279E2357BBF4 /* IQPreviousNextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQPreviousNextView.swift; path = IQKeyboardManagerSwift/IQToolbar/IQPreviousNextView.swift; sourceTree = ""; }; - C00496E8E2ACF28F154708AE3D7D0742 /* IQNSArray+Sort.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQNSArray+Sort.swift"; path = "IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift"; sourceTree = ""; }; - C053E65190EFB7141D257A7C7CA27B7A /* KRActivityIndicatorView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KRActivityIndicatorView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - D2CF4983F92352AF7B740F0F70628F40 /* Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Operators.swift; path = Sources/Operators.swift; sourceTree = ""; }; - D58DA47FF0F069383F308C85E6737229 /* IQKeyboardManagerSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "IQKeyboardManagerSwift-umbrella.h"; sourceTree = ""; }; - D68EAEF5F545ED072E2D5A3EDCCDFDEC /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS11.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; - D811B30CF06F292DC097A499C80E1CE6 /* IQTitleBarButtonItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQTitleBarButtonItem.swift; path = IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift; sourceTree = ""; }; - D828404F24E5853A9E97E024E08345D1 /* TransformOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformOf.swift; path = Sources/TransformOf.swift; sourceTree = ""; }; - D99B67E1B2D77E58A300A3D936DAFC90 /* ToJSON.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToJSON.swift; path = Sources/ToJSON.swift; sourceTree = ""; }; - DAD13532BDE6EDB3BAE47647F9F39CFD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - E2F468955B6E1915CF2650C414F987B2 /* KRProgressHUD.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRProgressHUD.swift; path = KRProgressHUD/Classes/KRProgressHUD.swift; sourceTree = ""; }; - E5B55028410F0B5EBE8498A8527053AE /* InnerKRProgressHUD.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InnerKRProgressHUD.swift; path = KRProgressHUD/Classes/InnerKRProgressHUD.swift; sourceTree = ""; }; - E99EE65D880D5C871585F09F75F15C56 /* NSDecimalNumberTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NSDecimalNumberTransform.swift; path = Sources/NSDecimalNumberTransform.swift; sourceTree = ""; }; - EABDC72C37899C677AE0D1BE9DB5BE1D /* IQToolbar.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQToolbar.swift; path = IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift; sourceTree = ""; }; - EAC48F8EAD0FCEBB14C6FA19BBFAAB13 /* ObjectMapper-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ObjectMapper-umbrella.h"; sourceTree = ""; }; - EBB628B9036ADEA11153B045BBAD6D76 /* Pods-PayHost iOS SDK.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PayHost iOS SDK.debug.xcconfig"; sourceTree = ""; }; - ED9CBD4689A0D54359DE714F30329B30 /* Pods-PayHost iOS SDK-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PayHost iOS SDK-resources.sh"; sourceTree = ""; }; - EDA819A11799FF44788CB4C457611C15 /* IQUIViewController+Additions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIViewController+Additions.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift"; sourceTree = ""; }; - EE7C43161D294E4FF5C810F386074F35 /* FromJSON.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FromJSON.swift; path = Sources/FromJSON.swift; sourceTree = ""; }; - F03C580A15C179FD9B037F25109D0072 /* ObjectMapper.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ObjectMapper.xcconfig; sourceTree = ""; }; - F03F5732DDC48050E40C13F106077C1B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = ""; }; - F184081F142DED7A1D9C1577C197B328 /* ImmutableMappable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImmutableMappable.swift; path = Sources/ImmutableMappable.swift; sourceTree = ""; }; - F2DA14E1C180EC14D651880AF8AEE821 /* KRActivityIndicatorPath.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRActivityIndicatorPath.swift; path = KRActivityIndicatorView/Classes/KRActivityIndicatorPath.swift; sourceTree = ""; }; - F399A644B7D008BD7E1BDD6D3C181351 /* KRActivityIndicatorView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KRActivityIndicatorView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; - F6F4786472A2F35A0F5734E8C9C8BFAA /* CustomDateFormatTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CustomDateFormatTransform.swift; path = Sources/CustomDateFormatTransform.swift; sourceTree = ""; }; - FA56AA45E4CF557343CEC6C1199E82A1 /* KRActivityIndicatorView.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KRActivityIndicatorView.xcconfig; sourceTree = ""; }; - FC9DCCD869F5D826C3563A4480FD05CA /* KRProgressHUDViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRProgressHUDViewController.swift; path = KRProgressHUD/Classes/KRProgressHUDViewController.swift; sourceTree = ""; }; + 01B77116DC8CD290772B3E6EF16AF352 /* Pods-PayHost iOS SDK.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PayHost iOS SDK.debug.xcconfig"; sourceTree = ""; }; + 067782F8498A09FAC8614B3202FEBE3D /* Operators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Operators.swift; path = Sources/Operators.swift; sourceTree = ""; }; + 082DFAA70FE277953AD8D04803974ECB /* Pods-PayHost iOS SDK-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-PayHost iOS SDK-umbrella.h"; sourceTree = ""; }; + 1298780D02BAEC7FB2D3E436C3AC186F /* Map.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Map.swift; path = Sources/Map.swift; sourceTree = ""; }; + 148ED52ED2284B1E3577C7853FAD38FB /* CustomDateFormatTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CustomDateFormatTransform.swift; path = Sources/CustomDateFormatTransform.swift; sourceTree = ""; }; + 14EFC4D1D394248AD3D3423B3B675305 /* ObjectMapper-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "ObjectMapper-dummy.m"; sourceTree = ""; }; + 1799A926353280FABC29453E6299E49D /* KRProgressHUD.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRProgressHUD.swift; path = KRProgressHUD/Classes/KRProgressHUD.swift; sourceTree = ""; }; + 195C3038F5CF5E7D67D7169D8E28E485 /* IQNSArray+Sort.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQNSArray+Sort.swift"; path = "IQKeyboardManagerSwift/Categories/IQNSArray+Sort.swift"; sourceTree = ""; }; + 1C33CB84138510317C9CFF8E19C47C23 /* KRProgressHUD.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = KRProgressHUD.framework; path = KRProgressHUD.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 2060570FF2FFA21F3A1DD95C1CB75E51 /* ImmutableMappable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImmutableMappable.swift; path = Sources/ImmutableMappable.swift; sourceTree = ""; }; + 21B621C1BBB564EA09EE365BDD02C19A /* ToJSON.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToJSON.swift; path = Sources/ToJSON.swift; sourceTree = ""; }; + 23C94E03EE763FF760F18C970714CC59 /* IQUIScrollView+Additions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIScrollView+Additions.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIScrollView+Additions.swift"; sourceTree = ""; }; + 27C2CA8AD6F78E792CF4377BB0A602FC /* KRActivityIndicatorViewStyle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRActivityIndicatorViewStyle.swift; path = KRActivityIndicatorView/Classes/KRActivityIndicatorViewStyle.swift; sourceTree = ""; }; + 35FA331C9CAEF02DF2A8663C8D29A376 /* KRProgressHUD-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KRProgressHUD-dummy.m"; sourceTree = ""; }; + 3CB74394303FB859F6F43AE45EFB5C21 /* IntegerOperators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IntegerOperators.swift; path = Sources/IntegerOperators.swift; sourceTree = ""; }; + 3E0BFFA820952F50539529AAF058ED2C /* Pods-PayHost iOS SDK-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PayHost iOS SDK-Info.plist"; sourceTree = ""; }; + 3F752597D3BDBDDB90B3694AA0655077 /* IQKeyboardManagerSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "IQKeyboardManagerSwift-umbrella.h"; sourceTree = ""; }; + 3FEDD95C7C6D331AB396A2B7D241C86E /* ISO8601DateTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ISO8601DateTransform.swift; path = Sources/ISO8601DateTransform.swift; sourceTree = ""; }; + 498039B78A5580247131011B59DEDEA7 /* Pods-PayHost iOS SDK.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-PayHost iOS SDK.release.xcconfig"; sourceTree = ""; }; + 4B0435EA41B4C822B587DC9D54C8CD42 /* URLTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = URLTransform.swift; path = Sources/URLTransform.swift; sourceTree = ""; }; + 4E503525EBD9E115629D535D92737C49 /* ObjectMapper.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ObjectMapper.debug.xcconfig; sourceTree = ""; }; + 4E5830799CD6D1412A5CAA7D739E07B9 /* KRProgressHUD.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = KRProgressHUD.modulemap; sourceTree = ""; }; + 50D4955586C96EA55AC7C7CACB1DB0D3 /* IQUIView+IQKeyboardToolbar.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIView+IQKeyboardToolbar.swift"; path = "IQKeyboardManagerSwift/IQToolbar/IQUIView+IQKeyboardToolbar.swift"; sourceTree = ""; }; + 54AF49C86659D0BC9D44B77581B5F3B7 /* DateFormatterTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DateFormatterTransform.swift; path = Sources/DateFormatterTransform.swift; sourceTree = ""; }; + 54DB2D0088EFF9D0224D9A2E838419FF /* InnerKRProgressHUD.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InnerKRProgressHUD.swift; path = KRProgressHUD/Classes/InnerKRProgressHUD.swift; sourceTree = ""; }; + 5958B0BD0430906BA66C571E9B82CFA0 /* Mappable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Mappable.swift; path = Sources/Mappable.swift; sourceTree = ""; }; + 60325C7B28D0F357FCEE5208C41B5C77 /* IQUIViewController+Additions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIViewController+Additions.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIViewController+Additions.swift"; sourceTree = ""; }; + 6581EEFD5EF0252274F11E96B4CD6904 /* KRActivityIndicatorView-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "KRActivityIndicatorView-Info.plist"; sourceTree = ""; }; + 665957A406F6B5D907E8216B5A78F412 /* IQBarButtonItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQBarButtonItem.swift; path = IQKeyboardManagerSwift/IQToolbar/IQBarButtonItem.swift; sourceTree = ""; }; + 684444362AB3AE747590DD9058E4AD5C /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; }; + 6D91B76963F8B1399DEC2F85642B1CAE /* IQKeyboardManagerConstantsInternal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardManagerConstantsInternal.swift; path = IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstantsInternal.swift; sourceTree = ""; }; + 6DCFEDA05BEFB10051DF287AD767AF6A /* IQToolbar.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQToolbar.swift; path = IQKeyboardManagerSwift/IQToolbar/IQToolbar.swift; sourceTree = ""; }; + 6E126D67CD738EC6B5ABBD57C33819FD /* KRActivityIndicatorView.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KRActivityIndicatorView.debug.xcconfig; sourceTree = ""; }; + 6F928FEE946A1EBCEAB9881E5FD6542C /* FromJSON.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = FromJSON.swift; path = Sources/FromJSON.swift; sourceTree = ""; }; + 70B19C32DD3FF9809DA35B2F10640ABA /* Pods-PayHost iOS SDK-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-PayHost iOS SDK-dummy.m"; sourceTree = ""; }; + 75085A5A8F39EDAC7E8A13065298404C /* KRProgressHUDViewController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRProgressHUDViewController.swift; path = KRProgressHUD/Classes/KRProgressHUDViewController.swift; sourceTree = ""; }; + 7EE4991047E4BB9BDFFDC10EFBB62292 /* Mapper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Mapper.swift; path = Sources/Mapper.swift; sourceTree = ""; }; + 83134682F44059EDD23F45FEB5189A9E /* KRActivityIndicatorView-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "KRActivityIndicatorView-dummy.m"; sourceTree = ""; }; + 8BBEB33B1CC9505BF6253B2A78342917 /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = KRActivityIndicatorView/Classes/Extensions.swift; sourceTree = ""; }; + 8CD5E01C4E57DBE0F67E29123426B6B2 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; }; + 8E3CA8A537DD49BB6DDC6279ADD24BBD /* IQKeyboardManagerSwift-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "IQKeyboardManagerSwift-Info.plist"; sourceTree = ""; }; + 8FBE34EBFBE178B07D036EAF4E98A908 /* Pods-PayHost iOS SDK.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-PayHost iOS SDK.modulemap"; sourceTree = ""; }; + 91C1C8EFA377C0B33859584E379E8D99 /* IQUIView+Hierarchy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIView+Hierarchy.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIView+Hierarchy.swift"; sourceTree = ""; }; + 9258ECC23A4C8B0274C7A6DF69DDFE95 /* KRActivityIndicatorView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = KRActivityIndicatorView.framework; path = KRActivityIndicatorView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 925C5D4043521C511C126A98F72E6767 /* IQKeyboardManagerConstants.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardManagerConstants.swift; path = IQKeyboardManagerSwift/Constants/IQKeyboardManagerConstants.swift; sourceTree = ""; }; + 960EB2B59BC992143DA376E3903891FD /* Pods-PayHost iOS SDK-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-PayHost iOS SDK-frameworks.sh"; sourceTree = ""; }; + 97420CD62213905F9394626F17A42653 /* IQKeyboardManagerSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "IQKeyboardManagerSwift-dummy.m"; sourceTree = ""; }; + 97424E111B2EC40067810DAACC45C05F /* KRActivityIndicatorView.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = KRActivityIndicatorView.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + 9AFE8E89B1F6385C3ABA61ED10573E4B /* KRProgressHUD-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "KRProgressHUD-Info.plist"; sourceTree = ""; }; + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; indentWidth = 2; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; tabWidth = 2; xcLanguageSpecificationIdentifier = xcode.lang.ruby; }; + 9E2D859221666DF79F6A2732FCB4AEE9 /* KRActivityIndicatorView.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = KRActivityIndicatorView.modulemap; sourceTree = ""; }; + A6E374F670AFFB4DDF8D49EF76306FB0 /* ObjectMapper.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = ObjectMapper.release.xcconfig; sourceTree = ""; }; + A7208EC6C44366E782568312FC228648 /* IQKeyboardManagerSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = IQKeyboardManagerSwift.modulemap; sourceTree = ""; }; + A87F84B3C8A742504C615E913B473E42 /* DataTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DataTransform.swift; path = Sources/DataTransform.swift; sourceTree = ""; }; + A8E950A16D00F649C54FFB30F81D7842 /* IQKeyboardManagerSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = IQKeyboardManagerSwift.framework; path = IQKeyboardManagerSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + A911E54D7AD42086FC3EDFBD92F1A3F5 /* KRProgressHUD-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRProgressHUD-prefix.pch"; sourceTree = ""; }; + A9E4D07C66064BAF9B98B52C225DD404 /* IQUIWindow+Hierarchy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUIWindow+Hierarchy.swift"; path = "IQKeyboardManagerSwift/Categories/IQUIWindow+Hierarchy.swift"; sourceTree = ""; }; + AA731A5F147F36860F315E2BD1770F5E /* ObjectMapper-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ObjectMapper-prefix.pch"; sourceTree = ""; }; + AD44ADAF987B67AD473081A838059925 /* TransformType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformType.swift; path = Sources/TransformType.swift; sourceTree = ""; }; + B03BDA3AED30C75E6B633F8334AFD5E7 /* KRProgressHUD.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KRProgressHUD.release.xcconfig; sourceTree = ""; }; + B0A38D14D2FF85D76573AB0FE165141F /* DateTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DateTransform.swift; path = Sources/DateTransform.swift; sourceTree = ""; }; + B579D399EDFE2A87D10079A5A0B85AA4 /* EnumOperators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EnumOperators.swift; path = Sources/EnumOperators.swift; sourceTree = ""; }; + B600E728A4CFCE1A6A9E865AC0055E9C /* IQTitleBarButtonItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQTitleBarButtonItem.swift; path = IQKeyboardManagerSwift/IQToolbar/IQTitleBarButtonItem.swift; sourceTree = ""; }; + B9084FE779702931E8DF1D00A2D725FB /* ObjectMapper.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = ObjectMapper.framework; path = ObjectMapper.framework; sourceTree = BUILT_PRODUCTS_DIR; }; + BAECC785C0839AD4D0DF11E0D30B4B40 /* IQKeyboardManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardManager.swift; path = IQKeyboardManagerSwift/IQKeyboardManager.swift; sourceTree = ""; }; + BB2096F722B841FAFB37B5D6B72C0B3E /* IQTextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQTextView.swift; path = IQKeyboardManagerSwift/IQTextView/IQTextView.swift; sourceTree = ""; }; + BCAE8DAA875F7EE2E5CB59D567FE928A /* KRProgressHUDIconType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRProgressHUDIconType.swift; path = KRProgressHUD/Classes/KRProgressHUDIconType.swift; sourceTree = ""; }; + BCF452FDE3B0EBAE120434058B2C7F7B /* HexColorTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HexColorTransform.swift; path = Sources/HexColorTransform.swift; sourceTree = ""; }; + C132520490D26F441BE4984EB32F2DD5 /* TransformOf.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformOf.swift; path = Sources/TransformOf.swift; sourceTree = ""; }; + C1C6E7241588BC0B1C4542ACEAF52CC0 /* KRActivityIndicatorView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = KRActivityIndicatorView.swift; path = KRActivityIndicatorView/Classes/KRActivityIndicatorView.swift; sourceTree = ""; }; + C54372506D69E97FD389853E6FED36FA /* KRActivityIndicatorView-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRActivityIndicatorView-prefix.pch"; sourceTree = ""; }; + C700F03502599A59A8157AA002E486E8 /* IQKeyboardManagerSwift.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = IQKeyboardManagerSwift.release.xcconfig; sourceTree = ""; }; + C7C6F3FE4AD6EE7357CA5A8EFCF6FEAF /* Pods-PayHost iOS SDK-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-PayHost iOS SDK-acknowledgements.plist"; sourceTree = ""; }; + C7EBECDFDC8451C6D53FE9E21270A882 /* IQKeyboardManagerSwift.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = IQKeyboardManagerSwift.debug.xcconfig; sourceTree = ""; }; + C82061B96CED61E797790E2D383BAC01 /* IQKeyboardManager.bundle */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = "wrapper.plug-in"; name = IQKeyboardManager.bundle; path = IQKeyboardManagerSwift/Resources/IQKeyboardManager.bundle; sourceTree = ""; }; + C947AFDC6A09068BDE45FB65E1467433 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; }; + CC9D998C5155E095EFBC79EDF524077A /* TransformOperators.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TransformOperators.swift; path = Sources/TransformOperators.swift; sourceTree = ""; }; + D6FC90229524D031502E4BBA536F2885 /* EnumTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = EnumTransform.swift; path = Sources/EnumTransform.swift; sourceTree = ""; }; + DA4660EF85AAD3CBD7F1E431044F2DD8 /* KRActivityIndicatorView-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRActivityIndicatorView-umbrella.h"; sourceTree = ""; }; + DBE13D9833DC00177182655BDE291451 /* MapError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MapError.swift; path = Sources/MapError.swift; sourceTree = ""; }; + DC21EAA891F76EBB9B4DFAA3CF872655 /* KRProgressHUD.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KRProgressHUD.debug.xcconfig; sourceTree = ""; }; + DC2A7120B313FBCAA0EB5EF24EC80B16 /* DictionaryTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DictionaryTransform.swift; path = Sources/DictionaryTransform.swift; sourceTree = ""; }; + DF4F0042B94193D37B267BA3F35AFC9E /* ObjectMapper.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = ObjectMapper.modulemap; sourceTree = ""; }; + E08AA08594EF8FC10BA6CCCA830D0025 /* ObjectMapper-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "ObjectMapper-umbrella.h"; sourceTree = ""; }; + E0FEE972499A526E7C8F2655082960BA /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = KRProgressHUD/Classes/Extensions.swift; sourceTree = ""; }; + E14B0FFA558173C05A1952366955C8B9 /* KRActivityIndicatorView.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = KRActivityIndicatorView.release.xcconfig; sourceTree = ""; }; + E3596B819A6EE1317FB26D62064E21AF /* CoreGraphics.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = CoreGraphics.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS12.2.sdk/System/Library/Frameworks/CoreGraphics.framework; sourceTree = DEVELOPER_DIR; }; + E3C53077C5F8A22C7BB03E7CF755ED7C /* IQKeyboardManagerSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "IQKeyboardManagerSwift-prefix.pch"; sourceTree = ""; }; + E623B8971C2544D9A395EB51962C128B /* CodableTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CodableTransform.swift; path = Sources/CodableTransform.swift; sourceTree = ""; }; + EB67A3E420DF77C7EFD6FEC909C0F9A6 /* NSDecimalNumberTransform.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NSDecimalNumberTransform.swift; path = Sources/NSDecimalNumberTransform.swift; sourceTree = ""; }; + ECB09C485090B848C4F22D0DCF823D7E /* ObjectMapper-Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "ObjectMapper-Info.plist"; sourceTree = ""; }; + EF13B15D881257677A7FB8AC219F34A7 /* Pods-PayHost iOS SDK-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-PayHost iOS SDK-acknowledgements.markdown"; sourceTree = ""; }; + F1A5D40989B58C59C18F5AEE64A3F3C0 /* Pods_PayHost_iOS_SDK.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_PayHost_iOS_SDK.framework; path = "Pods-PayHost iOS SDK.framework"; sourceTree = BUILT_PRODUCTS_DIR; }; + F2BA04BF818D6FF30393271320FCA18D /* IQPreviousNextView.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQPreviousNextView.swift; path = IQKeyboardManagerSwift/IQToolbar/IQPreviousNextView.swift; sourceTree = ""; }; + F33D55E8B1372DE31CEC306215CEFA52 /* KRProgressHUD-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "KRProgressHUD-umbrella.h"; sourceTree = ""; }; + F978C2EFD5C4FCFCE2FAA888E57EDE0D /* IQKeyboardReturnKeyHandler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = IQKeyboardReturnKeyHandler.swift; path = IQKeyboardManagerSwift/IQKeyboardReturnKeyHandler.swift; sourceTree = ""; }; + FF0B95AAF3867F51B78F534820C7675C /* IQUITextFieldView+Additions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "IQUITextFieldView+Additions.swift"; path = "IQKeyboardManagerSwift/Categories/IQUITextFieldView+Additions.swift"; sourceTree = ""; }; /* End PBXFileReference section */ /* Begin PBXFrameworksBuildPhase section */ - 2A84D2B0A0E8E6633025B5ACCDC4A544 /* Frameworks */ = { + 14E074A45A6B1D44B044DC67B5FD56CF /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 484DCB8CE2868C38DEA4AF6CF234DDEC /* Foundation.framework in Frameworks */, + 9C8A12E79E63AA73FC25D6D536DDA89A /* Foundation.framework in Frameworks */, + 8F965F0161EB81C4C8228D10EDF56453 /* KRActivityIndicatorView.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 76CADA3FD29B0E9ED151A91D3CDEF910 /* Frameworks */ = { + 574AFD59673947704DF970986A16AE22 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - D8D8B7E67C3F17BBFC668574FA55FA54 /* Foundation.framework in Frameworks */, - 7FED2F4354037A5FE31CBEF9E48FE86F /* KRActivityIndicatorView.framework in Frameworks */, + 6A4DA0F3D04D1D6959AEB6AC0FF30D3C /* CoreGraphics.framework in Frameworks */, + 474BD176D99232B052652223E9CE4BDB /* Foundation.framework in Frameworks */, + CC069B0287D9AD5428F0C35460A8DD33 /* QuartzCore.framework in Frameworks */, + A2195480FD04EAD347BB54512D60F925 /* UIKit.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 7D76057A3D5B2214266640A8F8B33EAA /* Frameworks */ = { + 8D1A63B255B97C79B781E519412FE23E /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - C768B9D9A1FAC5FCAE14F59628A933F3 /* Foundation.framework in Frameworks */, + C1295E98EFFD9626E5D50D96EF9E14BA /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - 81A5C814ACEB86CB06CD6C51383982FE /* Frameworks */ = { + B50EB449725EBC060C7CB4F2D370360F /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - 8C24D10078B6686E6A81E92E81EED4D8 /* CoreGraphics.framework in Frameworks */, - 3D1474C367C73546A9258C4A1BFC9293 /* Foundation.framework in Frameworks */, - 53E0A72846668C4BDCBAEF9C879987ED /* QuartzCore.framework in Frameworks */, - 25A195CFCA17BD56D98B207C3F709513 /* UIKit.framework in Frameworks */, + 2AF2761DA3C38D6F1BDE0EC11682CC4C /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; - C4F4068871A73EB6FBE8042AF2063595 /* Frameworks */ = { + ED1637C96BF54A5D16D10C9E2A6FEA60 /* Frameworks */ = { isa = PBXFrameworksBuildPhase; buildActionMask = 2147483647; files = ( - AC8B5F4EB8F6F705F45537AAC9F3596A /* Foundation.framework in Frameworks */, + 83ADD0310D235BAF1EF73EBFCFCBBB50 /* Foundation.framework in Frameworks */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXFrameworksBuildPhase section */ /* Begin PBXGroup section */ - 051939EDED2B30055A34F78D4ED6BEA9 /* Targets Support Files */ = { + 2315E2F088E1EE52C960F1E052EE4AD1 /* KRProgressHUD */ = { isa = PBXGroup; children = ( - 24D0730424B0DBDAF52F8BFE3A65DB4A /* Pods-PayHost iOS SDK */, + E0FEE972499A526E7C8F2655082960BA /* Extensions.swift */, + 54DB2D0088EFF9D0224D9A2E838419FF /* InnerKRProgressHUD.swift */, + 1799A926353280FABC29453E6299E49D /* KRProgressHUD.swift */, + BCAE8DAA875F7EE2E5CB59D567FE928A /* KRProgressHUDIconType.swift */, + 75085A5A8F39EDAC7E8A13065298404C /* KRProgressHUDViewController.swift */, + C82F08AD5B6958321F4F181B74B55B7F /* Support Files */, ); - name = "Targets Support Files"; + name = KRProgressHUD; + path = KRProgressHUD; sourceTree = ""; }; - 21C353B37EADA628112E247C88709F86 /* Support Files */ = { + 345FADED7DBCA143CC1EDCB57807A0CB /* Support Files */ = { isa = PBXGroup; children = ( - 76AF202F04745F434522250FBBC6F88F /* Info.plist */, - 940B0B5F790E385C8EC886BA461E8914 /* IQKeyboardManagerSwift.modulemap */, - 2C9B98E43E9C84233CE2EFD448835004 /* IQKeyboardManagerSwift.xcconfig */, - 3C8D6E22D17A497CF3AB6531B6D23F89 /* IQKeyboardManagerSwift-dummy.m */, - 33863AA13598C56648102EFE65AB1521 /* IQKeyboardManagerSwift-prefix.pch */, - D58DA47FF0F069383F308C85E6737229 /* IQKeyboardManagerSwift-umbrella.h */, + 9E2D859221666DF79F6A2732FCB4AEE9 /* KRActivityIndicatorView.modulemap */, + 83134682F44059EDD23F45FEB5189A9E /* KRActivityIndicatorView-dummy.m */, + 6581EEFD5EF0252274F11E96B4CD6904 /* KRActivityIndicatorView-Info.plist */, + C54372506D69E97FD389853E6FED36FA /* KRActivityIndicatorView-prefix.pch */, + DA4660EF85AAD3CBD7F1E431044F2DD8 /* KRActivityIndicatorView-umbrella.h */, + 6E126D67CD738EC6B5ABBD57C33819FD /* KRActivityIndicatorView.debug.xcconfig */, + E14B0FFA558173C05A1952366955C8B9 /* KRActivityIndicatorView.release.xcconfig */, ); name = "Support Files"; - path = "../Target Support Files/IQKeyboardManagerSwift"; + path = "../Target Support Files/KRActivityIndicatorView"; sourceTree = ""; }; - 24D0730424B0DBDAF52F8BFE3A65DB4A /* Pods-PayHost iOS SDK */ = { + 360FD0F186177BDF73347A5EF217A014 /* Support Files */ = { isa = PBXGroup; children = ( - 5D02A5A3DC87CC79E6BA0806871DD026 /* Info.plist */, - 26F979EC0B25DD035C216699312AE921 /* Pods-PayHost iOS SDK.modulemap */, - 1C09CCCD0DA1586624504D38903B9D30 /* Pods-PayHost iOS SDK-acknowledgements.markdown */, - 8056C602E607C7DB567A173CC1CEBB97 /* Pods-PayHost iOS SDK-acknowledgements.plist */, - 955F209CBA47E9779353191F694570DA /* Pods-PayHost iOS SDK-dummy.m */, - 3461335B690EBB7844D0D1ECAF341384 /* Pods-PayHost iOS SDK-frameworks.sh */, - ED9CBD4689A0D54359DE714F30329B30 /* Pods-PayHost iOS SDK-resources.sh */, - 68377C2F25CF53903BD6F754DE1C33E7 /* Pods-PayHost iOS SDK-umbrella.h */, - EBB628B9036ADEA11153B045BBAD6D76 /* Pods-PayHost iOS SDK.debug.xcconfig */, - 2FD2E9D0FD5D8B99E55730335324E5DD /* Pods-PayHost iOS SDK.release.xcconfig */, + A7208EC6C44366E782568312FC228648 /* IQKeyboardManagerSwift.modulemap */, + 97420CD62213905F9394626F17A42653 /* IQKeyboardManagerSwift-dummy.m */, + 8E3CA8A537DD49BB6DDC6279ADD24BBD /* IQKeyboardManagerSwift-Info.plist */, + E3C53077C5F8A22C7BB03E7CF755ED7C /* IQKeyboardManagerSwift-prefix.pch */, + 3F752597D3BDBDDB90B3694AA0655077 /* IQKeyboardManagerSwift-umbrella.h */, + C7EBECDFDC8451C6D53FE9E21270A882 /* IQKeyboardManagerSwift.debug.xcconfig */, + C700F03502599A59A8157AA002E486E8 /* IQKeyboardManagerSwift.release.xcconfig */, ); - name = "Pods-PayHost iOS SDK"; - path = "Target Support Files/Pods-PayHost iOS SDK"; + name = "Support Files"; + path = "../Target Support Files/IQKeyboardManagerSwift"; sourceTree = ""; }; - 319D48B7BC97AC401E7F1C07ED252615 /* iOS */ = { + 4C772B3EBB94B46E2FB90E5F6B4E9884 /* Pods-PayHost iOS SDK */ = { isa = PBXGroup; children = ( - 010CAB3D6D4B9CE4497A45CEFE2D9120 /* CoreGraphics.framework */, - D68EAEF5F545ED072E2D5A3EDCCDFDEC /* Foundation.framework */, - 40C085225DEB6F37B52B06034433B44D /* QuartzCore.framework */, - 62527C85F44688AB67BF3C2060445B05 /* UIKit.framework */, + 8FBE34EBFBE178B07D036EAF4E98A908 /* Pods-PayHost iOS SDK.modulemap */, + EF13B15D881257677A7FB8AC219F34A7 /* Pods-PayHost iOS SDK-acknowledgements.markdown */, + C7C6F3FE4AD6EE7357CA5A8EFCF6FEAF /* Pods-PayHost iOS SDK-acknowledgements.plist */, + 70B19C32DD3FF9809DA35B2F10640ABA /* Pods-PayHost iOS SDK-dummy.m */, + 960EB2B59BC992143DA376E3903891FD /* Pods-PayHost iOS SDK-frameworks.sh */, + 3E0BFFA820952F50539529AAF058ED2C /* Pods-PayHost iOS SDK-Info.plist */, + 082DFAA70FE277953AD8D04803974ECB /* Pods-PayHost iOS SDK-umbrella.h */, + 01B77116DC8CD290772B3E6EF16AF352 /* Pods-PayHost iOS SDK.debug.xcconfig */, + 498039B78A5580247131011B59DEDEA7 /* Pods-PayHost iOS SDK.release.xcconfig */, ); - name = iOS; + name = "Pods-PayHost iOS SDK"; + path = "Target Support Files/Pods-PayHost iOS SDK"; sourceTree = ""; }; - 41B3051E83F6B15F2159AD0F1161F9A4 /* Support Files */ = { + 4F41AFD90067276B552D7DF8A6DD2C65 /* iOS */ = { isa = PBXGroup; children = ( - 60ABB642A09E431E98FA9BD155421200 /* Info.plist */, - 6507C2198EF1FD8DCA84936E40F15A76 /* KRProgressHUD.modulemap */, - A35F7899FC37356E72D2918F5622EB6F /* KRProgressHUD.xcconfig */, - 8B0938C543AD7AA496A68DC784DFC4E2 /* KRProgressHUD-dummy.m */, - 33D57A6F5D1AE2AEA30E03252CCD66E1 /* KRProgressHUD-prefix.pch */, - 73FF1B5BA689000EFAD1745D72460A6E /* KRProgressHUD-umbrella.h */, + E3596B819A6EE1317FB26D62064E21AF /* CoreGraphics.framework */, + 684444362AB3AE747590DD9058E4AD5C /* Foundation.framework */, + C947AFDC6A09068BDE45FB65E1467433 /* QuartzCore.framework */, + 8CD5E01C4E57DBE0F67E29123426B6B2 /* UIKit.framework */, ); - name = "Support Files"; - path = "../Target Support Files/KRProgressHUD"; + name = iOS; sourceTree = ""; }; - 45CFC6D2A1BC793A18B381FFBDC4E5E5 /* Resources */ = { + 63E9F4DA057A2E94EE999EAD0517F19A /* Resources */ = { isa = PBXGroup; children = ( - 509F2A90FE52E2168454020C701EE6BD /* IQKeyboardManager.bundle */, + C82061B96CED61E797790E2D383BAC01 /* IQKeyboardManager.bundle */, ); name = Resources; sourceTree = ""; }; - 4AC065354056993C5AEFDB07A1629370 /* Support Files */ = { + 7069019508E8E10FAB28A434373B02E5 /* Products */ = { isa = PBXGroup; children = ( - DAD13532BDE6EDB3BAE47647F9F39CFD /* Info.plist */, - 1475A81BB9A2645AA2DDEE4A67543B84 /* KRActivityIndicatorView.modulemap */, - FA56AA45E4CF557343CEC6C1199E82A1 /* KRActivityIndicatorView.xcconfig */, - 484CFF3BF0CA8B5F8054E18530DA9442 /* KRActivityIndicatorView-dummy.m */, - 5F5D1C863075C6D72AA201DB88726D86 /* KRActivityIndicatorView-prefix.pch */, - 9DB47FC575CD2FBD8E3A04748B1D3F4A /* KRActivityIndicatorView-umbrella.h */, + A8E950A16D00F649C54FFB30F81D7842 /* IQKeyboardManagerSwift.framework */, + 9258ECC23A4C8B0274C7A6DF69DDFE95 /* KRActivityIndicatorView.framework */, + 1C33CB84138510317C9CFF8E19C47C23 /* KRProgressHUD.framework */, + B9084FE779702931E8DF1D00A2D725FB /* ObjectMapper.framework */, + F1A5D40989B58C59C18F5AEE64A3F3C0 /* Pods_PayHost_iOS_SDK.framework */, ); - name = "Support Files"; - path = "../Target Support Files/KRActivityIndicatorView"; + name = Products; sourceTree = ""; }; - 644105020CE5E85A041834E68CE22E5C /* KRProgressHUD */ = { + 87A752682FF3EA712DA2779A1E31D207 /* KRActivityIndicatorView */ = { isa = PBXGroup; children = ( - 0DCFEC03C05963405EC7BE7E88F39C48 /* Extensions.swift */, - E5B55028410F0B5EBE8498A8527053AE /* InnerKRProgressHUD.swift */, - E2F468955B6E1915CF2650C414F987B2 /* KRProgressHUD.swift */, - B6534B0128E4172F9FDEE9F56C259584 /* KRProgressHUDIconType.swift */, - FC9DCCD869F5D826C3563A4480FD05CA /* KRProgressHUDViewController.swift */, - 41B3051E83F6B15F2159AD0F1161F9A4 /* Support Files */, + 8BBEB33B1CC9505BF6253B2A78342917 /* Extensions.swift */, + C1C6E7241588BC0B1C4542ACEAF52CC0 /* KRActivityIndicatorView.swift */, + 27C2CA8AD6F78E792CF4377BB0A602FC /* KRActivityIndicatorViewStyle.swift */, + 345FADED7DBCA143CC1EDCB57807A0CB /* Support Files */, ); - path = KRProgressHUD; + name = KRActivityIndicatorView; + path = KRActivityIndicatorView; sourceTree = ""; }; - 67D74E37C3AC3F36990706A502B7DC93 /* Frameworks */ = { + A077CA6C107E3C5423A9973D29B1324F /* Frameworks */ = { isa = PBXGroup; children = ( - C053E65190EFB7141D257A7C7CA27B7A /* KRActivityIndicatorView.framework */, - 319D48B7BC97AC401E7F1C07ED252615 /* iOS */, + 97424E111B2EC40067810DAACC45C05F /* KRActivityIndicatorView.framework */, + 4F41AFD90067276B552D7DF8A6DD2C65 /* iOS */, ); name = Frameworks; sourceTree = ""; }; - 70B826693DDC5BD5361FE79A1AF3A7F5 /* Support Files */ = { + B3CC327CB96928C82837FA05E6CA0DD1 /* ObjectMapper */ = { isa = PBXGroup; children = ( - F03F5732DDC48050E40C13F106077C1B /* Info.plist */, - 95EC1B3223AB76E5AAFFD26F798C474E /* ObjectMapper.modulemap */, - F03C580A15C179FD9B037F25109D0072 /* ObjectMapper.xcconfig */, - 303A9BFEA8F2F7C8D04F385F63966257 /* ObjectMapper-dummy.m */, - 0F654DF96BD52C8A818FCA19D4790F5B /* ObjectMapper-prefix.pch */, - EAC48F8EAD0FCEBB14C6FA19BBFAAB13 /* ObjectMapper-umbrella.h */, + E623B8971C2544D9A395EB51962C128B /* CodableTransform.swift */, + 148ED52ED2284B1E3577C7853FAD38FB /* CustomDateFormatTransform.swift */, + A87F84B3C8A742504C615E913B473E42 /* DataTransform.swift */, + 54AF49C86659D0BC9D44B77581B5F3B7 /* DateFormatterTransform.swift */, + B0A38D14D2FF85D76573AB0FE165141F /* DateTransform.swift */, + DC2A7120B313FBCAA0EB5EF24EC80B16 /* DictionaryTransform.swift */, + B579D399EDFE2A87D10079A5A0B85AA4 /* EnumOperators.swift */, + D6FC90229524D031502E4BBA536F2885 /* EnumTransform.swift */, + 6F928FEE946A1EBCEAB9881E5FD6542C /* FromJSON.swift */, + BCF452FDE3B0EBAE120434058B2C7F7B /* HexColorTransform.swift */, + 2060570FF2FFA21F3A1DD95C1CB75E51 /* ImmutableMappable.swift */, + 3CB74394303FB859F6F43AE45EFB5C21 /* IntegerOperators.swift */, + 3FEDD95C7C6D331AB396A2B7D241C86E /* ISO8601DateTransform.swift */, + 1298780D02BAEC7FB2D3E436C3AC186F /* Map.swift */, + DBE13D9833DC00177182655BDE291451 /* MapError.swift */, + 5958B0BD0430906BA66C571E9B82CFA0 /* Mappable.swift */, + 7EE4991047E4BB9BDFFDC10EFBB62292 /* Mapper.swift */, + EB67A3E420DF77C7EFD6FEC909C0F9A6 /* NSDecimalNumberTransform.swift */, + 067782F8498A09FAC8614B3202FEBE3D /* Operators.swift */, + 21B621C1BBB564EA09EE365BDD02C19A /* ToJSON.swift */, + C132520490D26F441BE4984EB32F2DD5 /* TransformOf.swift */, + CC9D998C5155E095EFBC79EDF524077A /* TransformOperators.swift */, + AD44ADAF987B67AD473081A838059925 /* TransformType.swift */, + 4B0435EA41B4C822B587DC9D54C8CD42 /* URLTransform.swift */, + D8E0C35B6DD7D134D4BA627178E6F554 /* Support Files */, ); - name = "Support Files"; - path = "../Target Support Files/ObjectMapper"; + name = ObjectMapper; + path = ObjectMapper; sourceTree = ""; }; - 74DF45F012A4115D651959739D12BF60 /* IQKeyboardManagerSwift */ = { + C82F08AD5B6958321F4F181B74B55B7F /* Support Files */ = { isa = PBXGroup; children = ( - 91CBEBEB64CD1EB59F2822758FF497AC /* IQBarButtonItem.swift */, - 223C5B0BA8AC195BBA0DD1CAE9338E50 /* IQKeyboardManager.swift */, - B7530C00EAEB04A38183062F80EA45A6 /* IQKeyboardManagerConstants.swift */, - 1BC4A02A6CD1C8BA05F4640A92A58008 /* IQKeyboardManagerConstantsInternal.swift */, - A2A5E6EA8C00D8B78DE5AD7DC28424AF /* IQKeyboardReturnKeyHandler.swift */, - C00496E8E2ACF28F154708AE3D7D0742 /* IQNSArray+Sort.swift */, - BA15D7819571CFC509A0279E2357BBF4 /* IQPreviousNextView.swift */, - 0B248940B67089777325FB35119AB8C7 /* IQTextView.swift */, - D811B30CF06F292DC097A499C80E1CE6 /* IQTitleBarButtonItem.swift */, - EABDC72C37899C677AE0D1BE9DB5BE1D /* IQToolbar.swift */, - 484F150D51E51800162993FD55B6A745 /* IQUIScrollView+Additions.swift */, - B21DCDA76237AEDF98D2933A7DD647A1 /* IQUITextFieldView+Additions.swift */, - 15D918848C6B6E4B8A3C9181468068DB /* IQUIView+Hierarchy.swift */, - 49BE2625D51C3AF14E6C1B6C1095556B /* IQUIView+IQKeyboardToolbar.swift */, - EDA819A11799FF44788CB4C457611C15 /* IQUIViewController+Additions.swift */, - 9DEE81606146D9C598405384E2A2E3F0 /* IQUIWindow+Hierarchy.swift */, - 45CFC6D2A1BC793A18B381FFBDC4E5E5 /* Resources */, - 21C353B37EADA628112E247C88709F86 /* Support Files */, + 4E5830799CD6D1412A5CAA7D739E07B9 /* KRProgressHUD.modulemap */, + 35FA331C9CAEF02DF2A8663C8D29A376 /* KRProgressHUD-dummy.m */, + 9AFE8E89B1F6385C3ABA61ED10573E4B /* KRProgressHUD-Info.plist */, + A911E54D7AD42086FC3EDFBD92F1A3F5 /* KRProgressHUD-prefix.pch */, + F33D55E8B1372DE31CEC306215CEFA52 /* KRProgressHUD-umbrella.h */, + DC21EAA891F76EBB9B4DFAA3CF872655 /* KRProgressHUD.debug.xcconfig */, + B03BDA3AED30C75E6B633F8334AFD5E7 /* KRProgressHUD.release.xcconfig */, ); - path = IQKeyboardManagerSwift; + name = "Support Files"; + path = "../Target Support Files/KRProgressHUD"; sourceTree = ""; }; - 7DB346D0F39D3F0E887471402A8071AB = { + CD5904A48AE6E9DB8B7916F740D368E4 /* Targets Support Files */ = { isa = PBXGroup; children = ( - 93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */, - 67D74E37C3AC3F36990706A502B7DC93 /* Frameworks */, - FEBF2217FB0C7599FEC1B2BF5281505A /* Pods */, - 85774C20838AFB7642988D6F46628F12 /* Products */, - 051939EDED2B30055A34F78D4ED6BEA9 /* Targets Support Files */, + 4C772B3EBB94B46E2FB90E5F6B4E9884 /* Pods-PayHost iOS SDK */, ); + name = "Targets Support Files"; sourceTree = ""; }; - 85774C20838AFB7642988D6F46628F12 /* Products */ = { + CF1408CF629C7361332E53B88F7BD30C = { isa = PBXGroup; children = ( - B2EF7FC5B27099E47128945A9F88C5B2 /* IQKeyboardManagerSwift.framework */, - F399A644B7D008BD7E1BDD6D3C181351 /* KRActivityIndicatorView.framework */, - 6A575004AFA514BC5E92C8323942E085 /* KRProgressHUD.framework */, - 49FA24D58A4EAC2DEB728CC116871E39 /* ObjectMapper.framework */, - 6D1C0BEC49D5E86A8BC7AC655B7DF169 /* Pods_PayHost_iOS_SDK.framework */, + 9D940727FF8FB9C785EB98E56350EF41 /* Podfile */, + A077CA6C107E3C5423A9973D29B1324F /* Frameworks */, + FF2D102086426C5CBABE5D3152EAB7C1 /* Pods */, + 7069019508E8E10FAB28A434373B02E5 /* Products */, + CD5904A48AE6E9DB8B7916F740D368E4 /* Targets Support Files */, ); - name = Products; sourceTree = ""; }; - C42DFAC6A5C348860F14CAB18E06F2A7 /* KRActivityIndicatorView */ = { + D8E0C35B6DD7D134D4BA627178E6F554 /* Support Files */ = { isa = PBXGroup; children = ( - F2DA14E1C180EC14D651880AF8AEE821 /* KRActivityIndicatorPath.swift */, - A49F30670E694799E47E28F6603CC9FE /* KRActivityIndicatorView.swift */, - 7EBCD7085FADCAC8CDD6C14CA76FFDEC /* KRActivityIndicatorViewStyle.swift */, - 4AC065354056993C5AEFDB07A1629370 /* Support Files */, + DF4F0042B94193D37B267BA3F35AFC9E /* ObjectMapper.modulemap */, + 14EFC4D1D394248AD3D3423B3B675305 /* ObjectMapper-dummy.m */, + ECB09C485090B848C4F22D0DCF823D7E /* ObjectMapper-Info.plist */, + AA731A5F147F36860F315E2BD1770F5E /* ObjectMapper-prefix.pch */, + E08AA08594EF8FC10BA6CCCA830D0025 /* ObjectMapper-umbrella.h */, + 4E503525EBD9E115629D535D92737C49 /* ObjectMapper.debug.xcconfig */, + A6E374F670AFFB4DDF8D49EF76306FB0 /* ObjectMapper.release.xcconfig */, ); - path = KRActivityIndicatorView; + name = "Support Files"; + path = "../Target Support Files/ObjectMapper"; sourceTree = ""; }; - CAD7FFA959B7BCC177E97539DB3ED2B8 /* ObjectMapper */ = { + F76BEDE57695E9713566CCF56E9502E8 /* IQKeyboardManagerSwift */ = { isa = PBXGroup; children = ( - F6F4786472A2F35A0F5734E8C9C8BFAA /* CustomDateFormatTransform.swift */, - 0416F1882EDE00A5B83E53D71B3522B5 /* DataTransform.swift */, - 53B45577F7CBDD089273D08779FD3475 /* DateFormatterTransform.swift */, - 973CFA41BAFB022B126F4E6A02B27AF6 /* DateTransform.swift */, - 1557C5563CAEAC106650B3F82484602F /* DictionaryTransform.swift */, - B8032BA662DCBB988361AF542C27340A /* EnumOperators.swift */, - 42011BF11A5E528C2438DF7164D8B6C4 /* EnumTransform.swift */, - EE7C43161D294E4FF5C810F386074F35 /* FromJSON.swift */, - A9495CCD0F1F619F54534E2FAD739EE1 /* HexColorTransform.swift */, - F184081F142DED7A1D9C1577C197B328 /* ImmutableMappable.swift */, - 2BC6A9B6C25E598E5C59D812D7794029 /* IntegerOperators.swift */, - 2E6C211073A6C9E4C1CF951FD5897953 /* ISO8601DateTransform.swift */, - 62B7707B88C9B88308D5A35D8B2245D7 /* Map.swift */, - 987B0BA87C624FC723299A901167CD86 /* MapError.swift */, - A3843EB57F310623CC2ACA09CEC1C84C /* Mappable.swift */, - A8EFF0917606A42D143706E2CFE26984 /* Mapper.swift */, - E99EE65D880D5C871585F09F75F15C56 /* NSDecimalNumberTransform.swift */, - D2CF4983F92352AF7B740F0F70628F40 /* Operators.swift */, - D99B67E1B2D77E58A300A3D936DAFC90 /* ToJSON.swift */, - D828404F24E5853A9E97E024E08345D1 /* TransformOf.swift */, - 6FAAD52E8F1AC1F4AC208D93F7D6BE0B /* TransformOperators.swift */, - 739B53186F79789475939D8B5C67D778 /* TransformType.swift */, - 24B0AE8FBD268A1E565F300CE8921A92 /* URLTransform.swift */, - 70B826693DDC5BD5361FE79A1AF3A7F5 /* Support Files */, + 665957A406F6B5D907E8216B5A78F412 /* IQBarButtonItem.swift */, + BAECC785C0839AD4D0DF11E0D30B4B40 /* IQKeyboardManager.swift */, + 925C5D4043521C511C126A98F72E6767 /* IQKeyboardManagerConstants.swift */, + 6D91B76963F8B1399DEC2F85642B1CAE /* IQKeyboardManagerConstantsInternal.swift */, + F978C2EFD5C4FCFCE2FAA888E57EDE0D /* IQKeyboardReturnKeyHandler.swift */, + 195C3038F5CF5E7D67D7169D8E28E485 /* IQNSArray+Sort.swift */, + F2BA04BF818D6FF30393271320FCA18D /* IQPreviousNextView.swift */, + BB2096F722B841FAFB37B5D6B72C0B3E /* IQTextView.swift */, + B600E728A4CFCE1A6A9E865AC0055E9C /* IQTitleBarButtonItem.swift */, + 6DCFEDA05BEFB10051DF287AD767AF6A /* IQToolbar.swift */, + 23C94E03EE763FF760F18C970714CC59 /* IQUIScrollView+Additions.swift */, + FF0B95AAF3867F51B78F534820C7675C /* IQUITextFieldView+Additions.swift */, + 91C1C8EFA377C0B33859584E379E8D99 /* IQUIView+Hierarchy.swift */, + 50D4955586C96EA55AC7C7CACB1DB0D3 /* IQUIView+IQKeyboardToolbar.swift */, + 60325C7B28D0F357FCEE5208C41B5C77 /* IQUIViewController+Additions.swift */, + A9E4D07C66064BAF9B98B52C225DD404 /* IQUIWindow+Hierarchy.swift */, + 63E9F4DA057A2E94EE999EAD0517F19A /* Resources */, + 360FD0F186177BDF73347A5EF217A014 /* Support Files */, ); - path = ObjectMapper; + name = IQKeyboardManagerSwift; + path = IQKeyboardManagerSwift; sourceTree = ""; }; - FEBF2217FB0C7599FEC1B2BF5281505A /* Pods */ = { + FF2D102086426C5CBABE5D3152EAB7C1 /* Pods */ = { isa = PBXGroup; children = ( - 74DF45F012A4115D651959739D12BF60 /* IQKeyboardManagerSwift */, - C42DFAC6A5C348860F14CAB18E06F2A7 /* KRActivityIndicatorView */, - 644105020CE5E85A041834E68CE22E5C /* KRProgressHUD */, - CAD7FFA959B7BCC177E97539DB3ED2B8 /* ObjectMapper */, + F76BEDE57695E9713566CCF56E9502E8 /* IQKeyboardManagerSwift */, + 87A752682FF3EA712DA2779A1E31D207 /* KRActivityIndicatorView */, + 2315E2F088E1EE52C960F1E052EE4AD1 /* KRProgressHUD */, + B3CC327CB96928C82837FA05E6CA0DD1 /* ObjectMapper */, ); name = Pods; sourceTree = ""; @@ -485,113 +498,115 @@ /* End PBXGroup section */ /* Begin PBXHeadersBuildPhase section */ - 16F4807666F7040D9D154068378AB197 /* Headers */ = { + 3284C20472AFF6A63A7094CE20A5E3D5 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - FC3294A0000030B4742823802882FF96 /* KRProgressHUD-umbrella.h in Headers */, + 3EC52C8A6BABE4066E466519E31C3E03 /* IQKeyboardManagerSwift-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 1AFA402B133226718AABC6A165A55592 /* Headers */ = { + 6BD43ABFC88B856E75E8A5C8CFABE5DC /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - EA7DBE3CBE4BB064DEE23907B7B7E55A /* KRActivityIndicatorView-umbrella.h in Headers */, + B08BE67E2FAACEB75B2642DEA72EBAEC /* KRActivityIndicatorView-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - 29C32126C48CB477294AFECAC54DDF7C /* Headers */ = { + BA58E44F11A36E2C27BE397972556D41 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 317B66E5D6780D7FD3706DE50FAE9915 /* Pods-PayHost iOS SDK-umbrella.h in Headers */, + 8B9A92D11D4EEED16C604FE0A493451B /* Pods-PayHost iOS SDK-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - C82B5F04767CB991E84734A54D0ABA5B /* Headers */ = { + CCA6E17C793ED5BE6A94E6948D844AE5 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - 87AD9D97F0F94C85720FC018235CD8A9 /* IQKeyboardManagerSwift-umbrella.h in Headers */, + B4A09A31159DC4BBD705B24893E7AC38 /* ObjectMapper-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; - F57C9456EA5FB7C7D8FC40BACD0F5369 /* Headers */ = { + DFE3523D09A22DD54E516054154D5492 /* Headers */ = { isa = PBXHeadersBuildPhase; buildActionMask = 2147483647; files = ( - A128DBCF691E0F4D2AC3EEA36F7BD562 /* ObjectMapper-umbrella.h in Headers */, + 71B31EDCC1ACA87CD0B5A8EDACDF1D03 /* KRProgressHUD-umbrella.h in Headers */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXHeadersBuildPhase section */ /* Begin PBXNativeTarget section */ - 2A7995E44968484073CA20E146912270 /* Pods-PayHost iOS SDK */ = { + 162E649F50FEC62B61BDD87D1BD422B4 /* ObjectMapper */ = { isa = PBXNativeTarget; - buildConfigurationList = 50F0210B6F5B4515A67CD3DB45CC1C74 /* Build configuration list for PBXNativeTarget "Pods-PayHost iOS SDK" */; + buildConfigurationList = E87F6954491067B29ADB27A94D68AA11 /* Build configuration list for PBXNativeTarget "ObjectMapper" */; buildPhases = ( - A425876CD7B473EF2E8C816B364906F8 /* Sources */, - 2A84D2B0A0E8E6633025B5ACCDC4A544 /* Frameworks */, - 29C32126C48CB477294AFECAC54DDF7C /* Headers */, + CCA6E17C793ED5BE6A94E6948D844AE5 /* Headers */, + 39B28AE5344BF7EAB543FC2C9D39AE75 /* Sources */, + ED1637C96BF54A5D16D10C9E2A6FEA60 /* Frameworks */, + DB00122A85F347C8D68E5E2B7D815A51 /* Resources */, ); buildRules = ( ); dependencies = ( - 772FF9C91053DD2BFD13C6BEB2D24472 /* PBXTargetDependency */, - 66C120E843D0C1D607FA9A2012C4907A /* PBXTargetDependency */, - E421FE37D64B7A7650F16337DF3FEA1D /* PBXTargetDependency */, - 866E889A694894487F680C880A8616CA /* PBXTargetDependency */, ); - name = "Pods-PayHost iOS SDK"; - productName = "Pods-PayHost iOS SDK"; - productReference = 6D1C0BEC49D5E86A8BC7AC655B7DF169 /* Pods_PayHost_iOS_SDK.framework */; + name = ObjectMapper; + productName = ObjectMapper; + productReference = B9084FE779702931E8DF1D00A2D725FB /* ObjectMapper.framework */; productType = "com.apple.product-type.framework"; }; - 9C4AED8E7F0E8047550BDB01102B0913 /* KRActivityIndicatorView */ = { + 48E44DDDBE33A4A0D3E72140C1AEF1C9 /* Pods-PayHost iOS SDK */ = { isa = PBXNativeTarget; - buildConfigurationList = 81F1F1A589ED4790C4D46DC5717F91FC /* Build configuration list for PBXNativeTarget "KRActivityIndicatorView" */; + buildConfigurationList = D5F807C4123AC7EF59E51B25E8552158 /* Build configuration list for PBXNativeTarget "Pods-PayHost iOS SDK" */; buildPhases = ( - 71DC190568DB15AFC054F114C935BE71 /* Sources */, - 7D76057A3D5B2214266640A8F8B33EAA /* Frameworks */, - 1AFA402B133226718AABC6A165A55592 /* Headers */, + BA58E44F11A36E2C27BE397972556D41 /* Headers */, + 16C934DFB78B9C627F7C71857DA81C51 /* Sources */, + B50EB449725EBC060C7CB4F2D370360F /* Frameworks */, + B29F5980E6E2A423C8EBD73C210F77D9 /* Resources */, ); buildRules = ( ); dependencies = ( + 4456A948FDCCCAE1A38CD506EC6A802A /* PBXTargetDependency */, + 495E7DD33F1D946EF3DA9C9AADB51C26 /* PBXTargetDependency */, + CB61C6C4B72A513D362457EAFEED2A54 /* PBXTargetDependency */, + BAE11CE331968322A9AD02F1108801D7 /* PBXTargetDependency */, ); - name = KRActivityIndicatorView; - productName = KRActivityIndicatorView; - productReference = F399A644B7D008BD7E1BDD6D3C181351 /* KRActivityIndicatorView.framework */; + name = "Pods-PayHost iOS SDK"; + productName = "Pods-PayHost iOS SDK"; + productReference = F1A5D40989B58C59C18F5AEE64A3F3C0 /* Pods_PayHost_iOS_SDK.framework */; productType = "com.apple.product-type.framework"; }; - AAD871965311281EC1C74B5C0CF8DCAA /* KRProgressHUD */ = { + 4F7A1E5A05AF87570E2873C5F725E2CB /* KRActivityIndicatorView */ = { isa = PBXNativeTarget; - buildConfigurationList = 97987B54AF431FAC68F135F4276D0F79 /* Build configuration list for PBXNativeTarget "KRProgressHUD" */; + buildConfigurationList = 8682F0722472CE2AF5A0A6F635D06841 /* Build configuration list for PBXNativeTarget "KRActivityIndicatorView" */; buildPhases = ( - 032C9BB696B087BD01FD348E2456E446 /* Sources */, - 76CADA3FD29B0E9ED151A91D3CDEF910 /* Frameworks */, - 16F4807666F7040D9D154068378AB197 /* Headers */, + 6BD43ABFC88B856E75E8A5C8CFABE5DC /* Headers */, + 34AB59E1B199F146F95D49B435D6526C /* Sources */, + 8D1A63B255B97C79B781E519412FE23E /* Frameworks */, + B6842BCBA42C0E8EC65DA53F1F2D3AAA /* Resources */, ); buildRules = ( ); dependencies = ( - B446D7849379468D98873B7E0102DF96 /* PBXTargetDependency */, ); - name = KRProgressHUD; - productName = KRProgressHUD; - productReference = 6A575004AFA514BC5E92C8323942E085 /* KRProgressHUD.framework */; + name = KRActivityIndicatorView; + productName = KRActivityIndicatorView; + productReference = 9258ECC23A4C8B0274C7A6DF69DDFE95 /* KRActivityIndicatorView.framework */; productType = "com.apple.product-type.framework"; }; - C235F77E101E742652CCF98FFDFA5182 /* IQKeyboardManagerSwift */ = { + B490E7485944099E16C9CBD79119D1D4 /* IQKeyboardManagerSwift */ = { isa = PBXNativeTarget; - buildConfigurationList = E8C5CE05A712EF50BB123A41D8EFC0CB /* Build configuration list for PBXNativeTarget "IQKeyboardManagerSwift" */; + buildConfigurationList = E597D9C69E5746DA8B67E92762F51127 /* Build configuration list for PBXNativeTarget "IQKeyboardManagerSwift" */; buildPhases = ( - B0CAA73D50E134E589B648ABF6682839 /* Sources */, - 81A5C814ACEB86CB06CD6C51383982FE /* Frameworks */, - 918D58E08AC7FD6CC66B75FF048005F7 /* Resources */, - C82B5F04767CB991E84734A54D0ABA5B /* Headers */, + 3284C20472AFF6A63A7094CE20A5E3D5 /* Headers */, + C03485103480093F2B61CE55239CC05A /* Sources */, + 574AFD59673947704DF970986A16AE22 /* Frameworks */, + 3FE6BD24F8EC4E53E8CAB3C04F3A6884 /* Resources */, ); buildRules = ( ); @@ -599,194 +614,226 @@ ); name = IQKeyboardManagerSwift; productName = IQKeyboardManagerSwift; - productReference = B2EF7FC5B27099E47128945A9F88C5B2 /* IQKeyboardManagerSwift.framework */; + productReference = A8E950A16D00F649C54FFB30F81D7842 /* IQKeyboardManagerSwift.framework */; productType = "com.apple.product-type.framework"; }; - CD6C9FB6B052E1CF663F8A56041EA163 /* ObjectMapper */ = { + BA4681533D6AA601F9C9E2A116B7472C /* KRProgressHUD */ = { isa = PBXNativeTarget; - buildConfigurationList = 23CFD86DE455F2B998EC09D589DA285D /* Build configuration list for PBXNativeTarget "ObjectMapper" */; + buildConfigurationList = E758551590353890ECD3BA8D57CF2069 /* Build configuration list for PBXNativeTarget "KRProgressHUD" */; buildPhases = ( - F35FEC988ECD73463D93176BC71A43B1 /* Sources */, - C4F4068871A73EB6FBE8042AF2063595 /* Frameworks */, - F57C9456EA5FB7C7D8FC40BACD0F5369 /* Headers */, + DFE3523D09A22DD54E516054154D5492 /* Headers */, + CDAB7CB60BEBCC2095F0B95F6C75BD33 /* Sources */, + 14E074A45A6B1D44B044DC67B5FD56CF /* Frameworks */, + D12086AA025371CC2799425212F28A8E /* Resources */, ); buildRules = ( ); dependencies = ( + A79D066A7116600994D0A50A77ECB986 /* PBXTargetDependency */, ); - name = ObjectMapper; - productName = ObjectMapper; - productReference = 49FA24D58A4EAC2DEB728CC116871E39 /* ObjectMapper.framework */; + name = KRProgressHUD; + productName = KRProgressHUD; + productReference = 1C33CB84138510317C9CFF8E19C47C23 /* KRProgressHUD.framework */; productType = "com.apple.product-type.framework"; }; /* End PBXNativeTarget section */ /* Begin PBXProject section */ - D41D8CD98F00B204E9800998ECF8427E /* Project object */ = { + BFDFE7DC352907FC980B868725387E98 /* Project object */ = { isa = PBXProject; attributes = { - LastSwiftUpdateCheck = 0930; - LastUpgradeCheck = 0940; + LastSwiftUpdateCheck = 1100; + LastUpgradeCheck = 1100; }; - buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */; - compatibilityVersion = "Xcode 3.2"; - developmentRegion = English; + buildConfigurationList = 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */; + compatibilityVersion = "Xcode 10.0"; + developmentRegion = en; hasScannedForEncodings = 0; knownRegions = ( en, + Base, ); - mainGroup = 7DB346D0F39D3F0E887471402A8071AB; - productRefGroup = 85774C20838AFB7642988D6F46628F12 /* Products */; + mainGroup = CF1408CF629C7361332E53B88F7BD30C; + productRefGroup = 7069019508E8E10FAB28A434373B02E5 /* Products */; projectDirPath = ""; projectRoot = ""; targets = ( - C235F77E101E742652CCF98FFDFA5182 /* IQKeyboardManagerSwift */, - 9C4AED8E7F0E8047550BDB01102B0913 /* KRActivityIndicatorView */, - AAD871965311281EC1C74B5C0CF8DCAA /* KRProgressHUD */, - CD6C9FB6B052E1CF663F8A56041EA163 /* ObjectMapper */, - 2A7995E44968484073CA20E146912270 /* Pods-PayHost iOS SDK */, + B490E7485944099E16C9CBD79119D1D4 /* IQKeyboardManagerSwift */, + 4F7A1E5A05AF87570E2873C5F725E2CB /* KRActivityIndicatorView */, + BA4681533D6AA601F9C9E2A116B7472C /* KRProgressHUD */, + 162E649F50FEC62B61BDD87D1BD422B4 /* ObjectMapper */, + 48E44DDDBE33A4A0D3E72140C1AEF1C9 /* Pods-PayHost iOS SDK */, ); }; /* End PBXProject section */ /* Begin PBXResourcesBuildPhase section */ - 918D58E08AC7FD6CC66B75FF048005F7 /* Resources */ = { + 3FE6BD24F8EC4E53E8CAB3C04F3A6884 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + A6ACF3873DCAD3FCF1A773074ED922FC /* IQKeyboardManager.bundle in Resources */, + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B29F5980E6E2A423C8EBD73C210F77D9 /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + B6842BCBA42C0E8EC65DA53F1F2D3AAA /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + D12086AA025371CC2799425212F28A8E /* Resources */ = { + isa = PBXResourcesBuildPhase; + buildActionMask = 2147483647; + files = ( + ); + runOnlyForDeploymentPostprocessing = 0; + }; + DB00122A85F347C8D68E5E2B7D815A51 /* Resources */ = { isa = PBXResourcesBuildPhase; buildActionMask = 2147483647; files = ( - 2A2FE216328BFC23AF9D30EAEFAA2303 /* IQKeyboardManager.bundle in Resources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXResourcesBuildPhase section */ /* Begin PBXSourcesBuildPhase section */ - 032C9BB696B087BD01FD348E2456E446 /* Sources */ = { + 16C934DFB78B9C627F7C71857DA81C51 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - E2BACCDF0CDAC407690535F958054C29 /* Extensions.swift in Sources */, - F52BFCF2B5AD81D02F0CAC3FA31F8FF9 /* InnerKRProgressHUD.swift in Sources */, - C77FAFB9F57F4B95CD6B9235ED15FBD6 /* KRProgressHUD-dummy.m in Sources */, - 3EDCD282B51E16652DC07D259A4ABC31 /* KRProgressHUD.swift in Sources */, - 2CA17188D1602C61A5B874EE15E287F6 /* KRProgressHUDIconType.swift in Sources */, - 208A480BC997A2FBEDBBA74F2434DEBA /* KRProgressHUDViewController.swift in Sources */, + C8EA7E3F75F76EE125999F562CF47AB1 /* Pods-PayHost iOS SDK-dummy.m in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - 71DC190568DB15AFC054F114C935BE71 /* Sources */ = { + 34AB59E1B199F146F95D49B435D6526C /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 92664741D031D8278A316BA7EFC84446 /* KRActivityIndicatorPath.swift in Sources */, - 03CA80A930C75EBEAB64BFA46BE61FD9 /* KRActivityIndicatorView-dummy.m in Sources */, - D392D371C9E6B7F543A80951F1B6F350 /* KRActivityIndicatorView.swift in Sources */, - EF31DEF966B6036D2D6C844979432D4D /* KRActivityIndicatorViewStyle.swift in Sources */, + DBA00C6A264C2E09CA73D144B38CB16A /* Extensions.swift in Sources */, + 4A2D8E4BA4222581DB30A8693DD38882 /* KRActivityIndicatorView-dummy.m in Sources */, + 8691040C4144FF67AF097D34E7B4075A /* KRActivityIndicatorView.swift in Sources */, + F64EAB10BAE213A7034C70C8CCAE2B44 /* KRActivityIndicatorViewStyle.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - A425876CD7B473EF2E8C816B364906F8 /* Sources */ = { + 39B28AE5344BF7EAB543FC2C9D39AE75 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 04F92443ADBF565C7BB63D2BE06CDE70 /* Pods-PayHost iOS SDK-dummy.m in Sources */, + A23B1618251C3B92A365B5669F513796 /* CodableTransform.swift in Sources */, + F2CA9FD6E3A7EFBB13BCEF662D06524B /* CustomDateFormatTransform.swift in Sources */, + EB2E92AFE8E36A23EE6D311736B88B67 /* DataTransform.swift in Sources */, + F60975556A37AD5647ED82DC76E9CF6F /* DateFormatterTransform.swift in Sources */, + 0E478FF7AD49149E802261DB853A2837 /* DateTransform.swift in Sources */, + 664B70329CC935DB023416ADE2F203DC /* DictionaryTransform.swift in Sources */, + 64C60112E347C8B0F4B70760861FA125 /* EnumOperators.swift in Sources */, + 02E11AACB509E00F07FC45B073374310 /* EnumTransform.swift in Sources */, + 3556C30029720A3AF9CDBF70BE28281C /* FromJSON.swift in Sources */, + 9A2E1EA1F0F8F4FA13589FEFC4D712B0 /* HexColorTransform.swift in Sources */, + F9B31EED95B0E98A057B6012F9883DCF /* ImmutableMappable.swift in Sources */, + 96DBFE11AAE27CA46A220B4FB06C355B /* IntegerOperators.swift in Sources */, + 0C9FD48191A4E68417C886A9BA356C76 /* ISO8601DateTransform.swift in Sources */, + 45EF41171CA52C2B9E61E1CCD69DDAB6 /* Map.swift in Sources */, + 9F73038C5D5809B9C54A4D5455C0CA91 /* MapError.swift in Sources */, + BE77AF28ABBCD1A186B56195290331D8 /* Mappable.swift in Sources */, + 7908F4065CB1E8A38293CE28F4936941 /* Mapper.swift in Sources */, + 553CF23D91DC8777B26191C77938004A /* NSDecimalNumberTransform.swift in Sources */, + 78BB4BFABCB498A10A06C02661795CDB /* ObjectMapper-dummy.m in Sources */, + 86D61ED9E92755CAA98639EF12E90D65 /* Operators.swift in Sources */, + 8DA5B74F96053B88D81B4C81C4D42C64 /* ToJSON.swift in Sources */, + 65F3F57891C3534229655745DB094F1B /* TransformOf.swift in Sources */, + BA2A816A2CDE195F83BBC03AB4671980 /* TransformOperators.swift in Sources */, + A35CB412DFB6E16F962F7D2A5E792D5D /* TransformType.swift in Sources */, + F000D6CA12F7C477EC63335B91707775 /* URLTransform.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - B0CAA73D50E134E589B648ABF6682839 /* Sources */ = { + C03485103480093F2B61CE55239CC05A /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - F48DD4AF7C254B7A2F67A690AF8EF143 /* IQBarButtonItem.swift in Sources */, - 4882783C5576C5D43CE79C03DE33C3DD /* IQKeyboardManager.swift in Sources */, - 9B9C1A095D68E3B91BD38F910C6F2E7F /* IQKeyboardManagerConstants.swift in Sources */, - EC2CCB07B8CCEF669FAF345D29691030 /* IQKeyboardManagerConstantsInternal.swift in Sources */, - B0EF72D8E2CB6594FEE4DB2600B32650 /* IQKeyboardManagerSwift-dummy.m in Sources */, - C40F6D2FE20755C045864C23F73260C8 /* IQKeyboardReturnKeyHandler.swift in Sources */, - CC93854C66A808596F5A3B58FDB49BF8 /* IQNSArray+Sort.swift in Sources */, - CB29E86F679E9DDC5C5A1C89482701CA /* IQPreviousNextView.swift in Sources */, - 88A25F661A4435D57041D21700515CC6 /* IQTextView.swift in Sources */, - 1F0F49D029C4471F2AE3712D1FCB1D8A /* IQTitleBarButtonItem.swift in Sources */, - 02A8CD406255AE081E99A62241BAC587 /* IQToolbar.swift in Sources */, - 2384AC373E752D55842F37DE4F2CE2A7 /* IQUIScrollView+Additions.swift in Sources */, - B1A7ADAE2CAEDA5D703CE5C6A6DA405B /* IQUITextFieldView+Additions.swift in Sources */, - 3077B4186B916A8DB980BBB72DF7FFB9 /* IQUIView+Hierarchy.swift in Sources */, - 9C178A996A6A0F14CF4B1F1D1BA4B2EB /* IQUIView+IQKeyboardToolbar.swift in Sources */, - 866952184CCB9236E8D567A97A7C3224 /* IQUIViewController+Additions.swift in Sources */, - 64FFC1F647245F61C405AE7AC1DA9D31 /* IQUIWindow+Hierarchy.swift in Sources */, + 76CEB7F10CB3A5FD4EB7FAEE292D9BB4 /* IQBarButtonItem.swift in Sources */, + BA20136BCBE057C39C17715499EBABDB /* IQKeyboardManager.swift in Sources */, + 98256B7605EC40EBC1653FAE1FBAAF7C /* IQKeyboardManagerConstants.swift in Sources */, + 407CE41C33F73AD50885765DD46F9834 /* IQKeyboardManagerConstantsInternal.swift in Sources */, + 011870970D0B25596A5ABB2284111BA6 /* IQKeyboardManagerSwift-dummy.m in Sources */, + E2FDD2A5769C153B3B7D0B0C8630EE62 /* IQKeyboardReturnKeyHandler.swift in Sources */, + 8B1AACB428E8CBE1DA787D946A2E7304 /* IQNSArray+Sort.swift in Sources */, + BD9CCB8ED4E9B9CCCAA0D21E86BC4652 /* IQPreviousNextView.swift in Sources */, + 338A33F0E7CD8361905A4BEB5BC9B1F5 /* IQTextView.swift in Sources */, + FA6D5AF65C3FB7BF100D4BF726FCC3C7 /* IQTitleBarButtonItem.swift in Sources */, + 5DF7D4DDD9D864CD3BDA42B3796CB9D1 /* IQToolbar.swift in Sources */, + CB4318178237D4899B88D6253994DB4E /* IQUIScrollView+Additions.swift in Sources */, + 76C1A19FDA11BB821306AFBB083B9DB1 /* IQUITextFieldView+Additions.swift in Sources */, + 8DD6655A8D7C00D6744CDB29327EE83E /* IQUIView+Hierarchy.swift in Sources */, + 042134D5E6DCCABC52CC325388705509 /* IQUIView+IQKeyboardToolbar.swift in Sources */, + B101432D47885C832BF1066E7F89C7DC /* IQUIViewController+Additions.swift in Sources */, + CC24972563148849699038574AA62A46 /* IQUIWindow+Hierarchy.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; - F35FEC988ECD73463D93176BC71A43B1 /* Sources */ = { + CDAB7CB60BEBCC2095F0B95F6C75BD33 /* Sources */ = { isa = PBXSourcesBuildPhase; buildActionMask = 2147483647; files = ( - 0F981C56836FE34E921BC7253826A170 /* CustomDateFormatTransform.swift in Sources */, - EC1A896625476730D64BF9645624BBAD /* DataTransform.swift in Sources */, - 4215D7313CE6E738AAD80E9FEC6C60CC /* DateFormatterTransform.swift in Sources */, - F9B63BDA169DB048D41DA8395261AEBA /* DateTransform.swift in Sources */, - B2EFEFFB34D517F8E9A203B674AEBD13 /* DictionaryTransform.swift in Sources */, - 706840688BA7E9BDE5F4DD2C0E558835 /* EnumOperators.swift in Sources */, - FCE734BD83FB03D3DC9F8AA843ECD73B /* EnumTransform.swift in Sources */, - DB87FF0D3B17ABB5452FDD4D70C9A84D /* FromJSON.swift in Sources */, - 551FB4DF0E5072BB849BB4FCE74F7361 /* HexColorTransform.swift in Sources */, - B9C39C539A810D1958AEEF1AEC0FD75C /* ImmutableMappable.swift in Sources */, - 1894026C296B8A77711607C98ED40C86 /* IntegerOperators.swift in Sources */, - 255C4ADB2BD82FEEF86A3D4D43F31C63 /* ISO8601DateTransform.swift in Sources */, - A5BFC49ED41BC416BEBF4772517AB741 /* Map.swift in Sources */, - 2D89AB26203628C04B3E87D045525701 /* MapError.swift in Sources */, - 67A4D8A24085ADC44A65404E73461B43 /* Mappable.swift in Sources */, - 77CA4CD47748C0B69982A6D82C2799D5 /* Mapper.swift in Sources */, - 6C2FE27FDBD6621AAB57E4082419C347 /* NSDecimalNumberTransform.swift in Sources */, - 59109302859941E04E87DC7044DFEE89 /* ObjectMapper-dummy.m in Sources */, - EA67527CAF7ED571C8A84B66DDD70FBE /* Operators.swift in Sources */, - 134859C42E05396F62489E4329ECF6EA /* ToJSON.swift in Sources */, - 194858D10B9B1DD9FFEFBE4EAA0700F3 /* TransformOf.swift in Sources */, - 18E9B5E96557418567FCB7DCC559299F /* TransformOperators.swift in Sources */, - 27156C9092B7A82E24CF96312A941150 /* TransformType.swift in Sources */, - F527B0A072DFD754B471E4C1F6B16C48 /* URLTransform.swift in Sources */, + 98CC7BEAD7F982A0978939D804818C72 /* Extensions.swift in Sources */, + D0A665A78DA17DC6D4E13883245CAA3C /* InnerKRProgressHUD.swift in Sources */, + C218FE5D841254675FA809C980579D18 /* KRProgressHUD-dummy.m in Sources */, + EC070297716F78F774EA722F417DD787 /* KRProgressHUD.swift in Sources */, + 6175AF685E0002FAA4CC678BE48A8C10 /* KRProgressHUDIconType.swift in Sources */, + F18FCAB8BC039DC8AC34B752FD1D7A42 /* KRProgressHUDViewController.swift in Sources */, ); runOnlyForDeploymentPostprocessing = 0; }; /* End PBXSourcesBuildPhase section */ /* Begin PBXTargetDependency section */ - 66C120E843D0C1D607FA9A2012C4907A /* PBXTargetDependency */ = { - isa = PBXTargetDependency; - name = KRActivityIndicatorView; - target = 9C4AED8E7F0E8047550BDB01102B0913 /* KRActivityIndicatorView */; - targetProxy = 6E1ACCEA3AFA88A2F7BD4327ABA571A6 /* PBXContainerItemProxy */; - }; - 772FF9C91053DD2BFD13C6BEB2D24472 /* PBXTargetDependency */ = { + 4456A948FDCCCAE1A38CD506EC6A802A /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = IQKeyboardManagerSwift; - target = C235F77E101E742652CCF98FFDFA5182 /* IQKeyboardManagerSwift */; - targetProxy = ADC12BE987152E15A7459443C7D8C918 /* PBXContainerItemProxy */; + target = B490E7485944099E16C9CBD79119D1D4 /* IQKeyboardManagerSwift */; + targetProxy = D1AB6A5641BC9F9951985EC03CC49DDF /* PBXContainerItemProxy */; }; - 866E889A694894487F680C880A8616CA /* PBXTargetDependency */ = { + 495E7DD33F1D946EF3DA9C9AADB51C26 /* PBXTargetDependency */ = { isa = PBXTargetDependency; - name = ObjectMapper; - target = CD6C9FB6B052E1CF663F8A56041EA163 /* ObjectMapper */; - targetProxy = B862317FB30DABCCC8E156BF795B7563 /* PBXContainerItemProxy */; + name = KRActivityIndicatorView; + target = 4F7A1E5A05AF87570E2873C5F725E2CB /* KRActivityIndicatorView */; + targetProxy = 4733EBF47F3988162FBBAD5BCE72EFA9 /* PBXContainerItemProxy */; }; - B446D7849379468D98873B7E0102DF96 /* PBXTargetDependency */ = { + A79D066A7116600994D0A50A77ECB986 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = KRActivityIndicatorView; - target = 9C4AED8E7F0E8047550BDB01102B0913 /* KRActivityIndicatorView */; - targetProxy = DE053A367D63E74AC8F74EE52E7B476D /* PBXContainerItemProxy */; + target = 4F7A1E5A05AF87570E2873C5F725E2CB /* KRActivityIndicatorView */; + targetProxy = 5F3A5DC7A94FF5FE690FD26A901C570F /* PBXContainerItemProxy */; }; - E421FE37D64B7A7650F16337DF3FEA1D /* PBXTargetDependency */ = { + BAE11CE331968322A9AD02F1108801D7 /* PBXTargetDependency */ = { + isa = PBXTargetDependency; + name = ObjectMapper; + target = 162E649F50FEC62B61BDD87D1BD422B4 /* ObjectMapper */; + targetProxy = 2259673D31452449CEEDAA76A52AC381 /* PBXContainerItemProxy */; + }; + CB61C6C4B72A513D362457EAFEED2A54 /* PBXTargetDependency */ = { isa = PBXTargetDependency; name = KRProgressHUD; - target = AAD871965311281EC1C74B5C0CF8DCAA /* KRProgressHUD */; - targetProxy = 07E8CE093CA95259C899D9315A870AFB /* PBXContainerItemProxy */; + target = BA4681533D6AA601F9C9E2A116B7472C /* KRProgressHUD */; + targetProxy = A1F16E203D840092C884A332C0CCC033 /* PBXContainerItemProxy */; }; /* End PBXTargetDependency section */ /* Begin XCBuildConfiguration section */ - 1B128ADE0843179EC0902DB5286D943E /* Debug */ = { + 0E71E901E5F053B6166BFE64EF5D4A67 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A35F7899FC37356E72D2918F5622EB6F /* KRProgressHUD.xcconfig */; + baseConfigurationReference = B03BDA3AED30C75E6B633F8334AFD5E7 /* KRProgressHUD.release.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -798,30 +845,32 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_PREFIX_HEADER = "Target Support Files/KRProgressHUD/KRProgressHUD-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/KRProgressHUD/Info.plist"; + INFOPLIST_FILE = "Target Support Files/KRProgressHUD/KRProgressHUD-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); MODULEMAP_FILE = "Target Support Files/KRProgressHUD/KRProgressHUD.modulemap"; PRODUCT_MODULE_NAME = KRProgressHUD; PRODUCT_NAME = KRProgressHUD; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.2; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 3C26653BB69AD53E9C9E108FBBDE9B53 /* Debug */ = { + 1034026BC542646248C745A319A01C85 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = EBB628B9036ADEA11153B045BBAD6D76 /* Pods-PayHost iOS SDK.debug.xcconfig */; + baseConfigurationReference = C700F03502599A59A8157AA002E486E8 /* IQKeyboardManagerSwift.release.xcconfig */; buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -831,30 +880,32 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-PayHost iOS SDK/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.modulemap"; + PRODUCT_MODULE_NAME = IQKeyboardManagerSwift; + PRODUCT_NAME = IQKeyboardManagerSwift; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 3C34539334EC99BD08133D1D40EE7E35 /* Debug */ = { + 1AB76B438A5C217D55976237548AF5E7 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F03C580A15C179FD9B037F25109D0072 /* ObjectMapper.xcconfig */; + baseConfigurationReference = A6E374F670AFFB4DDF8D49EF76306FB0 /* ObjectMapper.release.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -866,27 +917,91 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_PREFIX_HEADER = "Target Support Files/ObjectMapper/ObjectMapper-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/ObjectMapper/Info.plist"; + INFOPLIST_FILE = "Target Support Files/ObjectMapper/ObjectMapper-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); MODULEMAP_FILE = "Target Support Files/ObjectMapper/ObjectMapper.modulemap"; PRODUCT_MODULE_NAME = ObjectMapper; PRODUCT_NAME = ObjectMapper; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; + VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Debug; + name = Release; }; - 490884F399F39D661D71A833887067CB /* Release */ = { + 257497152829C177993B5EC99C1D227A /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = F03C580A15C179FD9B037F25109D0072 /* ObjectMapper.xcconfig */; + buildSettings = { + ALWAYS_SEARCH_USER_PATHS = NO; + CLANG_ANALYZER_NONNULL = YES; + CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; + CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; + CLANG_CXX_LIBRARY = "libc++"; + CLANG_ENABLE_MODULES = YES; + CLANG_ENABLE_OBJC_ARC = YES; + CLANG_ENABLE_OBJC_WEAK = YES; + CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; + CLANG_WARN_BOOL_CONVERSION = YES; + CLANG_WARN_COMMA = YES; + CLANG_WARN_CONSTANT_CONVERSION = YES; + CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; + CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; + CLANG_WARN_DOCUMENTATION_COMMENTS = YES; + CLANG_WARN_EMPTY_BODY = YES; + CLANG_WARN_ENUM_CONVERSION = YES; + CLANG_WARN_INFINITE_RECURSION = YES; + CLANG_WARN_INT_CONVERSION = YES; + CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; + CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; + CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; + CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; + CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; + CLANG_WARN_STRICT_PROTOTYPES = YES; + CLANG_WARN_SUSPICIOUS_MOVE = YES; + CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; + CLANG_WARN_UNREACHABLE_CODE = YES; + CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; + COPY_PHASE_STRIP = NO; + DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; + ENABLE_NS_ASSERTIONS = NO; + ENABLE_STRICT_OBJC_MSGSEND = YES; + GCC_C_LANGUAGE_STANDARD = gnu11; + GCC_NO_COMMON_BLOCKS = YES; + GCC_PREPROCESSOR_DEFINITIONS = ( + "POD_CONFIGURATION_RELEASE=1", + "$(inherited)", + ); + GCC_WARN_64_TO_32_BIT_CONVERSION = YES; + GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; + GCC_WARN_UNDECLARED_SELECTOR = YES; + GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; + GCC_WARN_UNUSED_FUNCTION = YES; + GCC_WARN_UNUSED_VARIABLE = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MTL_ENABLE_DEBUG_INFO = NO; + MTL_FAST_MATH = YES; + PRODUCT_NAME = "$(TARGET_NAME)"; + STRIP_INSTALLED_PRODUCT = NO; + SWIFT_COMPILATION_MODE = wholemodule; + SWIFT_OPTIMIZATION_LEVEL = "-O"; + SWIFT_VERSION = 5.0; + SYMROOT = "${SRCROOT}/../build"; + }; + name = Release; + }; + 661D43E6D3127FCC2938A3AD47468671 /* Release */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = E14B0FFA558173C05A1952366955C8B9 /* KRActivityIndicatorView.release.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -897,19 +1012,22 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/ObjectMapper/ObjectMapper-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/ObjectMapper/Info.plist"; + GCC_PREFIX_HEADER = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/ObjectMapper/ObjectMapper.modulemap"; - PRODUCT_MODULE_NAME = ObjectMapper; - PRODUCT_NAME = ObjectMapper; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.modulemap"; + PRODUCT_MODULE_NAME = KRActivityIndicatorView; + PRODUCT_NAME = KRActivityIndicatorView; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.2; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; @@ -917,10 +1035,12 @@ }; name = Release; }; - 4B73C41BB7BBE29B3DCAB6317DFE694E /* Release */ = { + 763E9AC6E36680D7B95515FFC13819C2 /* Release */ = { isa = XCBuildConfiguration; - baseConfigurationReference = A35F7899FC37356E72D2918F5622EB6F /* KRProgressHUD.xcconfig */; + baseConfigurationReference = 498039B78A5580247131011B59DEDEA7 /* Pods-PayHost iOS SDK.release.xcconfig */; buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -930,19 +1050,23 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/KRProgressHUD/KRProgressHUD-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/KRProgressHUD/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/KRProgressHUD/KRProgressHUD.modulemap"; - PRODUCT_MODULE_NAME = KRProgressHUD; - PRODUCT_NAME = KRProgressHUD; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; @@ -950,9 +1074,9 @@ }; name = Release; }; - 4E70BD20B9491C5F2A03217D984F3B82 /* Debug */ = { + 9383D46B7B2C787A28E05518C57822EF /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = 2C9B98E43E9C84233CE2EFD448835004 /* IQKeyboardManagerSwift.xcconfig */; + baseConfigurationReference = C7EBECDFDC8451C6D53FE9E21270A882 /* IQKeyboardManagerSwift.debug.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -964,25 +1088,98 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_PREFIX_HEADER = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/IQKeyboardManagerSwift/Info.plist"; + INFOPLIST_FILE = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); MODULEMAP_FILE = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.modulemap"; PRODUCT_MODULE_NAME = IQKeyboardManagerSwift; PRODUCT_NAME = IQKeyboardManagerSwift; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.0; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - 553022A828EE1991F07D2D73F565AEF8 /* Debug */ = { + A597383E1F0261F60D89F3334BDE8884 /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = 4E503525EBD9E115629D535D92737C49 /* ObjectMapper.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/ObjectMapper/ObjectMapper-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/ObjectMapper/ObjectMapper-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/ObjectMapper/ObjectMapper.modulemap"; + PRODUCT_MODULE_NAME = ObjectMapper; + PRODUCT_NAME = ObjectMapper; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.0; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + D693DBE9C2BD70DA5CA031CA710691AC /* Debug */ = { + isa = XCBuildConfiguration; + baseConfigurationReference = DC21EAA891F76EBB9B4DFAA3CF872655 /* KRProgressHUD.debug.xcconfig */; + buildSettings = { + CODE_SIGN_IDENTITY = ""; + "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; + "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; + CURRENT_PROJECT_VERSION = 1; + DEFINES_MODULE = YES; + DYLIB_COMPATIBILITY_VERSION = 1; + DYLIB_CURRENT_VERSION = 1; + DYLIB_INSTALL_NAME_BASE = "@rpath"; + GCC_PREFIX_HEADER = "Target Support Files/KRProgressHUD/KRProgressHUD-prefix.pch"; + INFOPLIST_FILE = "Target Support Files/KRProgressHUD/KRProgressHUD-Info.plist"; + INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; + IPHONEOS_DEPLOYMENT_TARGET = 8.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MODULEMAP_FILE = "Target Support Files/KRProgressHUD/KRProgressHUD.modulemap"; + PRODUCT_MODULE_NAME = KRProgressHUD; + PRODUCT_NAME = KRProgressHUD; + SDKROOT = iphoneos; + SKIP_INSTALL = YES; + SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; + SWIFT_VERSION = 5.2; + TARGETED_DEVICE_FAMILY = "1,2"; + VERSIONING_SYSTEM = "apple-generic"; + VERSION_INFO_PREFIX = ""; + }; + name = Debug; + }; + DD8F832993327D1DD8046C3CBCBD97CD /* Debug */ = { isa = XCBuildConfiguration; buildSettings = { ALWAYS_SEARCH_USER_PATHS = NO; @@ -1014,8 +1211,6 @@ CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; CLANG_WARN_UNREACHABLE_CODE = YES; CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; COPY_PHASE_STRIP = NO; DEBUG_INFORMATION_FORMAT = dwarf; ENABLE_STRICT_OBJC_MSGSEND = YES; @@ -1035,79 +1230,25 @@ GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; GCC_WARN_UNUSED_FUNCTION = YES; GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - MTL_ENABLE_DEBUG_INFO = YES; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + MTL_ENABLE_DEBUG_INFO = INCLUDE_SOURCE; + MTL_FAST_MATH = YES; ONLY_ACTIVE_ARCH = YES; PRODUCT_NAME = "$(TARGET_NAME)"; STRIP_INSTALLED_PRODUCT = NO; SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG; + SWIFT_OPTIMIZATION_LEVEL = "-Onone"; + SWIFT_VERSION = 5.0; SYMROOT = "${SRCROOT}/../build"; }; name = Debug; }; - 58CE816B060A41D32CEC095441D0E3E0 /* Release */ = { + EBEB8CD066203DB2B3B0194502652A01 /* Debug */ = { isa = XCBuildConfiguration; + baseConfigurationReference = 01B77116DC8CD290772B3E6EF16AF352 /* Pods-PayHost iOS SDK.debug.xcconfig */; buildSettings = { - ALWAYS_SEARCH_USER_PATHS = NO; - CLANG_ANALYZER_NONNULL = YES; - CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE; - CLANG_CXX_LANGUAGE_STANDARD = "gnu++14"; - CLANG_CXX_LIBRARY = "libc++"; - CLANG_ENABLE_MODULES = YES; - CLANG_ENABLE_OBJC_ARC = YES; - CLANG_ENABLE_OBJC_WEAK = YES; - CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES; - CLANG_WARN_BOOL_CONVERSION = YES; - CLANG_WARN_COMMA = YES; - CLANG_WARN_CONSTANT_CONVERSION = YES; - CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES; - CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR; - CLANG_WARN_DOCUMENTATION_COMMENTS = YES; - CLANG_WARN_EMPTY_BODY = YES; - CLANG_WARN_ENUM_CONVERSION = YES; - CLANG_WARN_INFINITE_RECURSION = YES; - CLANG_WARN_INT_CONVERSION = YES; - CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES; - CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES; - CLANG_WARN_OBJC_LITERAL_CONVERSION = YES; - CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR; - CLANG_WARN_RANGE_LOOP_ANALYSIS = YES; - CLANG_WARN_STRICT_PROTOTYPES = YES; - CLANG_WARN_SUSPICIOUS_MOVE = YES; - CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE; - CLANG_WARN_UNREACHABLE_CODE = YES; - CLANG_WARN__DUPLICATE_METHOD_MATCH = YES; - CODE_SIGNING_ALLOWED = NO; - CODE_SIGNING_REQUIRED = NO; - COPY_PHASE_STRIP = NO; - DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym"; - ENABLE_NS_ASSERTIONS = NO; - ENABLE_STRICT_OBJC_MSGSEND = YES; - GCC_C_LANGUAGE_STANDARD = gnu11; - GCC_NO_COMMON_BLOCKS = YES; - GCC_PREPROCESSOR_DEFINITIONS = ( - "POD_CONFIGURATION_RELEASE=1", - "$(inherited)", - ); - GCC_WARN_64_TO_32_BIT_CONVERSION = YES; - GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR; - GCC_WARN_UNDECLARED_SELECTOR = YES; - GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE; - GCC_WARN_UNUSED_FUNCTION = YES; - GCC_WARN_UNUSED_VARIABLE = YES; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - MTL_ENABLE_DEBUG_INFO = NO; - PRODUCT_NAME = "$(TARGET_NAME)"; - STRIP_INSTALLED_PRODUCT = NO; - SWIFT_COMPILATION_MODE = wholemodule; - SYMROOT = "${SRCROOT}/../build"; - }; - name = Release; - }; - 58D4328E9F1ADFD35AAD9D261476D008 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = FA56AA45E4CF557343CEC6C1199E82A1 /* KRActivityIndicatorView.xcconfig */; - buildSettings = { + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; + CLANG_ENABLE_OBJC_WEAK = NO; CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; @@ -1117,29 +1258,32 @@ DYLIB_COMPATIBILITY_VERSION = 1; DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/KRActivityIndicatorView/Info.plist"; + INFOPLIST_FILE = "Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.modulemap"; - PRODUCT_MODULE_NAME = KRActivityIndicatorView; - PRODUCT_NAME = KRActivityIndicatorView; + IPHONEOS_DEPLOYMENT_TARGET = 11.0; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); + MACH_O_TYPE = staticlib; + MODULEMAP_FILE = "Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.modulemap"; + OTHER_LDFLAGS = ""; + OTHER_LIBTOOLFLAGS = ""; + PODS_ROOT = "$(SRCROOT)"; + PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; + PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; SDKROOT = iphoneos; SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; - name = Release; + name = Debug; }; - 8BF5EEC4C91DEA554E39A666740B7083 /* Debug */ = { + F0E4B686EEAF1B7945481E78C8CA08AB /* Debug */ = { isa = XCBuildConfiguration; - baseConfigurationReference = FA56AA45E4CF557343CEC6C1199E82A1 /* KRActivityIndicatorView.xcconfig */; + baseConfigurationReference = 6E126D67CD738EC6B5ABBD57C33819FD /* KRActivityIndicatorView.debug.xcconfig */; buildSettings = { CODE_SIGN_IDENTITY = ""; "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; @@ -1151,151 +1295,85 @@ DYLIB_CURRENT_VERSION = 1; DYLIB_INSTALL_NAME_BASE = "@rpath"; GCC_PREFIX_HEADER = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/KRActivityIndicatorView/Info.plist"; + INFOPLIST_FILE = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-Info.plist"; INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; + LD_RUNPATH_SEARCH_PATHS = ( + "$(inherited)", + "@executable_path/Frameworks", + "@loader_path/Frameworks", + ); MODULEMAP_FILE = "Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.modulemap"; PRODUCT_MODULE_NAME = KRActivityIndicatorView; PRODUCT_NAME = KRActivityIndicatorView; SDKROOT = iphoneos; SKIP_INSTALL = YES; SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Onone"; - SWIFT_VERSION = 4.0; + SWIFT_VERSION = 5.2; TARGETED_DEVICE_FAMILY = "1,2"; VERSIONING_SYSTEM = "apple-generic"; VERSION_INFO_PREFIX = ""; }; name = Debug; }; - B3F365A79A75991CBCBCF49F488646E7 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2C9B98E43E9C84233CE2EFD448835004 /* IQKeyboardManagerSwift.xcconfig */; - buildSettings = { - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - GCC_PREFIX_HEADER = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-prefix.pch"; - INFOPLIST_FILE = "Target Support Files/IQKeyboardManagerSwift/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 8.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MODULEMAP_FILE = "Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.modulemap"; - PRODUCT_MODULE_NAME = IQKeyboardManagerSwift; - PRODUCT_NAME = IQKeyboardManagerSwift; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) "; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - SWIFT_VERSION = 4.0; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; - E7DAB951E95DA5E8B7195910CD066AA1 /* Release */ = { - isa = XCBuildConfiguration; - baseConfigurationReference = 2FD2E9D0FD5D8B99E55730335324E5DD /* Pods-PayHost iOS SDK.release.xcconfig */; - buildSettings = { - ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO; - CLANG_ENABLE_OBJC_WEAK = NO; - CODE_SIGN_IDENTITY = ""; - "CODE_SIGN_IDENTITY[sdk=appletvos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=iphoneos*]" = ""; - "CODE_SIGN_IDENTITY[sdk=watchos*]" = ""; - CURRENT_PROJECT_VERSION = 1; - DEFINES_MODULE = YES; - DYLIB_COMPATIBILITY_VERSION = 1; - DYLIB_CURRENT_VERSION = 1; - DYLIB_INSTALL_NAME_BASE = "@rpath"; - INFOPLIST_FILE = "Target Support Files/Pods-PayHost iOS SDK/Info.plist"; - INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; - IPHONEOS_DEPLOYMENT_TARGET = 10.0; - LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks"; - MACH_O_TYPE = staticlib; - MODULEMAP_FILE = "Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.modulemap"; - OTHER_LDFLAGS = ""; - OTHER_LIBTOOLFLAGS = ""; - PODS_ROOT = "$(SRCROOT)"; - PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}"; - PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)"; - SDKROOT = iphoneos; - SKIP_INSTALL = YES; - SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule"; - TARGETED_DEVICE_FAMILY = "1,2"; - VALIDATE_PRODUCT = YES; - VERSIONING_SYSTEM = "apple-generic"; - VERSION_INFO_PREFIX = ""; - }; - name = Release; - }; /* End XCBuildConfiguration section */ /* Begin XCConfigurationList section */ - 23CFD86DE455F2B998EC09D589DA285D /* Build configuration list for PBXNativeTarget "ObjectMapper" */ = { + 4821239608C13582E20E6DA73FD5F1F9 /* Build configuration list for PBXProject "Pods" */ = { isa = XCConfigurationList; buildConfigurations = ( - 3C34539334EC99BD08133D1D40EE7E35 /* Debug */, - 490884F399F39D661D71A833887067CB /* Release */, + DD8F832993327D1DD8046C3CBCBD97CD /* Debug */, + 257497152829C177993B5EC99C1D227A /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = { + 8682F0722472CE2AF5A0A6F635D06841 /* Build configuration list for PBXNativeTarget "KRActivityIndicatorView" */ = { isa = XCConfigurationList; buildConfigurations = ( - 553022A828EE1991F07D2D73F565AEF8 /* Debug */, - 58CE816B060A41D32CEC095441D0E3E0 /* Release */, + F0E4B686EEAF1B7945481E78C8CA08AB /* Debug */, + 661D43E6D3127FCC2938A3AD47468671 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 50F0210B6F5B4515A67CD3DB45CC1C74 /* Build configuration list for PBXNativeTarget "Pods-PayHost iOS SDK" */ = { + D5F807C4123AC7EF59E51B25E8552158 /* Build configuration list for PBXNativeTarget "Pods-PayHost iOS SDK" */ = { isa = XCConfigurationList; buildConfigurations = ( - 3C26653BB69AD53E9C9E108FBBDE9B53 /* Debug */, - E7DAB951E95DA5E8B7195910CD066AA1 /* Release */, + EBEB8CD066203DB2B3B0194502652A01 /* Debug */, + 763E9AC6E36680D7B95515FFC13819C2 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 81F1F1A589ED4790C4D46DC5717F91FC /* Build configuration list for PBXNativeTarget "KRActivityIndicatorView" */ = { + E597D9C69E5746DA8B67E92762F51127 /* Build configuration list for PBXNativeTarget "IQKeyboardManagerSwift" */ = { isa = XCConfigurationList; buildConfigurations = ( - 8BF5EEC4C91DEA554E39A666740B7083 /* Debug */, - 58D4328E9F1ADFD35AAD9D261476D008 /* Release */, + 9383D46B7B2C787A28E05518C57822EF /* Debug */, + 1034026BC542646248C745A319A01C85 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - 97987B54AF431FAC68F135F4276D0F79 /* Build configuration list for PBXNativeTarget "KRProgressHUD" */ = { + E758551590353890ECD3BA8D57CF2069 /* Build configuration list for PBXNativeTarget "KRProgressHUD" */ = { isa = XCConfigurationList; buildConfigurations = ( - 1B128ADE0843179EC0902DB5286D943E /* Debug */, - 4B73C41BB7BBE29B3DCAB6317DFE694E /* Release */, + D693DBE9C2BD70DA5CA031CA710691AC /* Debug */, + 0E71E901E5F053B6166BFE64EF5D4A67 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; - E8C5CE05A712EF50BB123A41D8EFC0CB /* Build configuration list for PBXNativeTarget "IQKeyboardManagerSwift" */ = { + E87F6954491067B29ADB27A94D68AA11 /* Build configuration list for PBXNativeTarget "ObjectMapper" */ = { isa = XCConfigurationList; buildConfigurations = ( - 4E70BD20B9491C5F2A03217D984F3B82 /* Debug */, - B3F365A79A75991CBCBCF49F488646E7 /* Release */, + A597383E1F0261F60D89F3334BDE8884 /* Debug */, + 1AB76B438A5C217D55976237548AF5E7 /* Release */, ); defaultConfigurationIsVisible = 0; defaultConfigurationName = Release; }; /* End XCConfigurationList section */ }; - rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */; + rootObject = BFDFE7DC352907FC980B868725387E98 /* Project object */; } diff --git a/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-Info.plist b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-Info.plist new file mode 100644 index 0000000..e2771ff --- /dev/null +++ b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 5.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.debug.xcconfig b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.debug.xcconfig new file mode 100644 index 0000000..01217e5 --- /dev/null +++ b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.debug.xcconfig @@ -0,0 +1,11 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_LDFLAGS = $(inherited) -framework "CoreGraphics" -framework "Foundation" -framework "QuartzCore" -framework "UIKit" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/IQKeyboardManagerSwift +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.release.xcconfig b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.release.xcconfig new file mode 100644 index 0000000..01217e5 --- /dev/null +++ b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.release.xcconfig @@ -0,0 +1,11 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_LDFLAGS = $(inherited) -framework "CoreGraphics" -framework "Foundation" -framework "QuartzCore" -framework "UIKit" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/IQKeyboardManagerSwift +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.xcconfig b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.xcconfig index 7094269..01217e5 100644 --- a/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.xcconfig +++ b/Pods/Target Support Files/IQKeyboardManagerSwift/IQKeyboardManagerSwift.xcconfig @@ -1,10 +1,11 @@ CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_LDFLAGS = -framework "CoreGraphics" -framework "Foundation" -framework "QuartzCore" -framework "UIKit" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_LDFLAGS = $(inherited) -framework "CoreGraphics" -framework "Foundation" -framework "QuartzCore" -framework "UIKit" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/IQKeyboardManagerSwift PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-Info.plist b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-Info.plist new file mode 100644 index 0000000..1862433 --- /dev/null +++ b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.0.5 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.debug.xcconfig b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.debug.xcconfig new file mode 100644 index 0000000..b0d83b8 --- /dev/null +++ b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.debug.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/KRActivityIndicatorView +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.release.xcconfig b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.release.xcconfig new file mode 100644 index 0000000..b0d83b8 --- /dev/null +++ b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.release.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/KRActivityIndicatorView +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.xcconfig b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.xcconfig index 50dd9ad..b0d83b8 100644 --- a/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.xcconfig +++ b/Pods/Target Support Files/KRActivityIndicatorView/KRActivityIndicatorView.xcconfig @@ -1,9 +1,10 @@ CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/KRActivityIndicatorView PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/KRProgressHUD/KRProgressHUD-Info.plist b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD-Info.plist new file mode 100644 index 0000000..e37a84e --- /dev/null +++ b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.4.5 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.debug.xcconfig b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.debug.xcconfig new file mode 100644 index 0000000..5cfcf6f --- /dev/null +++ b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.debug.xcconfig @@ -0,0 +1,11 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/KRProgressHUD +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.release.xcconfig b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.release.xcconfig new file mode 100644 index 0000000..5cfcf6f --- /dev/null +++ b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.release.xcconfig @@ -0,0 +1,11 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD +FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView" +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/KRProgressHUD +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.xcconfig b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.xcconfig index 930110e..5cfcf6f 100644 --- a/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.xcconfig +++ b/Pods/Target Support Files/KRProgressHUD/KRProgressHUD.xcconfig @@ -1,10 +1,11 @@ CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/KRProgressHUD PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/ObjectMapper/ObjectMapper-Info.plist b/Pods/Target Support Files/ObjectMapper/ObjectMapper-Info.plist new file mode 100644 index 0000000..580900c --- /dev/null +++ b/Pods/Target Support Files/ObjectMapper/ObjectMapper-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 3.5.2 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Pods/Target Support Files/ObjectMapper/ObjectMapper.debug.xcconfig b/Pods/Target Support Files/ObjectMapper/ObjectMapper.debug.xcconfig new file mode 100644 index 0000000..c291f30 --- /dev/null +++ b/Pods/Target Support Files/ObjectMapper/ObjectMapper.debug.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/ObjectMapper +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/ObjectMapper/ObjectMapper.release.xcconfig b/Pods/Target Support Files/ObjectMapper/ObjectMapper.release.xcconfig new file mode 100644 index 0000000..c291f30 --- /dev/null +++ b/Pods/Target Support Files/ObjectMapper/ObjectMapper.release.xcconfig @@ -0,0 +1,10 @@ +CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper +GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings +PODS_BUILD_DIR = ${BUILD_DIR} +PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) +PODS_ROOT = ${SRCROOT} +PODS_TARGET_SRCROOT = ${PODS_ROOT}/ObjectMapper +PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} +SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/ObjectMapper/ObjectMapper.xcconfig b/Pods/Target Support Files/ObjectMapper/ObjectMapper.xcconfig index 42c18cb..c291f30 100644 --- a/Pods/Target Support Files/ObjectMapper/ObjectMapper.xcconfig +++ b/Pods/Target Support Files/ObjectMapper/ObjectMapper.xcconfig @@ -1,9 +1,10 @@ CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS -suppress-warnings PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_ROOT = ${SRCROOT} PODS_TARGET_SRCROOT = ${PODS_ROOT}/ObjectMapper PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier} SKIP_INSTALL = YES +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-Info.plist b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-Info.plist new file mode 100644 index 0000000..2243fe6 --- /dev/null +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-Info.plist @@ -0,0 +1,26 @@ + + + + + CFBundleDevelopmentRegion + en + CFBundleExecutable + ${EXECUTABLE_NAME} + CFBundleIdentifier + ${PRODUCT_BUNDLE_IDENTIFIER} + CFBundleInfoDictionaryVersion + 6.0 + CFBundleName + ${PRODUCT_NAME} + CFBundlePackageType + FMWK + CFBundleShortVersionString + 1.0.0 + CFBundleSignature + ???? + CFBundleVersion + ${CURRENT_PROJECT_VERSION} + NSPrincipalClass + + + diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.markdown b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.markdown index 7490847..924037d 100644 --- a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.markdown +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.markdown @@ -54,7 +54,7 @@ THE SOFTWARE. ## KRProgressHUD -Copyright (c) 2016 krimpedance +Copyright (c) 2018 krimpedance Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.plist b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.plist index 4b92f4c..4bff0e1 100644 --- a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.plist +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-acknowledgements.plist @@ -77,7 +77,7 @@ THE SOFTWARE. FooterText - Copyright (c) 2016 krimpedance <krimpedance@gmail.com> + Copyright (c) 2018 krimpedance <info@krimpedance.com> Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-input-files.xcfilelist b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-input-files.xcfilelist new file mode 100644 index 0000000..a9d32f9 --- /dev/null +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-input-files.xcfilelist @@ -0,0 +1,5 @@ +${PODS_ROOT}/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh +${BUILT_PRODUCTS_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework +${BUILT_PRODUCTS_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework +${BUILT_PRODUCTS_DIR}/KRProgressHUD/KRProgressHUD.framework +${BUILT_PRODUCTS_DIR}/ObjectMapper/ObjectMapper.framework \ No newline at end of file diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-output-files.xcfilelist b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-output-files.xcfilelist new file mode 100644 index 0000000..8ac3283 --- /dev/null +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Debug-output-files.xcfilelist @@ -0,0 +1,4 @@ +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/IQKeyboardManagerSwift.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KRActivityIndicatorView.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KRProgressHUD.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjectMapper.framework \ No newline at end of file diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-input-files.xcfilelist b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-input-files.xcfilelist new file mode 100644 index 0000000..a9d32f9 --- /dev/null +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-input-files.xcfilelist @@ -0,0 +1,5 @@ +${PODS_ROOT}/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh +${BUILT_PRODUCTS_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework +${BUILT_PRODUCTS_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework +${BUILT_PRODUCTS_DIR}/KRProgressHUD/KRProgressHUD.framework +${BUILT_PRODUCTS_DIR}/ObjectMapper/ObjectMapper.framework \ No newline at end of file diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-output-files.xcfilelist b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-output-files.xcfilelist new file mode 100644 index 0000000..8ac3283 --- /dev/null +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks-Release-output-files.xcfilelist @@ -0,0 +1,4 @@ +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/IQKeyboardManagerSwift.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KRActivityIndicatorView.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/KRProgressHUD.framework +${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/ObjectMapper.framework \ No newline at end of file diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh index 5efabe4..3371c63 100755 --- a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK-frameworks.sh @@ -3,10 +3,15 @@ set -e set -u set -o pipefail +function on_error { + echo "$(realpath -mq "${0}"):$1: error: Unexpected failure" +} +trap 'on_error $LINENO' ERR + if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then - # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy - # frameworks to, so exit 0 (signalling the script phase was successful). - exit 0 + # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy + # frameworks to, so exit 0 (signalling the script phase was successful). + exit 0 fi echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" @@ -36,19 +41,24 @@ install_framework() local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}" if [ -L "${source}" ]; then - echo "Symlinked..." - source="$(readlink "${source}")" + echo "Symlinked..." + source="$(readlink "${source}")" fi # Use filter instead of exclude so missing patterns don't throw errors. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --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}" + elif [ -L "${binary}" ]; then + echo "Destination binary is symlinked..." + dirname="$(dirname "${binary}")" + binary="${dirname}/$(readlink "${binary}")" fi # Strip invalid architectures so "fat" simulator / device frameworks work on device @@ -62,7 +72,7 @@ install_framework() # 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]}) + swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u) for lib in $swift_runtime_libs; do echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\"" rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}" @@ -74,35 +84,45 @@ install_framework() # Copies and strips a vendored dSYM install_dsym() { local source="$1" + warn_missing_arch=${2:-true} if [ -r "$source" ]; then - # Copy the dSYM into a the targets temp dir. + # Copy the dSYM into the targets temp dir. echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\"" rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}" local basename - basename="$(basename -s .framework.dSYM "$source")" - binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}" + basename="$(basename -s .dSYM "$source")" + binary_name="$(ls "$source/Contents/Resources/DWARF")" + binary="${DERIVED_FILES_DIR}/${basename}.dSYM/Contents/Resources/DWARF/${binary_name}" # Strip invalid architectures so "fat" simulator / device frameworks work on device - if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then - strip_invalid_archs "$binary" + if [[ "$(file "$binary")" == *"Mach-O "*"dSYM companion"* ]]; then + strip_invalid_archs "$binary" "$warn_missing_arch" fi if [[ $STRIP_BINARY_RETVAL == 1 ]]; then # Move the stripped file into its final destination. - echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" - rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --links --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.dSYM" "${DWARF_DSYM_FOLDER_PATH}" else # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing. - touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM" + touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.dSYM" fi fi } +# Copies the bcsymbolmap files of a vendored framework +install_bcsymbolmap() { + local bcsymbolmap_path="$1" + local destination="${BUILT_PRODUCTS_DIR}" + echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}"" + rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${bcsymbolmap_path}" "${destination}" +} + # 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 + if [ -n "${EXPANDED_CODE_SIGN_IDENTITY:-}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then + # Use the current code_sign_identity 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'" @@ -117,13 +137,16 @@ code_sign_if_enabled() { # Strip invalid architectures strip_invalid_archs() { binary="$1" + warn_missing_arch=${2:-true} # Get architectures for current target binary binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)" # Intersect them with the architectures we are building for intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)" # If there are no archs supported by this binary then warn the user if [[ -z "$intersected_archs" ]]; then - echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + if [[ "$warn_missing_arch" == "true" ]]; then + echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)." + fi STRIP_BINARY_RETVAL=0 return fi @@ -131,7 +154,7 @@ strip_invalid_archs() { for arch in $binary_archs; do if ! [[ "${ARCHS}" == *"$arch"* ]]; then # Strip non-valid architectures in-place - lipo -remove "$arch" -output "$binary" "$binary" || exit 1 + lipo -remove "$arch" -output "$binary" "$binary" stripped="$stripped $arch" fi done @@ -141,6 +164,37 @@ strip_invalid_archs() { STRIP_BINARY_RETVAL=1 } +install_artifact() { + artifact="$1" + base="$(basename "$artifact")" + case $base in + *.framework) + install_framework "$artifact" + ;; + *.dSYM) + # Suppress arch warnings since XCFrameworks will include many dSYM files + install_dsym "$artifact" "false" + ;; + *.bcsymbolmap) + install_bcsymbolmap "$artifact" + ;; + *) + echo "error: Unrecognized artifact "$artifact"" + ;; + esac +} + +copy_artifacts() { + file_list="$1" + while read artifact; do + install_artifact "$artifact" + done <$file_list +} + +ARTIFACT_LIST_FILE="${BUILT_PRODUCTS_DIR}/cocoapods-artifacts-${CONFIGURATION}.txt" +if [ -r "${ARTIFACT_LIST_FILE}" ]; then + copy_artifacts "${ARTIFACT_LIST_FILE}" +fi if [[ "$CONFIGURATION" == "Debug" ]]; then install_framework "${BUILT_PRODUCTS_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework" diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.debug.xcconfig b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.debug.xcconfig index 46b171d..6ee25f5 100644 --- a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.debug.xcconfig +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.debug.xcconfig @@ -1,11 +1,13 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView" "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD/KRProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper/ObjectMapper.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD/KRProgressHUD.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper/ObjectMapper.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "IQKeyboardManagerSwift" -framework "KRActivityIndicatorView" -framework "KRProgressHUD" -framework "ObjectMapper" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD/KRProgressHUD.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper/ObjectMapper.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper" +OTHER_LDFLAGS = $(inherited) -framework "CoreGraphics" -framework "Foundation" -framework "IQKeyboardManagerSwift" -framework "KRActivityIndicatorView" -framework "KRProgressHUD" -framework "ObjectMapper" -framework "QuartzCore" -framework "UIKit" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.release.xcconfig b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.release.xcconfig index 46b171d..6ee25f5 100644 --- a/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.release.xcconfig +++ b/Pods/Target Support Files/Pods-PayHost iOS SDK/Pods-PayHost iOS SDK.release.xcconfig @@ -1,11 +1,13 @@ ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView" "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD" "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper" GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1 +HEADER_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD/KRProgressHUD.framework/Headers" "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper/ObjectMapper.framework/Headers" LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks' -OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD/KRProgressHUD.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper/ObjectMapper.framework/Headers" -OTHER_LDFLAGS = $(inherited) -framework "IQKeyboardManagerSwift" -framework "KRActivityIndicatorView" -framework "KRProgressHUD" -framework "ObjectMapper" -OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS" +OTHER_CFLAGS = $(inherited) -isystem "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift/IQKeyboardManagerSwift.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView/KRActivityIndicatorView.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD/KRProgressHUD.framework/Headers" -isystem "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper/ObjectMapper.framework/Headers" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/IQKeyboardManagerSwift" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KRActivityIndicatorView" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/KRProgressHUD" -iframework "${PODS_CONFIGURATION_BUILD_DIR}/ObjectMapper" +OTHER_LDFLAGS = $(inherited) -framework "CoreGraphics" -framework "Foundation" -framework "IQKeyboardManagerSwift" -framework "KRActivityIndicatorView" -framework "KRProgressHUD" -framework "ObjectMapper" -framework "QuartzCore" -framework "UIKit" +OTHER_SWIFT_FLAGS = $(inherited) -D COCOAPODS PODS_BUILD_DIR = ${BUILD_DIR} PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME) PODS_PODFILE_DIR_PATH = ${SRCROOT}/. PODS_ROOT = ${SRCROOT}/Pods +USE_RECURSIVE_SCRIPT_INPUTS_IN_SCRIPT_PHASES = YES diff --git a/README.md b/README.md index b9ee66a..0a08112 100644 --- a/README.md +++ b/README.md @@ -3,9 +3,15 @@ The below example code and testing interface has been provided. -### To Do: -- Video walkthrough -- Link to sample app on Apple App Store +### Installation + +To generate the needed dependencies, run the following from your project directory: + +```bash +sudo gem install cocoapods # install CocoaPods library (ignore if already installed) +pod install # install CocoaPods specific to this project +pod update # update CocoaPods specific to this project +``` ## PayHost diff --git a/changelog.txt b/changelog.txt new file mode 100755 index 0000000..51ee901 --- /dev/null +++ b/changelog.txt @@ -0,0 +1,9 @@ +===================================== +Date : Version: Description +===================================== + +2018-07-11: v1.0.0 : Initial Release. + +2020-04-07: v1.0.1 : Update for iOS 13 (Xcode 11.0+ Swift 5.1+). + Fix warnings. + Dark Mode Support. \ No newline at end of file