Manos Chorianopoulos

redesign UnifiedCouponBarcodeViewController

...@@ -100,14 +100,19 @@ import UIKit ...@@ -100,14 +100,19 @@ import UIKit
100 // COUPON: coupon, expiration, discount, status 100 // COUPON: coupon, expiration, discount, status
101 // MERCHANT: _img_preview,_admin_name 101 // MERCHANT: _img_preview,_admin_name
102 102
103 - if (coupon.status == 1) { 103 + expirationLabel.isHidden = true
104 + expirationRedView.isHidden = true
105 + expirationLabel.text = ""
106 + expirationRedLabel.text = ""
107 +
108 + if (coupon.status == 1) { // Active status 1
104 // Add shadow 109 // Add shadow
105 - self.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.16).cgColor 110 +// self.layer.shadowColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 0.16).cgColor
106 - self.layer.shadowOffset = CGSize(width: 0.0, height: 0.0) 111 +// self.layer.shadowOffset = CGSize(width: 0.0, height: 0.0)
107 - self.layer.shadowOpacity = 1.0 112 +// self.layer.shadowOpacity = 1.0
108 - self.layer.shadowRadius = 6.0 113 +// self.layer.shadowRadius = 6.0
109 114
110 - couponBgImage.image = UIImage(named: "coupon_bg", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) 115 +// couponBgImage.image = UIImage(named: "coupon_bg", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
111 116
112 expirationLabel.isHidden = false 117 expirationLabel.isHidden = false
113 expirationRedView.isHidden = true 118 expirationRedView.isHidden = true
...@@ -132,15 +137,15 @@ import UIKit ...@@ -132,15 +137,15 @@ import UIKit
132 expirationLabel.isHidden = true 137 expirationLabel.isHidden = true
133 expirationRedView.isHidden = false 138 expirationRedView.isHidden = false
134 expirationRedView.layer.cornerRadius = 10.0 139 expirationRedView.layer.cornerRadius = 10.0
135 - expirationRedView.backgroundColor = UIColor(red: 0.94, green: 0.90, blue: 0.90, alpha: 1.00) 140 + expirationRedView.backgroundColor = UIColor(red: 0.72, green: 0.88, blue: 0.94, alpha: 1.00)
136 141
137 - expirationRedImage.image = UIImage(named: "ic_time_forward", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) 142 + expirationRedImage.image = UIImage(named: "ic_time_forward_blue", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
138 143
139 let normalText1 = "Ισχύει έως " 144 let normalText1 = "Ισχύει έως "
140 let redText = (coupon.expiration ?? "") 145 let redText = (coupon.expiration ?? "")
141 146
142 - let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PFSquareSansPro-Medium", size: 12) ?? UIFont.systemFont(ofSize: 11), NSAttributedString.Key.foregroundColor: UIColor(red: 0.38, green: 0.44, blue: 0.51, alpha: 1.00)] 147 + let attrRegular = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-SBold", size: 12) ?? UIFont.systemFont(ofSize: 11), NSAttributedString.Key.foregroundColor: UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)]
143 - let attrRed = [NSAttributedString.Key.font : UIFont(name: "PFSquareSansPro-Medium", size: 12) ?? UIFont.systemFont(ofSize: 11), NSAttributedString.Key.foregroundColor: UIColor(red: 1.00, green: 0.42, blue: 0.42, alpha: 1.00)] 148 + let attrRed = [NSAttributedString.Key.font : UIFont(name: "PeridotPE-SBold", size: 12) ?? UIFont.systemFont(ofSize: 11), NSAttributedString.Key.foregroundColor: UIColor(red: 0.00, green: 0.29, blue: 0.53, alpha: 1.00)]
144 149
145 let attributedString = NSMutableAttributedString(string:normalText1, attributes:attrRegular) 150 let attributedString = NSMutableAttributedString(string:normalText1, attributes:attrRegular)
146 let RedString = NSMutableAttributedString(string: redText, attributes:attrRed) 151 let RedString = NSMutableAttributedString(string: redText, attributes:attrRed)
...@@ -156,18 +161,30 @@ import UIKit ...@@ -156,18 +161,30 @@ import UIKit
156 } 161 }
157 } 162 }
158 163
159 - } else if (coupon.status == 0) { 164 + } else if (coupon.status == 0) { // Redeemed status 0
160 - couponBgImage.image = UIImage(named: "coupon_bg_grey", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) 165 +// couponBgImage.image = UIImage(named: "coupon_bg_grey", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)
166 +
167 + expirationLabel.isHidden = false
168 + expirationRedView.isHidden = true
169 + expirationLabel.text = "Το κουπόνι έληξε"
170 +
171 + couponImage.layer.opacity = 0.29
172 + borderView.layer.opacity = 0.29
173 + nameLabel.layer.opacity = 0.29
174 + dicountLabel.layer.opacity = 0.29
175 + discriptionLabel.layer.opacity = 0.29
176 +
177 + } else { // Expired status -1
161 178
162 expirationLabel.isHidden = false 179 expirationLabel.isHidden = false
163 expirationRedView.isHidden = true 180 expirationRedView.isHidden = true
164 expirationLabel.text = "Το κουπόνι έληξε" 181 expirationLabel.text = "Το κουπόνι έληξε"
165 182
166 - couponImage.layer.opacity = 0.23 183 + couponImage.layer.opacity = 0.29
167 - borderView.layer.opacity = 0.15 184 + borderView.layer.opacity = 0.29
168 - nameLabel.layer.opacity = 0.15 185 + nameLabel.layer.opacity = 0.29
169 - dicountLabel.layer.opacity = 0.15 186 + dicountLabel.layer.opacity = 0.29
170 - discriptionLabel.layer.opacity = 0.15 187 + discriptionLabel.layer.opacity = 0.29
171 188
172 } 189 }
173 190
......
...@@ -2916,20 +2916,20 @@ ...@@ -2916,20 +2916,20 @@
2916 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="coupons_scrollview_white" translatesAutoresizingMaskIntoConstraints="NO" id="Leh-kL-DF1"> 2916 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="coupons_scrollview_white" translatesAutoresizingMaskIntoConstraints="NO" id="Leh-kL-DF1">
2917 <rect key="frame" x="0.0" y="0.0" width="414" height="852"/> 2917 <rect key="frame" x="0.0" y="0.0" width="414" height="852"/>
2918 </imageView> 2918 </imageView>
2919 - <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="Jsn-Je-71G"> 2919 + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="1" estimatedSectionFooterHeight="-1" contentViewInsetsToSafeArea="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jsn-Je-71G">
2920 <rect key="frame" x="0.0" y="0.0" width="414" height="848"/> 2920 <rect key="frame" x="0.0" y="0.0" width="414" height="848"/>
2921 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 2921 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
2922 <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 2922 <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
2923 <prototypes> 2923 <prototypes>
2924 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCHeaderTableViewCell" id="1eX-19-ysb" customClass="UnifiedCouponBCHeaderTableViewCell" customModule="SwiftWarplyFramework"> 2924 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCHeaderTableViewCell" id="1eX-19-ysb" customClass="UnifiedCouponBCHeaderTableViewCell" customModule="SwiftWarplyFramework">
2925 - <rect key="frame" x="0.0" y="50" width="414" height="862.5"/> 2925 + <rect key="frame" x="0.0" y="55.5" width="414" height="802"/>
2926 <autoresizingMask key="autoresizingMask"/> 2926 <autoresizingMask key="autoresizingMask"/>
2927 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="1eX-19-ysb" id="izt-1Z-wey"> 2927 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="1eX-19-ysb" id="izt-1Z-wey">
2928 - <rect key="frame" x="0.0" y="0.0" width="414" height="862.5"/> 2928 + <rect key="frame" x="0.0" y="0.0" width="414" height="802"/>
2929 <autoresizingMask key="autoresizingMask"/> 2929 <autoresizingMask key="autoresizingMask"/>
2930 <subviews> 2930 <subviews>
2931 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zYD-ey-wun"> 2931 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="zYD-ey-wun">
2932 - <rect key="frame" x="0.0" y="0.0" width="414" height="862.5"/> 2932 + <rect key="frame" x="0.0" y="0.0" width="414" height="802"/>
2933 <subviews> 2933 <subviews>
2934 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4Aj-WZ-M9m"> 2934 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4Aj-WZ-M9m">
2935 <rect key="frame" x="0.0" y="0.0" width="414" height="200"/> 2935 <rect key="frame" x="0.0" y="0.0" width="414" height="200"/>
...@@ -2937,20 +2937,20 @@ ...@@ -2937,20 +2937,20 @@
2937 <constraint firstAttribute="height" constant="200" id="Rry-Lx-vaT"/> 2937 <constraint firstAttribute="height" constant="200" id="Rry-Lx-vaT"/>
2938 </constraints> 2938 </constraints>
2939 </imageView> 2939 </imageView>
2940 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Πάρε δωρεάν μηνιαία πακέτα με πάνες στα supermarket Σκλαβενίτης!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KgC-mB-kHF"> 2940 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Εκπτωτικό κουπόνι COSMOTE SuperMarket Deals!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KgC-mB-kHF">
2941 - <rect key="frame" x="20" y="220" width="374" height="40"/> 2941 + <rect key="frame" x="20" y="230" width="374" height="39.5"/>
2942 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> 2942 + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="17"/>
2943 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 2943 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
2944 <nil key="highlightedColor"/> 2944 <nil key="highlightedColor"/>
2945 </label> 2945 </label>
2946 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Χρησιμοποίησε τον παρακάτω κωδικό και πάρε δωρεάν πακέτο πάνες Pampers αποκλειστικά στα Supermarket Σκλαβενίτης" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Ha-h1-G5Y"> 2946 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Χρησιμοποίησε τον παρακάτω κωδικό και πάρε έκπτωση στα ενεργά κουπόνια προσφορών." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Ha-h1-G5Y">
2947 - <rect key="frame" x="20" y="275" width="374" height="59.5"/> 2947 + <rect key="frame" x="20" y="284.5" width="374" height="39.5"/>
2948 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="17"/> 2948 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
2949 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 2949 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
2950 <nil key="highlightedColor"/> 2950 <nil key="highlightedColor"/>
2951 </label> 2951 </label>
2952 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="luU-pw-7jY" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework"> 2952 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="luU-pw-7jY" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework">
2953 - <rect key="frame" x="20" y="349.5" width="374" height="0.0"/> 2953 + <rect key="frame" x="20" y="339" width="374" height="0.0"/>
2954 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 2954 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
2955 <constraints> 2955 <constraints>
2956 <constraint firstAttribute="height" id="39U-OF-0bK"/> 2956 <constraint firstAttribute="height" id="39U-OF-0bK"/>
...@@ -2959,23 +2959,23 @@ ...@@ -2959,23 +2959,23 @@
2959 <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="15"/> 2959 <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="15"/>
2960 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> 2960 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
2961 </textView> 2961 </textView>
2962 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κωδικός Κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tPn-a8-bAr"> 2962 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κωδικός κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tPn-a8-bAr">
2963 - <rect key="frame" x="20" y="384.5" width="374" height="20"/> 2963 + <rect key="frame" x="20" y="374" width="374" height="21"/>
2964 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> 2964 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
2965 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 2965 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
2966 <nil key="highlightedColor"/> 2966 <nil key="highlightedColor"/>
2967 </label> 2967 </label>
2968 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="M7m-4Y-3sb" userLabel="Coupon View"> 2968 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="M7m-4Y-3sb" userLabel="Coupon View">
2969 - <rect key="frame" x="153" y="414.5" width="108.5" height="55"/> 2969 + <rect key="frame" x="155.5" y="405" width="103" height="55"/>
2970 <subviews> 2970 <subviews>
2971 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MZf-Ul-AV4" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target"> 2971 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MZf-Ul-AV4" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target">
2972 - <rect key="frame" x="20" y="11" width="68.5" height="33"/> 2972 + <rect key="frame" x="20" y="12.5" width="63" height="30"/>
2973 - <fontDescription key="fontDescription" name="PFSquareSansPro-Bold" family="PF Square Sans Pro" pointSize="28"/> 2973 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="24"/>
2974 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 2974 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
2975 <nil key="highlightedColor"/> 2975 <nil key="highlightedColor"/>
2976 </label> 2976 </label>
2977 </subviews> 2977 </subviews>
2978 - <color key="backgroundColor" red="0.95686274510000002" green="0.95686274510000002" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/> 2978 + <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/>
2979 <constraints> 2979 <constraints>
2980 <constraint firstAttribute="trailing" secondItem="MZf-Ul-AV4" secondAttribute="trailing" constant="20" id="9Ig-hZ-g1z"/> 2980 <constraint firstAttribute="trailing" secondItem="MZf-Ul-AV4" secondAttribute="trailing" constant="20" id="9Ig-hZ-g1z"/>
2981 <constraint firstAttribute="height" constant="55" id="Tda-JD-yaT"/> 2981 <constraint firstAttribute="height" constant="55" id="Tda-JD-yaT"/>
...@@ -2984,43 +2984,43 @@ ...@@ -2984,43 +2984,43 @@
2984 </constraints> 2984 </constraints>
2985 </view> 2985 </view>
2986 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="buX-G2-IsB" userLabel="Border View"> 2986 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="buX-G2-IsB" userLabel="Border View">
2987 - <rect key="frame" x="20" y="489.5" width="374" height="1"/> 2987 + <rect key="frame" x="20" y="480" width="374" height="1"/>
2988 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> 2988 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
2989 <constraints> 2989 <constraints>
2990 <constraint firstAttribute="height" constant="1" id="gkk-5l-4a7"/> 2990 <constraint firstAttribute="height" constant="1" id="gkk-5l-4a7"/>
2991 </constraints> 2991 </constraints>
2992 </view> 2992 </view>
2993 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="9Cx-1R-FqG"> 2993 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="9Cx-1R-FqG">
2994 - <rect key="frame" x="30" y="500.5" width="354" height="110"/> 2994 + <rect key="frame" x="30" y="491" width="354" height="110"/>
2995 <constraints> 2995 <constraints>
2996 <constraint firstAttribute="height" constant="110" id="mj2-dJ-YJB"/> 2996 <constraint firstAttribute="height" constant="110" id="mj2-dJ-YJB"/>
2997 </constraints> 2997 </constraints>
2998 </imageView> 2998 </imageView>
2999 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iDt-Pz-bkd"> 2999 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="123456789101112" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iDt-Pz-bkd">
3000 - <rect key="frame" x="20" y="620.5" width="374" height="26.5"/> 3000 + <rect key="frame" x="20" y="611" width="374" height="26.5"/>
3001 <constraints> 3001 <constraints>
3002 <constraint firstAttribute="height" constant="26.5" id="QYZ-L4-ggJ"/> 3002 <constraint firstAttribute="height" constant="26.5" id="QYZ-L4-ggJ"/>
3003 </constraints> 3003 </constraints>
3004 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="23"/> 3004 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="23"/>
3005 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3005 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3006 <nil key="highlightedColor"/> 3006 <nil key="highlightedColor"/>
3007 </label> 3007 </label>
3008 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="33M-UT-Ysb" userLabel="Border 2 View"> 3008 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="33M-UT-Ysb" userLabel="Border 2 View">
3009 - <rect key="frame" x="20" y="657" width="374" height="1"/> 3009 + <rect key="frame" x="20" y="647.5" width="374" height="1"/>
3010 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> 3010 <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/>
3011 <constraints> 3011 <constraints>
3012 <constraint firstAttribute="height" constant="1" id="6LJ-d0-AsC"/> 3012 <constraint firstAttribute="height" constant="1" id="6LJ-d0-AsC"/>
3013 </constraints> 3013 </constraints>
3014 </view> 3014 </view>
3015 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UR2-dr-Wbn"> 3015 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UR2-dr-Wbn">
3016 - <rect key="frame" x="103.5" y="668" width="207" height="50"/> 3016 + <rect key="frame" x="103.5" y="658.5" width="207" height="50"/>
3017 <constraints> 3017 <constraints>
3018 <constraint firstAttribute="height" constant="50" id="AMS-Hv-WqS"/> 3018 <constraint firstAttribute="height" constant="50" id="AMS-Hv-WqS"/>
3019 </constraints> 3019 </constraints>
3020 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="16"/> 3020 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/>
3021 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/> 3021 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/>
3022 <state key="normal" title="Εμφάνιση barcode" image="ic_down_dark"> 3022 <state key="normal" title="Εμφάνιση barcode" image="ic_down_dark">
3023 - <color key="titleColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3023 + <color key="titleColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3024 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/> 3024 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/>
3025 </state> 3025 </state>
3026 <connections> 3026 <connections>
...@@ -3028,20 +3028,20 @@ ...@@ -3028,20 +3028,20 @@
3028 </connections> 3028 </connections>
3029 </button> 3029 </button>
3030 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SPU-J6-4re"> 3030 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SPU-J6-4re">
3031 - <rect key="frame" x="20" y="753" width="374" height="17.5"/> 3031 + <rect key="frame" x="20" y="728.5" width="374" height="18.5"/>
3032 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="15"/> 3032 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/>
3033 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3033 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3034 <nil key="highlightedColor"/> 3034 <nil key="highlightedColor"/>
3035 </label> 3035 </label>
3036 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="52P-0b-ua5"> 3036 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="52P-0b-ua5">
3037 - <rect key="frame" x="103.5" y="805.5" width="207" height="50"/> 3037 + <rect key="frame" x="103.5" y="762" width="207" height="40"/>
3038 <constraints> 3038 <constraints>
3039 - <constraint firstAttribute="height" constant="50" id="W45-Tv-hXa"/> 3039 + <constraint firstAttribute="height" constant="40" id="W45-Tv-hXa"/>
3040 </constraints> 3040 </constraints>
3041 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="16"/> 3041 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/>
3042 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/> 3042 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/>
3043 <state key="normal" title="Εμφάνιση κουπονιών" image="ic_down_dark"> 3043 <state key="normal" title="Εμφάνιση κουπονιών" image="ic_down_dark">
3044 - <color key="titleColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3044 + <color key="titleColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3045 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/> 3045 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/>
3046 </state> 3046 </state>
3047 <connections> 3047 <connections>
...@@ -3055,7 +3055,7 @@ ...@@ -3055,7 +3055,7 @@
3055 <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="M7m-4Y-3sb" secondAttribute="trailing" constant="25" id="1VR-NJ-TLh"/> 3055 <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="M7m-4Y-3sb" secondAttribute="trailing" constant="25" id="1VR-NJ-TLh"/>
3056 <constraint firstItem="52P-0b-ua5" firstAttribute="centerX" secondItem="zYD-ey-wun" secondAttribute="centerX" id="26g-TF-9LY"/> 3056 <constraint firstItem="52P-0b-ua5" firstAttribute="centerX" secondItem="zYD-ey-wun" secondAttribute="centerX" id="26g-TF-9LY"/>
3057 <constraint firstItem="9Cx-1R-FqG" firstAttribute="top" secondItem="buX-G2-IsB" secondAttribute="bottom" constant="10" id="5io-Ff-7sM"/> 3057 <constraint firstItem="9Cx-1R-FqG" firstAttribute="top" secondItem="buX-G2-IsB" secondAttribute="bottom" constant="10" id="5io-Ff-7sM"/>
3058 - <constraint firstItem="52P-0b-ua5" firstAttribute="top" secondItem="SPU-J6-4re" secondAttribute="bottom" constant="35" id="8b4-N3-C1R"/> 3058 + <constraint firstItem="52P-0b-ua5" firstAttribute="top" secondItem="SPU-J6-4re" secondAttribute="bottom" constant="15" id="8b4-N3-C1R"/>
3059 <constraint firstItem="4Aj-WZ-M9m" firstAttribute="top" secondItem="zYD-ey-wun" secondAttribute="top" id="Ayu-ib-gjs"/> 3059 <constraint firstItem="4Aj-WZ-M9m" firstAttribute="top" secondItem="zYD-ey-wun" secondAttribute="top" id="Ayu-ib-gjs"/>
3060 <constraint firstItem="UR2-dr-Wbn" firstAttribute="centerX" secondItem="zYD-ey-wun" secondAttribute="centerX" id="FMI-DW-GAW"/> 3060 <constraint firstItem="UR2-dr-Wbn" firstAttribute="centerX" secondItem="zYD-ey-wun" secondAttribute="centerX" id="FMI-DW-GAW"/>
3061 <constraint firstItem="buX-G2-IsB" firstAttribute="top" secondItem="M7m-4Y-3sb" secondAttribute="bottom" constant="20" id="Iw4-aA-F5T"/> 3061 <constraint firstItem="buX-G2-IsB" firstAttribute="top" secondItem="M7m-4Y-3sb" secondAttribute="bottom" constant="20" id="Iw4-aA-F5T"/>
...@@ -3066,9 +3066,9 @@ ...@@ -3066,9 +3066,9 @@
3066 <constraint firstItem="9Cx-1R-FqG" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="30" id="RS0-3d-Ahq"/> 3066 <constraint firstItem="9Cx-1R-FqG" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="30" id="RS0-3d-Ahq"/>
3067 <constraint firstAttribute="trailing" secondItem="luU-pw-7jY" secondAttribute="trailing" constant="20" id="TVb-zK-d3G"/> 3067 <constraint firstAttribute="trailing" secondItem="luU-pw-7jY" secondAttribute="trailing" constant="20" id="TVb-zK-d3G"/>
3068 <constraint firstAttribute="trailing" secondItem="SPU-J6-4re" secondAttribute="trailing" constant="20" id="Trv-gg-FoN"/> 3068 <constraint firstAttribute="trailing" secondItem="SPU-J6-4re" secondAttribute="trailing" constant="20" id="Trv-gg-FoN"/>
3069 - <constraint firstItem="KgC-mB-kHF" firstAttribute="top" secondItem="4Aj-WZ-M9m" secondAttribute="bottom" constant="20" id="WZ7-DH-nM7"/> 3069 + <constraint firstItem="KgC-mB-kHF" firstAttribute="top" secondItem="4Aj-WZ-M9m" secondAttribute="bottom" constant="30" id="WZ7-DH-nM7"/>
3070 <constraint firstItem="tPn-a8-bAr" firstAttribute="top" secondItem="luU-pw-7jY" secondAttribute="bottom" constant="35" id="YS0-hx-VrC"/> 3070 <constraint firstItem="tPn-a8-bAr" firstAttribute="top" secondItem="luU-pw-7jY" secondAttribute="bottom" constant="35" id="YS0-hx-VrC"/>
3071 - <constraint firstAttribute="bottom" secondItem="52P-0b-ua5" secondAttribute="bottom" constant="7" id="aGR-AH-Q5m"/> 3071 + <constraint firstAttribute="bottom" secondItem="52P-0b-ua5" secondAttribute="bottom" id="aGR-AH-Q5m"/>
3072 <constraint firstItem="iDt-Pz-bkd" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="bia-J6-azS"/> 3072 <constraint firstItem="iDt-Pz-bkd" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="bia-J6-azS"/>
3073 <constraint firstAttribute="trailing" secondItem="iDt-Pz-bkd" secondAttribute="trailing" constant="20" id="bvX-10-VV2"/> 3073 <constraint firstAttribute="trailing" secondItem="iDt-Pz-bkd" secondAttribute="trailing" constant="20" id="bvX-10-VV2"/>
3074 <constraint firstItem="luU-pw-7jY" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="clz-47-TRg"/> 3074 <constraint firstItem="luU-pw-7jY" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="clz-47-TRg"/>
...@@ -3080,7 +3080,7 @@ ...@@ -3080,7 +3080,7 @@
3080 <constraint firstItem="M7m-4Y-3sb" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="zYD-ey-wun" secondAttribute="leading" constant="25" id="g5Z-C9-qAx"/> 3080 <constraint firstItem="M7m-4Y-3sb" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="zYD-ey-wun" secondAttribute="leading" constant="25" id="g5Z-C9-qAx"/>
3081 <constraint firstAttribute="trailing" secondItem="4Aj-WZ-M9m" secondAttribute="trailing" id="gLk-cl-axe"/> 3081 <constraint firstAttribute="trailing" secondItem="4Aj-WZ-M9m" secondAttribute="trailing" id="gLk-cl-axe"/>
3082 <constraint firstItem="SPU-J6-4re" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="hCc-Tr-Qp1"/> 3082 <constraint firstItem="SPU-J6-4re" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="hCc-Tr-Qp1"/>
3083 - <constraint firstItem="SPU-J6-4re" firstAttribute="top" secondItem="UR2-dr-Wbn" secondAttribute="bottom" constant="35" id="jHO-Hi-OWu"/> 3083 + <constraint firstItem="SPU-J6-4re" firstAttribute="top" secondItem="UR2-dr-Wbn" secondAttribute="bottom" constant="20" id="jHO-Hi-OWu"/>
3084 <constraint firstItem="tPn-a8-bAr" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="jb4-Tg-SNY"/> 3084 <constraint firstItem="tPn-a8-bAr" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="jb4-Tg-SNY"/>
3085 <constraint firstItem="7Ha-h1-G5Y" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="k8g-e4-O7U"/> 3085 <constraint firstItem="7Ha-h1-G5Y" firstAttribute="leading" secondItem="zYD-ey-wun" secondAttribute="leading" constant="20" id="k8g-e4-O7U"/>
3086 <constraint firstAttribute="trailing" secondItem="buX-G2-IsB" secondAttribute="trailing" constant="20" id="kST-Yk-neW"/> 3086 <constraint firstAttribute="trailing" secondItem="buX-G2-IsB" secondAttribute="trailing" constant="20" id="kST-Yk-neW"/>
...@@ -3131,49 +3131,49 @@ ...@@ -3131,49 +3131,49 @@
3131 <outlet property="showCouponsButton" destination="52P-0b-ua5" id="0RA-aj-lED"/> 3131 <outlet property="showCouponsButton" destination="52P-0b-ua5" id="0RA-aj-lED"/>
3132 </connections> 3132 </connections>
3133 </tableViewCell> 3133 </tableViewCell>
3134 - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponsTableViewCellId" id="TAK-Ug-AzU" customClass="CouponsTableViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> 3134 + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="CouponsTableViewCellId" id="TAK-Ug-AzU" customClass="CouponsTableViewCell" customModule="SwiftWarplyFramework">
3135 - <rect key="frame" x="0.0" y="912.5" width="414" height="123.5"/> 3135 + <rect key="frame" x="0.0" y="857.5" width="414" height="69.5"/>
3136 <autoresizingMask key="autoresizingMask"/> 3136 <autoresizingMask key="autoresizingMask"/>
3137 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TAK-Ug-AzU" id="LFe-Vj-kjJ"> 3137 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TAK-Ug-AzU" id="LFe-Vj-kjJ">
3138 - <rect key="frame" x="0.0" y="0.0" width="414" height="123.5"/> 3138 + <rect key="frame" x="0.0" y="0.0" width="414" height="69.5"/>
3139 <autoresizingMask key="autoresizingMask"/> 3139 <autoresizingMask key="autoresizingMask"/>
3140 <subviews> 3140 <subviews>
3141 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="35i-Iq-TId"> 3141 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="35i-Iq-TId">
3142 - <rect key="frame" x="10" y="5" width="394" height="39"/> 3142 + <rect key="frame" x="10" y="5" width="394" height="64.5"/>
3143 <subviews> 3143 <subviews>
3144 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="coupon_bg" translatesAutoresizingMaskIntoConstraints="NO" id="58G-jP-FMr"> 3144 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="coupon_bg" translatesAutoresizingMaskIntoConstraints="NO" id="58G-jP-FMr">
3145 - <rect key="frame" x="0.0" y="0.0" width="394" height="39"/> 3145 + <rect key="frame" x="0.0" y="0.0" width="394" height="64.5"/>
3146 </imageView> 3146 </imageView>
3147 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jcR-bh-Fhz"> 3147 <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jcR-bh-Fhz">
3148 - <rect key="frame" x="20" y="10" width="79" height="19"/> 3148 + <rect key="frame" x="20" y="10" width="79" height="44.5"/>
3149 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 3149 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
3150 </imageView> 3150 </imageView>
3151 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZDK-3b-8MQ"> 3151 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZDK-3b-8MQ">
3152 - <rect key="frame" x="104" y="5" width="10" height="29"/> 3152 + <rect key="frame" x="104" y="10" width="10" height="44.5"/>
3153 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 3153 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
3154 <constraints> 3154 <constraints>
3155 <constraint firstAttribute="width" constant="10" id="sq7-pL-kd5"/> 3155 <constraint firstAttribute="width" constant="10" id="sq7-pL-kd5"/>
3156 </constraints> 3156 </constraints>
3157 </view> 3157 </view>
3158 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mOO-dc-RyS"> 3158 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="mOO-dc-RyS">
3159 - <rect key="frame" x="119" y="15" width="255" height="0.0"/> 3159 + <rect key="frame" x="119" y="-13" width="255" height="20"/>
3160 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> 3160 + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="17"/>
3161 - <color key="textColor" red="0.2274509804" green="0.32156862749999998" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> 3161 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3162 <nil key="highlightedColor"/> 3162 <nil key="highlightedColor"/>
3163 </label> 3163 </label>
3164 <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="NmF-B8-BxN"> 3164 <stackView opaque="NO" contentMode="scaleToFill" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="NmF-B8-BxN">
3165 - <rect key="frame" x="119" y="19.5" width="255" height="0.0"/> 3165 + <rect key="frame" x="119" y="12" width="255" height="40.5"/>
3166 <subviews> 3166 <subviews>
3167 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9CO-TF-h6H"> 3167 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9CO-TF-h6H">
3168 - <rect key="frame" x="0.0" y="0.0" width="127.5" height="0.0"/> 3168 + <rect key="frame" x="0.0" y="0.0" width="127.5" height="40.5"/>
3169 - <fontDescription key="fontDescription" name="PFSquareSansPro-Bold" family="PF Square Sans Pro" pointSize="31"/> 3169 + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="35"/>
3170 - <color key="textColor" red="0.2274509804" green="0.32156862749999998" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/> 3170 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3171 <nil key="highlightedColor"/> 3171 <nil key="highlightedColor"/>
3172 </label> 3172 </label>
3173 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XTf-q6-vau"> 3173 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="tailTruncation" numberOfLines="3" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XTf-q6-vau">
3174 - <rect key="frame" x="132.5" y="0.0" width="122.5" height="0.0"/> 3174 + <rect key="frame" x="132.5" y="0.0" width="122.5" height="40.5"/>
3175 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/> 3175 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
3176 - <color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/> 3176 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3177 <nil key="highlightedColor"/> 3177 <nil key="highlightedColor"/>
3178 </label> 3178 </label>
3179 </subviews> 3179 </subviews>
...@@ -3183,29 +3183,29 @@ ...@@ -3183,29 +3183,29 @@
3183 </constraints> 3183 </constraints>
3184 </stackView> 3184 </stackView>
3185 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u51-sv-YiH"> 3185 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u51-sv-YiH">
3186 - <rect key="frame" x="119" y="24" width="255" height="0.0"/> 3186 + <rect key="frame" x="119" y="57.5" width="255" height="15"/>
3187 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/> 3187 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="12"/>
3188 - <color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/> 3188 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3189 <nil key="highlightedColor"/> 3189 <nil key="highlightedColor"/>
3190 </label> 3190 </label>
3191 - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="G6f-Nu-2R5"> 3191 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="G6f-Nu-2R5">
3192 - <rect key="frame" x="119" y="24" width="59.5" height="0.0"/> 3192 + <rect key="frame" x="119" y="57.5" width="61.5" height="21"/>
3193 <subviews> 3193 <subviews>
3194 - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="LGs-y6-UbY"> 3194 + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="LGs-y6-UbY">
3195 - <rect key="frame" x="5" y="3" width="15" height="0.0"/> 3195 + <rect key="frame" x="5" y="3" width="15" height="15"/>
3196 <constraints> 3196 <constraints>
3197 <constraint firstAttribute="height" constant="15" id="9tK-aY-Rdn"/> 3197 <constraint firstAttribute="height" constant="15" id="9tK-aY-Rdn"/>
3198 <constraint firstAttribute="width" constant="15" id="m2Y-SE-d4q"/> 3198 <constraint firstAttribute="width" constant="15" id="m2Y-SE-d4q"/>
3199 </constraints> 3199 </constraints>
3200 </imageView> 3200 </imageView>
3201 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dF5-HE-P9n"> 3201 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dF5-HE-P9n">
3202 - <rect key="frame" x="25" y="-6" width="29.5" height="12"/> 3202 + <rect key="frame" x="25" y="3" width="31.5" height="15"/>
3203 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="12"/> 3203 + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="12"/>
3204 - <color key="textColor" red="0.3803921569" green="0.4431372549" blue="0.50588235290000005" alpha="1" colorSpace="calibratedRGB"/> 3204 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3205 <nil key="highlightedColor"/> 3205 <nil key="highlightedColor"/>
3206 </label> 3206 </label>
3207 </subviews> 3207 </subviews>
3208 - <color key="backgroundColor" red="0.94117647058823528" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/> 3208 + <color key="backgroundColor" red="0.72156862745098038" green="0.8784313725490196" blue="0.93725490196078431" alpha="1" colorSpace="calibratedRGB"/>
3209 <constraints> 3209 <constraints>
3210 <constraint firstItem="dF5-HE-P9n" firstAttribute="centerY" secondItem="G6f-Nu-2R5" secondAttribute="centerY" id="6wF-K3-vDp"/> 3210 <constraint firstItem="dF5-HE-P9n" firstAttribute="centerY" secondItem="G6f-Nu-2R5" secondAttribute="centerY" id="6wF-K3-vDp"/>
3211 <constraint firstAttribute="bottom" secondItem="LGs-y6-UbY" secondAttribute="bottom" constant="3" id="AZn-5e-SkV"/> 3211 <constraint firstAttribute="bottom" secondItem="LGs-y6-UbY" secondAttribute="bottom" constant="3" id="AZn-5e-SkV"/>
...@@ -3222,28 +3222,25 @@ ...@@ -3222,28 +3222,25 @@
3222 <constraint firstAttribute="trailing" secondItem="mOO-dc-RyS" secondAttribute="trailing" constant="20" id="8Zl-md-YUY"/> 3222 <constraint firstAttribute="trailing" secondItem="mOO-dc-RyS" secondAttribute="trailing" constant="20" id="8Zl-md-YUY"/>
3223 <constraint firstItem="jcR-bh-Fhz" firstAttribute="width" secondItem="35i-Iq-TId" secondAttribute="width" multiplier="0.2" id="8n1-lF-UlM"/> 3223 <constraint firstItem="jcR-bh-Fhz" firstAttribute="width" secondItem="35i-Iq-TId" secondAttribute="width" multiplier="0.2" id="8n1-lF-UlM"/>
3224 <constraint firstItem="u51-sv-YiH" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="9pb-2H-f1h"/> 3224 <constraint firstItem="u51-sv-YiH" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="9pb-2H-f1h"/>
3225 - <constraint firstItem="ZDK-3b-8MQ" firstAttribute="top" secondItem="35i-Iq-TId" secondAttribute="top" constant="5" id="EEP-lx-N0t"/> 3225 + <constraint firstItem="ZDK-3b-8MQ" firstAttribute="top" secondItem="35i-Iq-TId" secondAttribute="top" constant="10" id="EEP-lx-N0t"/>
3226 - <constraint firstAttribute="bottom" secondItem="ZDK-3b-8MQ" secondAttribute="bottom" constant="5" id="FYp-0E-Uw0"/> 3226 + <constraint firstAttribute="bottom" secondItem="ZDK-3b-8MQ" secondAttribute="bottom" constant="10" id="FYp-0E-Uw0"/>
3227 - <constraint firstAttribute="bottom" secondItem="u51-sv-YiH" secondAttribute="bottom" constant="15" id="Flf-tQ-WhD"/>
3228 <constraint firstAttribute="bottom" secondItem="58G-jP-FMr" secondAttribute="bottom" id="GSk-WB-Iet"/> 3227 <constraint firstAttribute="bottom" secondItem="58G-jP-FMr" secondAttribute="bottom" id="GSk-WB-Iet"/>
3229 <constraint firstItem="58G-jP-FMr" firstAttribute="leading" secondItem="35i-Iq-TId" secondAttribute="leading" id="JCp-aq-cPq"/> 3228 <constraint firstItem="58G-jP-FMr" firstAttribute="leading" secondItem="35i-Iq-TId" secondAttribute="leading" id="JCp-aq-cPq"/>
3230 <constraint firstItem="jcR-bh-Fhz" firstAttribute="leading" secondItem="35i-Iq-TId" secondAttribute="leading" constant="20" id="L9F-dG-daa"/> 3229 <constraint firstItem="jcR-bh-Fhz" firstAttribute="leading" secondItem="35i-Iq-TId" secondAttribute="leading" constant="20" id="L9F-dG-daa"/>
3231 <constraint firstItem="58G-jP-FMr" firstAttribute="top" secondItem="35i-Iq-TId" secondAttribute="top" id="NDb-ma-RxF"/> 3230 <constraint firstItem="58G-jP-FMr" firstAttribute="top" secondItem="35i-Iq-TId" secondAttribute="top" id="NDb-ma-RxF"/>
3232 <constraint firstItem="ZDK-3b-8MQ" firstAttribute="leading" secondItem="jcR-bh-Fhz" secondAttribute="trailing" constant="5" id="NFe-FK-tFF"/> 3231 <constraint firstItem="ZDK-3b-8MQ" firstAttribute="leading" secondItem="jcR-bh-Fhz" secondAttribute="trailing" constant="5" id="NFe-FK-tFF"/>
3233 <constraint firstItem="NmF-B8-BxN" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="QzX-xe-Gmc"/> 3232 <constraint firstItem="NmF-B8-BxN" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="QzX-xe-Gmc"/>
3234 - <constraint firstItem="u51-sv-YiH" firstAttribute="top" relation="greaterThanOrEqual" secondItem="NmF-B8-BxN" secondAttribute="bottom" constant="5" id="RUi-pY-M3y"/> 3233 + <constraint firstItem="u51-sv-YiH" firstAttribute="top" secondItem="NmF-B8-BxN" secondAttribute="bottom" constant="5" id="RUi-pY-M3y"/>
3235 <constraint firstItem="jcR-bh-Fhz" firstAttribute="top" secondItem="35i-Iq-TId" secondAttribute="top" constant="10" id="W7a-RI-eFK"/> 3234 <constraint firstItem="jcR-bh-Fhz" firstAttribute="top" secondItem="35i-Iq-TId" secondAttribute="top" constant="10" id="W7a-RI-eFK"/>
3236 <constraint firstAttribute="trailing" secondItem="NmF-B8-BxN" secondAttribute="trailing" constant="20" id="WXz-rG-ZBX"/> 3235 <constraint firstAttribute="trailing" secondItem="NmF-B8-BxN" secondAttribute="trailing" constant="20" id="WXz-rG-ZBX"/>
3237 <constraint firstItem="G6f-Nu-2R5" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="ZgC-Py-yjC"/> 3236 <constraint firstItem="G6f-Nu-2R5" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="ZgC-Py-yjC"/>
3238 - <constraint firstItem="G6f-Nu-2R5" firstAttribute="top" relation="greaterThanOrEqual" secondItem="NmF-B8-BxN" secondAttribute="bottom" constant="5" id="b5v-do-Gik"/> 3237 + <constraint firstItem="G6f-Nu-2R5" firstAttribute="top" secondItem="NmF-B8-BxN" secondAttribute="bottom" constant="5" id="b5v-do-Gik"/>
3239 - <constraint firstItem="mOO-dc-RyS" firstAttribute="top" secondItem="35i-Iq-TId" secondAttribute="top" constant="15" id="bB4-81-G6R"/>
3240 <constraint firstItem="mOO-dc-RyS" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="dfS-C5-yrS"/> 3238 <constraint firstItem="mOO-dc-RyS" firstAttribute="leading" secondItem="ZDK-3b-8MQ" secondAttribute="trailing" constant="5" id="dfS-C5-yrS"/>
3241 - <constraint firstItem="NmF-B8-BxN" firstAttribute="top" relation="greaterThanOrEqual" secondItem="mOO-dc-RyS" secondAttribute="bottom" constant="5" id="hwb-y3-RPk"/> 3239 + <constraint firstItem="NmF-B8-BxN" firstAttribute="top" secondItem="mOO-dc-RyS" secondAttribute="bottom" constant="5" id="hwb-y3-RPk"/>
3242 <constraint firstAttribute="bottom" secondItem="jcR-bh-Fhz" secondAttribute="bottom" constant="10" id="jGC-H8-LPk"/> 3240 <constraint firstAttribute="bottom" secondItem="jcR-bh-Fhz" secondAttribute="bottom" constant="10" id="jGC-H8-LPk"/>
3243 <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="G6f-Nu-2R5" secondAttribute="trailing" constant="20" id="k22-dw-mnk"/> 3241 <constraint firstAttribute="trailing" relation="greaterThanOrEqual" secondItem="G6f-Nu-2R5" secondAttribute="trailing" constant="20" id="k22-dw-mnk"/>
3244 <constraint firstAttribute="trailing" secondItem="58G-jP-FMr" secondAttribute="trailing" id="ndw-7x-qT3"/> 3242 <constraint firstAttribute="trailing" secondItem="58G-jP-FMr" secondAttribute="trailing" id="ndw-7x-qT3"/>
3245 <constraint firstAttribute="trailing" secondItem="u51-sv-YiH" secondAttribute="trailing" constant="20" id="vZk-48-uaD"/> 3243 <constraint firstAttribute="trailing" secondItem="u51-sv-YiH" secondAttribute="trailing" constant="20" id="vZk-48-uaD"/>
3246 - <constraint firstAttribute="bottom" secondItem="G6f-Nu-2R5" secondAttribute="bottom" constant="15" id="wJc-Mw-Ctl"/>
3247 </constraints> 3244 </constraints>
3248 </view> 3245 </view>
3249 </subviews> 3246 </subviews>
...@@ -3255,7 +3252,7 @@ ...@@ -3255,7 +3252,7 @@
3255 <constraint firstAttribute="bottom" secondItem="35i-Iq-TId" secondAttribute="bottom" id="Qim-cz-Ryu"/> 3252 <constraint firstAttribute="bottom" secondItem="35i-Iq-TId" secondAttribute="bottom" id="Qim-cz-Ryu"/>
3256 </constraints> 3253 </constraints>
3257 </tableViewCellContentView> 3254 </tableViewCellContentView>
3258 - <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 3255 + <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/>
3259 <connections> 3256 <connections>
3260 <outlet property="borderView" destination="ZDK-3b-8MQ" id="qma-5l-a6k"/> 3257 <outlet property="borderView" destination="ZDK-3b-8MQ" id="qma-5l-a6k"/>
3261 <outlet property="couponBgImage" destination="58G-jP-FMr" id="ax7-k5-OVV"/> 3258 <outlet property="couponBgImage" destination="58G-jP-FMr" id="ax7-k5-OVV"/>
...@@ -3270,38 +3267,38 @@ ...@@ -3270,38 +3267,38 @@
3270 </connections> 3267 </connections>
3271 </tableViewCell> 3268 </tableViewCell>
3272 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCFooterTableViewCell" id="LD5-ES-J67" customClass="UnifiedCouponBCFooterTableViewCell" customModule="SwiftWarplyFramework"> 3269 <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="UnifiedCouponBCFooterTableViewCell" id="LD5-ES-J67" customClass="UnifiedCouponBCFooterTableViewCell" customModule="SwiftWarplyFramework">
3273 - <rect key="frame" x="0.0" y="1036" width="414" height="189"/> 3270 + <rect key="frame" x="0.0" y="927" width="414" height="165"/>
3274 <autoresizingMask key="autoresizingMask"/> 3271 <autoresizingMask key="autoresizingMask"/>
3275 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="LD5-ES-J67" id="DmN-AA-8n5"> 3272 <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="LD5-ES-J67" id="DmN-AA-8n5">
3276 - <rect key="frame" x="0.0" y="0.0" width="414" height="189"/> 3273 + <rect key="frame" x="0.0" y="0.0" width="414" height="165"/>
3277 <autoresizingMask key="autoresizingMask"/> 3274 <autoresizingMask key="autoresizingMask"/>
3278 <subviews> 3275 <subviews>
3279 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L4W-1e-9fQ"> 3276 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L4W-1e-9fQ">
3280 - <rect key="frame" x="0.0" y="0.0" width="414" height="44"/> 3277 + <rect key="frame" x="0.0" y="0.0" width="414" height="165"/>
3281 <subviews> 3278 <subviews>
3282 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Kdi-w7-eKZ"> 3279 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Kdi-w7-eKZ">
3283 - <rect key="frame" x="133.5" y="35" width="147" height="31"/> 3280 + <rect key="frame" x="123.5" y="20" width="167" height="55"/>
3284 <constraints> 3281 <constraints>
3285 - <constraint firstAttribute="height" constant="44" id="SUG-HC-XQH"/> 3282 + <constraint firstAttribute="height" constant="55" id="SUG-HC-XQH"/>
3286 </constraints> 3283 </constraints>
3287 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="16"/> 3284 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
3288 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/> 3285 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
3289 <state key="normal" title="Δες τα καταστήματα"> 3286 <state key="normal" title="Δες τα καταστήματα">
3290 - <color key="titleColor" red="0.31372549020000001" green="0.61960784310000006" blue="0.1843137255" alpha="1" colorSpace="calibratedRGB"/> 3287 + <color key="titleColor" red="0.054901960784313725" green="0.65098039215686276" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
3291 </state> 3288 </state>
3292 <connections> 3289 <connections>
3293 <action selector="mapButtonAction:" destination="kZo-uj-MVp" eventType="touchUpInside" id="jm9-HG-8Sd"/> 3290 <action selector="mapButtonAction:" destination="kZo-uj-MVp" eventType="touchUpInside" id="jm9-HG-8Sd"/>
3294 </connections> 3291 </connections>
3295 </button> 3292 </button>
3296 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Sq7-ea-Nx2"> 3293 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Sq7-ea-Nx2">
3297 - <rect key="frame" x="103.5" y="-20" width="207" height="24"/> 3294 + <rect key="frame" x="103.5" y="95" width="207" height="40"/>
3298 <constraints> 3295 <constraints>
3299 - <constraint firstAttribute="height" constant="50" id="UgG-aB-OOw"/> 3296 + <constraint firstAttribute="height" constant="40" id="UgG-aB-OOw"/>
3300 </constraints> 3297 </constraints>
3301 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="16"/> 3298 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/>
3302 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/> 3299 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/>
3303 <state key="normal" title="Όροι χρήσης" image="ic_down_dark"> 3300 <state key="normal" title="Όροι χρήσης" image="ic_down_dark">
3304 - <color key="titleColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3301 + <color key="titleColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3305 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/> 3302 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/>
3306 </state> 3303 </state>
3307 <connections> 3304 <connections>
...@@ -3309,23 +3306,23 @@ ...@@ -3309,23 +3306,23 @@
3309 </connections> 3306 </connections>
3310 </button> 3307 </button>
3311 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kkr-9H-ZSx" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework"> 3308 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Kkr-9H-ZSx" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework">
3312 - <rect key="frame" x="20" y="14" width="374" height="0.0"/> 3309 + <rect key="frame" x="20" y="135" width="374" height="0.0"/>
3313 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 3310 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
3314 <constraints> 3311 <constraints>
3315 <constraint firstAttribute="height" id="oLt-F6-WA7"/> 3312 <constraint firstAttribute="height" id="oLt-F6-WA7"/>
3316 </constraints> 3313 </constraints>
3317 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 3314 + <color key="textColor" red="0.61568627450980395" green="0.61568627450980395" blue="0.61176470588235299" alpha="1" colorSpace="calibratedRGB"/>
3318 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="15"/> 3315 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
3319 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> 3316 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
3320 </textView> 3317 </textView>
3321 </subviews> 3318 </subviews>
3322 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> 3319 <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
3323 <constraints> 3320 <constraints>
3324 - <constraint firstItem="Kdi-w7-eKZ" firstAttribute="top" secondItem="L4W-1e-9fQ" secondAttribute="top" constant="35" id="1IM-rZ-u2k"/> 3321 + <constraint firstItem="Kdi-w7-eKZ" firstAttribute="top" secondItem="L4W-1e-9fQ" secondAttribute="top" constant="20" id="1IM-rZ-u2k"/>
3325 <constraint firstItem="Sq7-ea-Nx2" firstAttribute="top" secondItem="Kdi-w7-eKZ" secondAttribute="bottom" constant="20" id="1Qv-cX-6D8"/> 3322 <constraint firstItem="Sq7-ea-Nx2" firstAttribute="top" secondItem="Kdi-w7-eKZ" secondAttribute="bottom" constant="20" id="1Qv-cX-6D8"/>
3326 <constraint firstItem="Kkr-9H-ZSx" firstAttribute="leading" secondItem="L4W-1e-9fQ" secondAttribute="leading" constant="20" id="7pl-xk-jHX"/> 3323 <constraint firstItem="Kkr-9H-ZSx" firstAttribute="leading" secondItem="L4W-1e-9fQ" secondAttribute="leading" constant="20" id="7pl-xk-jHX"/>
3327 <constraint firstAttribute="trailing" secondItem="Kkr-9H-ZSx" secondAttribute="trailing" constant="20" id="VBo-Kj-h0s"/> 3324 <constraint firstAttribute="trailing" secondItem="Kkr-9H-ZSx" secondAttribute="trailing" constant="20" id="VBo-Kj-h0s"/>
3328 - <constraint firstItem="Kkr-9H-ZSx" firstAttribute="top" secondItem="Sq7-ea-Nx2" secondAttribute="bottom" constant="10" id="jsT-BU-52c"/> 3325 + <constraint firstItem="Kkr-9H-ZSx" firstAttribute="top" secondItem="Sq7-ea-Nx2" secondAttribute="bottom" id="jsT-BU-52c"/>
3329 <constraint firstItem="Sq7-ea-Nx2" firstAttribute="width" secondItem="L4W-1e-9fQ" secondAttribute="width" multiplier="0.5" id="ljh-1k-pkA"/> 3326 <constraint firstItem="Sq7-ea-Nx2" firstAttribute="width" secondItem="L4W-1e-9fQ" secondAttribute="width" multiplier="0.5" id="ljh-1k-pkA"/>
3330 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Sq7-ea-Nx2" secondAttribute="bottom" constant="30" id="nmp-6u-Pr6"/> 3327 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Sq7-ea-Nx2" secondAttribute="bottom" constant="30" id="nmp-6u-Pr6"/>
3331 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Kkr-9H-ZSx" secondAttribute="bottom" constant="30" id="ocv-GL-D9I"/> 3328 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="Kkr-9H-ZSx" secondAttribute="bottom" constant="30" id="ocv-GL-D9I"/>
...@@ -3370,16 +3367,16 @@ ...@@ -3370,16 +3367,16 @@
3370 <constraint firstAttribute="height" constant="200" id="qtq-sH-2GF"/> 3367 <constraint firstAttribute="height" constant="200" id="qtq-sH-2GF"/>
3371 </constraints> 3368 </constraints>
3372 </imageView> 3369 </imageView>
3373 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Πάρε δωρεάν μηνιαία πακέτα με πάνες στα supermarket Σκλαβενίτης!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XEh-1k-bk7"> 3370 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Εκπτωτικό κουπόνι COSMOTE SuperMarket Deals!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XEh-1k-bk7">
3374 <rect key="frame" x="20" y="220" width="374" height="34"/> 3371 <rect key="frame" x="20" y="220" width="374" height="34"/>
3375 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> 3372 + <fontDescription key="fontDescription" name="BTCosmo-Bold" family="BTCosmo" pointSize="17"/>
3376 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3373 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3377 <nil key="highlightedColor"/> 3374 <nil key="highlightedColor"/>
3378 </label> 3375 </label>
3379 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Χρησιμοποίησε τον παρακάτω κωδικό και πάρε δωρεάν πακέτο πάνες Pampers αποκλειστικά στα Supermarket Σκλαβενίτης" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z1U-JG-k4U"> 3376 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Χρησιμοποίησε τον παρακάτω κωδικό και πάρε έκπτωση στα ενεργά κουπόνια προσφορών." textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z1U-JG-k4U">
3380 <rect key="frame" x="20" y="269" width="374" height="51"/> 3377 <rect key="frame" x="20" y="269" width="374" height="51"/>
3381 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="17"/> 3378 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
3382 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3379 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3383 <nil key="highlightedColor"/> 3380 <nil key="highlightedColor"/>
3384 </label> 3381 </label>
3385 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="b5L-BJ-bRd" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework"> 3382 <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" editable="NO" textAlignment="center" selectable="NO" translatesAutoresizingMaskIntoConstraints="NO" id="b5L-BJ-bRd" customClass="UnselectableTappableTextView" customModule="SwiftWarplyFramework">
...@@ -3388,14 +3385,14 @@ ...@@ -3388,14 +3385,14 @@
3388 <constraints> 3385 <constraints>
3389 <constraint firstAttribute="height" id="Vf5-mh-mYl"/> 3386 <constraint firstAttribute="height" id="Vf5-mh-mYl"/>
3390 </constraints> 3387 </constraints>
3391 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 3388 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3392 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="15"/> 3389 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
3393 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/> 3390 <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
3394 </textView> 3391 </textView>
3395 - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κωδικός Κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wB5-TH-zF6"> 3392 + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Κωδικός κουπονιού" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wB5-TH-zF6">
3396 <rect key="frame" x="20" y="370" width="374" height="17"/> 3393 <rect key="frame" x="20" y="370" width="374" height="17"/>
3397 - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> 3394 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
3398 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3395 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3399 <nil key="highlightedColor"/> 3396 <nil key="highlightedColor"/>
3400 </label> 3397 </label>
3401 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="p9P-ZR-ZC2" userLabel="Coupon View"> 3398 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="p9P-ZR-ZC2" userLabel="Coupon View">
...@@ -3403,12 +3400,12 @@ ...@@ -3403,12 +3400,12 @@
3403 <subviews> 3400 <subviews>
3404 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bz3-cq-84d" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target"> 3401 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bz3-cq-84d" customClass="CopyableLabel" customModule="SwiftWarplyFramework" customModuleProvider="target">
3405 <rect key="frame" x="20" y="13.5" width="69.5" height="28"/> 3402 <rect key="frame" x="20" y="13.5" width="69.5" height="28"/>
3406 - <fontDescription key="fontDescription" name="PFSquareSansPro-Bold" family="PF Square Sans Pro" pointSize="28"/> 3403 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="24"/>
3407 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="calibratedRGB"/> 3404 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3408 <nil key="highlightedColor"/> 3405 <nil key="highlightedColor"/>
3409 </label> 3406 </label>
3410 </subviews> 3407 </subviews>
3411 - <color key="backgroundColor" red="0.95686274510000002" green="0.95686274510000002" blue="0.95686274510000002" alpha="1" colorSpace="calibratedRGB"/> 3408 + <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/>
3412 <constraints> 3409 <constraints>
3413 <constraint firstAttribute="height" constant="55" id="1EO-q8-orQ"/> 3410 <constraint firstAttribute="height" constant="55" id="1EO-q8-orQ"/>
3414 <constraint firstAttribute="trailing" secondItem="Bz3-cq-84d" secondAttribute="trailing" constant="20" id="HXC-0E-aSK"/> 3411 <constraint firstAttribute="trailing" secondItem="Bz3-cq-84d" secondAttribute="trailing" constant="20" id="HXC-0E-aSK"/>
...@@ -3462,8 +3459,8 @@ ...@@ -3462,8 +3459,8 @@
3462 </button> 3459 </button>
3463 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bmm-wl-752"> 3460 <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Το κουπόνι ισχύει έως 05/12/2022" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Bmm-wl-752">
3464 <rect key="frame" x="20" y="740.5" width="374" height="15"/> 3461 <rect key="frame" x="20" y="740.5" width="374" height="15"/>
3465 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="15"/> 3462 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/>
3466 - <color key="textColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3463 + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3467 <nil key="highlightedColor"/> 3464 <nil key="highlightedColor"/>
3468 </label> 3465 </label>
3469 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zaj-yW-yxb"> 3466 <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zaj-yW-yxb">
...@@ -3471,10 +3468,10 @@ ...@@ -3471,10 +3468,10 @@
3471 <constraints> 3468 <constraints>
3472 <constraint firstAttribute="height" constant="50" id="t7m-Bz-eEx"/> 3469 <constraint firstAttribute="height" constant="50" id="t7m-Bz-eEx"/>
3473 </constraints> 3470 </constraints>
3474 - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="16"/> 3471 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="15"/>
3475 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/> 3472 <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="5" maxY="0.0"/>
3476 <state key="normal" title="Εμφάνιση κουπονιών" image="ic_down_dark"> 3473 <state key="normal" title="Εμφάνιση κουπονιών" image="ic_down_dark">
3477 - <color key="titleColor" red="0.25490196079999999" green="0.33333333329999998" blue="0.3921568627" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> 3474 + <color key="titleColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/>
3478 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/> 3475 <preferredSymbolConfiguration key="preferredSymbolConfiguration"/>
3479 </state> 3476 </state>
3480 <connections> 3477 <connections>
...@@ -3540,9 +3537,9 @@ ...@@ -3540,9 +3537,9 @@
3540 <constraint firstItem="p9P-ZR-ZC2" firstAttribute="top" secondItem="wB5-TH-zF6" secondAttribute="bottom" constant="10" id="G0T-2t-BKh"/> 3537 <constraint firstItem="p9P-ZR-ZC2" firstAttribute="top" secondItem="wB5-TH-zF6" secondAttribute="bottom" constant="10" id="G0T-2t-BKh"/>
3541 <constraint firstItem="KcC-nd-UJt" firstAttribute="leading" secondItem="h6B-3P-USu" secondAttribute="leading" constant="20" id="GE8-CX-1fl"/> 3538 <constraint firstItem="KcC-nd-UJt" firstAttribute="leading" secondItem="h6B-3P-USu" secondAttribute="leading" constant="20" id="GE8-CX-1fl"/>
3542 <constraint firstItem="NYi-ps-hZw" firstAttribute="centerX" secondItem="h6B-3P-USu" secondAttribute="centerX" id="GwJ-8P-npS"/> 3539 <constraint firstItem="NYi-ps-hZw" firstAttribute="centerX" secondItem="h6B-3P-USu" secondAttribute="centerX" id="GwJ-8P-npS"/>
3543 - <constraint firstItem="XEh-1k-bk7" firstAttribute="top" secondItem="jbu-lq-22w" secondAttribute="bottom" constant="20" id="HCb-Uz-CQC"/> 3540 + <constraint firstItem="XEh-1k-bk7" firstAttribute="top" secondItem="jbu-lq-22w" secondAttribute="bottom" constant="30" id="HCb-Uz-CQC"/>
3544 <constraint firstItem="XEh-1k-bk7" firstAttribute="leading" secondItem="h6B-3P-USu" secondAttribute="leading" constant="20" id="HRC-XR-2Z2"/> 3541 <constraint firstItem="XEh-1k-bk7" firstAttribute="leading" secondItem="h6B-3P-USu" secondAttribute="leading" constant="20" id="HRC-XR-2Z2"/>
3545 - <constraint firstItem="Bmm-wl-752" firstAttribute="top" secondItem="l3Z-rd-1se" secondAttribute="bottom" constant="35" id="HbV-nu-Hpt"/> 3542 + <constraint firstItem="Bmm-wl-752" firstAttribute="top" secondItem="l3Z-rd-1se" secondAttribute="bottom" constant="10" id="HbV-nu-Hpt"/>
3546 <constraint firstAttribute="trailing" secondItem="0e4-jR-gJ2" secondAttribute="trailing" constant="30" id="HxT-Ci-qXC"/> 3543 <constraint firstAttribute="trailing" secondItem="0e4-jR-gJ2" secondAttribute="trailing" constant="30" id="HxT-Ci-qXC"/>
3547 <constraint firstItem="zaj-yW-yxb" firstAttribute="width" secondItem="h6B-3P-USu" secondAttribute="width" multiplier="0.5" id="Jak-kG-SlN"/> 3544 <constraint firstItem="zaj-yW-yxb" firstAttribute="width" secondItem="h6B-3P-USu" secondAttribute="width" multiplier="0.5" id="Jak-kG-SlN"/>
3548 <constraint firstItem="l3Z-rd-1se" firstAttribute="top" secondItem="HK5-Qt-OFZ" secondAttribute="bottom" constant="10" id="LiN-pJ-pjN"/> 3545 <constraint firstItem="l3Z-rd-1se" firstAttribute="top" secondItem="HK5-Qt-OFZ" secondAttribute="bottom" constant="10" id="LiN-pJ-pjN"/>
...@@ -3551,7 +3548,7 @@ ...@@ -3551,7 +3548,7 @@
3551 <constraint firstItem="HK5-Qt-OFZ" firstAttribute="leading" secondItem="h6B-3P-USu" secondAttribute="leading" constant="20" id="Nt2-qa-UoE"/> 3548 <constraint firstItem="HK5-Qt-OFZ" firstAttribute="leading" secondItem="h6B-3P-USu" secondAttribute="leading" constant="20" id="Nt2-qa-UoE"/>
3552 <constraint firstItem="z1U-JG-k4U" firstAttribute="top" secondItem="XEh-1k-bk7" secondAttribute="bottom" constant="15" id="OK6-wa-Ybp"/> 3549 <constraint firstItem="z1U-JG-k4U" firstAttribute="top" secondItem="XEh-1k-bk7" secondAttribute="bottom" constant="15" id="OK6-wa-Ybp"/>
3553 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="XRd-W8-YCf" secondAttribute="bottom" constant="30" id="PqJ-aK-gFO"/> 3550 <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="XRd-W8-YCf" secondAttribute="bottom" constant="30" id="PqJ-aK-gFO"/>
3554 - <constraint firstItem="zaj-yW-yxb" firstAttribute="top" secondItem="Bmm-wl-752" secondAttribute="bottom" constant="35" id="QYD-3G-JMi"/> 3551 + <constraint firstItem="zaj-yW-yxb" firstAttribute="top" secondItem="Bmm-wl-752" secondAttribute="bottom" constant="30" id="QYD-3G-JMi"/>
3555 <constraint firstAttribute="trailing" secondItem="wB5-TH-zF6" secondAttribute="trailing" constant="20" id="RUA-zf-2M5"/> 3552 <constraint firstAttribute="trailing" secondItem="wB5-TH-zF6" secondAttribute="trailing" constant="20" id="RUA-zf-2M5"/>
3556 <constraint firstItem="p9P-ZR-ZC2" firstAttribute="centerX" secondItem="h6B-3P-USu" secondAttribute="centerX" id="Roj-dQ-hYS"/> 3553 <constraint firstItem="p9P-ZR-ZC2" firstAttribute="centerX" secondItem="h6B-3P-USu" secondAttribute="centerX" id="Roj-dQ-hYS"/>
3557 <constraint firstItem="KcC-nd-UJt" firstAttribute="top" secondItem="0e4-jR-gJ2" secondAttribute="bottom" constant="10" id="SH6-4R-cCp"/> 3554 <constraint firstItem="KcC-nd-UJt" firstAttribute="top" secondItem="0e4-jR-gJ2" secondAttribute="bottom" constant="10" id="SH6-4R-cCp"/>
...@@ -3585,7 +3582,7 @@ ...@@ -3585,7 +3582,7 @@
3585 <viewLayoutGuide key="contentLayoutGuide" id="Bwm-0z-5fj"/> 3582 <viewLayoutGuide key="contentLayoutGuide" id="Bwm-0z-5fj"/>
3586 <viewLayoutGuide key="frameLayoutGuide" id="J9l-2m-hLG"/> 3583 <viewLayoutGuide key="frameLayoutGuide" id="J9l-2m-hLG"/>
3587 </scrollView> 3584 </scrollView>
3588 - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="k6Y-8d-5AX"> 3585 + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="k6Y-8d-5AX">
3589 <rect key="frame" x="0.0" y="420" width="414" height="11.5"/> 3586 <rect key="frame" x="0.0" y="420" width="414" height="11.5"/>
3590 </imageView> 3587 </imageView>
3591 </subviews> 3588 </subviews>
...@@ -3612,6 +3609,7 @@ ...@@ -3612,6 +3609,7 @@
3612 <mask key="subviews"> 3609 <mask key="subviews">
3613 <exclude reference="Leh-kL-DF1"/> 3610 <exclude reference="Leh-kL-DF1"/>
3614 <exclude reference="F2x-ch-ng3"/> 3611 <exclude reference="F2x-ch-ng3"/>
3612 + <exclude reference="k6Y-8d-5AX"/>
3615 </mask> 3613 </mask>
3616 </variation> 3614 </variation>
3617 </view> 3615 </view>
......
...@@ -24,13 +24,13 @@ import AVFoundation ...@@ -24,13 +24,13 @@ import AVFoundation
24 24
25 termsTextView.delegate = self 25 termsTextView.delegate = self
26 26
27 - mapButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 18) 27 + mapButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 17)
28 mapButton.setTitle("Δες τα supermarket", for: .normal) 28 mapButton.setTitle("Δες τα supermarket", for: .normal)
29 mapButton.setTitleColor(UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 1.00), for: .normal) 29 mapButton.setTitleColor(UIColor(red: 1.00, green: 1.00, blue: 1.00, alpha: 1.00), for: .normal)
30 - mapButton.backgroundColor = UIColor(red: 0.47, green: 0.75, blue: 0.08, alpha: 1.00) 30 + mapButton.backgroundColor = UIColor(red: 0.05, green: 0.65, blue: 0.00, alpha: 1.00)
31 - mapButton.layer.cornerRadius = 8.0 31 + mapButton.layer.cornerRadius = 15.0
32 - mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 44) 32 + mapButton.frame = CGRect(x: 0.0, y: 0.0, width: mapButton.intrinsicContentSize.width, height: 55)
33 - mapButton.contentEdgeInsets = UIEdgeInsets(top: 1, left: 16, bottom: 0, right: 16) 33 + mapButton.contentEdgeInsets = UIEdgeInsets(top: 1, left: 28, bottom: 0, right: 28)
34 34
35 // mapButton.isHidden = true 35 // mapButton.isHidden = true
36 // mapButtonHeight.constant = 0 36 // mapButtonHeight.constant = 0
...@@ -79,22 +79,22 @@ import AVFoundation ...@@ -79,22 +79,22 @@ import AVFoundation
79 // mapButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true 79 // mapButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
80 // } 80 // }
81 81
82 - termsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Regular", size: 16) 82 + termsButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
83 // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) 83 // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5)
84 termsButton.setTitle("Όροι χρήσης", for: .normal) 84 termsButton.setTitle("Όροι χρήσης", for: .normal)
85 - termsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) 85 + termsButton.setTitleColor(UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00), for: .normal)
86 termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) 86 termsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal)
87 termsButton.semanticContentAttribute = .forceRightToLeft 87 termsButton.semanticContentAttribute = .forceRightToLeft
88 - termsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) 88 + termsButton.tintColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 1.00)
89 termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); 89 termsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0);
90 termsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); 90 termsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5);
91 termsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) 91 termsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8)
92 92
93 let termsText = "1. Το εκπτωτικό κουπόνι ισχύει έως την ημερομηνία που αναφέρεται παραπάνω\n2. To εκπτωτικό κουπόνι αφορά στα ενεργά κουπόνια προσφορών όπως αναφέρονται παραπάνω.\n3. Το εκπτωτικό κουπόνι μπορεί να χρησιμοποιηθεί σε μια μόνο συναλλαγή.\n4. Εάν δεν γίνει χρήση ενός επιμέρους κουπονιού προσφοράς από το εκπτωτικό κουπόνι, το κουπόνι προσφοράς επιστρέφει στο καλάθι στην ενότητα COSMOTE SuperMarket Deals" 93 let termsText = "1. Το εκπτωτικό κουπόνι ισχύει έως την ημερομηνία που αναφέρεται παραπάνω\n2. To εκπτωτικό κουπόνι αφορά στα ενεργά κουπόνια προσφορών όπως αναφέρονται παραπάνω.\n3. Το εκπτωτικό κουπόνι μπορεί να χρησιμοποιηθεί σε μια μόνο συναλλαγή.\n4. Εάν δεν γίνει χρήση ενός επιμέρους κουπονιού προσφοράς από το εκπτωτικό κουπόνι, το κουπόνι προσφοράς επιστρέφει στο καλάθι στην ενότητα COSMOTE SuperMarket Deals"
94 termsTextView.attributedText = NSAttributedString(string: termsText) 94 termsTextView.attributedText = NSAttributedString(string: termsText)
95 - termsTextView.font = UIFont(name: "PFSquareSansPro-Regular", size: 15) 95 + termsTextView.font = UIFont(name: "PeridotPE-Regular", size: 16)
96 - termsTextView.textColor = UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00) 96 + termsTextView.textColor = UIColor(red: 0.62, green: 0.62, blue: 0.61, alpha: 1.00)
97 - termsTextView.textAlignment = .center 97 + termsTextView.textAlignment = .left
98 termsTextView.isScrollEnabled = false 98 termsTextView.isScrollEnabled = false
99 99
100 termsTextView.isUserInteractionEnabled = true 100 termsTextView.isUserInteractionEnabled = true
......
...@@ -90,23 +90,23 @@ import AVFoundation ...@@ -90,23 +90,23 @@ import AVFoundation
90 // } 90 // }
91 91
92 92
93 - showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 93 + showBarcodeButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
94 showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) 94 showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal)
95 - showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) 95 + showBarcodeButton.setTitleColor(UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00), for: .normal)
96 showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) 96 showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal)
97 showBarcodeButton.semanticContentAttribute = .forceRightToLeft 97 showBarcodeButton.semanticContentAttribute = .forceRightToLeft
98 - showBarcodeButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) 98 + showBarcodeButton.tintColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 1.00)
99 showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); 99 showBarcodeButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0);
100 showBarcodeButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); 100 showBarcodeButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5);
101 showBarcodeButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) 101 showBarcodeButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8)
102 102
103 - showCouponsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Regular", size: 16) 103 + showCouponsButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
104 // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) 104 // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5)
105 showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal) 105 showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal)
106 - showCouponsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) 106 + showCouponsButton.setTitleColor(UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00), for: .normal)
107 showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) 107 showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal)
108 showCouponsButton.semanticContentAttribute = .forceRightToLeft 108 showCouponsButton.semanticContentAttribute = .forceRightToLeft
109 - showCouponsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) 109 + showCouponsButton.tintColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 1.00)
110 showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); 110 showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0);
111 showCouponsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); 111 showCouponsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5);
112 showCouponsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) 112 showCouponsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8)
...@@ -121,7 +121,7 @@ import AVFoundation ...@@ -121,7 +121,7 @@ import AVFoundation
121 121
122 func configureCell(coupon: swiftApi.UnifiedCouponModel?, couponsVisible: Bool) { 122 func configureCell(coupon: swiftApi.UnifiedCouponModel?, couponsVisible: Bool) {
123 123
124 - couponView.layer.cornerRadius = 8 124 + couponView.layer.cornerRadius = 16
125 // couponNumberLabel.text = ((coupon?._code != 0) ? String(coupon?._code ?? 0) : "") 125 // couponNumberLabel.text = ((coupon?._code != 0) ? String(coupon?._code ?? 0) : "")
126 couponNumberLabel.text = coupon?._barcode ?? "" 126 couponNumberLabel.text = coupon?._barcode ?? ""
127 couponView.frame = CGRect(x: 0.0, y: 0.0, width: couponView.intrinsicContentSize.width, height: 55) 127 couponView.frame = CGRect(x: 0.0, y: 0.0, width: couponView.intrinsicContentSize.width, height: 55)
...@@ -145,6 +145,14 @@ import AVFoundation ...@@ -145,6 +145,14 @@ import AVFoundation
145 showBarcodeButton.isHidden = true 145 showBarcodeButton.isHidden = true
146 showBarcodeButtonHeight.constant = 0 146 showBarcodeButtonHeight.constant = 0
147 showBarcodeButtonTopSpace.constant = 0 147 showBarcodeButtonTopSpace.constant = 0
148 +
149 + borderViewHeight.constant = CGFloat(0)
150 + borderView2Height.constant = CGFloat(0)
151 +
152 + border1TopSpace.constant = CGFloat(0) // 20
153 + barcodeImageTopSpace.constant = CGFloat(0) // 10
154 + barcodeLabelTopSpace.constant = CGFloat(0) // 10
155 + border2TopSpace.constant = CGFloat(0) // 15
148 } 156 }
149 // === 157 // ===
150 158
......
...@@ -108,22 +108,22 @@ extension UITableView { ...@@ -108,22 +108,22 @@ extension UITableView {
108 // scrollView.layer.cornerRadius = 30 108 // scrollView.layer.cornerRadius = 30
109 // scrollView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius 109 // scrollView.layer.maskedCorners = [ .layerMinXMinYCorner] // Top left corner radius
110 110
111 - let image = UIImage(named: "top_border_line", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)! 111 +// let image = UIImage(named: "top_border_line", in: MyEmptyClass.resourceBundle(), compatibleWith: nil)!
112 - var aspectR: CGFloat = 0.0 112 +// var aspectR: CGFloat = 0.0
113 - 113 +//
114 - aspectR = image.size.width/image.size.height 114 +// aspectR = image.size.width/image.size.height
115 - 115 +//
116 - topBorderLine.translatesAutoresizingMaskIntoConstraints = false 116 +// topBorderLine.translatesAutoresizingMaskIntoConstraints = false
117 - topBorderLine.image = image 117 +// topBorderLine.image = image
118 - topBorderLine.contentMode = .scaleAspectFill 118 +// topBorderLine.contentMode = .scaleAspectFill
119 - 119 +//
120 - NSLayoutConstraint.activate([ 120 +// NSLayoutConstraint.activate([
121 - topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0), 121 +// topBorderLine.topAnchor.constraint(equalTo: mainView.topAnchor, constant: 0),
122 - topBorderLine.leadingAnchor.constraint(equalTo: mainView.leadingAnchor, constant: 0), 122 +// topBorderLine.leadingAnchor.constraint(equalTo: mainView.leadingAnchor, constant: 0),
123 - topBorderLine.trailingAnchor.constraint(equalTo: mainView.trailingAnchor, constant: 0), 123 +// topBorderLine.trailingAnchor.constraint(equalTo: mainView.trailingAnchor, constant: 0),
124 - topBorderLine.widthAnchor.constraint(equalToConstant: UIScreen.main.bounds.width), 124 +// topBorderLine.widthAnchor.constraint(equalToConstant: UIScreen.main.bounds.width),
125 - topBorderLine.heightAnchor.constraint(equalTo: topBorderLine.widthAnchor, multiplier: 1/aspectR) 125 +// topBorderLine.heightAnchor.constraint(equalTo: topBorderLine.widthAnchor, multiplier: 1/aspectR)
126 - ]) 126 +// ])
127 127
128 // COUPONSET: desc, img_preview, name, terms 128 // COUPONSET: desc, img_preview, name, terms
129 // COUPON: coupon, expiration, discount, status 129 // COUPON: coupon, expiration, discount, status
...@@ -151,8 +151,8 @@ extension UITableView { ...@@ -151,8 +151,8 @@ extension UITableView {
151 // 151 //
152 // if (htmlMerchDescrText != "") { 152 // if (htmlMerchDescrText != "") {
153 // merchantDescrTextView.attributedText = htmlMerchDescrText.htmlToAttributedString 153 // merchantDescrTextView.attributedText = htmlMerchDescrText.htmlToAttributedString
154 -// merchantDescrTextView.font = UIFont(name: "PFSquareSansPro-Regular", size: 17) 154 +// merchantDescrTextView.font = UIFont(name: "PeridotPE-Regular", size: 16)
155 -// merchantDescrTextView.textColor = UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00) 155 +// merchantDescrTextView.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00)
156 // merchantDescrTextView.textAlignment = .center 156 // merchantDescrTextView.textAlignment = .center
157 // merchantDescrTextView.isScrollEnabled = false 157 // merchantDescrTextView.isScrollEnabled = false
158 // merchantDescrTextView.isUserInteractionEnabled = true 158 // merchantDescrTextView.isUserInteractionEnabled = true
...@@ -170,7 +170,7 @@ extension UITableView { ...@@ -170,7 +170,7 @@ extension UITableView {
170 // } 170 // }
171 // } 171 // }
172 172
173 - couponView.layer.cornerRadius = 8 173 + couponView.layer.cornerRadius = 16
174 couponNumberLabel.text = ((coupon?._code != 0) ? String(coupon?._code ?? 0) : "") 174 couponNumberLabel.text = ((coupon?._code != 0) ? String(coupon?._code ?? 0) : "")
175 couponView.frame = CGRect(x: 0.0, y: 0.0, width: couponView.intrinsicContentSize.width, height: 55) 175 couponView.frame = CGRect(x: 0.0, y: 0.0, width: couponView.intrinsicContentSize.width, height: 55)
176 176
...@@ -214,7 +214,7 @@ extension UITableView { ...@@ -214,7 +214,7 @@ extension UITableView {
214 showBarcodeButtonTopSpace.constant = 0 214 showBarcodeButtonTopSpace.constant = 0
215 // === 215 // ===
216 216
217 - showBarcodeButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) 217 + showBarcodeButton.titleLabel?.font = UIFont(name: "PeridotPE-SBold", size: 16)
218 showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal) 218 showBarcodeButton.setTitle("Εμφάνιση barcode", for: .normal)
219 showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) 219 showBarcodeButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal)
220 showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) 220 showBarcodeButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal)
...@@ -285,13 +285,13 @@ extension UITableView { ...@@ -285,13 +285,13 @@ extension UITableView {
285 // mapButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true 285 // mapButton.widthAnchor.constraint(equalTo: view.widthAnchor, multiplier: 0.6).isActive = true
286 // } 286 // }
287 287
288 - showCouponsButton.titleLabel?.font = UIFont(name: "PFSquareSansPro-Regular", size: 16) 288 + showCouponsButton.titleLabel?.font = UIFont(name: "PeridotPE-Bold", size: 15)
289 // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5) 289 // termsButton.imageView?.layer.transform = CATransform3DMakeScale(1.5, 1.5, 1.5)
290 showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal) 290 showCouponsButton.setTitle("Εμφάνιση κουπονιών", for: .normal)
291 - showCouponsButton.setTitleColor(UIColor(red: 0.25, green: 0.33, blue: 0.39, alpha: 1.00), for: .normal) 291 + showCouponsButton.setTitleColor(UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00), for: .normal)
292 showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal) 292 showCouponsButton.setImage(UIImage(named: "ic_down_dark_2.png", in: MyEmptyClass.resourceBundle(), compatibleWith: nil), for: .normal)
293 showCouponsButton.semanticContentAttribute = .forceRightToLeft 293 showCouponsButton.semanticContentAttribute = .forceRightToLeft
294 - showCouponsButton.tintColor = UIColor(red: 0.21, green: 0.32, blue: 0.41, alpha: 1.00) 294 + showCouponsButton.tintColor = UIColor(red: 0.00, green: 0.00, blue: 0.00, alpha: 1.00)
295 showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0); 295 showCouponsButton.imageEdgeInsets = UIEdgeInsets(top: 0, left: 5, bottom: 0, right: 0);
296 showCouponsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5); 296 showCouponsButton.titleEdgeInsets = UIEdgeInsets(top: 0, left: 0, bottom: 0, right: 5);
297 showCouponsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8) 297 showCouponsButton.imageView?.layer.transform = CATransform3DMakeScale(0.8, 0.8, 0.8)
...@@ -558,7 +558,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa ...@@ -558,7 +558,7 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa
558 return UITableView.automaticDimension 558 return UITableView.automaticDimension
559 } else if (indexPath.section == 1) { 559 } else if (indexPath.section == 1) {
560 if (couponsVisible == true) { 560 if (couponsVisible == true) {
561 - return 120.0 + 8.0 561 + return 130.0 + 8.0
562 } else { 562 } else {
563 return 0.0 563 return 0.0
564 } 564 }
...@@ -613,4 +613,74 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa ...@@ -613,4 +613,74 @@ extension UnifiedCouponBarcodeViewController: UITableViewDelegate, UITableViewDa
613 // self.navigationController?.pushViewController(vc, animated: true) 613 // self.navigationController?.pushViewController(vc, animated: true)
614 } 614 }
615 615
616 + public func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? {
617 + if (section == 0){
618 + return nil
619 +
620 + } else if (section == 1) {
621 + if (couponsVisible == true) {
622 + let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 8))
623 + view.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.00)
624 +
625 + return view
626 + } else {
627 + return nil
628 + }
629 +
630 + } else {
631 + return nil
632 + }
633 + }
634 +
635 + public func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat {
636 + if (section == 0) {
637 + return 0.0
638 +
639 + } else if (section == 1) {
640 + if (couponsVisible == true) {
641 + return 8.0
642 + } else {
643 + return 0.0
644 + }
645 +
646 + } else {
647 + return 0.0
648 + }
649 + }
650 +
651 + public func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat {
652 + if (section == 0) {
653 + return 0.0
654 +
655 + } else if (section == 1) {
656 + if (couponsVisible == true) {
657 + return 8.0
658 + } else {
659 + return 0.0
660 + }
661 +
662 + } else {
663 + return 0.0
664 + }
665 + }
666 +
667 + public func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? {
668 + if (section == 0){
669 + return nil
670 +
671 + } else if (section == 1) {
672 + if (couponsVisible == true) {
673 + let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 8))
674 + view.backgroundColor = UIColor(red: 0.95, green: 0.95, blue: 0.95, alpha: 1.00)
675 +
676 + return view
677 + } else {
678 + return nil
679 + }
680 +
681 + } else {
682 + return nil
683 + }
684 + }
685 +
616 } 686 }
......
...@@ -43,12 +43,15 @@ import UIKit ...@@ -43,12 +43,15 @@ import UIKit
43 43
44 44
45 func configureCell(coupon: swiftApi.UnifiedCouponModel) { 45 func configureCell(coupon: swiftApi.UnifiedCouponModel) {
46 - var activeCouponsCount:Int = 0 46 + let activeCoupons = coupon._coupons.filter { $0.status == 1 }
47 - for coupon in coupon._coupons { 47 + let activeCouponsCount = activeCoupons.count
48 - if (coupon.status == 1) { 48 +
49 - activeCouponsCount += 1 49 +// var activeCouponsCount:Int = 0
50 - } 50 +// for coupon in coupon._coupons {
51 - } 51 +// if (coupon.status == 1) {
52 +// activeCouponsCount += 1
53 +// }
54 +// }
52 55
53 nameLabel.text = "COSMOTE SuperMarket Deals" 56 nameLabel.text = "COSMOTE SuperMarket Deals"
54 57
...@@ -56,7 +59,7 @@ import UIKit ...@@ -56,7 +59,7 @@ import UIKit
56 activeCouponsCount == 1 ? "έχεις " + String(activeCouponsCount) + " ενεργό κουπόνι" 59 activeCouponsCount == 1 ? "έχεις " + String(activeCouponsCount) + " ενεργό κουπόνι"
57 : "έχεις " + String(activeCouponsCount) + " ενεργά κουπόνια" 60 : "έχεις " + String(activeCouponsCount) + " ενεργά κουπόνια"
58 61
59 - if let earliestExpiration = coupon._coupons.min(by: { ($0.expiration ?? "") < ($1.expiration ?? "") }) { 62 + if let earliestExpiration = activeCoupons.min(by: { ($0.expiration ?? "") < ($1.expiration ?? "") }) {
60 expirationLabel.text = "Ισχύει έως " + (earliestExpiration.expiration ?? "") 63 expirationLabel.text = "Ισχύει έως " + (earliestExpiration.expiration ?? "")
61 } else { 64 } else {
62 expirationLabel.text = "" 65 expirationLabel.text = ""
......
...@@ -6816,12 +6816,14 @@ public class swiftApi { ...@@ -6816,12 +6816,14 @@ public class swiftApi {
6816 } 6816 }
6817 6817
6818 // Example "created":"Mon, 03 Apr 2023 15:05:14 GMT" 6818 // Example "created":"Mon, 03 Apr 2023 15:05:14 GMT"
6819 +// Example created = “2023-04-10 14:44:57.515402”;
6819 let dateString = dictionary["created"] as? String? ?? "" 6820 let dateString = dictionary["created"] as? String? ?? ""
6820 let dateFormatter = DateFormatter() 6821 let dateFormatter = DateFormatter()
6821 - dateFormatter.locale = Locale(identifier: "en_US_POSSIX") 6822 +// dateFormatter.locale = Locale(identifier: "en_US_POSSIX")
6822 - dateFormatter.dateFormat = "E, dd MMM yyyy HH:mm:ss 'GMT'" 6823 +// dateFormatter.dateFormat = "E, dd MMM yyyy HH:mm:ss 'GMT'"
6824 + dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSSSSS"
6823 if let date = dateFormatter.date(from: dateString ?? "") { 6825 if let date = dateFormatter.date(from: dateString ?? "") {
6824 - dateFormatter.dateFormat = "dd/MM/yyyy" 6826 +// dateFormatter.dateFormat = "dd/MM/yyyy"
6825 let resultString = dateFormatter.string(from: date) 6827 let resultString = dateFormatter.string(from: date)
6826 self.created = resultString 6828 self.created = resultString
6827 } else { 6829 } else {
...@@ -6911,7 +6913,8 @@ public class swiftApi { ...@@ -6911,7 +6913,8 @@ public class swiftApi {
6911 6913
6912 // Sort by date 6914 // Sort by date
6913 let dateFormatter = DateFormatter() 6915 let dateFormatter = DateFormatter()
6914 - dateFormatter.dateFormat = "dd/MM/yyyy" 6916 +// dateFormatter.dateFormat = "dd/MM/yyyy"
6917 + dateFormatter.dateFormat = "yyyy-MM-dd HH:mm:ss.SSSSSS"
6915 let sortedUnifiedCouponsArray = unifiedCouponsArray.sorted(by: { dateFormatter.date(from:$0._created)?.compare(dateFormatter.date(from:$1._created)!) == .orderedDescending }) 6918 let sortedUnifiedCouponsArray = unifiedCouponsArray.sorted(by: { dateFormatter.date(from:$0._created)?.compare(dateFormatter.date(from:$1._created)!) == .orderedDescending })
6916 6919
6917 swiftApi().setUnifiedCouponList(sortedUnifiedCouponsArray) 6920 swiftApi().setUnifiedCouponList(sortedUnifiedCouponsArray)
......