Showing
4 changed files
with
5 additions
and
27 deletions
... | @@ -19,7 +19,6 @@ | ... | @@ -19,7 +19,6 @@ |
19 | E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; }; | 19 | E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; }; |
20 | E67D1EB8281055D900940F01 /* WalletViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EB7281055D900940F01 /* WalletViewInterface.swift */; }; | 20 | E67D1EB8281055D900940F01 /* WalletViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EB7281055D900940F01 /* WalletViewInterface.swift */; }; |
21 | E67D1EBA281055F800940F01 /* MoreForYouViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */; }; | 21 | E67D1EBA281055F800940F01 /* MoreForYouViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */; }; |
22 | - E67D1EBC2810560800940F01 /* CampaignViewInterface.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EBB2810560800940F01 /* CampaignViewInterface.swift */; }; | ||
23 | E67D1EBE2810573900940F01 /* WalletView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EBD2810573900940F01 /* WalletView.swift */; }; | 22 | E67D1EBE2810573900940F01 /* WalletView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EBD2810573900940F01 /* WalletView.swift */; }; |
24 | E67D1EC02810579F00940F01 /* MoreForYouView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EBF2810579F00940F01 /* MoreForYouView.swift */; }; | 23 | E67D1EC02810579F00940F01 /* MoreForYouView.swift in Sources */ = {isa = PBXBuildFile; fileRef = E67D1EBF2810579F00940F01 /* MoreForYouView.swift */; }; |
25 | E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; }; | 24 | E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */ = {isa = PBXBuildFile; fileRef = E6D8DE6C27A942010006A3A9 /* WarplySDKFrameworkIOS.docc */; }; |
... | @@ -153,7 +152,6 @@ | ... | @@ -153,7 +152,6 @@ |
153 | E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; }; | 152 | E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; }; |
154 | E67D1EB7281055D900940F01 /* WalletViewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletViewInterface.swift; sourceTree = "<group>"; }; | 153 | E67D1EB7281055D900940F01 /* WalletViewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletViewInterface.swift; sourceTree = "<group>"; }; |
155 | E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoreForYouViewInterface.swift; sourceTree = "<group>"; }; | 154 | E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoreForYouViewInterface.swift; sourceTree = "<group>"; }; |
156 | - E67D1EBB2810560800940F01 /* CampaignViewInterface.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CampaignViewInterface.swift; sourceTree = "<group>"; }; | ||
157 | E67D1EBD2810573900940F01 /* WalletView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletView.swift; sourceTree = "<group>"; }; | 155 | E67D1EBD2810573900940F01 /* WalletView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletView.swift; sourceTree = "<group>"; }; |
158 | E67D1EBF2810579F00940F01 /* MoreForYouView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoreForYouView.swift; sourceTree = "<group>"; }; | 156 | E67D1EBF2810579F00940F01 /* MoreForYouView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MoreForYouView.swift; sourceTree = "<group>"; }; |
159 | E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; | 157 | E6D8DE6827A942010006A3A9 /* WarplySDKFrameworkIOS.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = WarplySDKFrameworkIOS.framework; sourceTree = BUILT_PRODUCTS_DIR; }; |
... | @@ -344,7 +342,6 @@ | ... | @@ -344,7 +342,6 @@ |
344 | E67D1EBD2810573900940F01 /* WalletView.swift */, | 342 | E67D1EBD2810573900940F01 /* WalletView.swift */, |
345 | E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */, | 343 | E67D1EB9281055F800940F01 /* MoreForYouViewInterface.swift */, |
346 | E67D1EBF2810579F00940F01 /* MoreForYouView.swift */, | 344 | E67D1EBF2810579F00940F01 /* MoreForYouView.swift */, |
347 | - E67D1EBB2810560800940F01 /* CampaignViewInterface.swift */, | ||
348 | E6D8DF5E27A9429E0006A3A9 /* MyApi.h */, | 345 | E6D8DF5E27A9429E0006A3A9 /* MyApi.h */, |
349 | E6D8DF5C27A9429E0006A3A9 /* MyApi.m */, | 346 | E6D8DF5C27A9429E0006A3A9 /* MyApi.m */, |
350 | E6D8DE7427A942910006A3A9 /* Helpers */, | 347 | E6D8DE7427A942910006A3A9 /* Helpers */, |
... | @@ -742,7 +739,6 @@ | ... | @@ -742,7 +739,6 @@ |
742 | isa = PBXSourcesBuildPhase; | 739 | isa = PBXSourcesBuildPhase; |
743 | buildActionMask = 2147483647; | 740 | buildActionMask = 2147483647; |
744 | files = ( | 741 | files = ( |
745 | - E67D1EBC2810560800940F01 /* CampaignViewInterface.swift in Sources */, | ||
746 | E6D8DF0B27A942920006A3A9 /* WLEvent.m in Sources */, | 742 | E6D8DF0B27A942920006A3A9 /* WLEvent.m in Sources */, |
747 | E6D8DF1E27A942920006A3A9 /* UIViewController+WLAdditions.m in Sources */, | 743 | E6D8DF1E27A942920006A3A9 /* UIViewController+WLAdditions.m in Sources */, |
748 | E6D8DF2E27A942920006A3A9 /* UIRefreshControl+AFNetworking.m in Sources */, | 744 | E6D8DF2E27A942920006A3A9 /* UIRefreshControl+AFNetworking.m in Sources */, | ... | ... |
No preview for this file type
1 | -// | ||
2 | -// CampaignViewInterface.swift | ||
3 | -// WarplySDKFrameworkIOS | ||
4 | -// | ||
5 | -// Created by Βασιλης Σκουρας on 20/4/22. | ||
6 | -// | ||
7 | - | ||
8 | -import Foundation | ||
9 | -import SwiftUI | ||
10 | - | ||
11 | -@available(iOS 13.0.0, *) | ||
12 | -@objc public class CampaignViewInterface : NSObject { | ||
13 | - | ||
14 | - @objc(campaignViewController::) static public func campaignViewController(parentView: UIView?, campaign: String?) -> UIViewController { | ||
15 | - return UIHostingController(rootView: CampaignWebview(parentView: parentView!, campaign: campaign)) | ||
16 | - } | ||
17 | - | ||
18 | -} |
... | @@ -52,8 +52,8 @@ struct WalletView: View { | ... | @@ -52,8 +52,8 @@ struct WalletView: View { |
52 | } | 52 | } |
53 | } | 53 | } |
54 | 54 | ||
55 | -struct WalletView_Previews: PreviewProvider { | 55 | +//struct WalletView_Previews: PreviewProvider { |
56 | - static var previews: some View { | 56 | +// static var previews: some View { |
57 | - WalletView() | 57 | +// WalletView() |
58 | - } | 58 | +// } |
59 | -} | 59 | +//} | ... | ... |
-
Please register or login to post a comment