Skip to content

Commit

Permalink
Merge pull request #4 from RBAtkins0n/master
Browse files Browse the repository at this point in the history
2020-04-07: v1.0.1
  • Loading branch information
appinlet authored Apr 6, 2020
2 parents c4d6cdd + b074094 commit 8e61bed
Show file tree
Hide file tree
Showing 104 changed files with 2,702 additions and 2,259 deletions.
46 changes: 23 additions & 23 deletions PayHost iOS SDK.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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 */; };
Expand Down Expand Up @@ -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 = "<group>"; };
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 = "<group>"; };
7937ECA420DB9E5100F2AF11 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
Expand Down Expand Up @@ -99,6 +101,7 @@
isa = PBXFrameworksBuildPhase;
buildActionMask = 2147483647;
files = (
40CE8A4D243333060025D68B /* WebKit.framework in Frameworks */,
3B1B929AB6C431C85227832A /* Pods_PayHost_iOS_SDK.framework in Frameworks */,
);
runOnlyForDeploymentPostprocessing = 0;
Expand Down Expand Up @@ -294,6 +297,7 @@
AE0FBD6253DF18522EFF575F /* Frameworks */ = {
isa = PBXGroup;
children = (
40CE8A4C243333060025D68B /* WebKit.framework */,
799E1A3920DCEBFA00CE711B /* SwiftLazy.framework */,
799E1A3720DCEBF500CE711B /* DITranquillity.framework */,
C108251C28E887519EFE051D /* Pods_PayHost_iOS_SDK.framework */,
Expand Down Expand Up @@ -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;
};
};
Expand Down Expand Up @@ -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 */ = {
Expand Down Expand Up @@ -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;
Expand Down Expand Up @@ -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;
Expand All @@ -675,15 +675,15 @@
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",
);
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;
Expand All @@ -696,15 +696,15 @@
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",
);
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;
Expand All @@ -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";
};
Expand All @@ -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";
};
Expand All @@ -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";
};
Expand All @@ -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";
};
Expand Down
2 changes: 1 addition & 1 deletion PayHost iOS SDK.xcworkspace/contents.xcworkspacedata

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions PayHost iOS SDK/Resources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand All @@ -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)
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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
//
Expand Down
Loading

0 comments on commit 8e61bed

Please sign in to comment.