Showing
7 changed files
with
820 additions
and
187 deletions
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>1</integer> | 10 | + <integer>0</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>0</integer> | 10 | + <integer>1</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
... | @@ -2372,23 +2372,23 @@ | ... | @@ -2372,23 +2372,23 @@ |
2372 | </connections> | 2372 | </connections> |
2373 | </tableViewCell> | 2373 | </tableViewCell> |
2374 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBadgesTableViewCellId" id="TeS-tP-Ilh" customClass="WalletBadgesTableViewCell" customModule="SwiftWarplyFramework"> | 2374 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBadgesTableViewCellId" id="TeS-tP-Ilh" customClass="WalletBadgesTableViewCell" customModule="SwiftWarplyFramework"> |
2375 | - <rect key="frame" x="0.0" y="947.5" width="414" height="44"/> | 2375 | + <rect key="frame" x="0.0" y="947.5" width="414" height="260"/> |
2376 | <autoresizingMask key="autoresizingMask"/> | 2376 | <autoresizingMask key="autoresizingMask"/> |
2377 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TeS-tP-Ilh" id="FFV-uA-HHA"> | 2377 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TeS-tP-Ilh" id="FFV-uA-HHA"> |
2378 | - <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 2378 | + <rect key="frame" x="0.0" y="0.0" width="414" height="260"/> |
2379 | <autoresizingMask key="autoresizingMask"/> | 2379 | <autoresizingMask key="autoresizingMask"/> |
2380 | <subviews> | 2380 | <subviews> |
2381 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0"> | 2381 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="AV7-t1-eK0"> |
2382 | - <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> | 2382 | + <rect key="frame" x="0.0" y="0.0" width="414" height="260"/> |
2383 | <subviews> | 2383 | <subviews> |
2384 | <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"> | 2384 | <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"> |
2385 | - <rect key="frame" x="20" y="30" width="374" height="0.0"/> | 2385 | + <rect key="frame" x="20" y="30" width="374" height="21"/> |
2386 | <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="21"/> | 2386 | <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="21"/> |
2387 | <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 2387 | <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
2388 | <nil key="highlightedColor"/> | 2388 | <nil key="highlightedColor"/> |
2389 | </label> | 2389 | </label> |
2390 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kge-nO-6ZA" userLabel="BadgesView"> | 2390 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kge-nO-6ZA" userLabel="BadgesView"> |
2391 | - <rect key="frame" x="0.0" y="44" width="414" height="0.0"/> | 2391 | + <rect key="frame" x="0.0" y="65" width="414" height="195"/> |
2392 | <subviews> | 2392 | <subviews> |
2393 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_badge_lines" translatesAutoresizingMaskIntoConstraints="NO" id="Cib-tj-hT7"> | 2393 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_badge_lines" translatesAutoresizingMaskIntoConstraints="NO" id="Cib-tj-hT7"> |
2394 | <rect key="frame" x="7" y="50" width="400" height="80"/> | 2394 | <rect key="frame" x="7" y="50" width="400" height="80"/> |
... | @@ -2466,19 +2466,19 @@ | ... | @@ -2466,19 +2466,19 @@ |
2466 | </constraints> | 2466 | </constraints> |
2467 | </view> | 2467 | </view> |
2468 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qge-34-vJ3"> | 2468 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Qge-34-vJ3"> |
2469 | - <rect key="frame" x="169.5" y="120" width="75" height="73"/> | 2469 | + <rect key="frame" x="169.5" y="120" width="75" height="75"/> |
2470 | <subviews> | 2470 | <subviews> |
2471 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="gGn-2u-akB"> | 2471 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_earn" translatesAutoresizingMaskIntoConstraints="NO" id="gGn-2u-akB"> |
2472 | - <rect key="frame" x="0.0" y="0.0" width="75" height="73"/> | 2472 | + <rect key="frame" x="0.0" y="0.0" width="75" height="75"/> |
2473 | </imageView> | 2473 | </imageView> |
2474 | <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"> | 2474 | <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"> |
2475 | - <rect key="frame" x="5" y="44" width="65" height="11"/> | 2475 | + <rect key="frame" x="5" y="46" width="65" height="11"/> |
2476 | <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/> | 2476 | <fontDescription key="fontDescription" name="PFSquareSansPro-ExtraBlack" family="PF Square Sans Pro" pointSize="11"/> |
2477 | <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> | 2477 | <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> |
2478 | <nil key="highlightedColor"/> | 2478 | <nil key="highlightedColor"/> |
2479 | </label> | 2479 | </label> |
2480 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6UC-iU-ey4"> | 2480 | <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6UC-iU-ey4"> |
2481 | - <rect key="frame" x="0.0" y="0.0" width="75" height="73"/> | 2481 | + <rect key="frame" x="0.0" y="0.0" width="75" height="75"/> |
2482 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 2482 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
2483 | <state key="normal" title="Button"/> | 2483 | <state key="normal" title="Button"/> |
2484 | <buttonConfiguration key="configuration" style="plain" title="Button"> | 2484 | <buttonConfiguration key="configuration" style="plain" title="Button"> |
... | @@ -2599,19 +2599,19 @@ | ... | @@ -2599,19 +2599,19 @@ |
2599 | </connections> | 2599 | </connections> |
2600 | </tableViewCell> | 2600 | </tableViewCell> |
2601 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBannersTableViewCellId" id="fgI-zL-RPZ" customClass="WalletBannersTableViewCell" customModule="SwiftWarplyFramework"> | 2601 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletBannersTableViewCellId" id="fgI-zL-RPZ" customClass="WalletBannersTableViewCell" customModule="SwiftWarplyFramework"> |
2602 | - <rect key="frame" x="0.0" y="991.5" width="414" height="404"/> | 2602 | + <rect key="frame" x="0.0" y="1207.5" width="414" height="404"/> |
2603 | <autoresizingMask key="autoresizingMask"/> | 2603 | <autoresizingMask key="autoresizingMask"/> |
2604 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fgI-zL-RPZ" id="gNB-PU-R1J"> | 2604 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="fgI-zL-RPZ" id="gNB-PU-R1J"> |
2605 | <rect key="frame" x="0.0" y="0.0" width="414" height="404"/> | 2605 | <rect key="frame" x="0.0" y="0.0" width="414" height="404"/> |
2606 | <autoresizingMask key="autoresizingMask"/> | 2606 | <autoresizingMask key="autoresizingMask"/> |
2607 | <subviews> | 2607 | <subviews> |
2608 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IZz-Fy-5Iv"> | 2608 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IZz-Fy-5Iv"> |
2609 | <rect key="frame" x="0.0" y="0.0" width="414" height="404"/> | 2609 | <rect key="frame" x="0.0" y="0.0" width="414" height="404"/> |
2610 | <subviews> | 2610 | <subviews> |
2611 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="OfG-0m-RTE" userLabel="SumBannerView"> | 2611 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="OfG-0m-RTE" userLabel="SumBannerView"> |
2612 | <rect key="frame" x="0.0" y="30" width="414" height="105"/> | 2612 | <rect key="frame" x="0.0" y="30" width="414" height="105"/> |
2613 | <subviews> | 2613 | <subviews> |
2614 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="Rj0-Cu-gVh"> | 2614 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Rj0-Cu-gVh"> |
2615 | <rect key="frame" x="10" y="0.0" width="394" height="105"/> | 2615 | <rect key="frame" x="10" y="0.0" width="394" height="105"/> |
2616 | <subviews> | 2616 | <subviews> |
2617 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CB0-Nv-dLU"> | 2617 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CB0-Nv-dLU"> |
... | @@ -2620,7 +2620,7 @@ | ... | @@ -2620,7 +2620,7 @@ |
2620 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_summary_2" translatesAutoresizingMaskIntoConstraints="NO" id="pVa-Dg-SAA"> | 2620 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_summary_2" translatesAutoresizingMaskIntoConstraints="NO" id="pVa-Dg-SAA"> |
2621 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> | 2621 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> |
2622 | </imageView> | 2622 | </imageView> |
2623 | - <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"> | 2623 | + <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"> |
2624 | <rect key="frame" x="5" y="44" width="60" height="16"/> | 2624 | <rect key="frame" x="5" y="44" width="60" height="16"/> |
2625 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/> | 2625 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="13"/> |
2626 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2626 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -2640,13 +2640,13 @@ | ... | @@ -2640,13 +2640,13 @@ |
2640 | <constraint firstAttribute="trailing" secondItem="Aze-Qh-DsE" secondAttribute="trailing" constant="5" id="yTg-ab-fvg"/> | 2640 | <constraint firstAttribute="trailing" secondItem="Aze-Qh-DsE" secondAttribute="trailing" constant="5" id="yTg-ab-fvg"/> |
2641 | </constraints> | 2641 | </constraints> |
2642 | </view> | 2642 | </view> |
2643 | - <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"> | 2643 | + <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"> |
2644 | <rect key="frame" x="95" y="35.5" width="259" height="34.5"/> | 2644 | <rect key="frame" x="95" y="35.5" width="259" height="34.5"/> |
2645 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> | 2645 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> |
2646 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2646 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
2647 | <nil key="highlightedColor"/> | 2647 | <nil key="highlightedColor"/> |
2648 | </label> | 2648 | </label> |
2649 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" image="ic_down_dark_2" translatesAutoresizingMaskIntoConstraints="NO" id="knu-qY-418"> | 2649 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_down_dark_2" translatesAutoresizingMaskIntoConstraints="NO" id="knu-qY-418"> |
2650 | <rect key="frame" x="364" y="45" width="15" height="15"/> | 2650 | <rect key="frame" x="364" y="45" width="15" height="15"/> |
2651 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 2651 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
2652 | <constraints> | 2652 | <constraints> |
... | @@ -2666,7 +2666,7 @@ | ... | @@ -2666,7 +2666,7 @@ |
2666 | <constraint firstItem="knu-qY-418" firstAttribute="centerY" secondItem="Rj0-Cu-gVh" secondAttribute="centerY" id="jp1-ai-rp3"/> | 2666 | <constraint firstItem="knu-qY-418" firstAttribute="centerY" secondItem="Rj0-Cu-gVh" secondAttribute="centerY" id="jp1-ai-rp3"/> |
2667 | </constraints> | 2667 | </constraints> |
2668 | </view> | 2668 | </view> |
2669 | - <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aay-8s-7rN" userLabel="SumBannerButton"> | 2669 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aay-8s-7rN" userLabel="SumBannerButton"> |
2670 | <rect key="frame" x="10" y="0.0" width="394" height="105"/> | 2670 | <rect key="frame" x="10" y="0.0" width="394" height="105"/> |
2671 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 2671 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
2672 | <state key="normal" title="Button"/> | 2672 | <state key="normal" title="Button"/> |
... | @@ -2691,10 +2691,10 @@ | ... | @@ -2691,10 +2691,10 @@ |
2691 | <constraint firstItem="Rj0-Cu-gVh" firstAttribute="leading" secondItem="OfG-0m-RTE" secondAttribute="leading" constant="10" id="m63-zf-rMF"/> | 2691 | <constraint firstItem="Rj0-Cu-gVh" firstAttribute="leading" secondItem="OfG-0m-RTE" secondAttribute="leading" constant="10" id="m63-zf-rMF"/> |
2692 | </constraints> | 2692 | </constraints> |
2693 | </view> | 2693 | </view> |
2694 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="2dQ-gW-ZGR" userLabel="DFYBannerView"> | 2694 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2dQ-gW-ZGR" userLabel="DFYBannerView"> |
2695 | <rect key="frame" x="0.0" y="143" width="414" height="80"/> | 2695 | <rect key="frame" x="0.0" y="143" width="414" height="80"/> |
2696 | <subviews> | 2696 | <subviews> |
2697 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="EFW-8j-JaD"> | 2697 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="EFW-8j-JaD"> |
2698 | <rect key="frame" x="20" y="0.0" width="374" height="80"/> | 2698 | <rect key="frame" x="20" y="0.0" width="374" height="80"/> |
2699 | <subviews> | 2699 | <subviews> |
2700 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bFi-pX-oUX"> | 2700 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bFi-pX-oUX"> |
... | @@ -2703,7 +2703,7 @@ | ... | @@ -2703,7 +2703,7 @@ |
2703 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_3" translatesAutoresizingMaskIntoConstraints="NO" id="ok3-tt-LNZ"> | 2703 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_dfy_3" translatesAutoresizingMaskIntoConstraints="NO" id="ok3-tt-LNZ"> |
2704 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> | 2704 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> |
2705 | </imageView> | 2705 | </imageView> |
2706 | - <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"> | 2706 | + <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"> |
2707 | <rect key="frame" x="5" y="46" width="60" height="14"/> | 2707 | <rect key="frame" x="5" y="46" width="60" height="14"/> |
2708 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/> | 2708 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/> |
2709 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2709 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -2723,7 +2723,7 @@ | ... | @@ -2723,7 +2723,7 @@ |
2723 | <constraint firstAttribute="trailing" secondItem="ok3-tt-LNZ" secondAttribute="trailing" id="sU3-QC-FQG"/> | 2723 | <constraint firstAttribute="trailing" secondItem="ok3-tt-LNZ" secondAttribute="trailing" id="sU3-QC-FQG"/> |
2724 | </constraints> | 2724 | </constraints> |
2725 | </view> | 2725 | </view> |
2726 | - <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"> | 2726 | + <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"> |
2727 | <rect key="frame" x="85" y="23" width="279" height="34.5"/> | 2727 | <rect key="frame" x="85" y="23" width="279" height="34.5"/> |
2728 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> | 2728 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> |
2729 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2729 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -2739,7 +2739,7 @@ | ... | @@ -2739,7 +2739,7 @@ |
2739 | <constraint firstAttribute="trailing" secondItem="GEe-wr-xOR" secondAttribute="trailing" constant="10" id="saL-if-HkB"/> | 2739 | <constraint firstAttribute="trailing" secondItem="GEe-wr-xOR" secondAttribute="trailing" constant="10" id="saL-if-HkB"/> |
2740 | </constraints> | 2740 | </constraints> |
2741 | </view> | 2741 | </view> |
2742 | - <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YP0-jS-U7B" userLabel="DfyBannerButton"> | 2742 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YP0-jS-U7B" userLabel="DfyBannerButton"> |
2743 | <rect key="frame" x="10" y="0.0" width="394" height="80"/> | 2743 | <rect key="frame" x="10" y="0.0" width="394" height="80"/> |
2744 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 2744 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
2745 | <state key="normal" title="Button"/> | 2745 | <state key="normal" title="Button"/> |
... | @@ -2764,10 +2764,10 @@ | ... | @@ -2764,10 +2764,10 @@ |
2764 | <constraint firstAttribute="trailing" secondItem="YP0-jS-U7B" secondAttribute="trailing" constant="10" id="xdY-s9-WXF"/> | 2764 | <constraint firstAttribute="trailing" secondItem="YP0-jS-U7B" secondAttribute="trailing" constant="10" id="xdY-s9-WXF"/> |
2765 | </constraints> | 2765 | </constraints> |
2766 | </view> | 2766 | </view> |
2767 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="SGW-6p-5Rx" userLabel="GFYBannerView"> | 2767 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="SGW-6p-5Rx" userLabel="GFYBannerView"> |
2768 | <rect key="frame" x="0.0" y="231" width="414" height="80"/> | 2768 | <rect key="frame" x="0.0" y="231" width="414" height="80"/> |
2769 | <subviews> | 2769 | <subviews> |
2770 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9TA-Yr-wfr"> | 2770 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9TA-Yr-wfr"> |
2771 | <rect key="frame" x="20" y="0.0" width="374" height="80"/> | 2771 | <rect key="frame" x="20" y="0.0" width="374" height="80"/> |
2772 | <subviews> | 2772 | <subviews> |
2773 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="G7W-Tk-gbg"> | 2773 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="G7W-Tk-gbg"> |
... | @@ -2776,7 +2776,7 @@ | ... | @@ -2776,7 +2776,7 @@ |
2776 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_coupons_4" translatesAutoresizingMaskIntoConstraints="NO" id="lRn-76-d0E"> | 2776 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_coupons_4" translatesAutoresizingMaskIntoConstraints="NO" id="lRn-76-d0E"> |
2777 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> | 2777 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> |
2778 | </imageView> | 2778 | </imageView> |
2779 | - <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"> | 2779 | + <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"> |
2780 | <rect key="frame" x="5" y="46" width="60" height="14"/> | 2780 | <rect key="frame" x="5" y="46" width="60" height="14"/> |
2781 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/> | 2781 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/> |
2782 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2782 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -2796,7 +2796,7 @@ | ... | @@ -2796,7 +2796,7 @@ |
2796 | <constraint firstAttribute="trailing" secondItem="lRn-76-d0E" secondAttribute="trailing" id="uyw-zg-bqx"/> | 2796 | <constraint firstAttribute="trailing" secondItem="lRn-76-d0E" secondAttribute="trailing" id="uyw-zg-bqx"/> |
2797 | </constraints> | 2797 | </constraints> |
2798 | </view> | 2798 | </view> |
2799 | - <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"> | 2799 | + <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"> |
2800 | <rect key="frame" x="85" y="31.5" width="279" height="17.5"/> | 2800 | <rect key="frame" x="85" y="31.5" width="279" height="17.5"/> |
2801 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> | 2801 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> |
2802 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2802 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -2812,7 +2812,7 @@ | ... | @@ -2812,7 +2812,7 @@ |
2812 | <constraint firstItem="G7W-Tk-gbg" firstAttribute="leading" secondItem="9TA-Yr-wfr" secondAttribute="leading" constant="5" id="wPM-eF-7Ba"/> | 2812 | <constraint firstItem="G7W-Tk-gbg" firstAttribute="leading" secondItem="9TA-Yr-wfr" secondAttribute="leading" constant="5" id="wPM-eF-7Ba"/> |
2813 | </constraints> | 2813 | </constraints> |
2814 | </view> | 2814 | </view> |
2815 | - <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-4Y-y7k" userLabel="GfyBannerButton"> | 2815 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JF7-4Y-y7k" userLabel="GfyBannerButton"> |
2816 | <rect key="frame" x="10" y="0.0" width="394" height="80"/> | 2816 | <rect key="frame" x="10" y="0.0" width="394" height="80"/> |
2817 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 2817 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
2818 | <state key="normal" title="Button"/> | 2818 | <state key="normal" title="Button"/> |
... | @@ -2837,10 +2837,10 @@ | ... | @@ -2837,10 +2837,10 @@ |
2837 | <constraint firstAttribute="trailing" secondItem="JF7-4Y-y7k" secondAttribute="trailing" constant="10" id="xks-8Y-KE3"/> | 2837 | <constraint firstAttribute="trailing" secondItem="JF7-4Y-y7k" secondAttribute="trailing" constant="10" id="xks-8Y-KE3"/> |
2838 | </constraints> | 2838 | </constraints> |
2839 | </view> | 2839 | </view> |
2840 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="g3T-Ph-deu" userLabel="MarketBannerView"> | 2840 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g3T-Ph-deu" userLabel="MarketBannerView"> |
2841 | <rect key="frame" x="0.0" y="319" width="414" height="80"/> | 2841 | <rect key="frame" x="0.0" y="319" width="414" height="80"/> |
2842 | <subviews> | 2842 | <subviews> |
2843 | - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="CB2-MZ-o9a"> | 2843 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CB2-MZ-o9a"> |
2844 | <rect key="frame" x="20" y="0.0" width="374" height="80"/> | 2844 | <rect key="frame" x="20" y="0.0" width="374" height="80"/> |
2845 | <subviews> | 2845 | <subviews> |
2846 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ySD-yw-FWO"> | 2846 | <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ySD-yw-FWO"> |
... | @@ -2849,7 +2849,7 @@ | ... | @@ -2849,7 +2849,7 @@ |
2849 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_market_2" translatesAutoresizingMaskIntoConstraints="NO" id="bLD-hY-yKe"> | 2849 | <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="wallet_market_2" translatesAutoresizingMaskIntoConstraints="NO" id="bLD-hY-yKe"> |
2850 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> | 2850 | <rect key="frame" x="0.0" y="0.0" width="70" height="70"/> |
2851 | </imageView> | 2851 | </imageView> |
2852 | - <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"> | 2852 | + <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"> |
2853 | <rect key="frame" x="5" y="46" width="60" height="14"/> | 2853 | <rect key="frame" x="5" y="46" width="60" height="14"/> |
2854 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/> | 2854 | <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="11"/> |
2855 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2855 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -2869,7 +2869,7 @@ | ... | @@ -2869,7 +2869,7 @@ |
2869 | <constraint firstAttribute="bottom" secondItem="hlX-MN-0VI" secondAttribute="bottom" constant="10" id="ubg-aW-zzq"/> | 2869 | <constraint firstAttribute="bottom" secondItem="hlX-MN-0VI" secondAttribute="bottom" constant="10" id="ubg-aW-zzq"/> |
2870 | </constraints> | 2870 | </constraints> |
2871 | </view> | 2871 | </view> |
2872 | - <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"> | 2872 | + <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"> |
2873 | <rect key="frame" x="85" y="23" width="279" height="34.5"/> | 2873 | <rect key="frame" x="85" y="23" width="279" height="34.5"/> |
2874 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> | 2874 | <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> |
2875 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | 2875 | <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
... | @@ -2885,7 +2885,7 @@ | ... | @@ -2885,7 +2885,7 @@ |
2885 | <constraint firstAttribute="trailing" secondItem="sGV-yK-eyk" secondAttribute="trailing" constant="10" id="uf1-3f-9XJ"/> | 2885 | <constraint firstAttribute="trailing" secondItem="sGV-yK-eyk" secondAttribute="trailing" constant="10" id="uf1-3f-9XJ"/> |
2886 | </constraints> | 2886 | </constraints> |
2887 | </view> | 2887 | </view> |
2888 | - <button opaque="NO" contentMode="scaleToFill" ambiguous="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mfB-19-dpV" userLabel="MarketBannerButton"> | 2888 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mfB-19-dpV" userLabel="MarketBannerButton"> |
2889 | <rect key="frame" x="10" y="0.0" width="394" height="80"/> | 2889 | <rect key="frame" x="10" y="0.0" width="394" height="80"/> |
2890 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 2890 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
2891 | <state key="normal" title="Button"/> | 2891 | <state key="normal" title="Button"/> |
... | @@ -2966,6 +2966,380 @@ | ... | @@ -2966,6 +2966,380 @@ |
2966 | <outlet property="sumBannerLabel" destination="cbn-Gp-QeC" id="5Kg-ol-UpI"/> | 2966 | <outlet property="sumBannerLabel" destination="cbn-Gp-QeC" id="5Kg-ol-UpI"/> |
2967 | </connections> | 2967 | </connections> |
2968 | </tableViewCell> | 2968 | </tableViewCell> |
2969 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletActiveCouponsTableViewCellId" id="qaY-Zw-d8E" customClass="WalletActiveCouponsTableViewCell" customModule="SwiftWarplyFramework"> | ||
2970 | + <rect key="frame" x="0.0" y="1611.5" width="414" height="98"/> | ||
2971 | + <autoresizingMask key="autoresizingMask"/> | ||
2972 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="qaY-Zw-d8E" id="MoF-lG-k6u"> | ||
2973 | + <rect key="frame" x="0.0" y="0.0" width="414" height="98"/> | ||
2974 | + <autoresizingMask key="autoresizingMask"/> | ||
2975 | + <subviews> | ||
2976 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="t2C-9l-nWs" userLabel="ParentView"> | ||
2977 | + <rect key="frame" x="0.0" y="0.0" width="414" height="98"/> | ||
2978 | + <subviews> | ||
2979 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ago-Pf-BGo"> | ||
2980 | + <rect key="frame" x="20" y="3" width="111.5" height="92"/> | ||
2981 | + <subviews> | ||
2982 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Phm-pC-5YX"> | ||
2983 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="92"/> | ||
2984 | + <subviews> | ||
2985 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="wLH-YV-5Bn"> | ||
2986 | + <rect key="frame" x="29.5" y="15" width="52" height="32"/> | ||
2987 | + <constraints> | ||
2988 | + <constraint firstAttribute="height" constant="32" id="EtR-nn-mGe"/> | ||
2989 | + <constraint firstAttribute="width" constant="52" id="cGb-tB-T1G"/> | ||
2990 | + </constraints> | ||
2991 | + </imageView> | ||
2992 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="wBk-nW-MGe" userLabel="LineView1"> | ||
2993 | + <rect key="frame" x="10" y="52" width="91.5" height="1"/> | ||
2994 | + <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/> | ||
2995 | + <constraints> | ||
2996 | + <constraint firstAttribute="height" constant="1" id="sfB-Gv-awg"/> | ||
2997 | + </constraints> | ||
2998 | + </view> | ||
2999 | + <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"> | ||
3000 | + <rect key="frame" x="5" y="63" width="101.5" height="14"/> | ||
3001 | + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | ||
3002 | + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | ||
3003 | + <nil key="highlightedColor"/> | ||
3004 | + </label> | ||
3005 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="17Q-Sz-hXW"> | ||
3006 | + <rect key="frame" x="94" y="0.0" width="17.5" height="18"/> | ||
3007 | + <subviews> | ||
3008 | + <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"> | ||
3009 | + <rect key="frame" x="5" y="2" width="7.5" height="14"/> | ||
3010 | + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | ||
3011 | + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | ||
3012 | + <nil key="highlightedColor"/> | ||
3013 | + </label> | ||
3014 | + </subviews> | ||
3015 | + <color key="backgroundColor" red="0.91764705882352937" green="0.74901960784313726" blue="0.40784313725490196" alpha="1" colorSpace="calibratedRGB"/> | ||
3016 | + <constraints> | ||
3017 | + <constraint firstItem="vgz-Be-lSQ" firstAttribute="leading" secondItem="17Q-Sz-hXW" secondAttribute="leading" constant="5" id="4aZ-DG-B1a"/> | ||
3018 | + <constraint firstAttribute="bottom" secondItem="vgz-Be-lSQ" secondAttribute="bottom" constant="2" id="IWW-l0-dvT"/> | ||
3019 | + <constraint firstAttribute="trailing" secondItem="vgz-Be-lSQ" secondAttribute="trailing" constant="5" id="V4r-tU-gOx"/> | ||
3020 | + <constraint firstItem="vgz-Be-lSQ" firstAttribute="top" secondItem="17Q-Sz-hXW" secondAttribute="top" constant="2" id="qTZ-ZZ-Yz4"/> | ||
3021 | + </constraints> | ||
3022 | + </view> | ||
3023 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gr4-DX-CHP"> | ||
3024 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="92"/> | ||
3025 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3026 | + <state key="normal" title="Button"/> | ||
3027 | + <buttonConfiguration key="configuration" style="plain" title="Button"> | ||
3028 | + <color key="baseForegroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3029 | + </buttonConfiguration> | ||
3030 | + <connections> | ||
3031 | + <action selector="dfyActiveCouponsBannerButtonAction:" destination="pKQ-52-a1r" eventType="touchUpInside" id="rUr-BF-eEp"/> | ||
3032 | + </connections> | ||
3033 | + </button> | ||
3034 | + </subviews> | ||
3035 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
3036 | + <constraints> | ||
3037 | + <constraint firstAttribute="trailing" secondItem="gr4-DX-CHP" secondAttribute="trailing" id="04C-Ff-bFT"/> | ||
3038 | + <constraint firstItem="wLH-YV-5Bn" firstAttribute="top" secondItem="Phm-pC-5YX" secondAttribute="top" constant="15" id="G46-Pn-mds"/> | ||
3039 | + <constraint firstAttribute="trailing" secondItem="17Q-Sz-hXW" secondAttribute="trailing" id="Muw-mt-tx0"/> | ||
3040 | + <constraint firstItem="gr4-DX-CHP" firstAttribute="leading" secondItem="Phm-pC-5YX" secondAttribute="leading" id="O94-5r-Jk4"/> | ||
3041 | + <constraint firstAttribute="trailing" secondItem="wBk-nW-MGe" secondAttribute="trailing" constant="10" id="Oe8-Oa-aBE"/> | ||
3042 | + <constraint firstItem="wBk-nW-MGe" firstAttribute="top" secondItem="wLH-YV-5Bn" secondAttribute="bottom" constant="5" id="QLq-MI-HhV"/> | ||
3043 | + <constraint firstAttribute="bottom" secondItem="TZr-sg-ajR" secondAttribute="bottom" constant="15" id="Tbn-9I-RfW"/> | ||
3044 | + <constraint firstItem="TZr-sg-ajR" firstAttribute="top" secondItem="wBk-nW-MGe" secondAttribute="bottom" constant="10" id="XVf-0t-f4F"/> | ||
3045 | + <constraint firstItem="gr4-DX-CHP" firstAttribute="top" secondItem="Phm-pC-5YX" secondAttribute="top" id="YCR-qt-l5M"/> | ||
3046 | + <constraint firstItem="17Q-Sz-hXW" firstAttribute="top" secondItem="Phm-pC-5YX" secondAttribute="top" id="d5D-qv-cWr"/> | ||
3047 | + <constraint firstAttribute="trailing" secondItem="TZr-sg-ajR" secondAttribute="trailing" constant="5" id="gvU-14-19F"/> | ||
3048 | + <constraint firstAttribute="bottom" secondItem="gr4-DX-CHP" secondAttribute="bottom" id="hQK-tJ-fFk"/> | ||
3049 | + <constraint firstItem="TZr-sg-ajR" firstAttribute="leading" secondItem="Phm-pC-5YX" secondAttribute="leading" constant="5" id="ipw-8U-QRb"/> | ||
3050 | + <constraint firstItem="wBk-nW-MGe" firstAttribute="leading" secondItem="Phm-pC-5YX" secondAttribute="leading" constant="10" id="oqN-X9-nyF"/> | ||
3051 | + <constraint firstItem="wLH-YV-5Bn" firstAttribute="centerX" secondItem="Phm-pC-5YX" secondAttribute="centerX" id="uKx-Cv-yyw"/> | ||
3052 | + </constraints> | ||
3053 | + </view> | ||
3054 | + </subviews> | ||
3055 | + <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/> | ||
3056 | + <constraints> | ||
3057 | + <constraint firstItem="Phm-pC-5YX" firstAttribute="leading" secondItem="Ago-Pf-BGo" secondAttribute="leading" id="JwY-GZ-VO1"/> | ||
3058 | + <constraint firstAttribute="trailing" secondItem="Phm-pC-5YX" secondAttribute="trailing" id="VXK-t8-Bxd"/> | ||
3059 | + <constraint firstItem="Phm-pC-5YX" firstAttribute="top" secondItem="Ago-Pf-BGo" secondAttribute="top" id="Van-Pw-anh"/> | ||
3060 | + <constraint firstAttribute="bottom" secondItem="Phm-pC-5YX" secondAttribute="bottom" id="zsu-SI-0mG"/> | ||
3061 | + </constraints> | ||
3062 | + </view> | ||
3063 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gZG-f4-H22"> | ||
3064 | + <rect key="frame" x="151.5" y="3" width="111" height="92"/> | ||
3065 | + <subviews> | ||
3066 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="qYJ-x0-9v3"> | ||
3067 | + <rect key="frame" x="39.5" y="15" width="32" height="32"/> | ||
3068 | + <constraints> | ||
3069 | + <constraint firstAttribute="height" constant="32" id="Eam-Dq-yk8"/> | ||
3070 | + <constraint firstAttribute="width" constant="32" id="T94-6W-v1V"/> | ||
3071 | + </constraints> | ||
3072 | + </imageView> | ||
3073 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="f0n-5v-nTc" userLabel="LineView2"> | ||
3074 | + <rect key="frame" x="10" y="52" width="91" height="1"/> | ||
3075 | + <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | ||
3076 | + <constraints> | ||
3077 | + <constraint firstAttribute="height" constant="1" id="2h1-Yb-N6x"/> | ||
3078 | + </constraints> | ||
3079 | + </view> | ||
3080 | + <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"> | ||
3081 | + <rect key="frame" x="5" y="63" width="101" height="14"/> | ||
3082 | + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | ||
3083 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3084 | + <nil key="highlightedColor"/> | ||
3085 | + </label> | ||
3086 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5lx-Id-hmz"> | ||
3087 | + <rect key="frame" x="93.5" y="0.0" width="17.5" height="18"/> | ||
3088 | + <subviews> | ||
3089 | + <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"> | ||
3090 | + <rect key="frame" x="5" y="2" width="7.5" height="14"/> | ||
3091 | + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | ||
3092 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3093 | + <nil key="highlightedColor"/> | ||
3094 | + </label> | ||
3095 | + </subviews> | ||
3096 | + <color key="backgroundColor" red="0.91764705879999997" green="0.74901960779999999" blue="0.40784313729999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3097 | + <constraints> | ||
3098 | + <constraint firstAttribute="bottom" secondItem="STg-je-8uL" secondAttribute="bottom" constant="2" id="JxA-aM-rOF"/> | ||
3099 | + <constraint firstAttribute="trailing" secondItem="STg-je-8uL" secondAttribute="trailing" constant="5" id="XVN-31-OOa"/> | ||
3100 | + <constraint firstItem="STg-je-8uL" firstAttribute="top" secondItem="5lx-Id-hmz" secondAttribute="top" constant="2" id="qYn-kD-0Lj"/> | ||
3101 | + <constraint firstItem="STg-je-8uL" firstAttribute="leading" secondItem="5lx-Id-hmz" secondAttribute="leading" constant="5" id="uLK-8E-dDm"/> | ||
3102 | + </constraints> | ||
3103 | + </view> | ||
3104 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="tCp-jb-GB2"> | ||
3105 | + <rect key="frame" x="0.0" y="0.0" width="111" height="92"/> | ||
3106 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3107 | + <state key="normal" title="Button"/> | ||
3108 | + <buttonConfiguration key="configuration" style="plain" title="Button"> | ||
3109 | + <color key="baseForegroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3110 | + </buttonConfiguration> | ||
3111 | + <connections> | ||
3112 | + <action selector="smActiveCouponsBannerButtonAction:" destination="pKQ-52-a1r" eventType="touchUpInside" id="oxq-ZW-yrI"/> | ||
3113 | + </connections> | ||
3114 | + </button> | ||
3115 | + </subviews> | ||
3116 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
3117 | + <constraints> | ||
3118 | + <constraint firstItem="fPZ-hU-LRI" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" constant="5" id="3th-pV-Lmq"/> | ||
3119 | + <constraint firstAttribute="trailing" secondItem="5lx-Id-hmz" secondAttribute="trailing" id="5kB-Wj-Toy"/> | ||
3120 | + <constraint firstItem="qYJ-x0-9v3" firstAttribute="top" secondItem="gZG-f4-H22" secondAttribute="top" constant="15" id="6PN-Q0-2UW"/> | ||
3121 | + <constraint firstAttribute="trailing" secondItem="fPZ-hU-LRI" secondAttribute="trailing" constant="5" id="7El-9N-9t9"/> | ||
3122 | + <constraint firstAttribute="bottom" secondItem="fPZ-hU-LRI" secondAttribute="bottom" constant="15" id="EJw-vG-05b"/> | ||
3123 | + <constraint firstItem="qYJ-x0-9v3" firstAttribute="centerX" secondItem="gZG-f4-H22" secondAttribute="centerX" id="Jdr-AC-RAJ"/> | ||
3124 | + <constraint firstAttribute="trailing" secondItem="f0n-5v-nTc" secondAttribute="trailing" constant="10" id="Kj3-G3-DN5"/> | ||
3125 | + <constraint firstItem="f0n-5v-nTc" firstAttribute="top" secondItem="qYJ-x0-9v3" secondAttribute="bottom" constant="5" id="RmD-s7-GV6"/> | ||
3126 | + <constraint firstItem="fPZ-hU-LRI" firstAttribute="top" secondItem="f0n-5v-nTc" secondAttribute="bottom" constant="10" id="bdI-FU-xcC"/> | ||
3127 | + <constraint firstAttribute="trailing" secondItem="tCp-jb-GB2" secondAttribute="trailing" id="cyp-dy-gFa"/> | ||
3128 | + <constraint firstAttribute="bottom" secondItem="tCp-jb-GB2" secondAttribute="bottom" id="dIG-Vj-ydn"/> | ||
3129 | + <constraint firstItem="tCp-jb-GB2" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" id="i5k-lw-w9H"/> | ||
3130 | + <constraint firstItem="tCp-jb-GB2" firstAttribute="top" secondItem="gZG-f4-H22" secondAttribute="top" id="jt8-5F-ovL"/> | ||
3131 | + <constraint firstItem="5lx-Id-hmz" firstAttribute="top" secondItem="gZG-f4-H22" secondAttribute="top" id="lOv-Bg-suO"/> | ||
3132 | + <constraint firstItem="f0n-5v-nTc" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="leading" constant="10" id="wkQ-g1-h06"/> | ||
3133 | + </constraints> | ||
3134 | + </view> | ||
3135 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hW7-Fh-jaW"> | ||
3136 | + <rect key="frame" x="282.5" y="3" width="111.5" height="92"/> | ||
3137 | + <subviews> | ||
3138 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="JSL-ST-Uzv"> | ||
3139 | + <rect key="frame" x="40" y="15" width="32" height="32"/> | ||
3140 | + <constraints> | ||
3141 | + <constraint firstAttribute="width" constant="32" id="hUR-TJ-yVm"/> | ||
3142 | + <constraint firstAttribute="height" constant="32" id="ll3-xS-hwd"/> | ||
3143 | + </constraints> | ||
3144 | + </imageView> | ||
3145 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="90x-B7-1Hx" userLabel="LineView3"> | ||
3146 | + <rect key="frame" x="10" y="52" width="91.5" height="1"/> | ||
3147 | + <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | ||
3148 | + <constraints> | ||
3149 | + <constraint firstAttribute="height" constant="1" id="ojI-ru-A13"/> | ||
3150 | + </constraints> | ||
3151 | + </view> | ||
3152 | + <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"> | ||
3153 | + <rect key="frame" x="5" y="63" width="101.5" height="14"/> | ||
3154 | + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | ||
3155 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3156 | + <nil key="highlightedColor"/> | ||
3157 | + </label> | ||
3158 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="7NF-kv-XJp"> | ||
3159 | + <rect key="frame" x="94" y="0.0" width="17.5" height="18"/> | ||
3160 | + <subviews> | ||
3161 | + <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"> | ||
3162 | + <rect key="frame" x="5" y="2" width="7.5" height="14"/> | ||
3163 | + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="11"/> | ||
3164 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3165 | + <nil key="highlightedColor"/> | ||
3166 | + </label> | ||
3167 | + </subviews> | ||
3168 | + <color key="backgroundColor" red="0.91764705879999997" green="0.74901960779999999" blue="0.40784313729999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3169 | + <constraints> | ||
3170 | + <constraint firstAttribute="bottom" secondItem="BAt-M4-nMT" secondAttribute="bottom" constant="2" id="CgZ-tr-v0N"/> | ||
3171 | + <constraint firstAttribute="trailing" secondItem="BAt-M4-nMT" secondAttribute="trailing" constant="5" id="Kyy-3E-eEl"/> | ||
3172 | + <constraint firstItem="BAt-M4-nMT" firstAttribute="top" secondItem="7NF-kv-XJp" secondAttribute="top" constant="2" id="TRP-cU-AN1"/> | ||
3173 | + <constraint firstItem="BAt-M4-nMT" firstAttribute="leading" secondItem="7NF-kv-XJp" secondAttribute="leading" constant="5" id="dRz-8k-CBo"/> | ||
3174 | + </constraints> | ||
3175 | + </view> | ||
3176 | + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CeN-GT-tVP"> | ||
3177 | + <rect key="frame" x="0.0" y="0.0" width="111.5" height="92"/> | ||
3178 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3179 | + <state key="normal" title="Button"/> | ||
3180 | + <buttonConfiguration key="configuration" style="plain" title="Button"> | ||
3181 | + <color key="baseForegroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3182 | + </buttonConfiguration> | ||
3183 | + <connections> | ||
3184 | + <action selector="gfyActiveCouponsBannerButtonAction:" destination="pKQ-52-a1r" eventType="touchUpInside" id="gLP-Y7-k1C"/> | ||
3185 | + </connections> | ||
3186 | + </button> | ||
3187 | + </subviews> | ||
3188 | + <color key="backgroundColor" systemColor="systemBackgroundColor"/> | ||
3189 | + <constraints> | ||
3190 | + <constraint firstItem="JSL-ST-Uzv" firstAttribute="centerX" secondItem="hW7-Fh-jaW" secondAttribute="centerX" id="5LP-wN-xKV"/> | ||
3191 | + <constraint firstAttribute="trailing" secondItem="CeN-GT-tVP" secondAttribute="trailing" id="5hb-Gb-poo"/> | ||
3192 | + <constraint firstAttribute="trailing" secondItem="90x-B7-1Hx" secondAttribute="trailing" constant="10" id="ASs-h9-UYu"/> | ||
3193 | + <constraint firstItem="7NF-kv-XJp" firstAttribute="top" secondItem="hW7-Fh-jaW" secondAttribute="top" id="Jbk-gA-Bfe"/> | ||
3194 | + <constraint firstItem="QVo-4f-20j" firstAttribute="top" secondItem="90x-B7-1Hx" secondAttribute="bottom" constant="10" id="LNL-lg-2sk"/> | ||
3195 | + <constraint firstAttribute="bottom" secondItem="CeN-GT-tVP" secondAttribute="bottom" id="T3c-Oj-xTp"/> | ||
3196 | + <constraint firstItem="CeN-GT-tVP" firstAttribute="top" secondItem="hW7-Fh-jaW" secondAttribute="top" id="Z4Y-ho-cdF"/> | ||
3197 | + <constraint firstAttribute="trailing" secondItem="QVo-4f-20j" secondAttribute="trailing" constant="5" id="a3q-31-UPg"/> | ||
3198 | + <constraint firstItem="JSL-ST-Uzv" firstAttribute="top" secondItem="hW7-Fh-jaW" secondAttribute="top" constant="15" id="bpL-rY-6eE"/> | ||
3199 | + <constraint firstItem="90x-B7-1Hx" firstAttribute="leading" secondItem="hW7-Fh-jaW" secondAttribute="leading" constant="10" id="cId-ia-S0t"/> | ||
3200 | + <constraint firstItem="CeN-GT-tVP" firstAttribute="leading" secondItem="hW7-Fh-jaW" secondAttribute="leading" id="dCU-BX-82g"/> | ||
3201 | + <constraint firstItem="QVo-4f-20j" firstAttribute="leading" secondItem="hW7-Fh-jaW" secondAttribute="leading" constant="5" id="gMT-nD-PO3"/> | ||
3202 | + <constraint firstAttribute="bottom" secondItem="QVo-4f-20j" secondAttribute="bottom" constant="15" id="hp7-py-2WF"/> | ||
3203 | + <constraint firstItem="90x-B7-1Hx" firstAttribute="top" secondItem="JSL-ST-Uzv" secondAttribute="bottom" constant="5" id="vK3-8n-P3a"/> | ||
3204 | + <constraint firstAttribute="trailing" secondItem="7NF-kv-XJp" secondAttribute="trailing" id="y56-Z8-k1R"/> | ||
3205 | + </constraints> | ||
3206 | + </view> | ||
3207 | + </subviews> | ||
3208 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3209 | + <constraints> | ||
3210 | + <constraint firstAttribute="bottom" secondItem="gZG-f4-H22" secondAttribute="bottom" constant="3" id="AhC-oY-oF3"/> | ||
3211 | + <constraint firstAttribute="trailing" secondItem="hW7-Fh-jaW" secondAttribute="trailing" constant="20" id="E3i-Y4-mVj"/> | ||
3212 | + <constraint firstItem="gZG-f4-H22" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="KPV-Rj-PJv"/> | ||
3213 | + <constraint firstAttribute="bottom" secondItem="Ago-Pf-BGo" secondAttribute="bottom" constant="3" id="KhN-mk-jlA"/> | ||
3214 | + <constraint firstItem="gZG-f4-H22" firstAttribute="width" secondItem="Ago-Pf-BGo" secondAttribute="width" id="PUN-Vu-fVw"/> | ||
3215 | + <constraint firstItem="Ago-Pf-BGo" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="UAL-d1-YPB"/> | ||
3216 | + <constraint firstItem="hW7-Fh-jaW" firstAttribute="width" secondItem="Ago-Pf-BGo" secondAttribute="width" id="Yfd-mp-doF"/> | ||
3217 | + <constraint firstItem="gZG-f4-H22" firstAttribute="leading" secondItem="Ago-Pf-BGo" secondAttribute="trailing" constant="20" id="cri-7i-oKr"/> | ||
3218 | + <constraint firstItem="hW7-Fh-jaW" firstAttribute="leading" secondItem="gZG-f4-H22" secondAttribute="trailing" constant="20" id="mPD-Yj-gS9"/> | ||
3219 | + <constraint firstItem="Ago-Pf-BGo" firstAttribute="leading" secondItem="t2C-9l-nWs" secondAttribute="leading" constant="20" id="nWu-UL-F5g"/> | ||
3220 | + <constraint firstItem="hW7-Fh-jaW" firstAttribute="top" secondItem="t2C-9l-nWs" secondAttribute="top" constant="3" id="nlA-fB-mNW"/> | ||
3221 | + <constraint firstAttribute="bottom" secondItem="hW7-Fh-jaW" secondAttribute="bottom" constant="3" id="tip-cx-cM6"/> | ||
3222 | + </constraints> | ||
3223 | + </view> | ||
3224 | + </subviews> | ||
3225 | + <constraints> | ||
3226 | + <constraint firstAttribute="bottom" secondItem="t2C-9l-nWs" secondAttribute="bottom" id="Ehz-wQ-hnj"/> | ||
3227 | + <constraint firstAttribute="trailing" secondItem="t2C-9l-nWs" secondAttribute="trailing" id="EsG-YR-VjY"/> | ||
3228 | + <constraint firstItem="t2C-9l-nWs" firstAttribute="top" secondItem="MoF-lG-k6u" secondAttribute="top" id="i1Z-4o-fIJ"/> | ||
3229 | + <constraint firstItem="t2C-9l-nWs" firstAttribute="leading" secondItem="MoF-lG-k6u" secondAttribute="leading" id="kwW-Ys-3do"/> | ||
3230 | + </constraints> | ||
3231 | + </tableViewCellContentView> | ||
3232 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3233 | + <connections> | ||
3234 | + <outlet property="dfyCountLabel" destination="vgz-Be-lSQ" id="bpU-7J-0WZ"/> | ||
3235 | + <outlet property="dfyCountView" destination="17Q-Sz-hXW" id="Z8k-wE-Mak"/> | ||
3236 | + <outlet property="dfyImage" destination="wLH-YV-5Bn" id="acP-30-hSz"/> | ||
3237 | + <outlet property="dfyLabel" destination="TZr-sg-ajR" id="jBE-oA-3ZS"/> | ||
3238 | + <outlet property="dfyView" destination="Phm-pC-5YX" id="UMx-2J-hXj"/> | ||
3239 | + <outlet property="dfyViewParent" destination="Ago-Pf-BGo" id="kmO-J0-j2T"/> | ||
3240 | + <outlet property="gfyCountLabel" destination="BAt-M4-nMT" id="sAA-Ww-Nnt"/> | ||
3241 | + <outlet property="gfyCountView" destination="7NF-kv-XJp" id="9Vj-cb-NnS"/> | ||
3242 | + <outlet property="gfyImage" destination="JSL-ST-Uzv" id="i2n-1U-2Sp"/> | ||
3243 | + <outlet property="gfyLabel" destination="QVo-4f-20j" id="0yc-bx-aFb"/> | ||
3244 | + <outlet property="gfyView" destination="hW7-Fh-jaW" id="APi-eV-QZx"/> | ||
3245 | + <outlet property="smCountLabel" destination="STg-je-8uL" id="KVj-g4-r9B"/> | ||
3246 | + <outlet property="smCountView" destination="5lx-Id-hmz" id="6eQ-pm-3Kl"/> | ||
3247 | + <outlet property="smImage" destination="qYJ-x0-9v3" id="Vhd-QA-uss"/> | ||
3248 | + <outlet property="smLabel" destination="fPZ-hU-LRI" id="UJm-ZM-jMB"/> | ||
3249 | + <outlet property="smView" destination="gZG-f4-H22" id="xt5-bq-Qav"/> | ||
3250 | + </connections> | ||
3251 | + </tableViewCell> | ||
3252 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="WalletVouchersBannerTableViewCellId" id="F1i-u5-1v2" customClass="WalletVouchersBannerTableViewCell" customModule="SwiftWarplyFramework"> | ||
3253 | + <rect key="frame" x="0.0" y="1709.5" width="414" height="181"/> | ||
3254 | + <autoresizingMask key="autoresizingMask"/> | ||
3255 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="F1i-u5-1v2" id="q9T-Eg-Gxw"> | ||
3256 | + <rect key="frame" x="0.0" y="0.0" width="414" height="181"/> | ||
3257 | + <autoresizingMask key="autoresizingMask"/> | ||
3258 | + <subviews> | ||
3259 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FVK-Ht-BOg" userLabel="ParentView"> | ||
3260 | + <rect key="frame" x="0.0" y="0.0" width="414" height="181"/> | ||
3261 | + <subviews> | ||
3262 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zKi-zm-jUP"> | ||
3263 | + <rect key="frame" x="20" y="25" width="374" height="1"/> | ||
3264 | + <color key="backgroundColor" red="0.61568627450980395" green="0.61568627450980395" blue="0.61176470588235299" alpha="1" colorSpace="calibratedRGB"/> | ||
3265 | + <constraints> | ||
3266 | + <constraint firstAttribute="height" constant="1" id="8x8-wp-l0V"/> | ||
3267 | + </constraints> | ||
3268 | + </view> | ||
3269 | + <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"> | ||
3270 | + <rect key="frame" x="20" y="51" width="374" height="26"/> | ||
3271 | + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="21"/> | ||
3272 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3273 | + <nil key="highlightedColor"/> | ||
3274 | + </label> | ||
3275 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eBr-vb-7oH"> | ||
3276 | + <rect key="frame" x="20" y="102" width="374" height="76"/> | ||
3277 | + <subviews> | ||
3278 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="U9f-Ar-TCE"> | ||
3279 | + <rect key="frame" x="20" y="20" width="36" height="36"/> | ||
3280 | + <constraints> | ||
3281 | + <constraint firstAttribute="width" constant="36" id="06g-Cm-Q4z"/> | ||
3282 | + <constraint firstAttribute="height" constant="36" id="GoZ-qT-Whp"/> | ||
3283 | + </constraints> | ||
3284 | + </imageView> | ||
3285 | + <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"> | ||
3286 | + <rect key="frame" x="66" y="28" width="263" height="20"/> | ||
3287 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/> | ||
3288 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
3289 | + <nil key="highlightedColor"/> | ||
3290 | + </label> | ||
3291 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="cSu-mM-1Ep"> | ||
3292 | + <rect key="frame" x="334" y="28" width="20" height="20"/> | ||
3293 | + <constraints> | ||
3294 | + <constraint firstAttribute="height" constant="20" id="ATK-3R-8Yb"/> | ||
3295 | + <constraint firstAttribute="width" constant="20" id="b27-KV-iS5"/> | ||
3296 | + </constraints> | ||
3297 | + </imageView> | ||
3298 | + </subviews> | ||
3299 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3300 | + <constraints> | ||
3301 | + <constraint firstItem="cSu-mM-1Ep" firstAttribute="leading" secondItem="2p1-v2-lAL" secondAttribute="trailing" constant="5" id="0RF-Lr-hdi"/> | ||
3302 | + <constraint firstItem="U9f-Ar-TCE" firstAttribute="top" secondItem="eBr-vb-7oH" secondAttribute="top" constant="20" id="Gnc-a7-lVn"/> | ||
3303 | + <constraint firstItem="U9f-Ar-TCE" firstAttribute="leading" secondItem="eBr-vb-7oH" secondAttribute="leading" constant="20" id="O3t-rA-Xoi"/> | ||
3304 | + <constraint firstItem="2p1-v2-lAL" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bWi-vx-lud"/> | ||
3305 | + <constraint firstItem="cSu-mM-1Ep" firstAttribute="centerY" secondItem="U9f-Ar-TCE" secondAttribute="centerY" id="bwI-YH-DDm"/> | ||
3306 | + <constraint firstAttribute="trailing" secondItem="cSu-mM-1Ep" secondAttribute="trailing" constant="20" id="fLn-8r-nUC"/> | ||
3307 | + <constraint firstAttribute="bottom" secondItem="U9f-Ar-TCE" secondAttribute="bottom" constant="20" id="jCC-NV-1nD"/> | ||
3308 | + <constraint firstItem="2p1-v2-lAL" firstAttribute="leading" secondItem="U9f-Ar-TCE" secondAttribute="trailing" constant="10" id="kv2-9q-gc9"/> | ||
3309 | + </constraints> | ||
3310 | + </view> | ||
3311 | + </subviews> | ||
3312 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3313 | + <constraints> | ||
3314 | + <constraint firstItem="eBr-vb-7oH" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="2MW-60-EMV"/> | ||
3315 | + <constraint firstAttribute="trailing" secondItem="eBr-vb-7oH" secondAttribute="trailing" constant="20" id="6TM-9q-HYX"/> | ||
3316 | + <constraint firstItem="0yZ-ge-5qY" firstAttribute="top" secondItem="zKi-zm-jUP" secondAttribute="bottom" constant="25" id="8jo-Kb-xyG"/> | ||
3317 | + <constraint firstItem="zKi-zm-jUP" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="Lm7-Va-CvO"/> | ||
3318 | + <constraint firstItem="0yZ-ge-5qY" firstAttribute="leading" secondItem="FVK-Ht-BOg" secondAttribute="leading" constant="20" id="MO1-TU-QKR"/> | ||
3319 | + <constraint firstItem="eBr-vb-7oH" firstAttribute="top" secondItem="0yZ-ge-5qY" secondAttribute="bottom" constant="25" id="Ozb-9V-wuG"/> | ||
3320 | + <constraint firstAttribute="trailing" secondItem="0yZ-ge-5qY" secondAttribute="trailing" constant="20" id="g8S-qH-kJB"/> | ||
3321 | + <constraint firstItem="zKi-zm-jUP" firstAttribute="top" secondItem="FVK-Ht-BOg" secondAttribute="top" constant="25" id="iGG-ot-2k8"/> | ||
3322 | + <constraint firstAttribute="trailing" secondItem="zKi-zm-jUP" secondAttribute="trailing" constant="20" id="m4F-J1-tax"/> | ||
3323 | + <constraint firstAttribute="bottom" secondItem="eBr-vb-7oH" secondAttribute="bottom" constant="3" id="shf-f6-v9j"/> | ||
3324 | + </constraints> | ||
3325 | + </view> | ||
3326 | + </subviews> | ||
3327 | + <constraints> | ||
3328 | + <constraint firstItem="FVK-Ht-BOg" firstAttribute="leading" secondItem="q9T-Eg-Gxw" secondAttribute="leading" id="3UQ-am-0Kb"/> | ||
3329 | + <constraint firstItem="FVK-Ht-BOg" firstAttribute="top" secondItem="q9T-Eg-Gxw" secondAttribute="top" id="Jri-r0-TjD"/> | ||
3330 | + <constraint firstAttribute="bottom" secondItem="FVK-Ht-BOg" secondAttribute="bottom" id="Wrf-CM-jlm"/> | ||
3331 | + <constraint firstAttribute="trailing" secondItem="FVK-Ht-BOg" secondAttribute="trailing" id="jM0-Xj-enK"/> | ||
3332 | + </constraints> | ||
3333 | + </tableViewCellContentView> | ||
3334 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
3335 | + <connections> | ||
3336 | + <outlet property="sectionTitleLabel" destination="0yZ-ge-5qY" id="zsT-WW-anR"/> | ||
3337 | + <outlet property="voucherBannerArrowImage" destination="cSu-mM-1Ep" id="hDY-vI-sfK"/> | ||
3338 | + <outlet property="voucherBannerIconImage" destination="U9f-Ar-TCE" id="cy8-jG-sg7"/> | ||
3339 | + <outlet property="voucherBannerLabel" destination="2p1-v2-lAL" id="Wlm-z2-nrW"/> | ||
3340 | + <outlet property="voucherBannerView" destination="eBr-vb-7oH" id="RU1-Lx-048"/> | ||
3341 | + </connections> | ||
3342 | + </tableViewCell> | ||
2969 | </prototypes> | 3343 | </prototypes> |
2970 | <connections> | 3344 | <connections> |
2971 | <outlet property="dataSource" destination="pKQ-52-a1r" id="AvY-tV-KMr"/> | 3345 | <outlet property="dataSource" destination="pKQ-52-a1r" id="AvY-tV-KMr"/> | ... | ... |
... | @@ -8,10 +8,77 @@ | ... | @@ -8,10 +8,77 @@ |
8 | import UIKit | 8 | import UIKit |
9 | 9 | ||
10 | @objc public class WalletActiveCouponsTableViewCell: UITableViewCell { | 10 | @objc public class WalletActiveCouponsTableViewCell: UITableViewCell { |
11 | - | 11 | + @IBOutlet weak var dfyViewParent: UIView! |
12 | + @IBOutlet weak var dfyView: UIView! | ||
13 | + @IBOutlet weak var dfyImage: UIImageView! | ||
14 | + @IBOutlet weak var dfyLabel: UILabel! | ||
15 | + @IBOutlet weak var dfyCountView: UIView! | ||
16 | + @IBOutlet weak var dfyCountLabel: UILabel! | ||
17 | + | ||
18 | + @IBOutlet weak var smView: UIView! | ||
19 | + @IBOutlet weak var smImage: UIImageView! | ||
20 | + @IBOutlet weak var smLabel: UILabel! | ||
21 | + @IBOutlet weak var smCountView: UIView! | ||
22 | + @IBOutlet weak var smCountLabel: UILabel! | ||
23 | + | ||
24 | + @IBOutlet weak var gfyView: UIView! | ||
25 | + @IBOutlet weak var gfyImage: UIImageView! | ||
26 | + @IBOutlet weak var gfyLabel: UILabel! | ||
27 | + @IBOutlet weak var gfyCountView: UIView! | ||
28 | + @IBOutlet weak var gfyCountLabel: UILabel! | ||
29 | + | ||
30 | + | ||
12 | public override func awakeFromNib() { | 31 | public override func awakeFromNib() { |
13 | super.awakeFromNib() | 32 | super.awakeFromNib() |
14 | // Initialization code | 33 | // Initialization code |
34 | + | ||
35 | + // DFY Banner | ||
36 | + dfyViewParent.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.00) | ||
37 | + dfyViewParent.layer.cornerRadius = 16.0 | ||
38 | + dfyViewParent.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | ||
39 | + dfyViewParent.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | ||
40 | + dfyViewParent.layer.shadowOpacity = 1.0 | ||
41 | + dfyViewParent.layer.shadowRadius = 1.0 | ||
42 | + | ||
43 | + dfyView.backgroundColor = UIColor(red: 0.46, green: 0.75, blue: 0.45, alpha: 0.05) | ||
44 | + dfyView.layer.cornerRadius = 16.0 | ||
45 | + | ||
46 | + dfyImage.image = UIImage(named: "wallet_banner_dfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
47 | + | ||
48 | + dfyLabel.text = "DEALS FOR YOU" | ||
49 | + | ||
50 | + dfyCountView.layer.cornerRadius = 4.0 | ||
51 | + dfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | ||
52 | + | ||
53 | + // SM Banner | ||
54 | + smView.backgroundColor = UIColor(red: 1.00, green: 0.99, blue: 0.97, alpha: 1.00) | ||
55 | + smView.layer.cornerRadius = 16.0 | ||
56 | + smView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | ||
57 | + smView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | ||
58 | + smView.layer.shadowOpacity = 1.0 | ||
59 | + smView.layer.shadowRadius = 1.0 | ||
60 | + | ||
61 | + smImage.image = UIImage(named: "wallet_banner_sm", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
62 | + | ||
63 | + smLabel.text = "SUPERMARKET DEALS" | ||
64 | + | ||
65 | + smCountView.layer.cornerRadius = 4.0 | ||
66 | + smCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | ||
67 | + | ||
68 | + // GFY Banner | ||
69 | + gfyView.backgroundColor = UIColor(red: 0.96, green: 0.97, blue: 0.98, alpha: 1.00) | ||
70 | + gfyView.layer.cornerRadius = 16.0 | ||
71 | + gfyView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | ||
72 | + gfyView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | ||
73 | + gfyView.layer.shadowOpacity = 1.0 | ||
74 | + gfyView.layer.shadowRadius = 1.0 | ||
75 | + | ||
76 | + gfyImage.image = UIImage(named: "wallet_banner_gfy", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
77 | + | ||
78 | + gfyLabel.text = "GIFTS FOR YOU" | ||
79 | + | ||
80 | + gfyCountView.layer.cornerRadius = 4.0 | ||
81 | + gfyCountView.backgroundColor = UIColor(red: 0.92, green: 0.75, blue: 0.41, alpha: 1.00) | ||
15 | } | 82 | } |
16 | 83 | ||
17 | public override func setSelected(_ selected: Bool, animated: Bool) { | 84 | public override func setSelected(_ selected: Bool, animated: Bool) { |
... | @@ -19,5 +86,11 @@ import UIKit | ... | @@ -19,5 +86,11 @@ import UIKit |
19 | 86 | ||
20 | // Configure the view for the selected state | 87 | // Configure the view for the selected state |
21 | } | 88 | } |
89 | + | ||
90 | + func configureCell(dfyCount: Int, smCount: Int, gfyCount: Int) { | ||
91 | + dfyCountLabel.text = String(dfyCount) | ||
92 | + smCountLabel.text = String(smCount) | ||
93 | + gfyCountLabel.text = String(gfyCount) | ||
94 | + } | ||
22 | 95 | ||
23 | } | 96 | } | ... | ... |
... | @@ -79,9 +79,6 @@ import SwiftEventBus | ... | @@ -79,9 +79,6 @@ import SwiftEventBus |
79 | 79 | ||
80 | var forYouExpanded: Bool = false; | 80 | var forYouExpanded: Bool = false; |
81 | 81 | ||
82 | - | ||
83 | - // TODO: Add SwiftEventBus.post("vouchers_banner_pressed") on Voucher Banner press | ||
84 | - | ||
85 | 82 | ||
86 | public override func viewDidLoad() { | 83 | public override func viewDidLoad() { |
87 | super.viewDidLoad() | 84 | super.viewDidLoad() |
... | @@ -166,7 +163,7 @@ import SwiftEventBus | ... | @@ -166,7 +163,7 @@ import SwiftEventBus |
166 | } | 163 | } |
167 | 164 | ||
168 | headerImage.image = UIImage(named: "ic_background_straight", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 165 | headerImage.image = UIImage(named: "ic_background_straight", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
169 | - historyButtonImage.image = UIImage(named: "ic_time_forward_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 166 | + historyButtonImage.image = UIImage(named: "wallet_history", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
170 | dfyEarnImage.image = UIImage(named: "wallet_dfy_3", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 167 | dfyEarnImage.image = UIImage(named: "wallet_dfy_3", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
171 | couponEarnImage.image = UIImage(named: "wallet_coupons_4", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 168 | couponEarnImage.image = UIImage(named: "wallet_coupons_4", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
172 | dfyLogoImage.image = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 169 | dfyLogoImage.image = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
... | @@ -752,8 +749,15 @@ import SwiftEventBus | ... | @@ -752,8 +749,15 @@ import SwiftEventBus |
752 | } | 749 | } |
753 | 750 | ||
754 | @IBAction func historyButtonAction(_ sender: Any) { | 751 | @IBAction func historyButtonAction(_ sender: Any) { |
752 | + let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
753 | + firebaseEvent._eventName = "did_tap_history_badge" | ||
754 | + firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | ||
755 | + SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
756 | + | ||
757 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "LoyaltyHistoryBadge")) | ||
758 | + | ||
755 | // TODO: Open new HistoryVC | 759 | // TODO: Open new HistoryVC |
756 | - print("=== historyButton Pressed ===") | 760 | + |
757 | } | 761 | } |
758 | 762 | ||
759 | @IBAction func dfyEarnButtonAction(_ sender: Any) { | 763 | @IBAction func dfyEarnButtonAction(_ sender: Any) { |
... | @@ -860,8 +864,13 @@ import SwiftEventBus | ... | @@ -860,8 +864,13 @@ import SwiftEventBus |
860 | dealsAnalysis._isPressed = true | 864 | dealsAnalysis._isPressed = true |
861 | SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis) | 865 | SwiftEventBus.post("analysis_pressed", sender: dealsAnalysis) |
862 | 866 | ||
867 | +// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
868 | +// firebaseEvent._eventName = "did_tap_gifts_for_you_badge" | ||
869 | +// firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | ||
870 | +// SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
871 | + | ||
863 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | 872 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() |
864 | - firebaseEvent._eventName = "did_tap_gifts_for_you_badge" | 873 | + firebaseEvent._eventName = "did_tap_deals_for_you_badge" |
865 | firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | 874 | firebaseEvent.setParameter = ("screen", "Loyalty Wallet") |
866 | SwiftEventBus.post("firebase", sender: firebaseEvent) | 875 | SwiftEventBus.post("firebase", sender: firebaseEvent) |
867 | 876 | ||
... | @@ -871,8 +880,13 @@ import SwiftEventBus | ... | @@ -871,8 +880,13 @@ import SwiftEventBus |
871 | 880 | ||
872 | @IBAction func gfyBannerButtonAction(_ sender: Any) { | 881 | @IBAction func gfyBannerButtonAction(_ sender: Any) { |
873 | if (loyaltyBadge._couponCount > 0) { | 882 | if (loyaltyBadge._couponCount > 0) { |
883 | +// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
884 | +// firebaseEvent._eventName = "did_tap_deals_for_you_badge" | ||
885 | +// firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | ||
886 | +// SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
887 | + | ||
874 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | 888 | let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() |
875 | - firebaseEvent._eventName = "did_tap_deals_for_you_badge" | 889 | + firebaseEvent._eventName = "did_tap_gifts_for_you_badge" |
876 | firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | 890 | firebaseEvent.setParameter = ("screen", "Loyalty Wallet") |
877 | SwiftEventBus.post("firebase", sender: firebaseEvent) | 891 | SwiftEventBus.post("firebase", sender: firebaseEvent) |
878 | 892 | ||
... | @@ -885,77 +899,146 @@ import SwiftEventBus | ... | @@ -885,77 +899,146 @@ import SwiftEventBus |
885 | } | 899 | } |
886 | 900 | ||
887 | @IBAction func marketBannerButtonAction(_ sender: Any) { | 901 | @IBAction func marketBannerButtonAction(_ sender: Any) { |
888 | - // TODO: add action - open marketHistory after check | ||
889 | if (self.unifiedCouponsDiscount > 0.0) { | 902 | if (self.unifiedCouponsDiscount > 0.0) { |
890 | -// let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | 903 | + let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() |
891 | -// firebaseEvent._eventName = "did_tap_deals_for_you_badge" | 904 | + firebaseEvent._eventName = "did_tap_market_badge" |
892 | -// firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | 905 | + firebaseEvent.setParameter = ("screen", "Loyalty Wallet") |
893 | -// SwiftEventBus.post("firebase", sender: firebaseEvent) | 906 | + SwiftEventBus.post("firebase", sender: firebaseEvent) |
894 | 907 | ||
895 | -// swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "LoyaltyBanner")) | 908 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "MarketBanner")) |
896 | 909 | ||
897 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 910 | let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) |
898 | let vc = storyboard.instantiateViewController(withIdentifier: "MarketLoyaltyAnalysisViewController") as! SwiftWarplyFramework.MarketLoyaltyAnalysisViewController | 911 | let vc = storyboard.instantiateViewController(withIdentifier: "MarketLoyaltyAnalysisViewController") as! SwiftWarplyFramework.MarketLoyaltyAnalysisViewController |
899 | self.navigationController?.pushViewController(vc, animated: true) | 912 | self.navigationController?.pushViewController(vc, animated: true) |
900 | } | 913 | } |
901 | } | 914 | } |
902 | - | 915 | + |
916 | + @IBAction func dfyActiveCouponsBannerButtonAction(_ sender: Any) { | ||
917 | + print("Active DFY coupon banner Tapped!") | ||
918 | + | ||
919 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveDealsBanner")) | ||
920 | + | ||
921 | + let couponDetails = swiftApi.ActiveDFYCouponEventModel() | ||
922 | + couponDetails._isPressed = true | ||
923 | + SwiftEventBus.post("dfy_coupon_details", sender: couponDetails) | ||
924 | + } | ||
925 | + | ||
926 | + @IBAction func smActiveCouponsBannerButtonAction(_ sender: Any) { | ||
927 | + let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
928 | + firebaseEvent._eventName = "did_tap_market_active_badge" | ||
929 | + firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | ||
930 | + SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
931 | + | ||
932 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveMarketBanner")) | ||
933 | + | ||
934 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | ||
935 | + let vc = storyboard.instantiateViewController(withIdentifier: "UnifiedCouponsViewController") as! SwiftWarplyFramework.UnifiedCouponsViewController | ||
936 | + self.navigationController?.pushViewController(vc, animated: true) | ||
937 | + } | ||
938 | + | ||
939 | + @IBAction func gfyActiveCouponsBannerButtonAction(_ sender: Any) { | ||
940 | + let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
941 | + firebaseEvent._eventName = "did_tap_gifts_for_you_active_badge" | ||
942 | + firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | ||
943 | + SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
944 | + | ||
945 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveLoyaltyBanner")) | ||
946 | + | ||
947 | + let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: SwiftWarplyFramework.CouponsViewController.self)) | ||
948 | + if let vc = storyboard.instantiateViewController(withIdentifier: "CouponsViewController") as? SwiftWarplyFramework.CouponsViewController{ | ||
949 | + self.navigationController?.pushViewController(vc,animated: true) | ||
950 | + } | ||
951 | + } | ||
952 | + | ||
903 | } | 953 | } |
904 | 954 | ||
905 | // MARK: - TableView | 955 | // MARK: - TableView |
906 | extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | 956 | extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
907 | 957 | ||
908 | public func numberOfSections(in tableView: UITableView) -> Int { | 958 | public func numberOfSections(in tableView: UITableView) -> Int { |
909 | - return 4 | 959 | +// return 4 |
960 | + return 2 | ||
910 | } | 961 | } |
911 | 962 | ||
912 | public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { | 963 | public func tableView(_ tableView: UITableView, numberOfRowsInSection section: Int) -> Int { |
913 | - if (section == 0) { | 964 | +// if (section == 0) { |
914 | - // TODO: Uncomment when UnifiedCoupons will be shown again | 965 | +// // TODO: Uncomment when UnifiedCoupons will be shown again |
915 | -// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) { | 966 | +//// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) { |
916 | -// return 0 | 967 | +//// return 0 |
968 | +//// } else { | ||
969 | +// return 1 | ||
970 | +//// } | ||
971 | +// } else if (section == 1) { | ||
972 | +// return self.unifiedCoupons.count | ||
973 | +// } else if (section == 2) { | ||
974 | +// if (self.dfyCoupons.count > 0) { | ||
975 | +// return 1 | ||
917 | // } else { | 976 | // } else { |
918 | - return 1 | 977 | +// return 0 |
919 | // } | 978 | // } |
979 | +// } else if (section == 3) { | ||
980 | +// return self.coupons.count | ||
981 | +// } else { | ||
982 | +// return 0 | ||
983 | +// } | ||
984 | + | ||
985 | + if (section == 0) { | ||
986 | + if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) { | ||
987 | + return 1 | ||
988 | + } else { | ||
989 | + return 0 | ||
990 | + } | ||
920 | } else if (section == 1) { | 991 | } else if (section == 1) { |
921 | - return self.unifiedCoupons.count | 992 | + if (swiftApi().getShowVouchersBanner() == "true") { |
922 | - } else if (section == 2) { | ||
923 | - if (self.dfyCoupons.count > 0) { | ||
924 | return 1 | 993 | return 1 |
925 | } else { | 994 | } else { |
926 | return 0 | 995 | return 0 |
927 | } | 996 | } |
928 | - } else if (section == 3) { | ||
929 | - return self.coupons.count | ||
930 | } else { | 997 | } else { |
931 | return 0 | 998 | return 0 |
932 | } | 999 | } |
933 | } | 1000 | } |
934 | 1001 | ||
935 | public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | 1002 | public func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { |
936 | - if (indexPath.section == 0) { | 1003 | +// if (indexPath.section == 0) { |
937 | - // TODO: Uncomment when UnifiedCoupons will be shown again | 1004 | +// // TODO: Uncomment when UnifiedCoupons will be shown again |
938 | -// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) { | 1005 | +//// if (self.totalCouponValue == 0.0 && self.loyaltyBadge._couponCount == 0 && self.unifiedCouponsDiscount == 0.0) { |
1006 | +//// return 0.0 | ||
1007 | +//// } else { | ||
1008 | +// return UITableView.automaticDimension | ||
1009 | +//// } | ||
1010 | +// } else if (indexPath.section == 1) { | ||
1011 | +// if (self.unifiedCoupons.count > 0) { | ||
1012 | +// return 130.0 + 8.0 | ||
1013 | +// } else { | ||
939 | // return 0.0 | 1014 | // return 0.0 |
1015 | +// } | ||
1016 | +// } else if (indexPath.section == 2) { | ||
1017 | +// if (self.dfyCoupons.count > 0) { | ||
1018 | +// return UITableView.automaticDimension | ||
940 | // } else { | 1019 | // } else { |
941 | - return UITableView.automaticDimension | 1020 | +// return 0.0 |
942 | // } | 1021 | // } |
943 | - } else if (indexPath.section == 1) { | 1022 | +// |
944 | - if (self.unifiedCoupons.count > 0) { | 1023 | +// } else if (indexPath.section == 3) { |
945 | - return 130.0 + 8.0 | 1024 | +// if (self.coupons.count > 0) { |
946 | - } else { | 1025 | +// return 130.0 + 8.0 |
947 | - return 0.0 | 1026 | +// } else { |
948 | - } | 1027 | +// return 0.0 |
949 | - } else if (indexPath.section == 2) { | 1028 | +// } |
950 | - if (self.dfyCoupons.count > 0) { | 1029 | +// } else { |
1030 | +// return 0.0 | ||
1031 | +// } | ||
1032 | + | ||
1033 | + if (indexPath.section == 0) { | ||
1034 | + if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) { | ||
951 | return UITableView.automaticDimension | 1035 | return UITableView.automaticDimension |
952 | } else { | 1036 | } else { |
953 | return 0.0 | 1037 | return 0.0 |
954 | } | 1038 | } |
955 | - | 1039 | + } else if (indexPath.section == 1) { |
956 | - } else if (indexPath.section == 3) { | 1040 | + if (swiftApi().getShowVouchersBanner() == "true") { |
957 | - if (self.coupons.count > 0) { | 1041 | + return UITableView.automaticDimension |
958 | - return 130.0 + 8.0 | ||
959 | } else { | 1042 | } else { |
960 | return 0.0 | 1043 | return 0.0 |
961 | } | 1044 | } |
... | @@ -965,94 +1048,145 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -965,94 +1048,145 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
965 | } | 1048 | } |
966 | 1049 | ||
967 | public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { | 1050 | public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { |
968 | - if (section == 0){ | 1051 | +// if (section == 0){ |
969 | - return nil | 1052 | +// return nil |
970 | - | 1053 | +// |
971 | - } else if (section == 1) { | 1054 | +// } else if (section == 1) { |
972 | - if (self.unifiedCoupons.count > 0) { | 1055 | +// if (self.unifiedCoupons.count > 0) { |
973 | - let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 75)) | 1056 | +// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 75)) |
1057 | +// view.backgroundColor = .clear | ||
1058 | +// | ||
1059 | +// let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 20)) | ||
1060 | +// titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19) | ||
1061 | +// titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00) | ||
1062 | +// titleLabel.text = "SUPERMARKET DEALS" | ||
1063 | +// | ||
1064 | +// view.addSubview(titleLabel) | ||
1065 | +// return view | ||
1066 | +// } else { | ||
1067 | +// return nil | ||
1068 | +// } | ||
1069 | +// | ||
1070 | +// | ||
1071 | +// } else if (section == 2) { | ||
1072 | +// if (self.dfyCoupons.count > 0) { | ||
1073 | +// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65)) | ||
1074 | +// view.backgroundColor = .clear | ||
1075 | +// | ||
1076 | +// let imageView = UIImageView(frame: CGRect(x: 20, y: 30, width: view.frame.width / 2, height: 25)) | ||
1077 | +// imageView.contentMode = .scaleAspectFit | ||
1078 | +//// imageView.backgroundColor = .red | ||
1079 | +// | ||
1080 | +// if let dfyHeaderImage = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) { | ||
1081 | +// imageView.image = dfyHeaderImage | ||
1082 | +// } | ||
1083 | +// view.addSubview(imageView) | ||
1084 | +// | ||
1085 | +// return view | ||
1086 | +// | ||
1087 | +// } else { | ||
1088 | +// return nil | ||
1089 | +// } | ||
1090 | +// | ||
1091 | +// | ||
1092 | +// } else if (section == 3) { | ||
1093 | +// if (self.coupons.count > 0) { | ||
1094 | +// // let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 71)) | ||
1095 | +// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65)) | ||
1096 | +// view.backgroundColor = .clear | ||
1097 | +// | ||
1098 | +// // let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 21)) | ||
1099 | +// let titleLabel = UILabel(frame: CGRect(x: 20, y: 30, width: view.frame.width - 40, height: 20)) | ||
1100 | +// titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19) | ||
1101 | +// titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00) | ||
1102 | +// titleLabel.text = "GIFTS FOR YOU" | ||
1103 | +// | ||
1104 | +// view.addSubview(titleLabel) | ||
1105 | +// return view | ||
1106 | +// } else { | ||
1107 | +// return nil | ||
1108 | +// } | ||
1109 | +// | ||
1110 | +// } else { | ||
1111 | +// return nil | ||
1112 | +// } | ||
1113 | + | ||
1114 | + if (section == 0) { | ||
1115 | + if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) { | ||
1116 | + let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70)) | ||
974 | view.backgroundColor = .clear | 1117 | view.backgroundColor = .clear |
975 | 1118 | ||
976 | - let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 20)) | 1119 | + let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25)) |
977 | - titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19) | 1120 | + titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21) |
978 | - titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00) | 1121 | + titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00) |
979 | - titleLabel.text = "SUPERMARKET DEALS" | 1122 | + titleLabel.text = "Ενεργά κουπόνια" |
980 | 1123 | ||
981 | view.addSubview(titleLabel) | 1124 | view.addSubview(titleLabel) |
982 | return view | 1125 | return view |
983 | } else { | 1126 | } else { |
984 | return nil | 1127 | return nil |
985 | } | 1128 | } |
986 | - | 1129 | + } else if (section == 1) { |
987 | - | 1130 | +// if (swiftApi().getShowVouchersBanner() == "true") { |
988 | - } else if (section == 2) { | 1131 | +// let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 70)) |
989 | - if (self.dfyCoupons.count > 0) { | 1132 | +// view.backgroundColor = .clear |
990 | - let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65)) | 1133 | +// |
991 | - view.backgroundColor = .clear | 1134 | +// let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: view.frame.width - 40, height: 25)) |
992 | - | 1135 | +// titleLabel.font = UIFont(name: "PeridotPE-SBold", size: 21) |
993 | - let imageView = UIImageView(frame: CGRect(x: 20, y: 30, width: view.frame.width / 2, height: 25)) | 1136 | +// titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00) |
994 | - imageView.contentMode = .scaleAspectFit | 1137 | +// titleLabel.text = "Υπόλοιπο επιδότησης" |
995 | -// imageView.backgroundColor = .red | 1138 | +// |
996 | - | 1139 | +// view.addSubview(titleLabel) |
997 | - if let dfyHeaderImage = UIImage(named: "dfy_logo_colored", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) { | 1140 | +// return view |
998 | - imageView.image = dfyHeaderImage | 1141 | +// } else { |
999 | - } | ||
1000 | - view.addSubview(imageView) | ||
1001 | - | ||
1002 | - return view | ||
1003 | - | ||
1004 | - } else { | ||
1005 | - return nil | ||
1006 | - } | ||
1007 | - | ||
1008 | - | ||
1009 | - } else if (section == 3) { | ||
1010 | - if (self.coupons.count > 0) { | ||
1011 | - // let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 71)) | ||
1012 | - let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 65)) | ||
1013 | - view.backgroundColor = .clear | ||
1014 | - | ||
1015 | - // let titleLabel = UILabel(frame: CGRect(x: 20, y: 40, width: view.frame.width - 40, height: 21)) | ||
1016 | - let titleLabel = UILabel(frame: CGRect(x: 20, y: 30, width: view.frame.width - 40, height: 20)) | ||
1017 | - titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 19) | ||
1018 | - titleLabel.textColor = UIColor(red: 0.00, green: 0.65, blue: 0.89, alpha: 1.00) | ||
1019 | - titleLabel.text = "GIFTS FOR YOU" | ||
1020 | - | ||
1021 | - view.addSubview(titleLabel) | ||
1022 | - return view | ||
1023 | - } else { | ||
1024 | return nil | 1142 | return nil |
1025 | - } | 1143 | +// } |
1026 | - | ||
1027 | } else { | 1144 | } else { |
1028 | return nil | 1145 | return nil |
1029 | } | 1146 | } |
1147 | + | ||
1030 | } | 1148 | } |
1031 | 1149 | ||
1032 | public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat { | 1150 | public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat { |
1151 | +// if (section == 0) { | ||
1152 | +// return 0.0 | ||
1153 | +// | ||
1154 | +// } else if (section == 1) { | ||
1155 | +// if (self.unifiedCoupons.count > 0) { | ||
1156 | +// return 75.0 | ||
1157 | +// } else { | ||
1158 | +// return 0.0 | ||
1159 | +// } | ||
1160 | +// | ||
1161 | +// } else if (section == 2) { | ||
1162 | +// if (self.dfyCoupons.count > 0) { | ||
1163 | +// return 68.0 | ||
1164 | +// } else { | ||
1165 | +// return 0.0 | ||
1166 | +// } | ||
1167 | +// | ||
1168 | +// } else if (section == 3) { | ||
1169 | +// if (self.coupons.count > 0) { | ||
1170 | +// return 65.0 | ||
1171 | +// } else { | ||
1172 | +// return 0.0 | ||
1173 | +// } | ||
1174 | +// } else { | ||
1175 | +// return 0.0 | ||
1176 | +// } | ||
1177 | + | ||
1033 | if (section == 0) { | 1178 | if (section == 0) { |
1034 | - return 0.0 | 1179 | + if (self.dfyCoupons.count > 0 || self.unifiedCoupons.count > 0 || self.coupons.count > 0) { |
1035 | - | 1180 | + return 70.0 |
1036 | - } else if (section == 1) { | ||
1037 | - if (self.unifiedCoupons.count > 0) { | ||
1038 | - return 75.0 | ||
1039 | } else { | 1181 | } else { |
1040 | return 0.0 | 1182 | return 0.0 |
1041 | } | 1183 | } |
1042 | - | 1184 | + } else if (section == 1) { |
1043 | - } else if (section == 2) { | 1185 | +// if (swiftApi().getShowVouchersBanner() == "true") { |
1044 | - if (self.dfyCoupons.count > 0) { | 1186 | +// return 70.0 |
1045 | - return 68.0 | 1187 | +// } else { |
1046 | - } else { | ||
1047 | - return 0.0 | ||
1048 | - } | ||
1049 | - | ||
1050 | - } else if (section == 3) { | ||
1051 | - if (self.coupons.count > 0) { | ||
1052 | - return 65.0 | ||
1053 | - } else { | ||
1054 | return 0.0 | 1188 | return 0.0 |
1055 | - } | 1189 | +// } |
1056 | } else { | 1190 | } else { |
1057 | return 0.0 | 1191 | return 0.0 |
1058 | } | 1192 | } |
... | @@ -1069,65 +1203,95 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ | ... | @@ -1069,65 +1203,95 @@ extension WalletViewController: UITableViewDelegate, UITableViewDataSource{ |
1069 | 1203 | ||
1070 | public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | 1204 | public func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { |
1071 | 1205 | ||
1072 | - if (indexPath.section == 0) { | 1206 | +// if (indexPath.section == 0) { |
1073 | - let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBannersTableViewCellId", for: indexPath) as! WalletBannersTableViewCell | 1207 | +// let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBannersTableViewCellId", for: indexPath) as! WalletBannersTableViewCell |
1074 | - cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount, forYouExpanded: self.forYouExpanded) | 1208 | +// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount, forYouExpanded: self.forYouExpanded) |
1075 | - return cell | ||
1076 | -// let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBadgesTableViewCellId", for: indexPath) as! WalletBadgesTableViewCell | ||
1077 | -// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount) | ||
1078 | // return cell | 1209 | // return cell |
1079 | - } else if (indexPath.section == 1) { | 1210 | +//// let cell = tableView.dequeueReusableCell(withIdentifier: "WalletBadgesTableViewCellId", for: indexPath) as! WalletBadgesTableViewCell |
1080 | - let cell = tableView.dequeueReusableCell(withIdentifier: "UnifiedCouponsTableViewCellId", for: indexPath) as! UnifiedCouponsTableViewCell | 1211 | +//// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount) |
1081 | - cell.configureCell(coupon: unifiedCoupons[indexPath.row]) | 1212 | +//// return cell |
1082 | - return cell | 1213 | +// } else if (indexPath.section == 1) { |
1083 | - | 1214 | +// let cell = tableView.dequeueReusableCell(withIdentifier: "UnifiedCouponsTableViewCellId", for: indexPath) as! UnifiedCouponsTableViewCell |
1084 | - } else if (indexPath.section == 2) { | 1215 | +// cell.configureCell(coupon: unifiedCoupons[indexPath.row]) |
1085 | - let cell = tableView.dequeueReusableCell(withIdentifier: "ActiveCodeTableViewCellId", for: indexPath) as! ActiveCodeTableViewCell | 1216 | +// return cell |
1217 | +// | ||
1218 | +// } else if (indexPath.section == 2) { | ||
1219 | +// let cell = tableView.dequeueReusableCell(withIdentifier: "ActiveCodeTableViewCellId", for: indexPath) as! ActiveCodeTableViewCell | ||
1220 | +//// cell.configureCell(coupon: coupons[indexPath.row]) | ||
1221 | +// return cell | ||
1222 | +// | ||
1223 | +// } else { | ||
1224 | +// let cell = tableView.dequeueReusableCell(withIdentifier: "CouponsTableViewCellId", for: indexPath) as! CouponsTableViewCell | ||
1086 | // cell.configureCell(coupon: coupons[indexPath.row]) | 1225 | // cell.configureCell(coupon: coupons[indexPath.row]) |
1226 | +// return cell | ||
1227 | +// } | ||
1228 | + | ||
1229 | + | ||
1230 | + if (indexPath.section == 0) { | ||
1231 | + let cell = tableView.dequeueReusableCell(withIdentifier: "WalletActiveCouponsTableViewCellId", for: indexPath) as! WalletActiveCouponsTableViewCell | ||
1232 | + cell.configureCell(dfyCount: self.dfyCoupons.count, smCount: self.unifiedCoupons.count, gfyCount: self.coupons.count) | ||
1087 | return cell | 1233 | return cell |
1088 | 1234 | ||
1089 | } else { | 1235 | } else { |
1090 | - let cell = tableView.dequeueReusableCell(withIdentifier: "CouponsTableViewCellId", for: indexPath) as! CouponsTableViewCell | 1236 | + let cell = tableView.dequeueReusableCell(withIdentifier: "WalletVouchersBannerTableViewCellId", for: indexPath) as! WalletVouchersBannerTableViewCell |
1091 | - cell.configureCell(coupon: coupons[indexPath.row]) | 1237 | +// cell.configureCell(totalCouponValue: self.totalCouponValue, totalCouponDiscount: self.totalCouponDiscount, unifiedCouponsDiscount: self.unifiedCouponsDiscount, forYouExpanded: self.forYouExpanded) |
1092 | return cell | 1238 | return cell |
1093 | } | 1239 | } |
1240 | + | ||
1094 | } | 1241 | } |
1095 | 1242 | ||
1096 | public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { | 1243 | public func tableView(_ tableView: UITableView, didSelectRowAt indexPath: IndexPath) { |
1097 | - if (indexPath.section == 0) { | 1244 | +// if (indexPath.section == 0) { |
1098 | - // Do nothing | 1245 | +// // Do nothing |
1099 | - | 1246 | +// |
1100 | - } else if (indexPath.section == 1) { | 1247 | +// } else if (indexPath.section == 1) { |
1101 | - // TODO: Add trackers | 1248 | +// // TODO: Add trackers |
1249 | +//// let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data | ||
1250 | +//// let couponName = couponSetData?.name ?? "" | ||
1251 | +//// swiftApi().logTrackersEvent("click", ("Coupon:" + couponName)) | ||
1252 | +// | ||
1253 | +// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | ||
1254 | +// let vc = storyboard.instantiateViewController(withIdentifier: "UnifiedCouponBarcodeViewController") as! SwiftWarplyFramework.UnifiedCouponBarcodeViewController | ||
1255 | +// vc.coupon = unifiedCoupons[indexPath.row] | ||
1256 | +// vc.isFromWallet = true | ||
1257 | +// self.navigationController?.pushViewController(vc, animated: true) | ||
1258 | +// | ||
1259 | +// } else if (indexPath.section == 2) { | ||
1260 | +// print("Active DFY coupon banner Tapped!") | ||
1261 | +// | ||
1262 | +// swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveDealsBanner")) | ||
1263 | +// | ||
1264 | +// let couponDetails = swiftApi.ActiveDFYCouponEventModel() | ||
1265 | +// couponDetails._isPressed = true | ||
1266 | +// SwiftEventBus.post("dfy_coupon_details", sender: couponDetails) | ||
1267 | +// | ||
1268 | +// } else if (indexPath.section == 3) { | ||
1102 | // let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data | 1269 | // let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data |
1103 | // let couponName = couponSetData?.name ?? "" | 1270 | // let couponName = couponSetData?.name ?? "" |
1104 | // swiftApi().logTrackersEvent("click", ("Coupon:" + couponName)) | 1271 | // swiftApi().logTrackersEvent("click", ("Coupon:" + couponName)) |
1105 | - | 1272 | +// |
1106 | - let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | 1273 | +// let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) |
1107 | - let vc = storyboard.instantiateViewController(withIdentifier: "UnifiedCouponBarcodeViewController") as! SwiftWarplyFramework.UnifiedCouponBarcodeViewController | 1274 | +// let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController |
1108 | - vc.coupon = unifiedCoupons[indexPath.row] | 1275 | +// vc.coupon = coupons[indexPath.row] |
1109 | - vc.isFromWallet = true | 1276 | +// vc.isFromWallet = true |
1110 | - self.navigationController?.pushViewController(vc, animated: true) | 1277 | +// self.navigationController?.pushViewController(vc, animated: true) |
1111 | - | 1278 | +// } else { |
1112 | - } else if (indexPath.section == 2) { | 1279 | +// // Do nothing |
1113 | - print("Active DFY coupon banner Tapped!") | 1280 | +// } |
1281 | + | ||
1282 | + if (indexPath.section == 0) { | ||
1283 | + // Do nothing - Each button is handled differently | ||
1114 | 1284 | ||
1115 | - swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "ActiveDealsBanner")) | 1285 | + } else if (indexPath.section == 1) { |
1286 | + let firebaseEvent = swiftApi.LoyaltySDKFirebaseEventModel() | ||
1287 | + firebaseEvent._eventName = "did_tap_vouchers_badge" | ||
1288 | + firebaseEvent.setParameter = ("screen", "Loyalty Wallet") | ||
1289 | + SwiftEventBus.post("firebase", sender: firebaseEvent) | ||
1116 | 1290 | ||
1117 | - let couponDetails = swiftApi.ActiveDFYCouponEventModel() | 1291 | + swiftApi().logTrackersEvent("click", ("LoyaltyWalletScreen:" + "VouchersBadge")) |
1118 | - couponDetails._isPressed = true | ||
1119 | - SwiftEventBus.post("dfy_coupon_details", sender: couponDetails) | ||
1120 | 1292 | ||
1121 | - } else if (indexPath.section == 3) { | 1293 | + SwiftEventBus.post("vouchers_banner_pressed") |
1122 | - let couponSetData: swiftApi.CouponSetItemModel? = coupons[indexPath.row].couponset_data | ||
1123 | - let couponName = couponSetData?.name ?? "" | ||
1124 | - swiftApi().logTrackersEvent("click", ("Coupon:" + couponName)) | ||
1125 | 1294 | ||
1126 | - let storyboard = UIStoryboard(name: "Main", bundle: Bundle(for: MyEmptyClass.self)) | ||
1127 | - let vc = storyboard.instantiateViewController(withIdentifier: "CouponBarcodeViewController") as! SwiftWarplyFramework.CouponBarcodeViewController | ||
1128 | - vc.coupon = coupons[indexPath.row] | ||
1129 | - vc.isFromWallet = true | ||
1130 | - self.navigationController?.pushViewController(vc, animated: true) | ||
1131 | } else { | 1295 | } else { |
1132 | // Do nothing | 1296 | // Do nothing |
1133 | } | 1297 | } | ... | ... |
... | @@ -8,10 +8,32 @@ | ... | @@ -8,10 +8,32 @@ |
8 | import UIKit | 8 | import UIKit |
9 | 9 | ||
10 | @objc public class WalletVouchersBannerTableViewCell: UITableViewCell { | 10 | @objc public class WalletVouchersBannerTableViewCell: UITableViewCell { |
11 | - | 11 | + @IBOutlet weak var sectionTitleLabel: UILabel! |
12 | + @IBOutlet weak var voucherBannerView: UIView! | ||
13 | + @IBOutlet weak var voucherBannerIconImage: UIImageView! | ||
14 | + @IBOutlet weak var voucherBannerLabel: UILabel! | ||
15 | + @IBOutlet weak var voucherBannerArrowImage: UIImageView! | ||
16 | + | ||
12 | public override func awakeFromNib() { | 17 | public override func awakeFromNib() { |
13 | super.awakeFromNib() | 18 | super.awakeFromNib() |
14 | // Initialization code | 19 | // Initialization code |
20 | + | ||
21 | + sectionTitleLabel.text = "Υπόλοιπο επιδότησης" | ||
22 | + | ||
23 | + voucherBannerView.layer.cornerRadius = 16.0 | ||
24 | + voucherBannerView.layer.borderWidth = 1 | ||
25 | + voucherBannerView.layer.borderColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00).cgColor | ||
26 | + | ||
27 | + // Add shadow | ||
28 | + voucherBannerView.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.2).cgColor | ||
29 | + voucherBannerView.layer.shadowOffset = CGSize(width: 0.0, height: 1.0) | ||
30 | + voucherBannerView.layer.shadowOpacity = 1.0 | ||
31 | + voucherBannerView.layer.shadowRadius = 1.0 | ||
32 | + | ||
33 | + voucherBannerIconImage.image = UIImage(named: "wallet_voucher", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
34 | + voucherBannerArrowImage.image = UIImage(named: "arrow_right_black", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
35 | + | ||
36 | + voucherBannerLabel.text = "Ενημερώσου για το υπόλοιπο επιδότησης" | ||
15 | } | 37 | } |
16 | 38 | ||
17 | public override func setSelected(_ selected: Bool, animated: Bool) { | 39 | public override func setSelected(_ selected: Bool, animated: Bool) { | ... | ... |
-
Please register or login to post a comment