Manos Chorianopoulos

refactor WalletViewController part 2

......@@ -7,7 +7,7 @@
<key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>1</integer>
<integer>0</integer>
</dict>
</dict>
</dict>
......
......@@ -7,7 +7,7 @@
<key>SwiftWarplyFramework.xcscheme_^#shared#^_</key>
<dict>
<key>orderHint</key>
<integer>0</integer>
<integer>1</integer>
</dict>
</dict>
</dict>
......
......@@ -2372,23 +2372,23 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBadgesTableViewCellId" id="TeS-tP-Ilh" customClass="WalletBadgesTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="947.5" width="414" height="44"/>
<rect key="frame" x="0.0" y="947.5" width="414" height="260"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TeS-tP-Ilh" id="FFV-uA-HHA">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="260"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0">
<rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
<rect key="frame" x="0.0" y="0.0" width="414" height="260"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="COSMOTE Επιβράβευση" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Z0E-V6-vKD">
<rect key="frame" x="20" y="30" width="374" height="0.0"/>
<rect key="frame" x="20" y="30" width="374" height="21"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="21"/>
<color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kge-nO-6ZA" userLabel="BadgesView">
<rect key="frame" x="0.0" y="44" width="414" height="0.0"/>
<rect key="frame" x="0.0" y="65" width="414" height="195"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_badge_lines" translatesAutoresizingMaskIntoConstraints="NO" id="Cib-tj-hT7">
<rect key="frame" x="7" y="50" width="400" height="80"/>
......@@ -2466,19 +2466,19 @@
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qge-34-vJ3">
<rect key="frame" x="169.5" y="120" width="75" height="73"/>
<rect key="frame" x="169.5" y="120" width="75" height="75"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="gGn-2u-akB">
<rect key="frame" x="0.0" y="0.0" width="75" height="73"/>
<rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8JV-5a-Jar">
<rect key="frame" x="5" y="44" width="65" height="11"/>
<rect key="frame" x="5" y="46" width="65" height="11"/>
<fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/>
<color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6UC-iU-ey4">
<rect key="frame" x="0.0" y="0.0" width="75" height="73"/>
<rect key="frame" x="0.0" y="0.0" width="75" height="75"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Button">
......@@ -2599,19 +2599,19 @@
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBannersTableViewCellId" id="fgI-zL-RPZ" customClass="WalletBannersTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="991.5" width="414" height="404"/>
<rect key="frame" x="0.0" y="1207.5" width="414" height="404"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fgI-zL-RPZ" id="gNB-PU-R1J">
<rect key="frame" x="0.0" y="0.0" width="414" height="404"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IZz-Fy-5Iv">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IZz-Fy-5Iv">
<rect key="frame" x="0.0" y="0.0" width="414" height="404"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OfG-0m-RTE" userLabel="SumBannerView">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="OfG-0m-RTE" userLabel="SumBannerView">
<rect key="frame" x="0.0" y="30" width="414" height="105"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Rj0-Cu-gVh">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rj0-Cu-gVh">
<rect key="frame" x="10" y="0.0" width="394" height="105"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CB0-Nv-dLU">
......@@ -2620,7 +2620,7 @@
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_summary_2" translatesAutoresizingMaskIntoConstraints="NO" id="pVa-Dg-SAA">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Aze-Qh-DsE">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Aze-Qh-DsE">
<rect key="frame" x="5" y="44" width="60" height="16"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
......@@ -2640,13 +2640,13 @@
<constraint firstAttribute="trailing" secondItem="Aze-Qh-DsE" secondAttribute="trailing" constant="5" id="yTg-ab-fvg"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Μέχρι τώρα έχεις κερδίσει 0,00€ στο For You!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cbn-Gp-QeC">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Μέχρι τώρα έχεις κερδίσει 0,00€ στο For You!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cbn-Gp-QeC">
<rect key="frame" x="95" y="35.5" width="259" height="34.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" image="ic_down_dark_2" translatesAutoresizingMaskIntoConstraints="NO" id="knu-qY-418">
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_down_dark_2" translatesAutoresizingMaskIntoConstraints="NO" id="knu-qY-418">
<rect key="frame" x="364" y="45" width="15" height="15"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
......@@ -2666,7 +2666,7 @@
<constraint firstItem="knu-qY-418" firstAttribute="centerY" secondItem="Rj0-Cu-gVh" secondAttribute="centerY" id="jp1-ai-rp3"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aay-8s-7rN" userLabel="SumBannerButton">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aay-8s-7rN" userLabel="SumBannerButton">
<rect key="frame" x="10" y="0.0" width="394" height="105"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
......@@ -2691,10 +2691,10 @@
<constraint firstItem="Rj0-Cu-gVh" firstAttribute="leading" secondItem="OfG-0m-RTE" secondAttribute="leading" constant="10" id="m63-zf-rMF"/>
</constraints>
</view>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="2dQ-gW-ZGR" userLabel="DFYBannerView">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2dQ-gW-ZGR" userLabel="DFYBannerView">
<rect key="frame" x="0.0" y="143" width="414" height="80"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="EFW-8j-JaD">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EFW-8j-JaD">
<rect key="frame" x="20" y="0.0" width="374" height="80"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bFi-pX-oUX">
......@@ -2703,7 +2703,7 @@
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_3" translatesAutoresizingMaskIntoConstraints="NO" id="ok3-tt-LNZ">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C2x-dc-SFa">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="C2x-dc-SFa">
<rect key="frame" x="5" y="46" width="60" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
......@@ -2723,7 +2723,7 @@
<constraint firstAttribute="trailing" secondItem="ok3-tt-LNZ" secondAttribute="trailing" id="sU3-QC-FQG"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Έχεις κερδίσει 0,00€ με το DEALS for YOU!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GEe-wr-xOR">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Έχεις κερδίσει 0,00€ με το DEALS for YOU!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GEe-wr-xOR">
<rect key="frame" x="85" y="23" width="279" height="34.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
......@@ -2739,7 +2739,7 @@
<constraint firstAttribute="trailing" secondItem="GEe-wr-xOR" secondAttribute="trailing" constant="10" id="saL-if-HkB"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YP0-jS-U7B" userLabel="DfyBannerButton">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YP0-jS-U7B" userLabel="DfyBannerButton">
<rect key="frame" x="10" y="0.0" width="394" height="80"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
......@@ -2764,10 +2764,10 @@
<constraint firstAttribute="trailing" secondItem="YP0-jS-U7B" secondAttribute="trailing" constant="10" id="xdY-s9-WXF"/>
</constraints>
</view>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="SGW-6p-5Rx" userLabel="GFYBannerView">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="SGW-6p-5Rx" userLabel="GFYBannerView">
<rect key="frame" x="0.0" y="231" width="414" height="80"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9TA-Yr-wfr">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9TA-Yr-wfr">
<rect key="frame" x="20" y="0.0" width="374" height="80"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="G7W-Tk-gbg">
......@@ -2776,7 +2776,7 @@
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_coupons_4" translatesAutoresizingMaskIntoConstraints="NO" id="lRn-76-d0E">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bUQ-FY-h23">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bUQ-FY-h23">
<rect key="frame" x="5" y="46" width="60" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
......@@ -2796,7 +2796,7 @@
<constraint firstAttribute="trailing" secondItem="lRn-76-d0E" secondAttribute="trailing" id="uyw-zg-bqx"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Έχεις κερδίσει 0,00€ με το GIFTS for YOU!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qHX-FJ-nRB">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Έχεις κερδίσει 0,00€ με το GIFTS for YOU!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="qHX-FJ-nRB">
<rect key="frame" x="85" y="31.5" width="279" height="17.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
......@@ -2812,7 +2812,7 @@
<constraint firstItem="G7W-Tk-gbg" firstAttribute="leading" secondItem="9TA-Yr-wfr" secondAttribute="leading" constant="5" id="wPM-eF-7Ba"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-4Y-y7k" userLabel="GfyBannerButton">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-4Y-y7k" userLabel="GfyBannerButton">
<rect key="frame" x="10" y="0.0" width="394" height="80"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
......@@ -2837,10 +2837,10 @@
<constraint firstAttribute="trailing" secondItem="JF7-4Y-y7k" secondAttribute="trailing" constant="10" id="xks-8Y-KE3"/>
</constraints>
</view>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="g3T-Ph-deu" userLabel="MarketBannerView">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g3T-Ph-deu" userLabel="MarketBannerView">
<rect key="frame" x="0.0" y="319" width="414" height="80"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="CB2-MZ-o9a">
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CB2-MZ-o9a">
<rect key="frame" x="20" y="0.0" width="374" height="80"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ySD-yw-FWO">
......@@ -2849,7 +2849,7 @@
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_market_2" translatesAutoresizingMaskIntoConstraints="NO" id="bLD-hY-yKe">
<rect key="frame" x="0.0" y="0.0" width="70" height="70"/>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hlX-MN-0VI">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0,00€" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hlX-MN-0VI">
<rect key="frame" x="5" y="46" width="60" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
......@@ -2869,7 +2869,7 @@
<constraint firstAttribute="bottom" secondItem="hlX-MN-0VI" secondAttribute="bottom" constant="10" id="ubg-aW-zzq"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Έχεις κερδίσει 0,00€ με τα SUPERMARKET DEALS!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sGV-yK-eyk">
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Έχεις κερδίσει 0,00€ με τα SUPERMARKET DEALS!" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sGV-yK-eyk">
<rect key="frame" x="85" y="23" width="279" height="34.5"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
......@@ -2885,7 +2885,7 @@
<constraint firstAttribute="trailing" secondItem="sGV-yK-eyk" secondAttribute="trailing" constant="10" id="uf1-3f-9XJ"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mfB-19-dpV" userLabel="MarketBannerButton">
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mfB-19-dpV" userLabel="MarketBannerButton">
<rect key="frame" x="10" y="0.0" width="394" height="80"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
......@@ -2966,6 +2966,380 @@
<outlet property="sumBannerLabel" destination="cbn-Gp-QeC" id="5Kg-ol-UpI"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletActiveCouponsTableViewCellId" id="qaY-Zw-d8E" customClass="WalletActiveCouponsTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="1611.5" width="414" height="98"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qaY-Zw-d8E" id="MoF-lG-k6u">
<rect key="frame" x="0.0" y="0.0" width="414" height="98"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t2C-9l-nWs" userLabel="ParentView">
<rect key="frame" x="0.0" y="0.0" width="414" height="98"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ago-Pf-BGo">
<rect key="frame" x="20" y="3" width="111.5" height="92"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Phm-pC-5YX">
<rect key="frame" x="0.0" y="0.0" width="111.5" height="92"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wLH-YV-5Bn">
<rect key="frame" x="29.5" y="15" width="52" height="32"/>
<constraints>
<constraint firstAttribute="height" constant="32" id="EtR-nn-mGe"/>
<constraint firstAttribute="width" constant="52" id="cGb-tB-T1G"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wBk-nW-MGe" userLabel="LineView1">
<rect key="frame" x="10" y="52" width="91.5" height="1"/>
<color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="sfB-Gv-awg"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="DEALS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TZr-sg-ajR">
<rect key="frame" x="5" y="63" width="101.5" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="17Q-Sz-hXW">
<rect key="frame" x="94" y="0.0" width="17.5" height="18"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vgz-Be-lSQ">
<rect key="frame" x="5" y="2" width="7.5" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.91764705882352937" green="0.74901960784313726" blue="0.40784313725490196" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="vgz-Be-lSQ" firstAttribute="leading" secondItem="17Q-Sz-hXW" secondAttribute="leading" constant="5" id="4aZ-DG-B1a"/>
<constraint firstAttribute="bottom" secondItem="vgz-Be-lSQ" secondAttribute="bottom" constant="2" id="IWW-l0-dvT"/>
<constraint firstAttribute="trailing" secondItem="vgz-Be-lSQ" secondAttribute="trailing" constant="5" id="V4r-tU-gOx"/>
<constraint firstItem="vgz-Be-lSQ" firstAttribute="top" secondItem="17Q-Sz-hXW" secondAttribute="top" constant="2" id="qTZ-ZZ-Yz4"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gr4-DX-CHP">
<rect key="frame" x="0.0" y="0.0" width="111.5" height="92"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Button">
<color key="baseForegroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</buttonConfiguration>
<connections>
<action selector="dfyActiveCouponsBannerButtonAction:" destination="pKQ-52-a1r" eventType="touchUpInside" id="rUr-BF-eEp"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="gr4-DX-CHP" secondAttribute="trailing" id="04C-Ff-bFT"/>
<constraint firstItem="wLH-YV-5Bn" firstAttribute="top" secondItem="Phm-pC-5YX" secondAttribute="top" constant="15" id="G46-Pn-mds"/>
<constraint firstAttribute="trailing" secondItem="17Q-Sz-hXW" secondAttribute="trailing" id="Muw-mt-tx0"/>
<constraint firstItem="gr4-DX-CHP" firstAttribute="leading" secondItem="Phm-pC-5YX" secondAttribute="leading" id="O94-5r-Jk4"/>
<constraint firstAttribute="trailing" secondItem="wBk-nW-MGe" secondAttribute="trailing" constant="10" id="Oe8-Oa-aBE"/>
<constraint firstItem="wBk-nW-MGe" firstAttribute="top" secondItem="wLH-YV-5Bn" secondAttribute="bottom" constant="5" id="QLq-MI-HhV"/>
<constraint firstAttribute="bottom" secondItem="TZr-sg-ajR" secondAttribute="bottom" constant="15" id="Tbn-9I-RfW"/>
<constraint firstItem="TZr-sg-ajR" firstAttribute="top" secondItem="wBk-nW-MGe" secondAttribute="bottom" constant="10" id="XVf-0t-f4F"/>
<constraint firstItem="gr4-DX-CHP" firstAttribute="top" secondItem="Phm-pC-5YX" secondAttribute="top" id="YCR-qt-l5M"/>
<constraint firstItem="17Q-Sz-hXW" firstAttribute="top" secondItem="Phm-pC-5YX" secondAttribute="top" id="d5D-qv-cWr"/>
<constraint firstAttribute="trailing" secondItem="TZr-sg-ajR" secondAttribute="trailing" constant="5" id="gvU-14-19F"/>
<constraint firstAttribute="bottom" secondItem="gr4-DX-CHP" secondAttribute="bottom" id="hQK-tJ-fFk"/>
<constraint firstItem="TZr-sg-ajR" firstAttribute="leading" secondItem="Phm-pC-5YX" secondAttribute="leading" constant="5" id="ipw-8U-QRb"/>
<constraint firstItem="wBk-nW-MGe" firstAttribute="leading" secondItem="Phm-pC-5YX" secondAttribute="leading" constant="10" id="oqN-X9-nyF"/>
<constraint firstItem="wLH-YV-5Bn" firstAttribute="centerX" secondItem="Phm-pC-5YX" secondAttribute="centerX" id="uKx-Cv-yyw"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstItem="Phm-pC-5YX" firstAttribute="leading" secondItem="Ago-Pf-BGo" secondAttribute="leading" id="JwY-GZ-VO1"/>
<constraint firstAttribute="trailing" secondItem="Phm-pC-5YX" secondAttribute="trailing" id="VXK-t8-Bxd"/>
<constraint firstItem="Phm-pC-5YX" firstAttribute="top" secondItem="Ago-Pf-BGo" secondAttribute="top" id="Van-Pw-anh"/>
<constraint firstAttribute="bottom" secondItem="Phm-pC-5YX" secondAttribute="bottom" id="zsu-SI-0mG"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gZG-f4-H22">
<rect key="frame" x="151.5" y="3" width="111" height="92"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="qYJ-x0-9v3">
<rect key="frame" x="39.5" y="15" width="32" height="32"/>
<constraints>
<constraint firstAttribute="height" constant="32" id="Eam-Dq-yk8"/>
<constraint firstAttribute="width" constant="32" id="T94-6W-v1V"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0n-5v-nTc" userLabel="LineView2">
<rect key="frame" x="10" y="52" width="91" height="1"/>
<color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="2h1-Yb-N6x"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Super Market" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fPZ-hU-LRI">
<rect key="frame" x="5" y="63" width="101" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5lx-Id-hmz">
<rect key="frame" x="93.5" y="0.0" width="17.5" height="18"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="STg-je-8uL">
<rect key="frame" x="5" y="2" width="7.5" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.91764705879999997" green="0.74901960779999999" blue="0.40784313729999999" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="STg-je-8uL" secondAttribute="bottom" constant="2" id="JxA-aM-rOF"/>
<constraint firstAttribute="trailing" secondItem="STg-je-8uL" secondAttribute="trailing" constant="5" id="XVN-31-OOa"/>
<constraint firstItem="STg-je-8uL" firstAttribute="top" secondItem="5lx-Id-hmz" secondAttribute="top" constant="2" id="qYn-kD-0Lj"/>
<constraint firstItem="STg-je-8uL" firstAttribute="leading" secondItem="5lx-Id-hmz" secondAttribute="leading" constant="5" id="uLK-8E-dDm"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tCp-jb-GB2">
<rect key="frame" x="0.0" y="0.0" width="111" height="92"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Button">
<color key="baseForegroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</buttonConfiguration>
<connections>
<action selector="smActiveCouponsBannerButtonAction:" destination="pKQ-52-a1r" eventType="touchUpInside" id="oxq-ZW-yrI"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="fPZ-hU-LRI" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" constant="5" id="3th-pV-Lmq"/>
<constraint firstAttribute="trailing" secondItem="5lx-Id-hmz" secondAttribute="trailing" id="5kB-Wj-Toy"/>
<constraint firstItem="qYJ-x0-9v3" firstAttribute="top" secondItem="gZG-f4-H22" secondAttribute="top" constant="15" id="6PN-Q0-2UW"/>
<constraint firstAttribute="trailing" secondItem="fPZ-hU-LRI" secondAttribute="trailing" constant="5" id="7El-9N-9t9"/>
<constraint firstAttribute="bottom" secondItem="fPZ-hU-LRI" secondAttribute="bottom" constant="15" id="EJw-vG-05b"/>
<constraint firstItem="qYJ-x0-9v3" firstAttribute="centerX" secondItem="gZG-f4-H22" secondAttribute="centerX" id="Jdr-AC-RAJ"/>
<constraint firstAttribute="trailing" secondItem="f0n-5v-nTc" secondAttribute="trailing" constant="10" id="Kj3-G3-DN5"/>
<constraint firstItem="f0n-5v-nTc" firstAttribute="top" secondItem="qYJ-x0-9v3" secondAttribute="bottom" constant="5" id="RmD-s7-GV6"/>
<constraint firstItem="fPZ-hU-LRI" firstAttribute="top" secondItem="f0n-5v-nTc" secondAttribute="bottom" constant="10" id="bdI-FU-xcC"/>
<constraint firstAttribute="trailing" secondItem="tCp-jb-GB2" secondAttribute="trailing" id="cyp-dy-gFa"/>
<constraint firstAttribute="bottom" secondItem="tCp-jb-GB2" secondAttribute="bottom" id="dIG-Vj-ydn"/>
<constraint firstItem="tCp-jb-GB2" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" id="i5k-lw-w9H"/>
<constraint firstItem="tCp-jb-GB2" firstAttribute="top" secondItem="gZG-f4-H22" secondAttribute="top" id="jt8-5F-ovL"/>
<constraint firstItem="5lx-Id-hmz" firstAttribute="top" secondItem="gZG-f4-H22" secondAttribute="top" id="lOv-Bg-suO"/>
<constraint firstItem="f0n-5v-nTc" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" constant="10" id="wkQ-g1-h06"/>
</constraints>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hW7-Fh-jaW">
<rect key="frame" x="282.5" y="3" width="111.5" height="92"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JSL-ST-Uzv">
<rect key="frame" x="40" y="15" width="32" height="32"/>
<constraints>
<constraint firstAttribute="width" constant="32" id="hUR-TJ-yVm"/>
<constraint firstAttribute="height" constant="32" id="ll3-xS-hwd"/>
</constraints>
</imageView>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90x-B7-1Hx" userLabel="LineView3">
<rect key="frame" x="10" y="52" width="91.5" height="1"/>
<color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="ojI-ru-A13"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="GIFTS for YOU" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QVo-4f-20j">
<rect key="frame" x="5" y="63" width="101.5" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7NF-kv-XJp">
<rect key="frame" x="94" y="0.0" width="17.5" height="18"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BAt-M4-nMT">
<rect key="frame" x="5" y="2" width="7.5" height="14"/>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
</subviews>
<color key="backgroundColor" red="0.91764705879999997" green="0.74901960779999999" blue="0.40784313729999999" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="BAt-M4-nMT" secondAttribute="bottom" constant="2" id="CgZ-tr-v0N"/>
<constraint firstAttribute="trailing" secondItem="BAt-M4-nMT" secondAttribute="trailing" constant="5" id="Kyy-3E-eEl"/>
<constraint firstItem="BAt-M4-nMT" firstAttribute="top" secondItem="7NF-kv-XJp" secondAttribute="top" constant="2" id="TRP-cU-AN1"/>
<constraint firstItem="BAt-M4-nMT" firstAttribute="leading" secondItem="7NF-kv-XJp" secondAttribute="leading" constant="5" id="dRz-8k-CBo"/>
</constraints>
</view>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CeN-GT-tVP">
<rect key="frame" x="0.0" y="0.0" width="111.5" height="92"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<state key="normal" title="Button"/>
<buttonConfiguration key="configuration" style="plain" title="Button">
<color key="baseForegroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</buttonConfiguration>
<connections>
<action selector="gfyActiveCouponsBannerButtonAction:" destination="pKQ-52-a1r" eventType="touchUpInside" id="gLP-Y7-k1C"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="JSL-ST-Uzv" firstAttribute="centerX" secondItem="hW7-Fh-jaW" secondAttribute="centerX" id="5LP-wN-xKV"/>
<constraint firstAttribute="trailing" secondItem="CeN-GT-tVP" secondAttribute="trailing" id="5hb-Gb-poo"/>
<constraint firstAttribute="trailing" secondItem="90x-B7-1Hx" secondAttribute="trailing" constant="10" id="ASs-h9-UYu"/>
<constraint firstItem="7NF-kv-XJp" firstAttribute="top" secondItem="hW7-Fh-jaW" secondAttribute="top" id="Jbk-gA-Bfe"/>
<constraint firstItem="QVo-4f-20j" firstAttribute="top" secondItem="90x-B7-1Hx" secondAttribute="bottom" constant="10" id="LNL-lg-2sk"/>
<constraint firstAttribute="bottom" secondItem="CeN-GT-tVP" secondAttribute="bottom" id="T3c-Oj-xTp"/>
<constraint firstItem="CeN-GT-tVP" firstAttribute="top" secondItem="hW7-Fh-jaW" secondAttribute="top" id="Z4Y-ho-cdF"/>
<constraint firstAttribute="trailing" secondItem="QVo-4f-20j" secondAttribute="trailing" constant="5" id="a3q-31-UPg"/>
<constraint firstItem="JSL-ST-Uzv" firstAttribute="top" secondItem="hW7-Fh-jaW" secondAttribute="top" constant="15" id="bpL-rY-6eE"/>
<constraint firstItem="90x-B7-1Hx" firstAttribute="leading" secondItem="hW7-Fh-jaW" secondAttribute="leading" constant="10" id="cId-ia-S0t"/>
<constraint firstItem="CeN-GT-tVP" firstAttribute="leading" secondItem="hW7-Fh-jaW" secondAttribute="leading" id="dCU-BX-82g"/>
<constraint firstItem="QVo-4f-20j" firstAttribute="leading" secondItem="hW7-Fh-jaW" secondAttribute="leading" constant="5" id="gMT-nD-PO3"/>
<constraint firstAttribute="bottom" secondItem="QVo-4f-20j" secondAttribute="bottom" constant="15" id="hp7-py-2WF"/>
<constraint firstItem="90x-B7-1Hx" firstAttribute="top" secondItem="JSL-ST-Uzv" secondAttribute="bottom" constant="5" id="vK3-8n-P3a"/>
<constraint firstAttribute="trailing" secondItem="7NF-kv-XJp" secondAttribute="trailing" id="y56-Z8-k1R"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstAttribute="bottom" secondItem="gZG-f4-H22" secondAttribute="bottom" constant="3" id="AhC-oY-oF3"/>
<constraint firstAttribute="trailing" secondItem="hW7-Fh-jaW" secondAttribute="trailing" constant="20" id="E3i-Y4-mVj"/>
<constraint firstItem="gZG-f4-H22" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="KPV-Rj-PJv"/>
<constraint firstAttribute="bottom" secondItem="Ago-Pf-BGo" secondAttribute="bottom" constant="3" id="KhN-mk-jlA"/>
<constraint firstItem="gZG-f4-H22" firstAttribute="width" secondItem="Ago-Pf-BGo" secondAttribute="width" id="PUN-Vu-fVw"/>
<constraint firstItem="Ago-Pf-BGo" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="UAL-d1-YPB"/>
<constraint firstItem="hW7-Fh-jaW" firstAttribute="width" secondItem="Ago-Pf-BGo" secondAttribute="width" id="Yfd-mp-doF"/>
<constraint firstItem="gZG-f4-H22" firstAttribute="leading" secondItem="Ago-Pf-BGo" secondAttribute="trailing" constant="20" id="cri-7i-oKr"/>
<constraint firstItem="hW7-Fh-jaW" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="trailing" constant="20" id="mPD-Yj-gS9"/>
<constraint firstItem="Ago-Pf-BGo" firstAttribute="leading" secondItem="t2C-9l-nWs" secondAttribute="leading" constant="20" id="nWu-UL-F5g"/>
<constraint firstItem="hW7-Fh-jaW" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="nlA-fB-mNW"/>
<constraint firstAttribute="bottom" secondItem="hW7-Fh-jaW" secondAttribute="bottom" constant="3" id="tip-cx-cM6"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstAttribute="bottom" secondItem="t2C-9l-nWs" secondAttribute="bottom" id="Ehz-wQ-hnj"/>
<constraint firstAttribute="trailing" secondItem="t2C-9l-nWs" secondAttribute="trailing" id="EsG-YR-VjY"/>
<constraint firstItem="t2C-9l-nWs" firstAttribute="top" secondItem="MoF-lG-k6u" secondAttribute="top" id="i1Z-4o-fIJ"/>
<constraint firstItem="t2C-9l-nWs" firstAttribute="leading" secondItem="MoF-lG-k6u" secondAttribute="leading" id="kwW-Ys-3do"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<outlet property="dfyCountLabel" destination="vgz-Be-lSQ" id="bpU-7J-0WZ"/>
<outlet property="dfyCountView" destination="17Q-Sz-hXW" id="Z8k-wE-Mak"/>
<outlet property="dfyImage" destination="wLH-YV-5Bn" id="acP-30-hSz"/>
<outlet property="dfyLabel" destination="TZr-sg-ajR" id="jBE-oA-3ZS"/>
<outlet property="dfyView" destination="Phm-pC-5YX" id="UMx-2J-hXj"/>
<outlet property="dfyViewParent" destination="Ago-Pf-BGo" id="kmO-J0-j2T"/>
<outlet property="gfyCountLabel" destination="BAt-M4-nMT" id="sAA-Ww-Nnt"/>
<outlet property="gfyCountView" destination="7NF-kv-XJp" id="9Vj-cb-NnS"/>
<outlet property="gfyImage" destination="JSL-ST-Uzv" id="i2n-1U-2Sp"/>
<outlet property="gfyLabel" destination="QVo-4f-20j" id="0yc-bx-aFb"/>
<outlet property="gfyView" destination="hW7-Fh-jaW" id="APi-eV-QZx"/>
<outlet property="smCountLabel" destination="STg-je-8uL" id="KVj-g4-r9B"/>
<outlet property="smCountView" destination="5lx-Id-hmz" id="6eQ-pm-3Kl"/>
<outlet property="smImage" destination="qYJ-x0-9v3" id="Vhd-QA-uss"/>
<outlet property="smLabel" destination="fPZ-hU-LRI" id="UJm-ZM-jMB"/>
<outlet property="smView" destination="gZG-f4-H22" id="xt5-bq-Qav"/>
</connections>
</tableViewCell>
<tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletVouchersBannerTableViewCellId" id="F1i-u5-1v2" customClass="WalletVouchersBannerTableViewCell" customModule="SwiftWarplyFramework">
<rect key="frame" x="0.0" y="1709.5" width="414" height="181"/>
<autoresizingMask key="autoresizingMask"/>
<tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="F1i-u5-1v2" id="q9T-Eg-Gxw">
<rect key="frame" x="0.0" y="0.0" width="414" height="181"/>
<autoresizingMask key="autoresizingMask"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FVK-Ht-BOg" userLabel="ParentView">
<rect key="frame" x="0.0" y="0.0" width="414" height="181"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zKi-zm-jUP">
<rect key="frame" x="20" y="25" width="374" height="1"/>
<color key="backgroundColor" red="0.61568627450980395" green="0.61568627450980395" blue="0.61176470588235299" alpha="1" colorSpace="calibratedRGB"/>
<constraints>
<constraint firstAttribute="height" constant="1" id="8x8-wp-l0V"/>
</constraints>
</view>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0yZ-ge-5qY">
<rect key="frame" x="20" y="51" width="374" height="26"/>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="21"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH">
<rect key="frame" x="20" y="102" width="374" height="76"/>
<subviews>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE">
<rect key="frame" x="20" y="20" width="36" height="36"/>
<constraints>
<constraint firstAttribute="width" constant="36" id="06g-Cm-Q4z"/>
<constraint firstAttribute="height" constant="36" id="GoZ-qT-Whp"/>
</constraints>
</imageView>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Υπόλοιπο επιδότησης" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2p1-v2-lAL">
<rect key="frame" x="66" y="28" width="263" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep">
<rect key="frame" x="334" y="28" width="20" height="20"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="ATK-3R-8Yb"/>
<constraint firstAttribute="width" constant="20" id="b27-KV-iS5"/>
</constraints>
</imageView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="cSu-mM-1Ep" firstAttribute="leading" secondItem="2p1-v2-lAL" secondAttribute="trailing" constant="5" id="0RF-Lr-hdi"/>
<constraint firstItem="U9f-Ar-TCE" firstAttribute="top" secondItem="eBr-vb-7oH" secondAttribute="top" constant="20" id="Gnc-a7-lVn"/>
<constraint firstItem="U9f-Ar-TCE" firstAttribute="leading" secondItem="eBr-vb-7oH" secondAttribute="leading" constant="20" id="O3t-rA-Xoi"/>
<constraint firstItem="2p1-v2-lAL" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bWi-vx-lud"/>
<constraint firstItem="cSu-mM-1Ep" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bwI-YH-DDm"/>
<constraint firstAttribute="trailing" secondItem="cSu-mM-1Ep" secondAttribute="trailing" constant="20" id="fLn-8r-nUC"/>
<constraint firstAttribute="bottom" secondItem="U9f-Ar-TCE" secondAttribute="bottom" constant="20" id="jCC-NV-1nD"/>
<constraint firstItem="2p1-v2-lAL" firstAttribute="leading" secondItem="U9f-Ar-TCE" secondAttribute="trailing" constant="10" id="kv2-9q-gc9"/>
</constraints>
</view>
</subviews>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="eBr-vb-7oH" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="2MW-60-EMV"/>
<constraint firstAttribute="trailing" secondItem="eBr-vb-7oH" secondAttribute="trailing" constant="20" id="6TM-9q-HYX"/>
<constraint firstItem="0yZ-ge-5qY" firstAttribute="top" secondItem="zKi-zm-jUP" secondAttribute="bottom" constant="25" id="8jo-Kb-xyG"/>
<constraint firstItem="zKi-zm-jUP" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="Lm7-Va-CvO"/>
<constraint firstItem="0yZ-ge-5qY" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="MO1-TU-QKR"/>
<constraint firstItem="eBr-vb-7oH" firstAttribute="top" secondItem="0yZ-ge-5qY" secondAttribute="bottom" constant="25" id="Ozb-9V-wuG"/>
<constraint firstAttribute="trailing" secondItem="0yZ-ge-5qY" secondAttribute="trailing" constant="20" id="g8S-qH-kJB"/>
<constraint firstItem="zKi-zm-jUP" firstAttribute="top" secondItem="FVK-Ht-BOg" secondAttribute="top" constant="25" id="iGG-ot-2k8"/>
<constraint firstAttribute="trailing" secondItem="zKi-zm-jUP" secondAttribute="trailing" constant="20" id="m4F-J1-tax"/>
<constraint firstAttribute="bottom" secondItem="eBr-vb-7oH" secondAttribute="bottom" constant="3" id="shf-f6-v9j"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstItem="FVK-Ht-BOg" firstAttribute="leading" secondItem="q9T-Eg-Gxw" secondAttribute="leading" id="3UQ-am-0Kb"/>
<constraint firstItem="FVK-Ht-BOg" firstAttribute="top" secondItem="q9T-Eg-Gxw" secondAttribute="top" id="Jri-r0-TjD"/>
<constraint firstAttribute="bottom" secondItem="FVK-Ht-BOg" secondAttribute="bottom" id="Wrf-CM-jlm"/>
<constraint firstAttribute="trailing" secondItem="FVK-Ht-BOg" secondAttribute="trailing" id="jM0-Xj-enK"/>
</constraints>
</tableViewCellContentView>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<outlet property="sectionTitleLabel" destination="0yZ-ge-5qY" id="zsT-WW-anR"/>
<outlet property="voucherBannerArrowImage" destination="cSu-mM-1Ep" id="hDY-vI-sfK"/>
<outlet property="voucherBannerIconImage" destination="U9f-Ar-TCE" id="cy8-jG-sg7"/>
<outlet property="voucherBannerLabel" destination="2p1-v2-lAL" id="Wlm-z2-nrW"/>
<outlet property="voucherBannerView" destination="eBr-vb-7oH" id="RU1-Lx-048"/>
</connections>
</tableViewCell>
</prototypes>
<connections>
<outlet property="dataSource" destination="pKQ-52-a1r" id="AvY-tV-KMr"/>
......
......@@ -8,10 +8,77 @@
import UIKit
@objc public class WalletActiveCouponsTableViewCell: UITableViewCell {
@IBOutlet weak var dfyViewParent: UIView!
@IBOutlet weak var dfyView: UIView!
@IBOutlet weak var dfyImage: UIImageView!
@IBOutlet weak var dfyLabel: UILabel!
@IBOutlet weak var dfyCountView: UIView!
@IBOutlet weak var dfyCountLabel: UILabel!
@IBOutlet weak var smView: UIView!
@IBOutlet weak var smImage: UIImageView!
@IBOutlet weak var smLabel: UILabel!
@IBOutlet weak var smCountView: UIView!
@IBOutlet weak var smCountLabel: UILabel!
@IBOutlet weak var gfyView: UIView!
@IBOutlet weak var gfyImage: UIImageView!
@IBOutlet weak var gfyLabel: UILabel!
@IBOutlet weak var gfyCountView: UIView!
@IBOutlet weak var gfyCountLabel: UILabel!
public override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
// DFY Banner
dfyViewParent.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.00)
dfyViewParent.layer.cornerRadius = 16.0
dfyViewParent.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
dfyViewParent.layer.shadowOffset = CGSize(width: 0.0, height: 1.0)
dfyViewParent.layer.shadowOpacity = 1.0
dfyViewParent.layer.shadowRadius = 1.0
dfyView.backgroundColor = UIColor(red: 0.46, green: 0.75, blue: 0.45, alpha: 0.05)
dfyView.layer.cornerRadius = 16.0
dfyImage.image = UIImage(named: "wallet_banner_dfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
dfyLabel.text = "DEALS FOR YOU"
dfyCountView.layer.cornerRadius = 4.0
dfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
// SM Banner
smView.backgroundColor = UIColor(red: 1.00, green: 0.99, blue: 0.97, alpha: 1.00)
smView.layer.cornerRadius = 16.0
smView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
smView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0)
smView.layer.shadowOpacity = 1.0
smView.layer.shadowRadius = 1.0
smImage.image = UIImage(named: "wallet_banner_sm", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
smLabel.text = "SUPERMARKET DEALS"
smCountView.layer.cornerRadius = 4.0
smCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
// GFY Banner
gfyView.backgroundColor = UIColor(red: 0.96, green: 0.97, blue: 0.98, alpha: 1.00)
gfyView.layer.cornerRadius = 16.0
gfyView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
gfyView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0)
gfyView.layer.shadowOpacity = 1.0
gfyView.layer.shadowRadius = 1.0
gfyImage.image = UIImage(named: "wallet_banner_gfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
gfyLabel.text = "GIFTS FOR YOU"
gfyCountView.layer.cornerRadius = 4.0
gfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00)
}
public override func setSelected(_ selected: Bool, animated: Bool) {
......@@ -20,4 +87,10 @@ import UIKit
// Configure the view for the selected state
}
func configureCell(dfyCount: Int, smCount: Int, gfyCount: Int) {
dfyCountLabel.text = String(dfyCount)
smCountLabel.text = String(smCount)
gfyCountLabel.text = String(gfyCount)
}
}
......
......@@ -80,9 +80,6 @@ import SwiftEventBus
var forYouExpanded: Bool = false;
// TODO: Add SwiftEventBus.post("vouchers_banner_pressed") on Voucher Banner press
public override func viewDidLoad() {
super.viewDidLoad()
......@@ -166,7 +163,7 @@ import SwiftEventBus
}
headerImage.image = UIImage(named: "ic_background_straight", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
historyButtonImage.image = UIImage(named: "ic_time_forward_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
historyButtonImage.image = UIImage(named: "wallet_history", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
dfyEarnImage.image = UIImage(named: "wallet_dfy_3", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
couponEarnImage.image = UIImage(named: "wallet_coupons_4", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
dfyLogoImage.image = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
......@@ -752,8 +749,15 @@ import SwiftEventBus
}
@IBAction func historyButtonAction(_ sender: Any) {
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_history_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "LoyaltyHistoryBadge"))
// TODO: Open new HistoryVC
print("=== historyButton Pressed ===")
}
@IBAction func dfyEarnButtonAction(_ sender: Any) {
......@@ -860,8 +864,13 @@ import SwiftEventBus
dealsAnalysis._isPressed = true
SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis)
// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
// firebaseEvent._eventName = "did_tap_gifts_for_you_badge"
// firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
// SwiftEventBus.post("firebase", sender: firebaseEvent)
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_gifts_for_you_badge"
firebaseEvent._eventName = "did_tap_deals_for_you_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
......@@ -871,8 +880,13 @@ import SwiftEventBus
@IBAction func gfyBannerButtonAction(_ sender: Any) {
if (loyaltyBadge._couponCount > 0) {
// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
// firebaseEvent._eventName = "did_tap_deals_for_you_badge"
// firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
// SwiftEventBus.post("firebase", sender: firebaseEvent)
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_deals_for_you_badge"
firebaseEvent._eventName = "did_tap_gifts_for_you_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
......@@ -885,14 +899,13 @@ import SwiftEventBus
}
@IBAction func marketBannerButtonAction(_ sender: Any) {
// TODO: add action - open marketHistory after check
if (self.unifiedCouponsDiscount > 0.0) {
// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
// firebaseEvent._eventName = "did_tap_deals_for_you_badge"
// firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
// SwiftEventBus.post("firebase", sender: firebaseEvent)
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_market_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
// swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "LoyaltyBanner"))
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "MarketBanner"))
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "MarketLoyaltyAnalysisViewController") as! SwiftWarplyFramework.MarketLoyaltyAnalysisViewController
......@@ -900,62 +913,132 @@ import SwiftEventBus
}
}
@IBAction func dfyActiveCouponsBannerButtonAction(_ sender: Any) {
print("Active DFY coupon banner Tapped!")
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveDealsBanner"))
let couponDetails = swiftApi.ActiveDFYCouponEventModel()
couponDetails._isPressed = true
SwiftEventBus.post("dfy_coupon_details", sender: couponDetails)
}
@IBAction func smActiveCouponsBannerButtonAction(_ sender: Any) {
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_market_active_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveMarketBanner"))
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "UnifiedCouponsViewController") as! SwiftWarplyFramework.UnifiedCouponsViewController
self.navigationController?.pushViewController(vc, animated: true)
}
@IBAction func gfyActiveCouponsBannerButtonAction(_ sender: Any) {
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_gifts_for_you_active_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveLoyaltyBanner"))
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: SwiftWarplyFramework.CouponsViewController.self))
if let vc = storyboard.instantiateViewController(withIdentifier: "CouponsViewController") as? SwiftWarplyFramework.CouponsViewController{
self.navigationController?.pushViewController(vc,animated: true)
}
}
}
// MARK: - TableView
extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
public func numberOfSections(in tableView: UITableView) -> Int {
return 4
// return 4
return 2
}
public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int {
if (section == 0) {
// TODO: Uncomment when UnifiedCoupons will be shown again
// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) {
// if (section == 0) {
// // TODO: Uncomment when UnifiedCoupons will be shown again
//// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) {
//// return 0
//// } else {
// return 1
//// }
// } else if (section == 1) {
// return self.unifiedCoupons.count
// } else if (section == 2) {
// if (self.dfyCoupons.count > 0) {
// return 1
// } else {
// return 0
// }
// } else if (section == 3) {
// return self.coupons.count
// } else {
return 1
// return 0
// }
if (section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
return 1
} else {
return 0
}
} else if (section == 1) {
return self.unifiedCoupons.count
} else if (section == 2) {
if (self.dfyCoupons.count > 0) {
if (swiftApi().getShowVouchersBanner() == "true") {
return 1
} else {
return 0
}
} else if (section == 3) {
return self.coupons.count
} else {
return 0
}
}
public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat {
if (indexPath.section == 0) {
// TODO: Uncomment when UnifiedCoupons will be shown again
// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) {
// if (indexPath.section == 0) {
// // TODO: Uncomment when UnifiedCoupons will be shown again
//// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) {
//// return 0.0
//// } else {
// return UITableView.automaticDimension
//// }
// } else if (indexPath.section == 1) {
// if (self.unifiedCoupons.count > 0) {
// return 130.0 + 8.0
// } else {
// return 0.0
// }
// } else if (indexPath.section == 2) {
// if (self.dfyCoupons.count > 0) {
// return UITableView.automaticDimension
// } else {
return UITableView.automaticDimension
// return 0.0
// }
} else if (indexPath.section == 1) {
if (self.unifiedCoupons.count > 0) {
return 130.0 + 8.0
} else {
return 0.0
}
} else if (indexPath.section == 2) {
if (self.dfyCoupons.count > 0) {
//
// } else if (indexPath.section == 3) {
// if (self.coupons.count > 0) {
// return 130.0 + 8.0
// } else {
// return 0.0
// }
// } else {
// return 0.0
// }
if (indexPath.section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
return UITableView.automaticDimension
} else {
return 0.0
}
} else if (indexPath.section == 3) {
if (self.coupons.count > 0) {
return 130.0 + 8.0
} else if (indexPath.section == 1) {
if (swiftApi().getShowVouchersBanner() == "true") {
return UITableView.automaticDimension
} else {
return 0.0
}
......@@ -965,94 +1048,145 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
}
public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
if (section == 0){
return nil
// if (section == 0){
// return nil
//
// } else if (section == 1) {
// if (self.unifiedCoupons.count > 0) {
// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 75))
// view.backgroundColor = .clear
//
// let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 20))
// titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
// titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00)
// titleLabel.text = "SUPERMARKET DEALS"
//
// view.addSubview(titleLabel)
// return view
// } else {
// return nil
// }
//
//
// } else if (section == 2) {
// if (self.dfyCoupons.count > 0) {
// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65))
// view.backgroundColor = .clear
//
// let imageView = UIImageView(frame: CGRect(x: 20, y: 30, width: view.frame.width / 2, height: 25))
// imageView.contentMode = .scaleAspectFit
//// imageView.backgroundColor = .red
//
// if let dfyHeaderImage = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) {
// imageView.image = dfyHeaderImage
// }
// view.addSubview(imageView)
//
// return view
//
// } else {
// return nil
// }
//
//
// } else if (section == 3) {
// if (self.coupons.count > 0) {
// // let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 71))
// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65))
// view.backgroundColor = .clear
//
// // let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 21))
// let titleLabel = UILabel(frame: CGRect(x: 20, y: 30, width: view.frame.width - 40, height: 20))
// titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
// titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00)
// titleLabel.text = "GIFTS FOR YOU"
//
// view.addSubview(titleLabel)
// return view
// } else {
// return nil
// }
//
// } else {
// return nil
// }
} else if (section == 1) {
if (self.unifiedCoupons.count > 0) {
let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 75))
if (section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70))
view.backgroundColor = .clear
let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 20))
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00)
titleLabel.text = "SUPERMARKET DEALS"
let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25))
titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21)
titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)
titleLabel.text = "Ενεργά κουπόνια"
view.addSubview(titleLabel)
return view
} else {
return nil
}
} else if (section == 2) {
if (self.dfyCoupons.count > 0) {
let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65))
view.backgroundColor = .clear
let imageView = UIImageView(frame: CGRect(x: 20, y: 30, width: view.frame.width / 2, height: 25))
imageView.contentMode = .scaleAspectFit
// imageView.backgroundColor = .red
if let dfyHeaderImage = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) {
imageView.image = dfyHeaderImage
}
view.addSubview(imageView)
return view
} else {
} else if (section == 1) {
// if (swiftApi().getShowVouchersBanner() == "true") {
// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70))
// view.backgroundColor = .clear
//
// let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25))
// titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21)
// titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)
// titleLabel.text = "Υπόλοιπο επιδότησης"
//
// view.addSubview(titleLabel)
// return view
// } else {
return nil
}
} else if (section == 3) {
if (self.coupons.count > 0) {
// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 71))
let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65))
view.backgroundColor = .clear
// let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 21))
let titleLabel = UILabel(frame: CGRect(x: 20, y: 30, width: view.frame.width - 40, height: 20))
titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19)
titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00)
titleLabel.text = "GIFTS FOR YOU"
view.addSubview(titleLabel)
return view
// }
} else {
return nil
}
} else {
return nil
}
}
public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
if (section == 0) {
return 0.0
} else if (section == 1) {
if (self.unifiedCoupons.count > 0) {
return 75.0
} else {
return 0.0
}
// if (section == 0) {
// return 0.0
//
// } else if (section == 1) {
// if (self.unifiedCoupons.count > 0) {
// return 75.0
// } else {
// return 0.0
// }
//
// } else if (section == 2) {
// if (self.dfyCoupons.count > 0) {
// return 68.0
// } else {
// return 0.0
// }
//
// } else if (section == 3) {
// if (self.coupons.count > 0) {
// return 65.0
// } else {
// return 0.0
// }
// } else {
// return 0.0
// }
} else if (section == 2) {
if (self.dfyCoupons.count > 0) {
return 68.0
if (section == 0) {
if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) {
return 70.0
} else {
return 0.0
}
} else if (section == 3) {
if (self.coupons.count > 0) {
return 65.0
} else {
} else if (section == 1) {
// if (swiftApi().getShowVouchersBanner() == "true") {
// return 70.0
// } else {
return 0.0
}
// }
} else {
return 0.0
}
......@@ -1069,65 +1203,95 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{
public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell {
if (indexPath.section == 0) {
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBannersTableViewCellId", for: indexPath) as! WalletBannersTableViewCell
cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount, forYouExpanded: self.forYouExpanded)
return cell
// let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBadgesTableViewCellId", for: indexPath) as! WalletBadgesTableViewCell
// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount)
// if (indexPath.section == 0) {
// let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBannersTableViewCellId", for: indexPath) as! WalletBannersTableViewCell
// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount, forYouExpanded: self.forYouExpanded)
// return cell
} else if (indexPath.section == 1) {
let cell = tableView.dequeueReusableCell(withIdentifier: "UnifiedCouponsTableViewCellId", for: indexPath) as! UnifiedCouponsTableViewCell
cell.configureCell(coupon: unifiedCoupons[indexPath.row])
return cell
} else if (indexPath.section == 2) {
let cell = tableView.dequeueReusableCell(withIdentifier: "ActiveCodeTableViewCellId", for: indexPath) as! ActiveCodeTableViewCell
//// let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBadgesTableViewCellId", for: indexPath) as! WalletBadgesTableViewCell
//// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount)
//// return cell
// } else if (indexPath.section == 1) {
// let cell = tableView.dequeueReusableCell(withIdentifier: "UnifiedCouponsTableViewCellId", for: indexPath) as! UnifiedCouponsTableViewCell
// cell.configureCell(coupon: unifiedCoupons[indexPath.row])
// return cell
//
// } else if (indexPath.section == 2) {
// let cell = tableView.dequeueReusableCell(withIdentifier: "ActiveCodeTableViewCellId", for: indexPath) as! ActiveCodeTableViewCell
//// cell.configureCell(coupon: coupons[indexPath.row])
// return cell
//
// } else {
// let cell = tableView.dequeueReusableCell(withIdentifier: "CouponsTableViewCellId", for: indexPath) as! CouponsTableViewCell
// cell.configureCell(coupon: coupons[indexPath.row])
// return cell
// }
if (indexPath.section == 0) {
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletActiveCouponsTableViewCellId", for: indexPath) as! WalletActiveCouponsTableViewCell
cell.configureCell(dfyCount: self.dfyCoupons.count, smCount: self.unifiedCoupons.count, gfyCount: self.coupons.count)
return cell
} else {
let cell = tableView.dequeueReusableCell(withIdentifier: "CouponsTableViewCellId", for: indexPath) as! CouponsTableViewCell
cell.configureCell(coupon: coupons[indexPath.row])
let cell = tableView.dequeueReusableCell(withIdentifier: "WalletVouchersBannerTableViewCellId", for: indexPath) as! WalletVouchersBannerTableViewCell
// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount, forYouExpanded: self.forYouExpanded)
return cell
}
}
public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) {
if (indexPath.section == 0) {
// Do nothing
} else if (indexPath.section == 1) {
// TODO: Add trackers
// if (indexPath.section == 0) {
// // Do nothing
//
// } else if (indexPath.section == 1) {
// // TODO: Add trackers
//// let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data
//// let couponName = couponSetData?.name ?? ""
//// swiftApi().logTrackersEvent("click", ("Coupon:" + couponName))
//
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "UnifiedCouponBarcodeViewController") as! SwiftWarplyFramework.UnifiedCouponBarcodeViewController
// vc.coupon = unifiedCoupons[indexPath.row]
// vc.isFromWallet = true
// self.navigationController?.pushViewController(vc, animated: true)
//
// } else if (indexPath.section == 2) {
// print("Active DFY coupon banner Tapped!")
//
// swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveDealsBanner"))
//
// let couponDetails = swiftApi.ActiveDFYCouponEventModel()
// couponDetails._isPressed = true
// SwiftEventBus.post("dfy_coupon_details", sender: couponDetails)
//
// } else if (indexPath.section == 3) {
// let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data
// let couponName = couponSetData?.name ?? ""
// swiftApi().logTrackersEvent("click", ("Coupon:" + couponName))
//
// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
// let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController
// vc.coupon = coupons[indexPath.row]
// vc.isFromWallet = true
// self.navigationController?.pushViewController(vc, animated: true)
// } else {
// // Do nothing
// }
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "UnifiedCouponBarcodeViewController") as! SwiftWarplyFramework.UnifiedCouponBarcodeViewController
vc.coupon = unifiedCoupons[indexPath.row]
vc.isFromWallet = true
self.navigationController?.pushViewController(vc, animated: true)
} else if (indexPath.section == 2) {
print("Active DFY coupon banner Tapped!")
if (indexPath.section == 0) {
// Do nothing - Each button is handled differently
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveDealsBanner"))
} else if (indexPath.section == 1) {
let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel()
firebaseEvent._eventName = "did_tap_vouchers_badge"
firebaseEvent.setParameter = ("screen", "Loyalty Wallet")
SwiftEventBus.post("firebase", sender: firebaseEvent)
let couponDetails = swiftApi.ActiveDFYCouponEventModel()
couponDetails._isPressed = true
SwiftEventBus.post("dfy_coupon_details", sender: couponDetails)
swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "VouchersBadge"))
} else if (indexPath.section == 3) {
let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data
let couponName = couponSetData?.name ?? ""
swiftApi().logTrackersEvent("click", ("Coupon:" + couponName))
SwiftEventBus.post("vouchers_banner_pressed")
let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self))
let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController
vc.coupon = coupons[indexPath.row]
vc.isFromWallet = true
self.navigationController?.pushViewController(vc, animated: true)
} else {
// Do nothing
}
......
......@@ -8,10 +8,32 @@
import UIKit
@objc public class WalletVouchersBannerTableViewCell: UITableViewCell {
@IBOutlet weak var sectionTitleLabel: UILabel!
@IBOutlet weak var voucherBannerView: UIView!
@IBOutlet weak var voucherBannerIconImage: UIImageView!
@IBOutlet weak var voucherBannerLabel: UILabel!
@IBOutlet weak var voucherBannerArrowImage: UIImageView!
public override func awakeFromNib() {
super.awakeFromNib()
// Initialization code
sectionTitleLabel.text = "Υπόλοιπο επιδότησης"
voucherBannerView.layer.cornerRadius = 16.0
voucherBannerView.layer.borderWidth = 1
voucherBannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor
// Add shadow
voucherBannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor
voucherBannerView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0)
voucherBannerView.layer.shadowOpacity = 1.0
voucherBannerView.layer.shadowRadius = 1.0
voucherBannerIconImage.image = UIImage(named: "wallet_voucher", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
voucherBannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης"
}
public override func setSelected(_ selected: Bool, animated: Bool) {
......