Vasilis

addition of screens

...@@ -12,6 +12,10 @@ ...@@ -12,6 +12,10 @@
12 260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; }; 12 260C6A1AFF7560C32E212F20 /* Pods_WarplySDKFrameworkIOS.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 1353B8C484CC0649CAC2EB74 /* Pods_WarplySDKFrameworkIOS.framework */; };
13 E634A369282299770069DE27 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E634A368282299760069DE27 /* Main.storyboard */; }; 13 E634A369282299770069DE27 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = E634A368282299760069DE27 /* Main.storyboard */; };
14 E634A36B2822999B0069DE27 /* CouponsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A36A2822999B0069DE27 /* CouponsViewController.swift */; }; 14 E634A36B2822999B0069DE27 /* CouponsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A36A2822999B0069DE27 /* CouponsViewController.swift */; };
15 + E634A36F2823D2290069DE27 /* WalletViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A36E2823D2290069DE27 /* WalletViewController.swift */; };
16 + E634A3712823D26E0069DE27 /* GiftsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A3702823D26E0069DE27 /* GiftsViewController.swift */; };
17 + E634A3732823D3690069DE27 /* DetailsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A3722823D3690069DE27 /* DetailsViewController.swift */; };
18 + E634A3752823D3AB0069DE27 /* MFYViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = E634A3742823D3AB0069DE27 /* MFYViewController.swift */; };
15 E639EFA52808244E00B9DD94 /* MyEmptyClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */; }; 19 E639EFA52808244E00B9DD94 /* MyEmptyClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */; };
16 E639EFAB2808347700B9DD94 /* ic_back.png in Resources */ = {isa = PBXBuildFile; fileRef = E639EFAA2808347700B9DD94 /* ic_back.png */; }; 20 E639EFAB2808347700B9DD94 /* ic_back.png in Resources */ = {isa = PBXBuildFile; fileRef = E639EFAA2808347700B9DD94 /* ic_back.png */; };
17 E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; }; 21 E655D05A280590AD004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h in Headers */ = {isa = PBXBuildFile; fileRef = E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */; };
...@@ -137,6 +141,10 @@ ...@@ -137,6 +141,10 @@
137 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>"; }; 141 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>"; };
138 E634A368282299760069DE27 /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; }; 142 E634A368282299760069DE27 /* Main.storyboard */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; path = Main.storyboard; sourceTree = "<group>"; };
139 E634A36A2822999B0069DE27 /* CouponsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponsViewController.swift; sourceTree = "<group>"; }; 143 E634A36A2822999B0069DE27 /* CouponsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = CouponsViewController.swift; sourceTree = "<group>"; };
144 + E634A36E2823D2290069DE27 /* WalletViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = WalletViewController.swift; sourceTree = "<group>"; };
145 + E634A3702823D26E0069DE27 /* GiftsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = GiftsViewController.swift; sourceTree = "<group>"; };
146 + E634A3722823D3690069DE27 /* DetailsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DetailsViewController.swift; sourceTree = "<group>"; };
147 + E634A3742823D3AB0069DE27 /* MFYViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MFYViewController.swift; sourceTree = "<group>"; };
140 E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyEmptyClass.swift; sourceTree = "<group>"; }; 148 E639EFA42808244E00B9DD94 /* MyEmptyClass.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MyEmptyClass.swift; sourceTree = "<group>"; };
141 E639EFAA2808347700B9DD94 /* ic_back.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_back.png; sourceTree = "<group>"; }; 149 E639EFAA2808347700B9DD94 /* ic_back.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = ic_back.png; sourceTree = "<group>"; };
142 E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; }; 150 E655D05928058A72004F913C /* WarplySDKFrameworkIOS-Bridging-Header.h */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.c.h; path = "WarplySDKFrameworkIOS-Bridging-Header.h"; sourceTree = "<group>"; };
...@@ -330,6 +338,10 @@ ...@@ -330,6 +338,10 @@
330 E67D1EC528117F2400940F01 /* swiftApi.swift */, 338 E67D1EC528117F2400940F01 /* swiftApi.swift */,
331 E634A368282299760069DE27 /* Main.storyboard */, 339 E634A368282299760069DE27 /* Main.storyboard */,
332 E634A36A2822999B0069DE27 /* CouponsViewController.swift */, 340 E634A36A2822999B0069DE27 /* CouponsViewController.swift */,
341 + E634A36E2823D2290069DE27 /* WalletViewController.swift */,
342 + E634A3702823D26E0069DE27 /* GiftsViewController.swift */,
343 + E634A3722823D3690069DE27 /* DetailsViewController.swift */,
344 + E634A3742823D3AB0069DE27 /* MFYViewController.swift */,
333 1E7564B92823C6D900B9D2AE /* ViewControllerExtensions.swift */, 345 1E7564B92823C6D900B9D2AE /* ViewControllerExtensions.swift */,
334 ); 346 );
335 path = WarplySDKFrameworkIOS; 347 path = WarplySDKFrameworkIOS;
...@@ -734,6 +746,7 @@ ...@@ -734,6 +746,7 @@
734 E6D8DF0627A942920006A3A9 /* WLBeacon.m in Sources */, 746 E6D8DF0627A942920006A3A9 /* WLBeacon.m in Sources */,
735 E6D8DF2927A942920006A3A9 /* NSData+SSToolkitAdditions.m in Sources */, 747 E6D8DF2927A942920006A3A9 /* NSData+SSToolkitAdditions.m in Sources */,
736 E6D8DEFC27A942920006A3A9 /* WLCustomNativeAdTableViewCell.m in Sources */, 748 E6D8DEFC27A942920006A3A9 /* WLCustomNativeAdTableViewCell.m in Sources */,
749 + E634A3732823D3690069DE27 /* DetailsViewController.swift in Sources */,
737 E6D8DF4A27A942920006A3A9 /* AFNetworkReachabilityManager.m in Sources */, 750 E6D8DF4A27A942920006A3A9 /* AFNetworkReachabilityManager.m in Sources */,
738 1E7564BA2823C6D900B9D2AE /* ViewControllerExtensions.swift in Sources */, 751 1E7564BA2823C6D900B9D2AE /* ViewControllerExtensions.swift in Sources */,
739 E6D8DF4B27A942920006A3A9 /* AFSecurityPolicy.m in Sources */, 752 E6D8DF4B27A942920006A3A9 /* AFSecurityPolicy.m in Sources */,
...@@ -764,6 +777,8 @@ ...@@ -764,6 +777,8 @@
764 E6D8DEF827A942920006A3A9 /* WLNativeAdTableViewCell.m in Sources */, 777 E6D8DEF827A942920006A3A9 /* WLNativeAdTableViewCell.m in Sources */,
765 E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */, 778 E6D8DE6D27A942010006A3A9 /* WarplySDKFrameworkIOS.docc in Sources */,
766 E6D8DF4427A942920006A3A9 /* AFURLResponseSerialization.m in Sources */, 779 E6D8DF4427A942920006A3A9 /* AFURLResponseSerialization.m in Sources */,
780 + E634A36F2823D2290069DE27 /* WalletViewController.swift in Sources */,
781 + E634A3752823D3AB0069DE27 /* MFYViewController.swift in Sources */,
767 E6D8DEF527A942920006A3A9 /* WLNativeAdsTableMode.m in Sources */, 782 E6D8DEF527A942920006A3A9 /* WLNativeAdsTableMode.m in Sources */,
768 E6D8DF1C27A942920006A3A9 /* WLUtils.m in Sources */, 783 E6D8DF1C27A942920006A3A9 /* WLUtils.m in Sources */,
769 E639EFA52808244E00B9DD94 /* MyEmptyClass.swift in Sources */, 784 E639EFA52808244E00B9DD94 /* MyEmptyClass.swift in Sources */,
...@@ -772,6 +787,7 @@ ...@@ -772,6 +787,7 @@
772 E6D8DF2327A942920006A3A9 /* WLSMSActionHandlerDeprecated.m in Sources */, 787 E6D8DF2327A942920006A3A9 /* WLSMSActionHandlerDeprecated.m in Sources */,
773 E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */, 788 E6D8DEEE27A942920006A3A9 /* WarplyReactMethods.m in Sources */,
774 E6D8DEF927A942920006A3A9 /* WLNativeAdCollectionViewCell.m in Sources */, 789 E6D8DEF927A942920006A3A9 /* WLNativeAdCollectionViewCell.m in Sources */,
790 + E634A3712823D26E0069DE27 /* GiftsViewController.swift in Sources */,
775 E634A36B2822999B0069DE27 /* CouponsViewController.swift in Sources */, 791 E634A36B2822999B0069DE27 /* CouponsViewController.swift in Sources */,
776 E6D8DF4E27A942920006A3A9 /* FMDatabaseQueue.m in Sources */, 792 E6D8DF4E27A942920006A3A9 /* FMDatabaseQueue.m in Sources */,
777 E6D8DF0827A942920006A3A9 /* WLBaseItem.m in Sources */, 793 E6D8DF0827A942920006A3A9 /* WLBaseItem.m in Sources */,
......
...@@ -11,23 +11,7 @@ import UIKit ...@@ -11,23 +11,7 @@ import UIKit
11 @objc public class CouponsViewController: UIViewController { 11 @objc public class CouponsViewController: UIViewController {
12 public override func viewWillAppear(_ animated: Bool) { 12 public override func viewWillAppear(_ animated: Bool) {
13 super.viewWillAppear(animated) 13 super.viewWillAppear(animated)
14 -// self.navigationController?.navigationBar.topItem?.title = "" 14 + setBackButton()
15 -// 15 + setNavigationTitle("Εκπτωτικό κουπόνι")
16 -// self.navigationController?.navigationBar.backIndicatorImage = UIImage(contentsOfFile: "ic_back")
17 -// self.navigationController?.navigationBar.backIndicatorTransitionMaskImage = UIImage(contentsOfFile: "ic_back")
18 - let backButton = UIButton(type: UIButton.ButtonType.custom) as UIButton
19 - backButton.frame = CGRect(x: 0, y: 0, width: 40, height: 25)
20 - backButton.imageView!.contentMode = .scaleAspectFit
21 - backButton.setImage(UIImage(named: "ic_back"), for: .normal)
22 - backButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: -20, bottom: 0, right: 0)
23 - backButton.addTarget(self, action: #selector(moveToBack(_:)), for: .touchUpInside)
24 -
25 - let leftBarButtonItem: UIBarButtonItem = UIBarButtonItem(customView: backButton)
26 - self.navigationController?.navigationItem.setLeftBarButton(leftBarButtonItem, animated: false)
27 - self.navigationController?.navigationItem.title = ""
28 - }
29 -
30 - @objc func moveToBack(_ sender:UIButton){
31 - self.navigationController?.popViewController(animated: true)
32 } 16 }
33 } 17 }
......
1 +//
2 +// DetailsViewController.swift
3 +// WarplySDKFrameworkIOS
4 +//
5 +// Created by Βασιλης Σκουρας on 5/5/22.
6 +//
7 +
8 +import Foundation
9 +import UIKit
10 +
11 +@objc public class DetailsViewController: UIViewController {
12 + public override func viewWillAppear(_ animated: Bool) {
13 + super.viewWillAppear(animated)
14 + setBackButton()
15 + setNavigationTitle("Ανάλυση")
16 + }
17 +}
1 +//
2 +// GiftsViewController.swift
3 +// WarplySDKFrameworkIOS
4 +//
5 +// Created by Βασιλης Σκουρας on 5/5/22.
6 +//
7 +
8 +import Foundation
9 +import UIKit
10 +
11 +@objc public class GiftsViewController: UIViewController {
12 + public override func viewWillAppear(_ animated: Bool) {
13 + super.viewWillAppear(animated)
14 + setBackButton()
15 + setNavigationTitle("Gifts for You")
16 + }
17 +}
1 +//
2 +// MFYViewController.swift
3 +// WarplySDKFrameworkIOS
4 +//
5 +// Created by Βασιλης Σκουρας on 5/5/22.
6 +//
7 +
8 +import Foundation
9 +import UIKit
10 +
11 +@objc public class MFYViewController: UIViewController {
12 + public override func viewWillAppear(_ animated: Bool) {
13 + super.viewWillAppear(animated)
14 + setBackButton()
15 + setNavigationTitle("More for you")
16 + }
17 +}
...@@ -32,6 +32,66 @@ ...@@ -32,6 +32,66 @@
32 </objects> 32 </objects>
33 <point key="canvasLocation" x="139" y="129"/> 33 <point key="canvasLocation" x="139" y="129"/>
34 </scene> 34 </scene>
35 + <!--Details View Controller-->
36 + <scene sceneID="TPv-Bl-CUP">
37 + <objects>
38 + <viewController storyboardIdentifier="DetailsViewController" id="sWR-yI-hxH" customClass="DetailsViewController" customModule="WarplySDKFrameworkIOS" customModuleProvider="target" sceneMemberID="viewController">
39 + <view key="view" contentMode="scaleToFill" id="ghE-y5-6SE">
40 + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
41 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
42 + <viewLayoutGuide key="safeArea" id="aV5-w9-oCZ"/>
43 + <color key="backgroundColor" systemColor="systemBackgroundColor"/>
44 + </view>
45 + </viewController>
46 + <placeholder placeholderIdentifier="IBFirstResponder" id="2L4-Dc-pEY" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
47 + </objects>
48 + <point key="canvasLocation" x="116" y="817"/>
49 + </scene>
50 + <!--View Controller-->
51 + <scene sceneID="g5j-BC-VRb">
52 + <objects>
53 + <viewController storyboardIdentifier="MFYViewController" id="YRk-Az-LOb" customClass="MFYViewController" customModule="WarplySDKFrameworkIOS" customModuleProvider="target" sceneMemberID="viewController">
54 + <view key="view" contentMode="scaleToFill" id="iEB-He-DJV">
55 + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
56 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
57 + <viewLayoutGuide key="safeArea" id="eXr-I0-rkv"/>
58 + <color key="backgroundColor" systemColor="systemBackgroundColor"/>
59 + </view>
60 + </viewController>
61 + <placeholder placeholderIdentifier="IBFirstResponder" id="cet-Ta-bHg" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
62 + </objects>
63 + <point key="canvasLocation" x="878" y="828"/>
64 + </scene>
65 + <!--Wallet View Controller-->
66 + <scene sceneID="tSr-9x-GQW">
67 + <objects>
68 + <viewController storyboardIdentifier="WalletViewController" id="pKQ-52-a1r" customClass="WalletViewController" customModule="WarplySDKFrameworkIOS" customModuleProvider="target" sceneMemberID="viewController">
69 + <view key="view" contentMode="scaleToFill" id="e1e-Eg-v4q">
70 + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
71 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
72 + <viewLayoutGuide key="safeArea" id="Jx1-b6-RBF"/>
73 + <color key="backgroundColor" systemColor="systemBackgroundColor"/>
74 + </view>
75 + </viewController>
76 + <placeholder placeholderIdentifier="IBFirstResponder" id="IOg-BB-r5Q" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
77 + </objects>
78 + <point key="canvasLocation" x="867" y="129"/>
79 + </scene>
80 + <!--Gifts View Controller-->
81 + <scene sceneID="Rnz-IX-el9">
82 + <objects>
83 + <viewController storyboardIdentifier="GiftsViewController" id="wy8-hC-CyC" customClass="GiftsViewController" customModule="WarplySDKFrameworkIOS" customModuleProvider="target" sceneMemberID="viewController">
84 + <view key="view" contentMode="scaleToFill" id="rgt-dj-Aiw">
85 + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
86 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
87 + <viewLayoutGuide key="safeArea" id="8yz-fh-0GA"/>
88 + <color key="backgroundColor" systemColor="systemBackgroundColor"/>
89 + </view>
90 + </viewController>
91 + <placeholder placeholderIdentifier="IBFirstResponder" id="YLX-2E-CQz" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
92 + </objects>
93 + <point key="canvasLocation" x="1612" y="129"/>
94 + </scene>
35 </scenes> 95 </scenes>
36 <resources> 96 <resources>
37 <systemColor name="systemBackgroundColor"> 97 <systemColor name="systemBackgroundColor">
......
1 +//
2 +// WalletViewController.swift
3 +// WarplySDKFrameworkIOS
4 +//
5 +// Created by Βασιλης Σκουρας on 5/5/22.
6 +//
7 +
8 +import Foundation
9 +import UIKit
10 +
11 +@objc public class WalletViewController: UIViewController {
12 + public override func viewWillAppear(_ animated: Bool) {
13 + super.viewWillAppear(animated)
14 + setBackButton()
15 + setNavigationTitle("My loyalty wallet")
16 + }
17 +}