Vasilis

back to ios 13

...@@ -8,6 +8,8 @@ ...@@ -8,6 +8,8 @@
8 8
9 /* Begin PBXBuildFile section */ 9 /* Begin PBXBuildFile section */
10 260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; }; 10 260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; };
11 + E639EFA2280810E300B9DD94 /* CouponsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA0280810E300B9DD94 /* CouponsView.swift */; };
12 + E639EFA3280810E300B9DD94 /* CouponsViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA1280810E300B9DD94 /* CouponsViewInterface.swift */; };
11 E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; }; 13 E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; };
12 E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; }; 14 E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; };
13 E6D8DE6E27A942010006A3A9 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; }; 15 E6D8DE6E27A942010006A3A9 /* WarplySDKFrameworkIOS.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */; settings = {ATTRIBUTES = (Public, ); }; };
...@@ -120,9 +122,7 @@ ...@@ -120,9 +122,7 @@
120 E6D8DF5827A942920006A3A9 /* WLEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEEB27A942910006A3A9 /* WLEvent.h */; }; 122 E6D8DF5827A942920006A3A9 /* WLEvent.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEEB27A942910006A3A9 /* WLEvent.h */; };
121 E6D8DF5927A942920006A3A9 /* Warply.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEEC27A942910006A3A9 /* Warply.h */; }; 123 E6D8DF5927A942920006A3A9 /* Warply.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DEEC27A942910006A3A9 /* Warply.h */; };
122 E6D8DF5A27A942920006A3A9 /* Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DEED27A942920006A3A9 /* Media.xcassets */; }; 124 E6D8DF5A27A942920006A3A9 /* Media.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = E6D8DEED27A942920006A3A9 /* Media.xcassets */; };
123 - E6D8DF5F27A9429E0006A3A9 /* ProfileViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DF5B27A9429E0006A3A9 /* ProfileViewInterface.swift */; };
124 E6D8DF6027A9429E0006A3A9 /* MyApi.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DF5C27A9429E0006A3A9 /* MyApi.m */; }; 125 E6D8DF6027A9429E0006A3A9 /* MyApi.m in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DF5C27A9429E0006A3A9 /* MyApi.m */; };
125 - E6D8DF6127A9429E0006A3A9 /* ProfileView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DF5D27A9429E0006A3A9 /* ProfileView.swift */; };
126 E6D8DF6227A9429E0006A3A9 /* MyApi.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DF5E27A9429E0006A3A9 /* MyApi.h */; settings = {ATTRIBUTES = (Public, ); }; }; 126 E6D8DF6227A9429E0006A3A9 /* MyApi.h in Headers */ = {isa = PBXBuildFile; fileRef = E6D8DF5E27A9429E0006A3A9 /* MyApi.h */; settings = {ATTRIBUTES = (Public, ); }; };
127 E6EA2F6E2806E32500EC4CF5 /* Coupons.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6EA2F6D2806E32500EC4CF5 /* Coupons.xib */; }; 127 E6EA2F6E2806E32500EC4CF5 /* Coupons.xib in Resources */ = {isa = PBXBuildFile; fileRef = E6EA2F6D2806E32500EC4CF5 /* Coupons.xib */; };
128 E6EA2F702806E8C200EC4CF5 /* Coupons.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6EA2F6F2806E8C200EC4CF5 /* Coupons.swift */; }; 128 E6EA2F702806E8C200EC4CF5 /* Coupons.swift in Sources */ = {isa = PBXBuildFile; fileRef = E6EA2F6F2806E8C200EC4CF5 /* Coupons.swift */; };
...@@ -131,6 +131,8 @@ ...@@ -131,6 +131,8 @@
131 /* Begin PBXFileReference section */ 131 /* Begin PBXFileReference section */
132 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 132 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
133 B9413513157AD76ECE896B81 /* Pods-WarplySDKFrameworkIOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WarplySDKFrameworkIOS.release.xcconfig"; path = "Target Support Files/Pods-WarplySDKFrameworkIOS/Pods-WarplySDKFrameworkIOS.release.xcconfig"; sourceTree = "<group>"; }; 133 B9413513157AD76ECE896B81 /* Pods-WarplySDKFrameworkIOS.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-WarplySDKFrameworkIOS.release.xcconfig"; path = "Target Support Files/Pods-WarplySDKFrameworkIOS/Pods-WarplySDKFrameworkIOS.release.xcconfig"; sourceTree = "<group>"; };
134 + E639EFA0280810E300B9DD94 /* CouponsView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CouponsView.swift; sourceTree = "<group>"; };
135 + E639EFA1280810E300B9DD94 /* CouponsViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = CouponsViewInterface.swift; sourceTree = "<group>"; };
134 E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; }; 136 E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; };
135 E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; 137 E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; };
136 E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WarplySDKFrameworkIOS.h; sourceTree = "<group>"; }; 138 E6D8DE6B27A942010006A3A9 /* WarplySDKFrameworkIOS.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = WarplySDKFrameworkIOS.h; sourceTree = "<group>"; };
...@@ -244,9 +246,7 @@ ...@@ -244,9 +246,7 @@
244 E6D8DEEB27A942910006A3A9 /* WLEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLEvent.h; sourceTree = "<group>"; }; 246 E6D8DEEB27A942910006A3A9 /* WLEvent.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = WLEvent.h; sourceTree = "<group>"; };
245 E6D8DEEC27A942910006A3A9 /* Warply.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Warply.h; sourceTree = "<group>"; }; 247 E6D8DEEC27A942910006A3A9 /* Warply.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = Warply.h; sourceTree = "<group>"; };
246 E6D8DEED27A942920006A3A9 /* Media.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Media.xcassets; sourceTree = SOURCE_ROOT; }; 248 E6D8DEED27A942920006A3A9 /* Media.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Media.xcassets; sourceTree = SOURCE_ROOT; };
247 - E6D8DF5B27A9429E0006A3A9 /* ProfileViewInterface.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProfileViewInterface.swift; sourceTree = "<group>"; };
248 E6D8DF5C27A9429E0006A3A9 /* MyApi.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyApi.m; sourceTree = "<group>"; }; 249 E6D8DF5C27A9429E0006A3A9 /* MyApi.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = MyApi.m; sourceTree = "<group>"; };
249 - E6D8DF5D27A9429E0006A3A9 /* ProfileView.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ProfileView.swift; sourceTree = "<group>"; };
250 E6D8DF5E27A9429E0006A3A9 /* MyApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyApi.h; sourceTree = "<group>"; }; 250 E6D8DF5E27A9429E0006A3A9 /* MyApi.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = MyApi.h; sourceTree = "<group>"; };
251 E6EA2F6D2806E32500EC4CF5 /* Coupons.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = Coupons.xib; sourceTree = "<group>"; }; 251 E6EA2F6D2806E32500EC4CF5 /* Coupons.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = Coupons.xib; sourceTree = "<group>"; };
252 E6EA2F6F2806E8C200EC4CF5 /* Coupons.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Coupons.swift; sourceTree = "<group>"; }; 252 E6EA2F6F2806E8C200EC4CF5 /* Coupons.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Coupons.swift; sourceTree = "<group>"; };
...@@ -303,10 +303,10 @@ ...@@ -303,10 +303,10 @@
303 E6D8DE6A27A942010006A3A9 /* WarplySDKFrameworkIOS */ = { 303 E6D8DE6A27A942010006A3A9 /* WarplySDKFrameworkIOS */ = {
304 isa = PBXGroup; 304 isa = PBXGroup;
305 children = ( 305 children = (
306 + E639EFA0280810E300B9DD94 /* CouponsView.swift */,
307 + E639EFA1280810E300B9DD94 /* CouponsViewInterface.swift */,
306 E6D8DF5E27A9429E0006A3A9 /* MyApi.h */, 308 E6D8DF5E27A9429E0006A3A9 /* MyApi.h */,
307 E6D8DF5C27A9429E0006A3A9 /* MyApi.m */, 309 E6D8DF5C27A9429E0006A3A9 /* MyApi.m */,
308 - E6D8DF5D27A9429E0006A3A9 /* ProfileView.swift */,
309 - E6D8DF5B27A9429E0006A3A9 /* ProfileViewInterface.swift */,
310 E6D8DE7427A942910006A3A9 /* Helpers */, 310 E6D8DE7427A942910006A3A9 /* Helpers */,
311 E6D8DEED27A942920006A3A9 /* Media.xcassets */, 311 E6D8DEED27A942920006A3A9 /* Media.xcassets */,
312 E6D8DE7727A942910006A3A9 /* Warply */, 312 E6D8DE7727A942910006A3A9 /* Warply */,
...@@ -712,7 +712,7 @@ ...@@ -712,7 +712,7 @@
712 E6D8DF2927A942920006A3A9 /* NSData+SSToolkitAdditions.m in Sources */, 712 E6D8DF2927A942920006A3A9 /* NSData+SSToolkitAdditions.m in Sources */,
713 E6D8DEFC27A942920006A3A9 /* WLCustomNativeAdTableViewCell.m in Sources */, 713 E6D8DEFC27A942920006A3A9 /* WLCustomNativeAdTableViewCell.m in Sources */,
714 E6EA2F702806E8C200EC4CF5 /* Coupons.swift in Sources */, 714 E6EA2F702806E8C200EC4CF5 /* Coupons.swift in Sources */,
715 - E6D8DF5F27A9429E0006A3A9 /* ProfileViewInterface.swift in Sources */, 715 + E639EFA3280810E300B9DD94 /* CouponsViewInterface.swift in Sources */,
716 E6D8DF4A27A942920006A3A9 /* AFNetworkReachabilityManager.m in Sources */, 716 E6D8DF4A27A942920006A3A9 /* AFNetworkReachabilityManager.m in Sources */,
717 E6D8DF4B27A942920006A3A9 /* AFSecurityPolicy.m in Sources */, 717 E6D8DF4B27A942920006A3A9 /* AFSecurityPolicy.m in Sources */,
718 E6D8DF1327A942920006A3A9 /* WLBeaconManager.m in Sources */, 718 E6D8DF1327A942920006A3A9 /* WLBeaconManager.m in Sources */,
...@@ -728,6 +728,7 @@ ...@@ -728,6 +728,7 @@
728 E6D8DF0A27A942920006A3A9 /* WLAPSItem.m in Sources */, 728 E6D8DF0A27A942920006A3A9 /* WLAPSItem.m in Sources */,
729 E6D8DF2C27A942920006A3A9 /* UIProgressView+AFNetworking.m in Sources */, 729 E6D8DF2C27A942920006A3A9 /* UIProgressView+AFNetworking.m in Sources */,
730 E6D8DF3C27A942920006A3A9 /* UIWebView+AFNetworking.m in Sources */, 730 E6D8DF3C27A942920006A3A9 /* UIWebView+AFNetworking.m in Sources */,
731 + E639EFA2280810E300B9DD94 /* CouponsView.swift in Sources */,
731 E6D8DF1427A942920006A3A9 /* WLLocationManager.m in Sources */, 732 E6D8DF1427A942920006A3A9 /* WLLocationManager.m in Sources */,
732 E6D8DF6027A9429E0006A3A9 /* MyApi.m in Sources */, 733 E6D8DF6027A9429E0006A3A9 /* MyApi.m in Sources */,
733 E6D8DF3F27A942920006A3A9 /* AFImageDownloader.m in Sources */, 734 E6D8DF3F27A942920006A3A9 /* AFImageDownloader.m in Sources */,
...@@ -744,7 +745,6 @@ ...@@ -744,7 +745,6 @@
744 E6D8DEF527A942920006A3A9 /* WLNativeAdsTableMode.m in Sources */, 745 E6D8DEF527A942920006A3A9 /* WLNativeAdsTableMode.m in Sources */,
745 E6D8DF1C27A942920006A3A9 /* WLUtils.m in Sources */, 746 E6D8DF1C27A942920006A3A9 /* WLUtils.m in Sources */,
746 E6D8DF1B27A942920006A3A9 /* WLUserManager.m in Sources */, 747 E6D8DF1B27A942920006A3A9 /* WLUserManager.m in Sources */,
747 - E6D8DF6127A9429E0006A3A9 /* ProfileView.swift in Sources */,
748 E6D8DF2027A942920006A3A9 /* Warply.m in Sources */, 748 E6D8DF2027A942920006A3A9 /* Warply.m in Sources */,
749 E6D8DF2327A942920006A3A9 /* WLSMSActionHandlerDeprecated.m in Sources */, 749 E6D8DF2327A942920006A3A9 /* WLSMSActionHandlerDeprecated.m in Sources */,
750 E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */, 750 E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */,
...@@ -880,6 +880,7 @@ ...@@ -880,6 +880,7 @@
880 isa = XCBuildConfiguration; 880 isa = XCBuildConfiguration;
881 baseConfigurationReference = F2447FDBC0B149DFB9DC6E40 /* Pods-WarplySDKFrameworkIOS.debug.xcconfig */; 881 baseConfigurationReference = F2447FDBC0B149DFB9DC6E40 /* Pods-WarplySDKFrameworkIOS.debug.xcconfig */;
882 buildSettings = { 882 buildSettings = {
883 + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
883 CLANG_ENABLE_MODULES = YES; 884 CLANG_ENABLE_MODULES = YES;
884 CODE_SIGN_STYLE = Automatic; 885 CODE_SIGN_STYLE = Automatic;
885 CURRENT_PROJECT_VERSION = 1; 886 CURRENT_PROJECT_VERSION = 1;
...@@ -891,7 +892,7 @@ ...@@ -891,7 +892,7 @@
891 GENERATE_INFOPLIST_FILE = YES; 892 GENERATE_INFOPLIST_FILE = YES;
892 INFOPLIST_KEY_NSHumanReadableCopyright = ""; 893 INFOPLIST_KEY_NSHumanReadableCopyright = "";
893 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 894 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
894 - IPHONEOS_DEPLOYMENT_TARGET = 11.0; 895 + IPHONEOS_DEPLOYMENT_TARGET = 13.0;
895 LD_RUNPATH_SEARCH_PATHS = ( 896 LD_RUNPATH_SEARCH_PATHS = (
896 "$(inherited)", 897 "$(inherited)",
897 "@executable_path/Frameworks", 898 "@executable_path/Frameworks",
...@@ -903,6 +904,7 @@ ...@@ -903,6 +904,7 @@
903 SKIP_INSTALL = YES; 904 SKIP_INSTALL = YES;
904 SUPPORTS_MACCATALYST = NO; 905 SUPPORTS_MACCATALYST = NO;
905 SWIFT_EMIT_LOC_STRINGS = YES; 906 SWIFT_EMIT_LOC_STRINGS = YES;
907 + SWIFT_OBJC_BRIDGING_HEADER = "";
906 SWIFT_OPTIMIZATION_LEVEL = "-Onone"; 908 SWIFT_OPTIMIZATION_LEVEL = "-Onone";
907 SWIFT_VERSION = 5.0; 909 SWIFT_VERSION = 5.0;
908 TARGETED_DEVICE_FAMILY = "1,2"; 910 TARGETED_DEVICE_FAMILY = "1,2";
...@@ -913,6 +915,7 @@ ...@@ -913,6 +915,7 @@
913 isa = XCBuildConfiguration; 915 isa = XCBuildConfiguration;
914 baseConfigurationReference = B9413513157AD76ECE896B81 /* Pods-WarplySDKFrameworkIOS.release.xcconfig */; 916 baseConfigurationReference = B9413513157AD76ECE896B81 /* Pods-WarplySDKFrameworkIOS.release.xcconfig */;
915 buildSettings = { 917 buildSettings = {
918 + ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
916 CLANG_ENABLE_MODULES = YES; 919 CLANG_ENABLE_MODULES = YES;
917 CODE_SIGN_STYLE = Automatic; 920 CODE_SIGN_STYLE = Automatic;
918 CURRENT_PROJECT_VERSION = 1; 921 CURRENT_PROJECT_VERSION = 1;
...@@ -924,7 +927,7 @@ ...@@ -924,7 +927,7 @@
924 GENERATE_INFOPLIST_FILE = YES; 927 GENERATE_INFOPLIST_FILE = YES;
925 INFOPLIST_KEY_NSHumanReadableCopyright = ""; 928 INFOPLIST_KEY_NSHumanReadableCopyright = "";
926 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks"; 929 INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
927 - IPHONEOS_DEPLOYMENT_TARGET = 11.0; 930 + IPHONEOS_DEPLOYMENT_TARGET = 13.0;
928 LD_RUNPATH_SEARCH_PATHS = ( 931 LD_RUNPATH_SEARCH_PATHS = (
929 "$(inherited)", 932 "$(inherited)",
930 "@executable_path/Frameworks", 933 "@executable_path/Frameworks",
...@@ -936,6 +939,7 @@ ...@@ -936,6 +939,7 @@
936 SKIP_INSTALL = YES; 939 SKIP_INSTALL = YES;
937 SUPPORTS_MACCATALYST = NO; 940 SUPPORTS_MACCATALYST = NO;
938 SWIFT_EMIT_LOC_STRINGS = YES; 941 SWIFT_EMIT_LOC_STRINGS = YES;
942 + SWIFT_OBJC_BRIDGING_HEADER = "";
939 SWIFT_VERSION = 5.0; 943 SWIFT_VERSION = 5.0;
940 TARGETED_DEVICE_FAMILY = "1,2"; 944 TARGETED_DEVICE_FAMILY = "1,2";
941 }; 945 };
......
...@@ -7,11 +7,12 @@ ...@@ -7,11 +7,12 @@
7 7
8 import UIKit 8 import UIKit
9 9
10 -class Coupons: UIViewController { 10 +
11 +public class Coupons: UIViewController {
11 12
12 @IBOutlet weak var myScrollView: UIScrollView! 13 @IBOutlet weak var myScrollView: UIScrollView!
13 14
14 - override func viewDidLoad() { 15 + public override func viewDidLoad() {
15 super.viewDidLoad() 16 super.viewDidLoad()
16 let corners = UIRectCorner(arrayLiteral: [ 17 let corners = UIRectCorner(arrayLiteral: [
17 UIRectCorner.topLeft, 18 UIRectCorner.topLeft,
......
...@@ -31,8 +31,8 @@ class DataModel { ...@@ -31,8 +31,8 @@ class DataModel {
31 } 31 }
32 32
33 33
34 -@available(iOS 11.0.0, *) 34 +@available(iOS 13.0.0, *)
35 -struct ProfileView: View { 35 +struct CouponsView: View {
36 36
37 var data:AnyObject? = DataModel().getData 37 var data:AnyObject? = DataModel().getData
38 38
......
...@@ -9,10 +9,10 @@ import Foundation ...@@ -9,10 +9,10 @@ import Foundation
9 import SwiftUI 9 import SwiftUI
10 10
11 @available(iOS 13.0.0, *) 11 @available(iOS 13.0.0, *)
12 -@objc public class ProfileViewInterface : NSObject { 12 +@objc public class CouponsViewInterface : NSObject {
13 13
14 - @objc static public func profileViewController() -> UIViewController { 14 + @objc static public func couponsViewController() -> UIViewController {
15 - return UIHostingController(rootView: ProfileView()) 15 + return UIHostingController(rootView: CouponsView())
16 } 16 }
17 17
18 } 18 }
......
...@@ -8,14 +8,14 @@ ...@@ -8,14 +8,14 @@
8 #ifndef MyApi_h 8 #ifndef MyApi_h
9 #define MyApi_h 9 #define MyApi_h
10 #import <UIKit/UIKit.h> 10 #import <UIKit/UIKit.h>
11 +@class Coupons;
11 12
12 @interface MyApi : NSObject 13 @interface MyApi : NSObject
13 14
14 + (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang; 15 + (void)init:(NSDictionary *)launchOptions uuid:(NSString*)uuid merchantId:(NSString*)merchantId lang:(NSString*)lang;
15 - (void) setToStage; 16 - (void) setToStage;
16 - (void) setLang:(NSString*) lang; 17 - (void) setLang:(NSString*) lang;
17 -- (UIViewController *) openProfile:(UIViewController*)controller :(UIWindow*) window; 18 +- (UIViewController *) openCoupons;
18 -- (UIView *) openCoupons;
19 - (void) applicationDidEnterBackground:(UIApplication *)application; 19 - (void) applicationDidEnterBackground:(UIApplication *)application;
20 - (void) applicationWillEnterForeground:(UIApplication *)application; 20 - (void) applicationWillEnterForeground:(UIApplication *)application;
21 - (void) applicationDidBecomeActive:(UIApplication *)application; 21 - (void) applicationDidBecomeActive:(UIApplication *)application;
......
...@@ -11,6 +11,7 @@ ...@@ -11,6 +11,7 @@
11 11
12 #import <WarplySDKFrameworkIOS/WarplySDKFrameworkIOS-Swift.h> 12 #import <WarplySDKFrameworkIOS/WarplySDKFrameworkIOS-Swift.h>
13 13
14 +
14 @implementation MyApi 15 @implementation MyApi
15 NSString *WARP_PRODUCTION_BASE_URL = @"https://engage.warp.ly"; 16 NSString *WARP_PRODUCTION_BASE_URL = @"https://engage.warp.ly";
16 NSString *WARP_HOST = @"engage.warp.ly"; 17 NSString *WARP_HOST = @"engage.warp.ly";
...@@ -45,20 +46,25 @@ NSString *LANG; ...@@ -45,20 +46,25 @@ NSString *LANG;
45 LANG = lang; 46 LANG = lang;
46 } 47 }
47 48
48 -- (UIViewController *) openProfile:(UIViewController*)controller :(UIWindow*) window { 49 +- (UIViewController *) openCoupons:(UIViewController*)controller :(UIWindow*) window {
49 50
50 - UIViewController *profileViewController = [ProfileViewInterface profileViewController]; 51 + UIViewController *couponsViewController = [CouponsViewInterface couponsViewController];
51 // controller = [[UINavigationController alloc]initWithRootViewController:profileViewController]; 52 // controller = [[UINavigationController alloc]initWithRootViewController:profileViewController];
52 53
53 // [window makeKeyAndVisible]; 54 // [window makeKeyAndVisible];
54 - return profileViewController; 55 + return couponsViewController;
55 } 56 }
56 57
57 - 58 +//- (UIViewController *) openCoupons {
58 -- (UIView *) openCoupons { 59 +//// NSString* const frameworkBundleID = @"framework.warp.ly.WarplySDKFrameworkIOS";
59 - UIView *myCoupons = [[[NSBundle mainBundle] loadNibNamed:@"Coupons" owner:self options:nil] objectAtIndex:0]; 60 +//// NSBundle* bundle = [NSBundle bundleWithIdentifier:frameworkBundleID];
60 - return myCoupons; 61 +//// NSBundle *bundle = [NSBundle bundleForClass:Coupons];
61 -} 62 +////
63 +////
64 +//// UIViewController *myCoupons = [[bundle loadNibNamed:@"Coupons" owner:self options:nil] objectAtIndex:0];
65 +// Coupons *couponsView = [[UIViewController alloc] init];
66 +// return couponsView;
67 +//}
62 68
63 /////////////////////////////////////////////////////////////////////////////////////////////////// 69 ///////////////////////////////////////////////////////////////////////////////////////////////////
64 - (void)applicationDidEnterBackground:(UIApplication *)application 70 - (void)applicationDidEnterBackground:(UIApplication *)application
......
...@@ -9,4 +9,5 @@ ...@@ -9,4 +9,5 @@
9 #define WarplySDKFrameworkIOS_Bridging_Header_h 9 #define WarplySDKFrameworkIOS_Bridging_Header_h
10 #import "MyApi.h" 10 #import "MyApi.h"
11 11
12 +
12 #endif /* WarplySDKFrameworkIOS_Bridging_Header_h */ 13 #endif /* WarplySDKFrameworkIOS_Bridging_Header_h */
......