Showing
5 changed files
with
185 additions
and
0 deletions
... | @@ -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 */, | ... | ... |
No preview for this file type
... | @@ -240,6 +240,114 @@ | ... | @@ -240,6 +240,114 @@ |
240 | </objects> | 240 | </objects> |
241 | <point key="canvasLocation" x="116" y="817"/> | 241 | <point key="canvasLocation" x="116" y="817"/> |
242 | </scene> | 242 | </scene> |
243 | + <!--Market Pass View Controller--> | ||
244 | + <scene sceneID="LR7-Ag-BEk"> | ||
245 | + <objects> | ||
246 | + <viewController storyboardIdentifier="MarketPassViewController" hidesBottomBarWhenPushed="YES" id="Bfc-KW-c8g" customClass="MarketPassViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> | ||
247 | + <view key="view" contentMode="scaleToFill" id="CvB-Cf-0No"> | ||
248 | + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | ||
249 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
250 | + <subviews> | ||
251 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ksI-Hs-G6N" userLabel="Main View"> | ||
252 | + <rect key="frame" x="0.0" y="48" width="414" height="848"/> | ||
253 | + <subviews> | ||
254 | + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oun-2v-J2R"> | ||
255 | + <rect key="frame" x="0.0" y="5" width="414" height="847"/> | ||
256 | + <subviews> | ||
257 | + <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="KGv-uL-Ge0"> | ||
258 | + <rect key="frame" x="0.0" y="0.0" width="414" height="852"/> | ||
259 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
260 | + </view> | ||
261 | + </subviews> | ||
262 | + <constraints> | ||
263 | + <constraint firstItem="KGv-uL-Ge0" firstAttribute="top" secondItem="WyX-pM-4of" secondAttribute="top" id="50M-S3-qpK"/> | ||
264 | + <constraint firstItem="KGv-uL-Ge0" firstAttribute="width" secondItem="Kjy-EG-FD1" secondAttribute="width" id="Crt-5H-PXD"/> | ||
265 | + <constraint firstItem="KGv-uL-Ge0" firstAttribute="trailing" secondItem="WyX-pM-4of" secondAttribute="trailing" id="FMb-Mg-I3f"/> | ||
266 | + <constraint firstItem="KGv-uL-Ge0" firstAttribute="leading" secondItem="WyX-pM-4of" secondAttribute="leading" id="GJH-Ss-LhR"/> | ||
267 | + <constraint firstItem="KGv-uL-Ge0" firstAttribute="bottom" secondItem="WyX-pM-4of" secondAttribute="bottom" id="oEz-Mh-Vaj"/> | ||
268 | + </constraints> | ||
269 | + <viewLayoutGuide key="contentLayoutGuide" id="WyX-pM-4of"/> | ||
270 | + <viewLayoutGuide key="frameLayoutGuide" id="Kjy-EG-FD1"/> | ||
271 | + </scrollView> | ||
272 | + </subviews> | ||
273 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
274 | + <constraints> | ||
275 | + <constraint firstAttribute="trailing" secondItem="oun-2v-J2R" secondAttribute="trailing" id="DQh-TZ-hwy"/> | ||
276 | + <constraint firstAttribute="bottom" secondItem="oun-2v-J2R" secondAttribute="bottom" id="PDI-hS-9rn"/> | ||
277 | + <constraint firstItem="KGv-uL-Ge0" firstAttribute="height" relation="greaterThanOrEqual" secondItem="ksI-Hs-G6N" secondAttribute="height" id="rtK-YM-z8Q"/> | ||
278 | + <constraint firstItem="oun-2v-J2R" firstAttribute="top" secondItem="ksI-Hs-G6N" secondAttribute="top" id="vDc-G6-PKh"/> | ||
279 | + <constraint firstItem="oun-2v-J2R" firstAttribute="leading" secondItem="ksI-Hs-G6N" secondAttribute="leading" id="xDr-WE-RDi"/> | ||
280 | + </constraints> | ||
281 | + </view> | ||
282 | + </subviews> | ||
283 | + <viewLayoutGuide key="safeArea" id="KM1-nK-03C"/> | ||
284 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
285 | + <constraints> | ||
286 | + <constraint firstItem="ksI-Hs-G6N" firstAttribute="leading" secondItem="CvB-Cf-0No" secondAttribute="leading" id="5pG-al-Uj5"/> | ||
287 | + <constraint firstAttribute="bottom" secondItem="ksI-Hs-G6N" secondAttribute="bottom" id="EqU-ED-WCb"/> | ||
288 | + <constraint firstAttribute="trailing" secondItem="ksI-Hs-G6N" secondAttribute="trailing" id="TEM-wv-MfZ"/> | ||
289 | + <constraint firstItem="ksI-Hs-G6N" firstAttribute="top" secondItem="KM1-nK-03C" secondAttribute="top" id="lkT-fB-i8c"/> | ||
290 | + </constraints> | ||
291 | + </view> | ||
292 | + </viewController> | ||
293 | + <placeholder placeholderIdentifier="IBFirstResponder" id="L3t-gP-tua" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | ||
294 | + </objects> | ||
295 | + <point key="canvasLocation" x="116" y="1545"/> | ||
296 | + </scene> | ||
297 | + <!--Market Pass Info View Controller--> | ||
298 | + <scene sceneID="PTa-d6-TOb"> | ||
299 | + <objects> | ||
300 | + <viewController storyboardIdentifier="MarketPassInfoViewController" hidesBottomBarWhenPushed="YES" id="EI4-od-P1G" customClass="MarketPassInfoViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> | ||
301 | + <view key="view" contentMode="scaleToFill" id="WQJ-iu-Ewa"> | ||
302 | + <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | ||
303 | + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | ||
304 | + <subviews> | ||
305 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="PM6-rY-jUG" userLabel="Main View"> | ||
306 | + <rect key="frame" x="0.0" y="48" width="414" height="848"/> | ||
307 | + <subviews> | ||
308 | + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UCU-ph-eyA"> | ||
309 | + <rect key="frame" x="0.0" y="5" width="414" height="847"/> | ||
310 | + <subviews> | ||
311 | + <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="4cB-Mm-sjZ"> | ||
312 | + <rect key="frame" x="0.0" y="0.0" width="414" height="852"/> | ||
313 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
314 | + </view> | ||
315 | + </subviews> | ||
316 | + <constraints> | ||
317 | + <constraint firstItem="4cB-Mm-sjZ" firstAttribute="leading" secondItem="SgM-XP-owJ" secondAttribute="leading" id="2LA-0S-yA1"/> | ||
318 | + <constraint firstItem="4cB-Mm-sjZ" firstAttribute="width" secondItem="PNS-bi-XkN" secondAttribute="width" id="G1q-t4-3zx"/> | ||
319 | + <constraint firstItem="4cB-Mm-sjZ" firstAttribute="trailing" secondItem="SgM-XP-owJ" secondAttribute="trailing" id="H9d-TE-yEg"/> | ||
320 | + <constraint firstItem="4cB-Mm-sjZ" firstAttribute="top" secondItem="SgM-XP-owJ" secondAttribute="top" id="YmY-dB-QEu"/> | ||
321 | + <constraint firstItem="4cB-Mm-sjZ" firstAttribute="bottom" secondItem="SgM-XP-owJ" secondAttribute="bottom" id="rJd-12-gLT"/> | ||
322 | + </constraints> | ||
323 | + <viewLayoutGuide key="contentLayoutGuide" id="SgM-XP-owJ"/> | ||
324 | + <viewLayoutGuide key="frameLayoutGuide" id="PNS-bi-XkN"/> | ||
325 | + </scrollView> | ||
326 | + </subviews> | ||
327 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
328 | + <constraints> | ||
329 | + <constraint firstAttribute="bottom" secondItem="UCU-ph-eyA" secondAttribute="bottom" id="63F-x5-cdR"/> | ||
330 | + <constraint firstItem="UCU-ph-eyA" firstAttribute="top" secondItem="PM6-rY-jUG" secondAttribute="top" id="8ZK-dl-KVM"/> | ||
331 | + <constraint firstItem="4cB-Mm-sjZ" firstAttribute="height" relation="greaterThanOrEqual" secondItem="PM6-rY-jUG" secondAttribute="height" id="Cg0-Gy-TZP"/> | ||
332 | + <constraint firstItem="UCU-ph-eyA" firstAttribute="leading" secondItem="PM6-rY-jUG" secondAttribute="leading" id="RCi-ze-Ih1"/> | ||
333 | + <constraint firstAttribute="trailing" secondItem="UCU-ph-eyA" secondAttribute="trailing" id="xdP-nY-eVA"/> | ||
334 | + </constraints> | ||
335 | + </view> | ||
336 | + </subviews> | ||
337 | + <viewLayoutGuide key="safeArea" id="z1I-A1-N0N"/> | ||
338 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
339 | + <constraints> | ||
340 | + <constraint firstItem="PM6-rY-jUG" firstAttribute="top" secondItem="z1I-A1-N0N" secondAttribute="top" id="8i2-bK-P6r"/> | ||
341 | + <constraint firstAttribute="bottom" secondItem="PM6-rY-jUG" secondAttribute="bottom" id="ATO-5k-SdG"/> | ||
342 | + <constraint firstAttribute="trailing" secondItem="PM6-rY-jUG" secondAttribute="trailing" id="Gzm-J2-jkq"/> | ||
343 | + <constraint firstItem="PM6-rY-jUG" firstAttribute="leading" secondItem="WQJ-iu-Ewa" secondAttribute="leading" id="Yic-jP-InD"/> | ||
344 | + </constraints> | ||
345 | + </view> | ||
346 | + </viewController> | ||
347 | + <placeholder placeholderIdentifier="IBFirstResponder" id="6H9-ei-XKJ" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> | ||
348 | + </objects> | ||
349 | + <point key="canvasLocation" x="877" y="1545"/> | ||
350 | + </scene> | ||
243 | <!--View Controller--> | 351 | <!--View Controller--> |
244 | <scene sceneID="g5j-BC-VRb"> | 352 | <scene sceneID="g5j-BC-VRb"> |
245 | <objects> | 353 | <objects> | ... | ... |
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 | +} |
-
Please register or login to post a comment