Manos Chorianopoulos

add MarketPassViewController, MarketPassInfoViewController

...@@ -61,6 +61,8 @@ ...@@ -61,6 +61,8 @@
61 1ECA079428D9E53F00D2BDE0 /* MapsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079228D9E53F00D2BDE0 /* MapsViewController.swift */; }; 61 1ECA079428D9E53F00D2BDE0 /* MapsViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079228D9E53F00D2BDE0 /* MapsViewController.swift */; };
62 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; }; 62 1ECA079528D9E53F00D2BDE0 /* MapsViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */; };
63 1ECA079728D9E66200D2BDE0 /* MerchantAnnotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */; }; 63 1ECA079728D9E66200D2BDE0 /* MerchantAnnotation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */; };
64 + 1EDAF23F2D36B59200894144 /* MarketPassViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDAF23E2D36B59200894144 /* MarketPassViewController.swift */; };
65 + 1EDAF2412D36B5B100894144 /* MarketPassInfoViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDAF2402D36B5B000894144 /* MarketPassInfoViewController.swift */; };
64 1EDCB47A29DEEC2E00DF218B /* UnifiedCouponBarcodeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDCB47929DEEC2E00DF218B /* UnifiedCouponBarcodeViewController.swift */; }; 66 1EDCB47A29DEEC2E00DF218B /* UnifiedCouponBarcodeViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDCB47929DEEC2E00DF218B /* UnifiedCouponBarcodeViewController.swift */; };
65 1EDCDFAC28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */; }; 67 1EDCDFAC28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */; };
66 1EDD4F892AE937AA00A6B5A6 /* LoyaltyHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDD4F882AE937AA00A6B5A6 /* LoyaltyHistoryViewController.swift */; }; 68 1EDD4F892AE937AA00A6B5A6 /* LoyaltyHistoryViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1EDD4F882AE937AA00A6B5A6 /* LoyaltyHistoryViewController.swift */; };
...@@ -259,6 +261,8 @@ ...@@ -259,6 +261,8 @@
259 1ECA079228D9E53F00D2BDE0 /* MapsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapsViewController.swift; sourceTree = "<group>"; }; 261 1ECA079228D9E53F00D2BDE0 /* MapsViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MapsViewController.swift; sourceTree = "<group>"; };
260 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MapsViewController.xib; sourceTree = "<group>"; }; 262 1ECA079328D9E53F00D2BDE0 /* MapsViewController.xib */ = {isa = PBXFileReference; lastKnownFileType = file.xib; path = MapsViewController.xib; sourceTree = "<group>"; };
261 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MerchantAnnotation.swift; sourceTree = "<group>"; }; 263 1ECA079628D9E66200D2BDE0 /* MerchantAnnotation.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MerchantAnnotation.swift; sourceTree = "<group>"; };
264 + 1EDAF23E2D36B59200894144 /* MarketPassViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarketPassViewController.swift; sourceTree = "<group>"; };
265 + 1EDAF2402D36B5B000894144 /* MarketPassInfoViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MarketPassInfoViewController.swift; sourceTree = "<group>"; };
262 1EDCB47929DEEC2E00DF218B /* UnifiedCouponBarcodeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnifiedCouponBarcodeViewController.swift; sourceTree = "<group>"; }; 266 1EDCB47929DEEC2E00DF218B /* UnifiedCouponBarcodeViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = UnifiedCouponBarcodeViewController.swift; sourceTree = "<group>"; };
263 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisMoreViewCell.swift; sourceTree = "<group>"; }; 267 1EDCDFAB28DB29E8002ED8F0 /* AnalysisMoreViewCell.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AnalysisMoreViewCell.swift; sourceTree = "<group>"; };
264 1EDD4F882AE937AA00A6B5A6 /* LoyaltyHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoyaltyHistoryViewController.swift; sourceTree = "<group>"; }; 268 1EDD4F882AE937AA00A6B5A6 /* LoyaltyHistoryViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LoyaltyHistoryViewController.swift; sourceTree = "<group>"; };
...@@ -551,6 +555,8 @@ ...@@ -551,6 +555,8 @@
551 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */, 555 1EBE97202865EE460080EFF7 /* MFYInboxTableViewCell.swift */,
552 E6A778DB282933E60045BBA8 /* MFYViewController.swift */, 556 E6A778DB282933E60045BBA8 /* MFYViewController.swift */,
553 E6A7785F282933E40045BBA8 /* WalletViewController.swift */, 557 E6A7785F282933E40045BBA8 /* WalletViewController.swift */,
558 + 1EDAF23E2D36B59200894144 /* MarketPassViewController.swift */,
559 + 1EDAF2402D36B5B000894144 /* MarketPassInfoViewController.swift */,
554 E6A77A31282BA9C60045BBA8 /* CampaignViewController.swift */, 560 E6A77A31282BA9C60045BBA8 /* CampaignViewController.swift */,
555 E6A77A33282BB3BB0045BBA8 /* ActiveGiftsViewController.swift */, 561 E6A77A33282BB3BB0045BBA8 /* ActiveGiftsViewController.swift */,
556 E6A77A35282BB4CB0045BBA8 /* MakeItAPresentViewController.swift */, 562 E6A77A35282BB4CB0045BBA8 /* MakeItAPresentViewController.swift */,
...@@ -1020,6 +1026,7 @@ ...@@ -1020,6 +1026,7 @@
1020 E6A778E6282933E60045BBA8 /* MyEmptyClass.swift in Sources */, 1026 E6A778E6282933E60045BBA8 /* MyEmptyClass.swift in Sources */,
1021 1E46B4C12BEBBDD800D5B488 /* WalletActiveCouponCollectionViewCell.swift in Sources */, 1027 1E46B4C12BEBBDD800D5B488 /* WalletActiveCouponCollectionViewCell.swift in Sources */,
1022 E6A77912282933E60045BBA8 /* WLAnalyticsManager.m in Sources */, 1028 E6A77912282933E60045BBA8 /* WLAnalyticsManager.m in Sources */,
1029 + 1EDAF2412D36B5B100894144 /* MarketPassInfoViewController.swift in Sources */,
1023 E6A778E2282933E60045BBA8 /* CouponsViewController.swift in Sources */, 1030 E6A778E2282933E60045BBA8 /* CouponsViewController.swift in Sources */,
1024 E6A77930282933E70045BBA8 /* UIImageView+AFNetworking.m in Sources */, 1031 E6A77930282933E70045BBA8 /* UIImageView+AFNetworking.m in Sources */,
1025 E6A77900282933E60045BBA8 /* WLInboxItemViewController.m in Sources */, 1032 E6A77900282933E60045BBA8 /* WLInboxItemViewController.m in Sources */,
...@@ -1084,6 +1091,7 @@ ...@@ -1084,6 +1091,7 @@
1084 E6A77903282933E60045BBA8 /* WLAPSItem.m in Sources */, 1091 E6A77903282933E60045BBA8 /* WLAPSItem.m in Sources */,
1085 1E64E9012B8DE4AC001BA46E /* WalletEmptyViewTableViewCell.swift in Sources */, 1092 1E64E9012B8DE4AC001BA46E /* WalletEmptyViewTableViewCell.swift in Sources */,
1086 1E029A4129E002CF00CC7447 /* UnifiedCouponBCHeaderTableViewCell.swift in Sources */, 1093 1E029A4129E002CF00CC7447 /* UnifiedCouponBCHeaderTableViewCell.swift in Sources */,
1094 + 1EDAF23F2D36B59200894144 /* MarketPassViewController.swift in Sources */,
1087 1ECA079128D9E3BA00D2BDE0 /* CSMButton.swift in Sources */, 1095 1ECA079128D9E3BA00D2BDE0 /* CSMButton.swift in Sources */,
1088 1E4410B128F5855000859F92 /* CampaignCategory.swift in Sources */, 1096 1E4410B128F5855000859F92 /* CampaignCategory.swift in Sources */,
1089 1E46B4BF2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift in Sources */, 1097 1E46B4BF2BEBB68800D5B488 /* WalletActiveCouponsScrollTableViewCell.swift in Sources */,
......
1 +//
2 +// MarketPassInfoViewController.swift
3 +// SwiftWarplyFramework
4 +//
5 +// Created by Manos Chorianopoulos on 14/1/25.
6 +//
7 +
8 +import UIKit
9 +
10 +@objc public class MarketPassInfoViewController: UIViewController {
11 +
12 + public override func viewDidLoad() {
13 + super.viewDidLoad()
14 +
15 + self.hidesBottomBarWhenPushed = true
16 +
17 + setBackButton()
18 + setNavigationTitle("Οδηγίες χρήσης")
19 + // Setup the info button with an action
20 + setNavBarRightInfoButton() {
21 + // This closure is the action that will be executed when the info button is tapped
22 +// self.presentInfoPopup()
23 + }
24 + }
25 +
26 + public override func viewWillAppear(_ animated: Bool) {
27 + super.viewWillAppear(animated)
28 +
29 + swiftApi().logTrackersEvent("screen", "MarketPassInfoScreen")
30 +
31 + self.navigationController?.hideHairline()
32 + }
33 +}
1 +//
2 +// MarketPassViewController.swift
3 +// SwiftWarplyFramework
4 +//
5 +// Created by Manos Chorianopoulos on 14/1/25.
6 +//
7 +
8 +import UIKit
9 +import RSBarcodes_Swift
10 +import AVFoundation
11 +
12 +@objc public class MarketPassViewController: UIViewController {
13 +
14 + public override func viewDidLoad() {
15 + super.viewDidLoad()
16 +
17 + self.hidesBottomBarWhenPushed = true
18 +
19 + setBackButton()
20 + setNavigationTitle("SUPERMARKET DEALS")
21 + // Setup the info button with an action
22 + setNavBarRightInfoButton() {
23 + // This closure is the action that will be executed when the info button is tapped
24 +// self.presentInfoPopup()
25 + }
26 + }
27 +
28 + public override func viewWillAppear(_ animated: Bool) {
29 + super.viewWillAppear(animated)
30 +
31 + swiftApi().logTrackersEvent("screen", "MarketPassScreen")
32 +
33 + self.navigationController?.hideHairline()
34 + }
35 +
36 +}