Showing
6 changed files
with
43 additions
and
0 deletions
... | @@ -7,6 +7,8 @@ | ... | @@ -7,6 +7,8 @@ |
7 | objects = { | 7 | objects = { |
8 | 8 | ||
9 | /* Begin PBXBuildFile section */ | 9 | /* Begin PBXBuildFile section */ |
10 | + 1E7086652811A93F00704CA8 /* CouponBarcodeView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E7086642811A93F00704CA8 /* CouponBarcodeView.swift */; }; | ||
11 | + 1E7086672811A96E00704CA8 /* CouponBarcodeViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E7086662811A96E00704CA8 /* CouponBarcodeViewInterface.swift */; }; | ||
10 | 1E735FF2281067320050A298 /* CampaignWebview.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E735FF1281067320050A298 /* CampaignWebview.swift */; }; | 12 | 1E735FF2281067320050A298 /* CampaignWebview.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E735FF1281067320050A298 /* CampaignWebview.swift */; }; |
11 | 1E735FF42810681E0050A298 /* CampaignWebviewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E735FF32810681E0050A298 /* CampaignWebviewInterface.swift */; }; | 13 | 1E735FF42810681E0050A298 /* CampaignWebviewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E735FF32810681E0050A298 /* CampaignWebviewInterface.swift */; }; |
12 | 1EBEB02D280D69D800BF802C /* GiftsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEB02C280D69D800BF802C /* GiftsView.swift */; }; | 14 | 1EBEB02D280D69D800BF802C /* GiftsView.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EBEB02C280D69D800BF802C /* GiftsView.swift */; }; |
... | @@ -141,6 +143,8 @@ | ... | @@ -141,6 +143,8 @@ |
141 | 143 | ||
142 | /* Begin PBXFileReference section */ | 144 | /* Begin PBXFileReference section */ |
143 | 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | 145 | 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
146 | + 1E7086642811A93F00704CA8 /* CouponBarcodeView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponBarcodeView.swift; sourceTree = "<group>"; }; | ||
147 | + 1E7086662811A96E00704CA8 /* CouponBarcodeViewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponBarcodeViewInterface.swift; sourceTree = "<group>"; }; | ||
144 | 1E735FF1281067320050A298 /* CampaignWebview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampaignWebview.swift; sourceTree = "<group>"; }; | 148 | 1E735FF1281067320050A298 /* CampaignWebview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampaignWebview.swift; sourceTree = "<group>"; }; |
145 | 1E735FF32810681E0050A298 /* CampaignWebviewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampaignWebviewInterface.swift; sourceTree = "<group>"; }; | 149 | 1E735FF32810681E0050A298 /* CampaignWebviewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampaignWebviewInterface.swift; sourceTree = "<group>"; }; |
146 | 1EBEB02C280D69D800BF802C /* GiftsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftsView.swift; sourceTree = "<group>"; }; | 150 | 1EBEB02C280D69D800BF802C /* GiftsView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftsView.swift; sourceTree = "<group>"; }; |
... | @@ -345,6 +349,8 @@ | ... | @@ -345,6 +349,8 @@ |
345 | E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */, | 349 | E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */, |
346 | E67D1EBF2810579F00940F01 /* MoreForYouView.swift */, | 350 | E67D1EBF2810579F00940F01 /* MoreForYouView.swift */, |
347 | E67D1EC128113EED00940F01 /* CouponView.swift */, | 351 | E67D1EC128113EED00940F01 /* CouponView.swift */, |
352 | + 1E7086642811A93F00704CA8 /* CouponBarcodeView.swift */, | ||
353 | + 1E7086662811A96E00704CA8 /* CouponBarcodeViewInterface.swift */, | ||
348 | E67D1EC328113EFD00940F01 /* CouponViewInterface.swift */, | 354 | E67D1EC328113EFD00940F01 /* CouponViewInterface.swift */, |
349 | E6D8DF5E27A9429E0006A3A9 /* MyApi.h */, | 355 | E6D8DF5E27A9429E0006A3A9 /* MyApi.h */, |
350 | E6D8DF5C27A9429E0006A3A9 /* MyApi.m */, | 356 | E6D8DF5C27A9429E0006A3A9 /* MyApi.m */, |
... | @@ -746,6 +752,7 @@ | ... | @@ -746,6 +752,7 @@ |
746 | E6D8DF2E27A942920006A3A9 /* UIRefreshControl+AFNetworking.m in Sources */, | 752 | E6D8DF2E27A942920006A3A9 /* UIRefreshControl+AFNetworking.m in Sources */, |
747 | E6D8DF4827A942920006A3A9 /* AFURLRequestSerialization.m in Sources */, | 753 | E6D8DF4827A942920006A3A9 /* AFURLRequestSerialization.m in Sources */, |
748 | E67D1EC228113EED00940F01 /* CouponView.swift in Sources */, | 754 | E67D1EC228113EED00940F01 /* CouponView.swift in Sources */, |
755 | + 1E7086672811A96E00704CA8 /* CouponBarcodeViewInterface.swift in Sources */, | ||
749 | E6D8DEF327A942920006A3A9 /* WLNativeVideoTableViewCell.m in Sources */, | 756 | E6D8DEF327A942920006A3A9 /* WLNativeVideoTableViewCell.m in Sources */, |
750 | E6D8DF2527A942920006A3A9 /* WLSMSActionHanlder.m in Sources */, | 757 | E6D8DF2527A942920006A3A9 /* WLSMSActionHanlder.m in Sources */, |
751 | E67D1EBE2810573900940F01 /* WalletView.swift in Sources */, | 758 | E67D1EBE2810573900940F01 /* WalletView.swift in Sources */, |
... | @@ -790,6 +797,7 @@ | ... | @@ -790,6 +797,7 @@ |
790 | E67D1EC828119ED300940F01 /* swiftApi.swift in Sources */, | 797 | E67D1EC828119ED300940F01 /* swiftApi.swift in Sources */, |
791 | E6D8DF5227A942920006A3A9 /* FMDatabase.m in Sources */, | 798 | E6D8DF5227A942920006A3A9 /* FMDatabase.m in Sources */, |
792 | E6D8DF1227A942920006A3A9 /* WLPushManager.m in Sources */, | 799 | E6D8DF1227A942920006A3A9 /* WLPushManager.m in Sources */, |
800 | + 1E7086652811A93F00704CA8 /* CouponBarcodeView.swift in Sources */, | ||
793 | E6D8DEF827A942920006A3A9 /* WLNativeAdTableViewCell.m in Sources */, | 801 | E6D8DEF827A942920006A3A9 /* WLNativeAdTableViewCell.m in Sources */, |
794 | E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */, | 802 | E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */, |
795 | E6D8DF4427A942920006A3A9 /* AFURLResponseSerialization.m in Sources */, | 803 | E6D8DF4427A942920006A3A9 /* AFURLResponseSerialization.m in Sources */, | ... | ... |
No preview for this file type
1 | +// | ||
2 | +// CouponBarcodeView.swift | ||
3 | +// WarplySDKFrameworkIOS | ||
4 | +// | ||
5 | +// Created by Manos Chorianopoulos on 21/4/22. | ||
6 | +// | ||
7 | + | ||
8 | +import SwiftUI | ||
9 | + | ||
10 | +struct CouponBarcodeView: View { | ||
11 | + var body: some View { | ||
12 | + Text(/*@START_MENU_TOKEN@*/"Hello, World!"/*@END_MENU_TOKEN@*/) | ||
13 | + } | ||
14 | +} | ||
15 | + | ||
16 | +struct CouponBarcodeView_Previews: PreviewProvider { | ||
17 | + static var previews: some View { | ||
18 | + CouponBarcodeView() | ||
19 | + } | ||
20 | +} |
... | @@ -19,6 +19,7 @@ | ... | @@ -19,6 +19,7 @@ |
19 | - (void) setLang:(NSString*) lang; | 19 | - (void) setLang:(NSString*) lang; |
20 | - (UIViewController *) openCoupons:(UIView*) parentView; | 20 | - (UIViewController *) openCoupons:(UIView*) parentView; |
21 | - (UIViewController *) openCoupon:(UIView*) parentView coupon:(NSDictionary*) coupon; | 21 | - (UIViewController *) openCoupon:(UIView*) parentView coupon:(NSDictionary*) coupon; |
22 | +- (UIViewController *) openCouponBarcode:(UIView*) parentView coupon:(NSDictionary*) coupon; | ||
22 | - (UIViewController *) openGifts:(UIView*) parentView; | 23 | - (UIViewController *) openGifts:(UIView*) parentView; |
23 | - (UIViewController *) openWallet:(UIView*) parentView; | 24 | - (UIViewController *) openWallet:(UIView*) parentView; |
24 | - (UIViewController *) openMoreForYou:(UIView*) parentView; | 25 | - (UIViewController *) openMoreForYou:(UIView*) parentView; | ... | ... |
... | @@ -59,6 +59,12 @@ NSString *LANG; | ... | @@ -59,6 +59,12 @@ NSString *LANG; |
59 | return couponViewController; | 59 | return couponViewController; |
60 | } | 60 | } |
61 | 61 | ||
62 | +- (UIViewController *) openCouponBarcode:(UIView*) parentView coupon:(NSDictionary*) coupon { | ||
63 | + | ||
64 | + UIViewController *couponBarcodeViewController = [CouponBarcodeViewInterface couponBarcodeViewController:parentView :coupon]; | ||
65 | + return couponBarcodeViewController; | ||
66 | +} | ||
67 | + | ||
62 | - (UIViewController *) openGifts:(UIView*) parentView{ | 68 | - (UIViewController *) openGifts:(UIView*) parentView{ |
63 | 69 | ||
64 | UIViewController *giftsViewController = [GiftsViewInterface giftsViewController:parentView]; | 70 | UIViewController *giftsViewController = [GiftsViewInterface giftsViewController:parentView]; | ... | ... |
-
Please register or login to post a comment