Showing
7 changed files
with
445 additions
and
207 deletions
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>Pods-SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>0</integer> | 10 | + <integer>1</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
... | @@ -7,7 +7,7 @@ | ... | @@ -7,7 +7,7 @@ |
7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> | 7 | <key>SwiftWarplyFramework.xcscheme_^#shared#^_</key> |
8 | <dict> | 8 | <dict> |
9 | <key>orderHint</key> | 9 | <key>orderHint</key> |
10 | - <integer>1</integer> | 10 | + <integer>0</integer> |
11 | </dict> | 11 | </dict> |
12 | </dict> | 12 | </dict> |
13 | </dict> | 13 | </dict> | ... | ... |
No preview for this file type
... | @@ -13,6 +13,9 @@ class AnalysisHeaderViewCell: UITableViewCell { | ... | @@ -13,6 +13,9 @@ class AnalysisHeaderViewCell: UITableViewCell { |
13 | @IBOutlet weak var itemImage: UIImageView! | 13 | @IBOutlet weak var itemImage: UIImageView! |
14 | @IBOutlet weak var titleLabel: UILabel! | 14 | @IBOutlet weak var titleLabel: UILabel! |
15 | @IBOutlet weak var emptyLabel: UILabel! | 15 | @IBOutlet weak var emptyLabel: UILabel! |
16 | + @IBOutlet weak var emptyLabelHeight: NSLayoutConstraint! | ||
17 | + @IBOutlet weak var emptyLabelTopSpace: NSLayoutConstraint! | ||
18 | + @IBOutlet weak var emptyLabelBottomSpace: NSLayoutConstraint! | ||
16 | 19 | ||
17 | // lifecycle | 20 | // lifecycle |
18 | override func awakeFromNib() { | 21 | override func awakeFromNib() { |
... | @@ -22,8 +25,8 @@ class AnalysisHeaderViewCell: UITableViewCell { | ... | @@ -22,8 +25,8 @@ class AnalysisHeaderViewCell: UITableViewCell { |
22 | // itemImage.image = UIImage(named: "ic_gift_circle_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | 25 | // itemImage.image = UIImage(named: "ic_gift_circle_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) |
23 | 26 | ||
24 | // title | 27 | // title |
25 | - titleLabel.textColor = UIColor(rgb: 0x435563) | 28 | +// titleLabel.textColor = UIColor(rgb: 0x435563) |
26 | - titleLabel.text = "Αναλυτικά:" | 29 | +// titleLabel.text = "Αναλυτικά:" |
27 | } | 30 | } |
28 | } | 31 | } |
29 | 32 | ||
... | @@ -32,8 +35,14 @@ extension AnalysisHeaderViewCell { | ... | @@ -32,8 +35,14 @@ extension AnalysisHeaderViewCell { |
32 | 35 | ||
33 | if (isEmpty == true) { | 36 | if (isEmpty == true) { |
34 | emptyLabel.isHidden = false | 37 | emptyLabel.isHidden = false |
38 | + emptyLabelHeight.constant = 18.5 | ||
39 | +// emptyLabelTopSpace.constant = 30.0 | ||
40 | + emptyLabelBottomSpace.constant = 10.0 | ||
35 | } else { | 41 | } else { |
36 | emptyLabel.isHidden = true | 42 | emptyLabel.isHidden = true |
43 | + emptyLabelHeight.constant = 0.0 | ||
44 | +// emptyLabelTopSpace.constant = 0.0 | ||
45 | + emptyLabelBottomSpace.constant = 0.0 | ||
37 | } | 46 | } |
38 | 47 | ||
39 | if (isMarket == true) { | 48 | if (isMarket == true) { | ... | ... |
... | @@ -9,14 +9,17 @@ import UIKit | ... | @@ -9,14 +9,17 @@ import UIKit |
9 | 9 | ||
10 | @objc public class AnalysisMoreViewCell: UITableViewCell { | 10 | @objc public class AnalysisMoreViewCell: UITableViewCell { |
11 | @IBOutlet weak var titleLabel: UILabel! | 11 | @IBOutlet weak var titleLabel: UILabel! |
12 | + @IBOutlet weak var arrowImage: UIImageView! | ||
12 | 13 | ||
13 | // lifecycle | 14 | // lifecycle |
14 | public override func awakeFromNib() { | 15 | public override func awakeFromNib() { |
15 | super.awakeFromNib() | 16 | super.awakeFromNib() |
16 | 17 | ||
17 | // title | 18 | // title |
18 | - titleLabel.font = UIFont(name: "PFSquareSansPro-Medium", size: 16) | 19 | + titleLabel.font = UIFont(name: "PeridotPE-Bold", size: 15) |
19 | - titleLabel.textColor = UIColor(rgb: 0x415564) | 20 | + titleLabel.textColor = UIColor(rgb: 0x212121) |
20 | titleLabel.text = "Δες Περισσότερα" | 21 | titleLabel.text = "Δες Περισσότερα" |
22 | + | ||
23 | + arrowImage.image = UIImage(named: "ic_down_dark_2", in: MyEmptyClass.resourceBundle(), compatibleWith: nil) | ||
21 | } | 24 | } |
22 | } | 25 | } | ... | ... |
... | @@ -1085,219 +1085,316 @@ | ... | @@ -1085,219 +1085,316 @@ |
1085 | <scene sceneID="Yng-iu-80u"> | 1085 | <scene sceneID="Yng-iu-80u"> |
1086 | <objects> | 1086 | <objects> |
1087 | <tableViewController storyboardIdentifier="SharingHistoryViewController" hidesBottomBarWhenPushed="YES" id="xOZ-Af-1Nw" customClass="SharingHistoryViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> | 1087 | <tableViewController storyboardIdentifier="SharingHistoryViewController" hidesBottomBarWhenPushed="YES" id="xOZ-Af-1Nw" customClass="SharingHistoryViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> |
1088 | - <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" contentViewInsetsToSafeArea="NO" id="IAk-m8-ZIC"> | 1088 | + <tableView key="view" 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" id="IAk-m8-ZIC"> |
1089 | <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | 1089 | <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> |
1090 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 1090 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
1091 | - <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/> | 1091 | + <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
1092 | + <color key="sectionIndexBackgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/> | ||
1092 | <prototypes> | 1093 | <prototypes> |
1093 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisMoreViewCell" rowHeight="160" id="rpm-JS-xpJ" customClass="AnalysisMoreViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 1094 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisMoreViewCell" id="rpm-JS-xpJ" customClass="AnalysisMoreViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
1094 | - <rect key="frame" x="0.0" y="50" width="414" height="160"/> | 1095 | + <rect key="frame" x="0.0" y="55.5" width="414" height="60"/> |
1095 | <autoresizingMask key="autoresizingMask"/> | 1096 | <autoresizingMask key="autoresizingMask"/> |
1096 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="rpm-JS-xpJ" id="4bk-NG-9CV"> | 1097 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="rpm-JS-xpJ" id="4bk-NG-9CV"> |
1097 | - <rect key="frame" x="0.0" y="0.0" width="414" height="160"/> | 1098 | + <rect key="frame" x="0.0" y="0.0" width="414" height="60"/> |
1098 | <autoresizingMask key="autoresizingMask"/> | 1099 | <autoresizingMask key="autoresizingMask"/> |
1099 | <subviews> | 1100 | <subviews> |
1100 | - <stackView opaque="NO" contentMode="scaleToFill" spacing="7" translatesAutoresizingMaskIntoConstraints="NO" id="Ujy-Ns-gSY"> | 1101 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T3A-LL-nfc"> |
1101 | - <rect key="frame" x="142.5" y="65" width="129" height="30"/> | 1102 | + <rect key="frame" x="10" y="0.0" width="394" height="60"/> |
1102 | <subviews> | 1103 | <subviews> |
1103 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Δες Περισσότερα" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jD8-wg-76D"> | 1104 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9G2-k6-Xu5"> |
1104 | - <rect key="frame" x="0.0" y="0.0" width="112" height="30"/> | 1105 | + <rect key="frame" x="1" y="0.0" width="392" height="60"/> |
1105 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | 1106 | + <subviews> |
1106 | - <nil key="textColor"/> | 1107 | + <stackView opaque="NO" contentMode="scaleToFill" spacing="7" translatesAutoresizingMaskIntoConstraints="NO" id="Ujy-Ns-gSY"> |
1107 | - <nil key="highlightedColor"/> | 1108 | + <rect key="frame" x="129" y="30" width="134" height="30"/> |
1108 | - </label> | 1109 | + <subviews> |
1109 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_down_dark" translatesAutoresizingMaskIntoConstraints="NO" id="w3t-uo-L5p"> | 1110 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Δες Περισσότερα" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jD8-wg-76D"> |
1110 | - <rect key="frame" x="119" y="0.0" width="10" height="30"/> | 1111 | + <rect key="frame" x="0.0" y="0.0" width="112" height="30"/> |
1112 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
1113 | + <nil key="textColor"/> | ||
1114 | + <nil key="highlightedColor"/> | ||
1115 | + </label> | ||
1116 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_down_dark" translatesAutoresizingMaskIntoConstraints="NO" id="w3t-uo-L5p"> | ||
1117 | + <rect key="frame" x="119" y="0.0" width="15" height="30"/> | ||
1118 | + <constraints> | ||
1119 | + <constraint firstAttribute="width" constant="15" id="Vle-mG-72l"/> | ||
1120 | + </constraints> | ||
1121 | + </imageView> | ||
1122 | + </subviews> | ||
1123 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1124 | + <constraints> | ||
1125 | + <constraint firstAttribute="height" constant="30" id="pZA-sa-b2o"/> | ||
1126 | + </constraints> | ||
1127 | + </stackView> | ||
1128 | + </subviews> | ||
1129 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1111 | <constraints> | 1130 | <constraints> |
1112 | - <constraint firstAttribute="width" constant="10" id="Vle-mG-72l"/> | 1131 | + <constraint firstItem="Ujy-Ns-gSY" firstAttribute="centerX" secondItem="9G2-k6-Xu5" secondAttribute="centerX" id="Nwe-Yg-0aT"/> |
1132 | + <constraint firstAttribute="bottom" secondItem="Ujy-Ns-gSY" secondAttribute="bottom" id="Vxv-yw-kES"/> | ||
1133 | + <constraint firstItem="Ujy-Ns-gSY" firstAttribute="top" secondItem="9G2-k6-Xu5" secondAttribute="top" constant="30" id="iAv-YG-mA8"/> | ||
1113 | </constraints> | 1134 | </constraints> |
1114 | - </imageView> | 1135 | + </view> |
1115 | </subviews> | 1136 | </subviews> |
1137 | + <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> | ||
1116 | <constraints> | 1138 | <constraints> |
1117 | - <constraint firstAttribute="height" constant="30" id="pZA-sa-b2o"/> | 1139 | + <constraint firstItem="9G2-k6-Xu5" firstAttribute="leading" secondItem="T3A-LL-nfc" secondAttribute="leading" constant="1" id="d4Z-P7-fiV"/> |
1140 | + <constraint firstAttribute="bottom" secondItem="9G2-k6-Xu5" secondAttribute="bottom" id="mXF-jz-iwO"/> | ||
1141 | + <constraint firstAttribute="trailing" secondItem="9G2-k6-Xu5" secondAttribute="trailing" constant="1" id="pQw-8E-ZG2"/> | ||
1142 | + <constraint firstItem="9G2-k6-Xu5" firstAttribute="top" secondItem="T3A-LL-nfc" secondAttribute="top" id="tOP-6f-Adl"/> | ||
1118 | </constraints> | 1143 | </constraints> |
1119 | - </stackView> | 1144 | + </view> |
1120 | </subviews> | 1145 | </subviews> |
1121 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1146 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1122 | <constraints> | 1147 | <constraints> |
1123 | - <constraint firstItem="Ujy-Ns-gSY" firstAttribute="centerY" secondItem="4bk-NG-9CV" secondAttribute="centerY" id="tjs-LH-AbK"/> | 1148 | + <constraint firstAttribute="trailing" secondItem="T3A-LL-nfc" secondAttribute="trailing" constant="10" id="3eq-pb-eDp"/> |
1124 | - <constraint firstItem="Ujy-Ns-gSY" firstAttribute="centerX" secondItem="4bk-NG-9CV" secondAttribute="centerX" id="zOh-rM-dnO"/> | 1149 | + <constraint firstItem="T3A-LL-nfc" firstAttribute="leading" secondItem="4bk-NG-9CV" secondAttribute="leading" constant="10" id="MyS-7A-EhH"/> |
1150 | + <constraint firstAttribute="bottom" secondItem="T3A-LL-nfc" secondAttribute="bottom" id="fvY-ba-Anq"/> | ||
1151 | + <constraint firstItem="T3A-LL-nfc" firstAttribute="top" secondItem="4bk-NG-9CV" secondAttribute="top" id="ptw-LW-bC9"/> | ||
1125 | </constraints> | 1152 | </constraints> |
1126 | </tableViewCellContentView> | 1153 | </tableViewCellContentView> |
1127 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1154 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1128 | <connections> | 1155 | <connections> |
1156 | + <outlet property="arrowImage" destination="w3t-uo-L5p" id="gDu-xC-MXj"/> | ||
1129 | <outlet property="titleLabel" destination="jD8-wg-76D" id="K6c-qT-EMs"/> | 1157 | <outlet property="titleLabel" destination="jD8-wg-76D" id="K6c-qT-EMs"/> |
1130 | </connections> | 1158 | </connections> |
1131 | </tableViewCell> | 1159 | </tableViewCell> |
1132 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisItemViewCell" rowHeight="160" id="iNx-Id-iLB" customClass="AnalysisItemViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 1160 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderViewCell" id="HMC-zK-06F" customClass="AnalysisHeaderViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
1133 | - <rect key="frame" x="0.0" y="210" width="414" height="160"/> | 1161 | + <rect key="frame" x="0.0" y="115.5" width="414" height="183.5"/> |
1134 | <autoresizingMask key="autoresizingMask"/> | 1162 | <autoresizingMask key="autoresizingMask"/> |
1135 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="iNx-Id-iLB" id="X28-3l-fcy"> | 1163 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="HMC-zK-06F" id="RtV-Li-Dnj"> |
1136 | - <rect key="frame" x="0.0" y="0.0" width="414" height="160"/> | 1164 | + <rect key="frame" x="0.0" y="0.0" width="414" height="183.5"/> |
1137 | <autoresizingMask key="autoresizingMask"/> | 1165 | <autoresizingMask key="autoresizingMask"/> |
1138 | <subviews> | 1166 | <subviews> |
1139 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="05/05/2022" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fWY-zJ-P1c" userLabel="Date"> | 1167 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xmN-ke-oBj"> |
1140 | - <rect key="frame" x="10" y="20" width="394" height="16"/> | 1168 | + <rect key="frame" x="157" y="25" width="100" height="100"/> |
1141 | - <constraints> | ||
1142 | - <constraint firstAttribute="height" constant="16" id="5pR-Xb-nB2"/> | ||
1143 | - </constraints> | ||
1144 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Bold" family="PF Square Sans Pro" pointSize="11"/> | ||
1145 | - <nil key="textColor"/> | ||
1146 | - <nil key="highlightedColor"/> | ||
1147 | - </label> | ||
1148 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="rW5-M3-c7s"> | ||
1149 | - <rect key="frame" x="10" y="46" width="28" height="28"/> | ||
1150 | <constraints> | 1169 | <constraints> |
1151 | - <constraint firstAttribute="height" constant="28" id="Nw7-Mi-QTe"/> | 1170 | + <constraint firstAttribute="height" constant="100" id="OG9-xL-K4U"/> |
1152 | - <constraint firstAttribute="width" constant="28" id="hEI-zc-TX4"/> | 1171 | + <constraint firstAttribute="width" constant="100" id="Xgj-YV-J4n"/> |
1153 | </constraints> | 1172 | </constraints> |
1154 | </imageView> | 1173 | </imageView> |
1155 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="4,00€" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Pyr-Jo-zxl" userLabel="Price"> | 1174 | + <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="nTp-Dz-QAc"> |
1156 | - <rect key="frame" x="351.5" y="50" width="42.5" height="20"/> | 1175 | + <rect key="frame" x="20" y="155" width="374" height="18.5"/> |
1157 | <constraints> | 1176 | <constraints> |
1158 | - <constraint firstAttribute="height" constant="20" id="WPI-8H-zbd"/> | 1177 | + <constraint firstAttribute="height" constant="18.5" id="wGJ-kY-Acs"/> |
1159 | </constraints> | 1178 | </constraints> |
1160 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Bold" family="PF Square Sans Pro" pointSize="16"/> | 1179 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/> |
1161 | - <nil key="textColor"/> | 1180 | + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> |
1162 | - <nil key="highlightedColor"/> | ||
1163 | - </label> | ||
1164 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="248" verticalHuggingPriority="251" text="BOX" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hqA-F6-n9s" userLabel="Title"> | ||
1165 | - <rect key="frame" x="42" y="52" width="305.5" height="16"/> | ||
1166 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="16"/> | ||
1167 | - <nil key="textColor"/> | ||
1168 | - <nil key="highlightedColor"/> | ||
1169 | - </label> | ||
1170 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="248" verticalHuggingPriority="251" text="Έκπτωτικό κουπόνι" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xac-fs-J8S" userLabel="Subtitle"> | ||
1171 | - <rect key="frame" x="42" y="70" width="305.5" height="16"/> | ||
1172 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="16"/> | ||
1173 | - <nil key="textColor"/> | ||
1174 | <nil key="highlightedColor"/> | 1181 | <nil key="highlightedColor"/> |
1175 | </label> | 1182 | </label> |
1176 | </subviews> | 1183 | </subviews> |
1177 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1184 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1178 | <constraints> | 1185 | <constraints> |
1179 | - <constraint firstItem="fWY-zJ-P1c" firstAttribute="top" secondItem="X28-3l-fcy" secondAttribute="top" constant="20" id="Gj8-gE-gbj"/> | 1186 | + <constraint firstAttribute="bottom" secondItem="nTp-Dz-QAc" secondAttribute="bottom" constant="10" id="9qo-FO-iU2"/> |
1180 | - <constraint firstAttribute="trailing" secondItem="fWY-zJ-P1c" secondAttribute="trailing" constant="10" id="MNz-as-PZd"/> | 1187 | + <constraint firstItem="nTp-Dz-QAc" firstAttribute="top" secondItem="xmN-ke-oBj" secondAttribute="bottom" constant="30" id="Kcw-fb-Ch3"/> |
1181 | - <constraint firstItem="hqA-F6-n9s" firstAttribute="centerY" secondItem="rW5-M3-c7s" secondAttribute="centerY" id="OpX-dx-J0h"/> | 1188 | + <constraint firstItem="xmN-ke-oBj" firstAttribute="centerX" secondItem="RtV-Li-Dnj" secondAttribute="centerX" id="LvL-o4-MTE"/> |
1182 | - <constraint firstItem="rW5-M3-c7s" firstAttribute="top" secondItem="fWY-zJ-P1c" secondAttribute="bottom" constant="10" id="Sbw-Ar-xiH"/> | 1189 | + <constraint firstItem="nTp-Dz-QAc" firstAttribute="leading" secondItem="RtV-Li-Dnj" secondAttribute="leading" constant="20" id="fMS-F0-UAU"/> |
1183 | - <constraint firstItem="xac-fs-J8S" firstAttribute="leading" secondItem="hqA-F6-n9s" secondAttribute="leading" id="UYN-ui-q74"/> | 1190 | + <constraint firstAttribute="trailing" secondItem="nTp-Dz-QAc" secondAttribute="trailing" constant="20" id="tH3-uE-4sM"/> |
1184 | - <constraint firstItem="rW5-M3-c7s" firstAttribute="leading" secondItem="X28-3l-fcy" secondAttribute="leading" constant="10" id="Vco-mW-IpG"/> | 1191 | + <constraint firstItem="xmN-ke-oBj" firstAttribute="top" secondItem="RtV-Li-Dnj" secondAttribute="top" constant="25" id="v4Z-tl-gBX"/> |
1185 | - <constraint firstItem="fWY-zJ-P1c" firstAttribute="leading" secondItem="X28-3l-fcy" secondAttribute="leading" constant="10" id="Ynl-uB-QjI"/> | ||
1186 | - <constraint firstItem="xac-fs-J8S" firstAttribute="trailing" secondItem="hqA-F6-n9s" secondAttribute="trailing" id="bKd-IG-1da"/> | ||
1187 | - <constraint firstItem="xac-fs-J8S" firstAttribute="top" secondItem="hqA-F6-n9s" secondAttribute="bottom" constant="2" id="mQi-g5-OUm"/> | ||
1188 | - <constraint firstItem="Pyr-Jo-zxl" firstAttribute="leading" secondItem="hqA-F6-n9s" secondAttribute="trailing" constant="4" id="mzB-xA-7SR"/> | ||
1189 | - <constraint firstAttribute="trailing" secondItem="Pyr-Jo-zxl" secondAttribute="trailing" constant="20" id="nYY-Th-Hob"/> | ||
1190 | - <constraint firstItem="hqA-F6-n9s" firstAttribute="leading" secondItem="rW5-M3-c7s" secondAttribute="trailing" constant="4" id="r8B-Tl-KPA"/> | ||
1191 | - <constraint firstItem="Pyr-Jo-zxl" firstAttribute="centerY" secondItem="rW5-M3-c7s" secondAttribute="centerY" id="zif-gr-5SM"/> | ||
1192 | </constraints> | 1192 | </constraints> |
1193 | </tableViewCellContentView> | 1193 | </tableViewCellContentView> |
1194 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1194 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1195 | <connections> | 1195 | <connections> |
1196 | - <outlet property="dateLabel" destination="fWY-zJ-P1c" id="zmh-T6-Uia"/> | 1196 | + <outlet property="emptyLabel" destination="nTp-Dz-QAc" id="euw-Th-h7g"/> |
1197 | - <outlet property="itemImage" destination="rW5-M3-c7s" id="27r-CK-e8f"/> | 1197 | + <outlet property="emptyLabelBottomSpace" destination="9qo-FO-iU2" id="4sG-6j-LA5"/> |
1198 | - <outlet property="priceLabel" destination="Pyr-Jo-zxl" id="hWV-75-Gqf"/> | 1198 | + <outlet property="emptyLabelHeight" destination="wGJ-kY-Acs" id="51L-1q-jJN"/> |
1199 | - <outlet property="subtitleLabel" destination="xac-fs-J8S" id="7ml-5a-zmc"/> | 1199 | + <outlet property="emptyLabelTopSpace" destination="Kcw-fb-Ch3" id="Q4v-qe-mJ4"/> |
1200 | - <outlet property="titleLabel" destination="hqA-F6-n9s" id="zlL-DU-81T"/> | 1200 | + <outlet property="itemImage" destination="xmN-ke-oBj" id="zRs-Ks-2Re"/> |
1201 | </connections> | 1201 | </connections> |
1202 | </tableViewCell> | 1202 | </tableViewCell> |
1203 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderViewCell" rowHeight="280" id="HMC-zK-06F" customClass="AnalysisHeaderViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 1203 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderMessageViewCell" id="QEi-yz-oxe" customClass="AnalysisHeaderMessageViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
1204 | - <rect key="frame" x="0.0" y="370" width="414" height="280"/> | 1204 | + <rect key="frame" x="0.0" y="299" width="414" height="305.5"/> |
1205 | <autoresizingMask key="autoresizingMask"/> | 1205 | <autoresizingMask key="autoresizingMask"/> |
1206 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="HMC-zK-06F" id="RtV-Li-Dnj"> | 1206 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="QEi-yz-oxe" id="ioY-rQ-Gkc"> |
1207 | - <rect key="frame" x="0.0" y="0.0" width="414" height="280"/> | 1207 | + <rect key="frame" x="0.0" y="0.0" width="414" height="305.5"/> |
1208 | <autoresizingMask key="autoresizingMask"/> | 1208 | <autoresizingMask key="autoresizingMask"/> |
1209 | <subviews> | 1209 | <subviews> |
1210 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xmN-ke-oBj"> | 1210 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eDd-bE-Vn4"> |
1211 | - <rect key="frame" x="124" y="31" width="166" height="137"/> | 1211 | + <rect key="frame" x="10" y="155" width="394" height="92"/> |
1212 | + <subviews> | ||
1213 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Μέχρι τώρα έχεις κερδίσει 20,00€ σε προσφορές από 3 κουπόνια!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pCs-3v-td9"> | ||
1214 | + <rect key="frame" x="40" y="25" width="314" height="42"/> | ||
1215 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1216 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/> | ||
1217 | + <nil key="textColor"/> | ||
1218 | + <nil key="highlightedColor"/> | ||
1219 | + </label> | ||
1220 | + </subviews> | ||
1221 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1222 | + <constraints> | ||
1223 | + <constraint firstItem="pCs-3v-td9" firstAttribute="top" secondItem="eDd-bE-Vn4" secondAttribute="top" constant="25" id="AjH-Nm-NBq"/> | ||
1224 | + <constraint firstItem="pCs-3v-td9" firstAttribute="leading" secondItem="eDd-bE-Vn4" secondAttribute="leading" constant="40" id="BTu-4D-s2S"/> | ||
1225 | + <constraint firstAttribute="bottom" secondItem="pCs-3v-td9" secondAttribute="bottom" constant="25" id="RTt-5B-lSE"/> | ||
1226 | + <constraint firstAttribute="trailing" secondItem="pCs-3v-td9" secondAttribute="trailing" constant="40" id="rDt-zs-Mfl"/> | ||
1227 | + </constraints> | ||
1228 | + </view> | ||
1229 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Z3h-tc-T5Q"> | ||
1230 | + <rect key="frame" x="157" y="25" width="100" height="100"/> | ||
1212 | <constraints> | 1231 | <constraints> |
1213 | - <constraint firstAttribute="height" constant="166" id="OG9-xL-K4U"/> | 1232 | + <constraint firstAttribute="width" constant="100" id="DmC-mK-IOZ"/> |
1214 | - <constraint firstAttribute="width" constant="166" id="Xgj-YV-J4n"/> | 1233 | + <constraint firstAttribute="height" constant="100" id="fao-aW-IjP"/> |
1215 | </constraints> | 1234 | </constraints> |
1216 | </imageView> | 1235 | </imageView> |
1217 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Αναλυτικά:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LKw-8l-mRY"> | 1236 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Αναλυτικά:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XWd-AN-MHP"> |
1218 | - <rect key="frame" x="169" y="218" width="76" height="22"/> | 1237 | + <rect key="frame" x="169" y="287" width="76" height="20"/> |
1219 | <constraints> | 1238 | <constraints> |
1220 | - <constraint firstAttribute="height" constant="22" id="T1B-pX-6hx"/> | 1239 | + <constraint firstAttribute="height" constant="20" id="zHN-19-gR1"/> |
1221 | </constraints> | 1240 | </constraints> |
1222 | <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> | 1241 | <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> |
1223 | <nil key="textColor"/> | 1242 | <nil key="textColor"/> |
1224 | <nil key="highlightedColor"/> | 1243 | <nil key="highlightedColor"/> |
1225 | </label> | 1244 | </label> |
1226 | - <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="nTp-Dz-QAc"> | 1245 | + <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="tAl-tt-29c"> |
1227 | - <rect key="frame" x="20" y="270" width="374" height="0.0"/> | 1246 | + <rect key="frame" x="20" y="277" width="374" height="18.5"/> |
1228 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> | 1247 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1229 | - <color key="textColor" red="0.5450980392" green="0.59215686270000001" blue="0.63921568630000003" alpha="1" colorSpace="calibratedRGB"/> | 1248 | + <constraints> |
1249 | + <constraint firstAttribute="height" constant="18.5" id="LGx-EG-LQm"/> | ||
1250 | + </constraints> | ||
1251 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/> | ||
1252 | + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> | ||
1230 | <nil key="highlightedColor"/> | 1253 | <nil key="highlightedColor"/> |
1231 | </label> | 1254 | </label> |
1232 | </subviews> | 1255 | </subviews> |
1233 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1256 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1234 | <constraints> | 1257 | <constraints> |
1235 | - <constraint firstItem="nTp-Dz-QAc" firstAttribute="top" relation="greaterThanOrEqual" secondItem="LKw-8l-mRY" secondAttribute="bottom" constant="30" id="8ah-BK-pt1"/> | 1258 | + <constraint firstItem="tAl-tt-29c" firstAttribute="top" secondItem="eDd-bE-Vn4" secondAttribute="bottom" constant="30" id="1ra-d0-qhn"/> |
1236 | - <constraint firstAttribute="bottom" secondItem="nTp-Dz-QAc" secondAttribute="bottom" constant="10" id="9qo-FO-iU2"/> | 1259 | + <constraint firstAttribute="bottom" secondItem="tAl-tt-29c" secondAttribute="bottom" constant="10" id="56n-AI-gkw"/> |
1237 | - <constraint firstItem="xmN-ke-oBj" firstAttribute="centerX" secondItem="RtV-Li-Dnj" secondAttribute="centerX" id="LvL-o4-MTE"/> | 1260 | + <constraint firstAttribute="trailing" secondItem="tAl-tt-29c" secondAttribute="trailing" constant="20" id="9kJ-Xc-deh"/> |
1238 | - <constraint firstItem="nTp-Dz-QAc" firstAttribute="leading" secondItem="RtV-Li-Dnj" secondAttribute="leading" constant="20" id="fMS-F0-UAU"/> | 1261 | + <constraint firstAttribute="trailing" secondItem="eDd-bE-Vn4" secondAttribute="trailing" constant="10" id="GBu-zg-FSF"/> |
1239 | - <constraint firstItem="LKw-8l-mRY" firstAttribute="top" secondItem="xmN-ke-oBj" secondAttribute="bottom" constant="50" id="sJz-1y-yRN"/> | 1262 | + <constraint firstItem="XWd-AN-MHP" firstAttribute="top" secondItem="eDd-bE-Vn4" secondAttribute="bottom" constant="40" id="Gdr-zw-dxp"/> |
1240 | - <constraint firstAttribute="trailing" secondItem="nTp-Dz-QAc" secondAttribute="trailing" constant="20" id="tH3-uE-4sM"/> | 1263 | + <constraint firstItem="eDd-bE-Vn4" firstAttribute="top" secondItem="Z3h-tc-T5Q" secondAttribute="bottom" constant="30" id="Gge-ed-06M"/> |
1241 | - <constraint firstItem="xmN-ke-oBj" firstAttribute="top" secondItem="RtV-Li-Dnj" secondAttribute="topMargin" constant="20" id="v4Z-tl-gBX"/> | 1264 | + <constraint firstItem="eDd-bE-Vn4" firstAttribute="leading" secondItem="ioY-rQ-Gkc" secondAttribute="leading" constant="10" id="Hqo-Vb-0ch"/> |
1242 | - <constraint firstItem="LKw-8l-mRY" firstAttribute="centerX" secondItem="RtV-Li-Dnj" secondAttribute="centerX" id="yJq-7A-H3r"/> | 1265 | + <constraint firstItem="Z3h-tc-T5Q" firstAttribute="centerX" secondItem="ioY-rQ-Gkc" secondAttribute="centerX" id="gpO-iM-6O8"/> |
1266 | + <constraint firstItem="Z3h-tc-T5Q" firstAttribute="top" secondItem="ioY-rQ-Gkc" secondAttribute="top" constant="25" id="gtg-NB-avM"/> | ||
1267 | + <constraint firstItem="XWd-AN-MHP" firstAttribute="centerX" secondItem="ioY-rQ-Gkc" secondAttribute="centerX" id="ujL-gU-3gF"/> | ||
1268 | + <constraint firstItem="tAl-tt-29c" firstAttribute="leading" secondItem="ioY-rQ-Gkc" secondAttribute="leading" constant="20" id="yzY-dl-gQ6"/> | ||
1243 | </constraints> | 1269 | </constraints> |
1270 | + <variation key="default"> | ||
1271 | + <mask key="subviews"> | ||
1272 | + <exclude reference="XWd-AN-MHP"/> | ||
1273 | + </mask> | ||
1274 | + </variation> | ||
1244 | </tableViewCellContentView> | 1275 | </tableViewCellContentView> |
1245 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1276 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1246 | <connections> | 1277 | <connections> |
1247 | - <outlet property="emptyLabel" destination="nTp-Dz-QAc" id="euw-Th-h7g"/> | 1278 | + <outlet property="emptyLabel" destination="tAl-tt-29c" id="942-YD-6eH"/> |
1248 | - <outlet property="itemImage" destination="xmN-ke-oBj" id="zRs-Ks-2Re"/> | 1279 | + <outlet property="emptyLabelBottomSpace" destination="56n-AI-gkw" id="9Hr-qf-c2E"/> |
1249 | - <outlet property="titleLabel" destination="LKw-8l-mRY" id="2Nl-uC-2aJ"/> | 1280 | + <outlet property="emptyLabelHeight" destination="LGx-EG-LQm" id="aqN-YM-Ort"/> |
1281 | + <outlet property="emptyLabelTopSpace" destination="1ra-d0-qhn" id="21q-WR-VN5"/> | ||
1282 | + <outlet property="itemImage" destination="Z3h-tc-T5Q" id="ZbZ-eD-L6q"/> | ||
1283 | + <outlet property="messageLabel" destination="pCs-3v-td9" id="6F7-Xq-ZUJ"/> | ||
1284 | + <outlet property="messageLabelView" destination="eDd-bE-Vn4" id="Sbc-NP-wuh"/> | ||
1285 | + <outlet property="titleLabel" destination="XWd-AN-MHP" id="LWf-sP-r8b"/> | ||
1250 | </connections> | 1286 | </connections> |
1251 | </tableViewCell> | 1287 | </tableViewCell> |
1252 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderMessageViewCell" rowHeight="380" id="oPh-jz-GSZ" customClass="AnalysisHeaderMessageViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 1288 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisItemViewCell" id="1QI-wl-och" customClass="AnalysisItemViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
1253 | - <rect key="frame" x="0.0" y="650" width="414" height="380"/> | 1289 | + <rect key="frame" x="0.0" y="604.5" width="414" height="94.5"/> |
1254 | <autoresizingMask key="autoresizingMask"/> | 1290 | <autoresizingMask key="autoresizingMask"/> |
1255 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="oPh-jz-GSZ" id="8oK-tI-pLa"> | 1291 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="1QI-wl-och" id="8cF-3w-K35"> |
1256 | - <rect key="frame" x="0.0" y="0.0" width="414" height="380"/> | 1292 | + <rect key="frame" x="0.0" y="0.0" width="414" height="94.5"/> |
1257 | <autoresizingMask key="autoresizingMask"/> | 1293 | <autoresizingMask key="autoresizingMask"/> |
1258 | <subviews> | 1294 | <subviews> |
1259 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Μέχρι τώρα έχεις κερδίσει 20,00€ σε προσφορές από 3 κουπόνια!" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="nkc-wO-by3"> | 1295 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vGa-dC-LEh" userLabel="Border View"> |
1260 | - <rect key="frame" x="50" y="237" width="314" height="60"/> | 1296 | + <rect key="frame" x="10" y="0.0" width="394" height="94.5"/> |
1261 | - <constraints> | 1297 | + <subviews> |
1262 | - <constraint firstAttribute="height" constant="60" id="ZEz-dt-NJa"/> | 1298 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UNS-g9-hv1" userLabel="Inner View"> |
1263 | - </constraints> | 1299 | + <rect key="frame" x="1" y="0.0" width="392" height="94.5"/> |
1264 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Regular" family="PF Square Sans Pro" pointSize="17"/> | 1300 | + <subviews> |
1265 | - <nil key="textColor"/> | 1301 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="05/05/2022" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fTm-5M-hIw" userLabel="Date"> |
1266 | - <nil key="highlightedColor"/> | 1302 | + <rect key="frame" x="20" y="25" width="352" height="16"/> |
1267 | - </label> | 1303 | + <constraints> |
1268 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="sdY-Vd-bbW"> | 1304 | + <constraint firstAttribute="height" constant="16" id="s2m-tp-gK1"/> |
1269 | - <rect key="frame" x="124" y="31" width="166" height="166"/> | 1305 | + </constraints> |
1270 | - <constraints> | 1306 | + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="12"/> |
1271 | - <constraint firstAttribute="height" constant="166" id="ZHj-a8-3y1"/> | 1307 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
1272 | - <constraint firstAttribute="width" constant="166" id="oqg-jC-ibc"/> | 1308 | + <nil key="highlightedColor"/> |
1273 | - </constraints> | 1309 | + </label> |
1274 | - </imageView> | 1310 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="VO6-s8-Izh"> |
1275 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Αναλυτικά:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9MF-rh-eec"> | 1311 | + <rect key="frame" x="20" y="51" width="352" height="43.5"/> |
1276 | - <rect key="frame" x="169" y="339" width="76" height="20"/> | 1312 | + <subviews> |
1313 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="0VZ-nT-qq8"> | ||
1314 | + <rect key="frame" x="0.0" y="8" width="28" height="28"/> | ||
1315 | + <constraints> | ||
1316 | + <constraint firstAttribute="height" constant="28" id="hXy-CH-geH"/> | ||
1317 | + <constraint firstAttribute="width" constant="28" id="zBx-iM-Wrb"/> | ||
1318 | + </constraints> | ||
1319 | + </imageView> | ||
1320 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="248" verticalHuggingPriority="251" text="BOX" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Tb7-JM-oFV" userLabel="Title"> | ||
1321 | + <rect key="frame" x="38" y="0.0" width="251.5" height="21"/> | ||
1322 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="17"/> | ||
1323 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
1324 | + <nil key="highlightedColor"/> | ||
1325 | + </label> | ||
1326 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="248" verticalHuggingPriority="251" text="Έκπτωτικό κουπόνι" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GY5-9C-gEy" userLabel="Subtitle"> | ||
1327 | + <rect key="frame" x="38" y="26" width="251.5" height="17.5"/> | ||
1328 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="14"/> | ||
1329 | + <color key="textColor" red="0.61568627450000002" green="0.61568627450000002" blue="0.61176470589999998" alpha="1" colorSpace="calibratedRGB"/> | ||
1330 | + <nil key="highlightedColor"/> | ||
1331 | + </label> | ||
1332 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="4,00€" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gkJ-YA-1ia" userLabel="Price"> | ||
1333 | + <rect key="frame" x="299.5" y="12" width="52.5" height="20"/> | ||
1334 | + <constraints> | ||
1335 | + <constraint firstAttribute="height" constant="20" id="OXk-1Q-MIr"/> | ||
1336 | + </constraints> | ||
1337 | + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/> | ||
1338 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> | ||
1339 | + <nil key="highlightedColor"/> | ||
1340 | + </label> | ||
1341 | + </subviews> | ||
1342 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1343 | + <constraints> | ||
1344 | + <constraint firstItem="gkJ-YA-1ia" firstAttribute="centerY" secondItem="VO6-s8-Izh" secondAttribute="centerY" id="1uJ-tV-iGk"/> | ||
1345 | + <constraint firstItem="Tb7-JM-oFV" firstAttribute="top" secondItem="VO6-s8-Izh" secondAttribute="top" id="45N-vZ-8Ns"/> | ||
1346 | + <constraint firstItem="gkJ-YA-1ia" firstAttribute="leading" secondItem="GY5-9C-gEy" secondAttribute="trailing" constant="10" id="6v9-ip-naf"/> | ||
1347 | + <constraint firstItem="gkJ-YA-1ia" firstAttribute="leading" secondItem="Tb7-JM-oFV" secondAttribute="trailing" constant="10" id="BN1-xE-OSA"/> | ||
1348 | + <constraint firstItem="0VZ-nT-qq8" firstAttribute="centerY" secondItem="VO6-s8-Izh" secondAttribute="centerY" id="BdW-SW-nh3"/> | ||
1349 | + <constraint firstAttribute="trailing" secondItem="gkJ-YA-1ia" secondAttribute="trailing" id="DCI-my-tXw"/> | ||
1350 | + <constraint firstItem="GY5-9C-gEy" firstAttribute="top" secondItem="Tb7-JM-oFV" secondAttribute="bottom" constant="5" id="G5B-qR-7KB"/> | ||
1351 | + <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="0VZ-nT-qq8" secondAttribute="bottom" constant="5" id="Y8c-8v-ff8"/> | ||
1352 | + <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="gkJ-YA-1ia" secondAttribute="bottom" constant="5" id="fFB-Z6-uk4"/> | ||
1353 | + <constraint firstItem="0VZ-nT-qq8" firstAttribute="top" relation="greaterThanOrEqual" secondItem="VO6-s8-Izh" secondAttribute="top" constant="5" id="hqw-Vc-G5k"/> | ||
1354 | + <constraint firstItem="gkJ-YA-1ia" firstAttribute="top" relation="greaterThanOrEqual" secondItem="VO6-s8-Izh" secondAttribute="top" constant="5" id="iX8-SM-eYf"/> | ||
1355 | + <constraint firstItem="0VZ-nT-qq8" firstAttribute="leading" secondItem="VO6-s8-Izh" secondAttribute="leading" id="nVn-VY-cAa"/> | ||
1356 | + <constraint firstAttribute="bottom" secondItem="GY5-9C-gEy" secondAttribute="bottom" id="nj0-x8-sEQ"/> | ||
1357 | + <constraint firstItem="GY5-9C-gEy" firstAttribute="leading" secondItem="0VZ-nT-qq8" secondAttribute="trailing" constant="10" id="p1d-5M-Xw0"/> | ||
1358 | + <constraint firstItem="Tb7-JM-oFV" firstAttribute="leading" secondItem="0VZ-nT-qq8" secondAttribute="trailing" constant="10" id="rW3-Im-U3L"/> | ||
1359 | + </constraints> | ||
1360 | + </view> | ||
1361 | + </subviews> | ||
1362 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
1363 | + <constraints> | ||
1364 | + <constraint firstItem="fTm-5M-hIw" firstAttribute="leading" secondItem="UNS-g9-hv1" secondAttribute="leading" constant="20" id="3E1-oC-W8s"/> | ||
1365 | + <constraint firstAttribute="trailing" secondItem="VO6-s8-Izh" secondAttribute="trailing" constant="20" id="4yD-4d-NnW"/> | ||
1366 | + <constraint firstAttribute="bottom" secondItem="VO6-s8-Izh" secondAttribute="bottom" id="FZm-vc-F3r"/> | ||
1367 | + <constraint firstItem="VO6-s8-Izh" firstAttribute="top" secondItem="fTm-5M-hIw" secondAttribute="bottom" constant="10" id="Hsa-Iu-r9y"/> | ||
1368 | + <constraint firstItem="VO6-s8-Izh" firstAttribute="leading" secondItem="UNS-g9-hv1" secondAttribute="leading" constant="20" id="Pg9-73-woQ"/> | ||
1369 | + <constraint firstItem="fTm-5M-hIw" firstAttribute="top" secondItem="UNS-g9-hv1" secondAttribute="top" constant="25" id="YdN-cO-fzt"/> | ||
1370 | + <constraint firstAttribute="trailing" secondItem="fTm-5M-hIw" secondAttribute="trailing" constant="20" id="v9R-yp-kh5"/> | ||
1371 | + </constraints> | ||
1372 | + </view> | ||
1373 | + </subviews> | ||
1374 | + <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="calibratedRGB"/> | ||
1277 | <constraints> | 1375 | <constraints> |
1278 | - <constraint firstAttribute="height" constant="20" id="XkT-At-XWY"/> | 1376 | + <constraint firstAttribute="bottom" secondItem="UNS-g9-hv1" secondAttribute="bottom" id="9pC-VG-oP2"/> |
1377 | + <constraint firstAttribute="trailing" secondItem="UNS-g9-hv1" secondAttribute="trailing" constant="1" id="m2S-t2-BoJ"/> | ||
1378 | + <constraint firstItem="UNS-g9-hv1" firstAttribute="leading" secondItem="vGa-dC-LEh" secondAttribute="leading" constant="1" id="m3G-pd-kg1"/> | ||
1379 | + <constraint firstItem="UNS-g9-hv1" firstAttribute="top" secondItem="vGa-dC-LEh" secondAttribute="top" id="tzl-cd-hhW"/> | ||
1279 | </constraints> | 1380 | </constraints> |
1280 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> | 1381 | + </view> |
1281 | - <nil key="textColor"/> | ||
1282 | - <nil key="highlightedColor"/> | ||
1283 | - </label> | ||
1284 | </subviews> | 1382 | </subviews> |
1285 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1383 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1286 | <constraints> | 1384 | <constraints> |
1287 | - <constraint firstItem="nkc-wO-by3" firstAttribute="top" secondItem="sdY-Vd-bbW" secondAttribute="bottom" constant="40" id="2Yl-Fb-ksG"/> | 1385 | + <constraint firstItem="vGa-dC-LEh" firstAttribute="leading" secondItem="8cF-3w-K35" secondAttribute="leading" constant="10" id="Hpd-NA-jr2"/> |
1288 | - <constraint firstItem="sdY-Vd-bbW" firstAttribute="top" secondItem="8oK-tI-pLa" secondAttribute="topMargin" constant="20" id="CEe-Np-pPS"/> | 1386 | + <constraint firstAttribute="bottom" secondItem="vGa-dC-LEh" secondAttribute="bottom" id="ZSv-wc-4qh"/> |
1289 | - <constraint firstAttribute="bottomMargin" secondItem="9MF-rh-eec" secondAttribute="bottom" constant="10" id="E0e-rS-Vwh"/> | 1387 | + <constraint firstItem="vGa-dC-LEh" firstAttribute="top" secondItem="8cF-3w-K35" secondAttribute="top" id="c3c-aA-IDX"/> |
1290 | - <constraint firstItem="sdY-Vd-bbW" firstAttribute="centerX" secondItem="8oK-tI-pLa" secondAttribute="centerX" id="L16-AP-9gA"/> | 1388 | + <constraint firstAttribute="trailing" secondItem="vGa-dC-LEh" secondAttribute="trailing" constant="10" id="j9s-bt-yW0"/> |
1291 | - <constraint firstItem="nkc-wO-by3" firstAttribute="leading" secondItem="8oK-tI-pLa" secondAttribute="leadingMargin" constant="30" id="MhA-nS-gcP"/> | ||
1292 | - <constraint firstAttribute="trailingMargin" secondItem="nkc-wO-by3" secondAttribute="trailing" constant="30" id="dIv-s4-jcV"/> | ||
1293 | - <constraint firstItem="9MF-rh-eec" firstAttribute="centerX" secondItem="8oK-tI-pLa" secondAttribute="centerX" id="pKh-jT-Xoe"/> | ||
1294 | </constraints> | 1389 | </constraints> |
1295 | </tableViewCellContentView> | 1390 | </tableViewCellContentView> |
1296 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 1391 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
1297 | <connections> | 1392 | <connections> |
1298 | - <outlet property="itemImage" destination="sdY-Vd-bbW" id="FPk-8S-kCA"/> | 1393 | + <outlet property="dateLabel" destination="fTm-5M-hIw" id="bRX-Zl-KpL"/> |
1299 | - <outlet property="messageLabel" destination="nkc-wO-by3" id="4gl-nq-4jN"/> | 1394 | + <outlet property="itemImage" destination="0VZ-nT-qq8" id="sai-Hi-cEl"/> |
1300 | - <outlet property="titleLabel" destination="9MF-rh-eec" id="ogv-9c-JWm"/> | 1395 | + <outlet property="priceLabel" destination="gkJ-YA-1ia" id="k5L-NH-LkY"/> |
1396 | + <outlet property="subtitleLabel" destination="GY5-9C-gEy" id="1LT-vh-NZ1"/> | ||
1397 | + <outlet property="titleLabel" destination="Tb7-JM-oFV" id="f72-XF-j1Q"/> | ||
1301 | </connections> | 1398 | </connections> |
1302 | </tableViewCell> | 1399 | </tableViewCell> |
1303 | </prototypes> | 1400 | </prototypes> |
... | @@ -4104,50 +4201,14 @@ | ... | @@ -4104,50 +4201,14 @@ |
4104 | <scene sceneID="KER-Da-ryV"> | 4201 | <scene sceneID="KER-Da-ryV"> |
4105 | <objects> | 4202 | <objects> |
4106 | <tableViewController storyboardIdentifier="HistoryViewController" hidesBottomBarWhenPushed="YES" id="ze6-Kr-Io4" customClass="HistoryViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> | 4203 | <tableViewController storyboardIdentifier="HistoryViewController" hidesBottomBarWhenPushed="YES" id="ze6-Kr-Io4" customClass="HistoryViewController" customModule="SwiftWarplyFramework" customModuleProvider="target" sceneMemberID="viewController"> |
4107 | - <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" contentViewInsetsToSafeArea="NO" id="qD1-U4-LYx"> | 4204 | + <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="grouped" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="15" estimatedSectionFooterHeight="-1" contentViewInsetsToSafeArea="NO" id="qD1-U4-LYx"> |
4108 | <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> | 4205 | <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> |
4109 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> | 4206 | <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> |
4110 | - <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="calibratedRGB"/> | 4207 | + <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> |
4208 | + <color key="sectionIndexBackgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.95294117647058818" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> | ||
4111 | <prototypes> | 4209 | <prototypes> |
4112 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisMoreViewCell" rowHeight="160" id="y9v-uo-691" customClass="AnalysisMoreViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | ||
4113 | - <rect key="frame" x="0.0" y="50" width="414" height="160"/> | ||
4114 | - <autoresizingMask key="autoresizingMask"/> | ||
4115 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="y9v-uo-691" id="fs3-oQ-Zcn"> | ||
4116 | - <rect key="frame" x="0.0" y="0.0" width="414" height="160"/> | ||
4117 | - <autoresizingMask key="autoresizingMask"/> | ||
4118 | - <subviews> | ||
4119 | - <stackView opaque="NO" contentMode="scaleToFill" spacing="7" translatesAutoresizingMaskIntoConstraints="NO" id="0nn-Oo-hdD"> | ||
4120 | - <rect key="frame" x="142.5" y="65" width="129" height="30"/> | ||
4121 | - <subviews> | ||
4122 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Δες Περισσότερα" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Cnm-Dr-B1b"> | ||
4123 | - <rect key="frame" x="0.0" y="0.0" width="112" height="30"/> | ||
4124 | - <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
4125 | - <nil key="textColor"/> | ||
4126 | - <nil key="highlightedColor"/> | ||
4127 | - </label> | ||
4128 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_down_dark" translatesAutoresizingMaskIntoConstraints="NO" id="eaQ-bR-n13"> | ||
4129 | - <rect key="frame" x="119" y="0.0" width="10" height="30"/> | ||
4130 | - <constraints> | ||
4131 | - <constraint firstAttribute="width" constant="10" id="ZyY-sN-Rx1"/> | ||
4132 | - </constraints> | ||
4133 | - </imageView> | ||
4134 | - </subviews> | ||
4135 | - <constraints> | ||
4136 | - <constraint firstAttribute="height" constant="30" id="83c-wF-2Vx"/> | ||
4137 | - </constraints> | ||
4138 | - </stackView> | ||
4139 | - </subviews> | ||
4140 | - <constraints> | ||
4141 | - <constraint firstItem="0nn-Oo-hdD" firstAttribute="centerY" secondItem="fs3-oQ-Zcn" secondAttribute="centerY" id="YfN-di-oHM"/> | ||
4142 | - <constraint firstItem="0nn-Oo-hdD" firstAttribute="centerX" secondItem="fs3-oQ-Zcn" secondAttribute="centerX" id="d2b-fG-qxB"/> | ||
4143 | - </constraints> | ||
4144 | - </tableViewCellContentView> | ||
4145 | - <connections> | ||
4146 | - <outlet property="titleLabel" destination="Cnm-Dr-B1b" id="ArG-JS-SA8"/> | ||
4147 | - </connections> | ||
4148 | - </tableViewCell> | ||
4149 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisItemViewCell" id="mwO-Y9-Whd" customClass="AnalysisItemViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 4210 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisItemViewCell" id="mwO-Y9-Whd" customClass="AnalysisItemViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
4150 | - <rect key="frame" x="0.0" y="210" width="414" height="94.5"/> | 4211 | + <rect key="frame" x="0.0" y="55.5" width="414" height="94.5"/> |
4151 | <autoresizingMask key="autoresizingMask"/> | 4212 | <autoresizingMask key="autoresizingMask"/> |
4152 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="mwO-Y9-Whd" id="4Lb-Ez-2D5"> | 4213 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="mwO-Y9-Whd" id="4Lb-Ez-2D5"> |
4153 | <rect key="frame" x="0.0" y="0.0" width="414" height="94.5"/> | 4214 | <rect key="frame" x="0.0" y="0.0" width="414" height="94.5"/> |
... | @@ -4258,46 +4319,51 @@ | ... | @@ -4258,46 +4319,51 @@ |
4258 | <outlet property="titleLabel" destination="9Ag-Sp-uXt" id="FN2-u8-I6a"/> | 4319 | <outlet property="titleLabel" destination="9Ag-Sp-uXt" id="FN2-u8-I6a"/> |
4259 | </connections> | 4320 | </connections> |
4260 | </tableViewCell> | 4321 | </tableViewCell> |
4261 | - <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderViewCell" rowHeight="280" id="TXv-Qw-94X" customClass="AnalysisHeaderViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 4322 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderViewCell" id="5BS-9F-Hef" customClass="AnalysisHeaderViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
4262 | - <rect key="frame" x="0.0" y="304.5" width="414" height="280"/> | 4323 | + <rect key="frame" x="0.0" y="150" width="414" height="183.5"/> |
4263 | <autoresizingMask key="autoresizingMask"/> | 4324 | <autoresizingMask key="autoresizingMask"/> |
4264 | - <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="TXv-Qw-94X" id="fmq-OF-USg"> | 4325 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="5BS-9F-Hef" id="iez-m4-rSa"> |
4265 | - <rect key="frame" x="0.0" y="0.0" width="414" height="280"/> | 4326 | + <rect key="frame" x="0.0" y="0.0" width="414" height="183.5"/> |
4266 | <autoresizingMask key="autoresizingMask"/> | 4327 | <autoresizingMask key="autoresizingMask"/> |
4267 | <subviews> | 4328 | <subviews> |
4268 | - <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Lul-sk-Xaj"> | 4329 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="nxN-hr-1ql"> |
4269 | - <rect key="frame" x="157" y="31" width="100" height="100"/> | 4330 | + <rect key="frame" x="157" y="25" width="100" height="100"/> |
4270 | <constraints> | 4331 | <constraints> |
4271 | - <constraint firstAttribute="height" constant="100" id="gOb-nT-us3"/> | 4332 | + <constraint firstAttribute="height" constant="100" id="0yW-WZ-Via"/> |
4272 | - <constraint firstAttribute="width" constant="100" id="pY8-aZ-nnb"/> | 4333 | + <constraint firstAttribute="width" constant="100" id="5p0-tw-LYq"/> |
4273 | </constraints> | 4334 | </constraints> |
4274 | </imageView> | 4335 | </imageView> |
4275 | - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Αναλυτικά:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XjQ-Dg-ucn"> | 4336 | + <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="Be4-hs-EAl"> |
4276 | - <rect key="frame" x="169" y="248" width="76" height="22"/> | 4337 | + <rect key="frame" x="20" y="155" width="374" height="18.5"/> |
4277 | <constraints> | 4338 | <constraints> |
4278 | - <constraint firstAttribute="height" constant="22" id="Ccg-Xm-m6C"/> | 4339 | + <constraint firstAttribute="height" constant="18.5" id="5Kq-YS-Jca"/> |
4279 | </constraints> | 4340 | </constraints> |
4280 | - <fontDescription key="fontDescription" name="PFSquareSansPro-Medium" family="PF Square Sans Pro" pointSize="17"/> | 4341 | + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="15"/> |
4281 | - <nil key="textColor"/> | 4342 | + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> |
4282 | <nil key="highlightedColor"/> | 4343 | <nil key="highlightedColor"/> |
4283 | </label> | 4344 | </label> |
4284 | </subviews> | 4345 | </subviews> |
4285 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 4346 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
4286 | <constraints> | 4347 | <constraints> |
4287 | - <constraint firstItem="XjQ-Dg-ucn" firstAttribute="centerX" secondItem="fmq-OF-USg" secondAttribute="centerX" id="Lbh-ZU-mWb"/> | 4348 | + <constraint firstItem="nxN-hr-1ql" firstAttribute="centerX" secondItem="iez-m4-rSa" secondAttribute="centerX" id="DdY-Xz-J0L"/> |
4288 | - <constraint firstAttribute="bottom" secondItem="XjQ-Dg-ucn" secondAttribute="bottom" constant="10" id="b1r-ZX-eVt"/> | 4349 | + <constraint firstAttribute="bottom" secondItem="Be4-hs-EAl" secondAttribute="bottom" constant="10" id="GYe-Kb-OnO"/> |
4289 | - <constraint firstItem="Lul-sk-Xaj" firstAttribute="centerX" secondItem="fmq-OF-USg" secondAttribute="centerX" id="hOd-Db-G3B"/> | 4350 | + <constraint firstItem="nxN-hr-1ql" firstAttribute="top" secondItem="iez-m4-rSa" secondAttribute="top" constant="25" id="NM4-eq-3SV"/> |
4290 | - <constraint firstItem="Lul-sk-Xaj" firstAttribute="top" secondItem="fmq-OF-USg" secondAttribute="topMargin" constant="20" id="p5M-bI-lEn"/> | 4351 | + <constraint firstItem="Be4-hs-EAl" firstAttribute="leading" secondItem="iez-m4-rSa" secondAttribute="leading" constant="20" id="WSx-cm-VPh"/> |
4352 | + <constraint firstAttribute="trailing" secondItem="Be4-hs-EAl" secondAttribute="trailing" constant="20" id="sSL-bF-LUI"/> | ||
4353 | + <constraint firstItem="Be4-hs-EAl" firstAttribute="top" secondItem="nxN-hr-1ql" secondAttribute="bottom" constant="30" id="xi2-qe-7TW"/> | ||
4291 | </constraints> | 4354 | </constraints> |
4292 | </tableViewCellContentView> | 4355 | </tableViewCellContentView> |
4293 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | 4356 | <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> |
4294 | <connections> | 4357 | <connections> |
4295 | - <outlet property="itemImage" destination="Lul-sk-Xaj" id="yG3-o7-77x"/> | 4358 | + <outlet property="emptyLabel" destination="Be4-hs-EAl" id="zGo-9O-5Na"/> |
4296 | - <outlet property="titleLabel" destination="XjQ-Dg-ucn" id="1uG-vu-ajJ"/> | 4359 | + <outlet property="emptyLabelBottomSpace" destination="GYe-Kb-OnO" id="PTK-UH-3eF"/> |
4360 | + <outlet property="emptyLabelHeight" destination="5Kq-YS-Jca" id="K3y-qk-yd8"/> | ||
4361 | + <outlet property="emptyLabelTopSpace" destination="xi2-qe-7TW" id="zcv-uT-IMx"/> | ||
4362 | + <outlet property="itemImage" destination="nxN-hr-1ql" id="xOe-JA-Jg1"/> | ||
4297 | </connections> | 4363 | </connections> |
4298 | </tableViewCell> | 4364 | </tableViewCell> |
4299 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderMessageViewCell" id="9cE-DQ-oc7" customClass="AnalysisHeaderMessageViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | 4365 | <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisHeaderMessageViewCell" id="9cE-DQ-oc7" customClass="AnalysisHeaderMessageViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> |
4300 | - <rect key="frame" x="0.0" y="584.5" width="414" height="305.5"/> | 4366 | + <rect key="frame" x="0.0" y="333.5" width="414" height="305.5"/> |
4301 | <autoresizingMask key="autoresizingMask"/> | 4367 | <autoresizingMask key="autoresizingMask"/> |
4302 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="9cE-DQ-oc7" id="Kcf-Zv-eMe"> | 4368 | <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="9cE-DQ-oc7" id="Kcf-Zv-eMe"> |
4303 | <rect key="frame" x="0.0" y="0.0" width="414" height="305.5"/> | 4369 | <rect key="frame" x="0.0" y="0.0" width="414" height="305.5"/> |
... | @@ -4381,6 +4447,72 @@ | ... | @@ -4381,6 +4447,72 @@ |
4381 | <outlet property="titleLabel" destination="nzx-D5-LHo" id="cU7-6c-HiO"/> | 4447 | <outlet property="titleLabel" destination="nzx-D5-LHo" id="cU7-6c-HiO"/> |
4382 | </connections> | 4448 | </connections> |
4383 | </tableViewCell> | 4449 | </tableViewCell> |
4450 | + <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="none" indentationWidth="10" reuseIdentifier="AnalysisMoreViewCell" id="taF-BW-P6u" customClass="AnalysisMoreViewCell" customModule="SwiftWarplyFramework" customModuleProvider="target"> | ||
4451 | + <rect key="frame" x="0.0" y="639" width="414" height="60"/> | ||
4452 | + <autoresizingMask key="autoresizingMask"/> | ||
4453 | + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="taF-BW-P6u" id="qTs-KC-BNN"> | ||
4454 | + <rect key="frame" x="0.0" y="0.0" width="414" height="60"/> | ||
4455 | + <autoresizingMask key="autoresizingMask"/> | ||
4456 | + <subviews> | ||
4457 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Yz9-kW-kuI"> | ||
4458 | + <rect key="frame" x="10" y="0.0" width="394" height="60"/> | ||
4459 | + <subviews> | ||
4460 | + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yLU-uB-ai5"> | ||
4461 | + <rect key="frame" x="1" y="0.0" width="392" height="60"/> | ||
4462 | + <subviews> | ||
4463 | + <stackView opaque="NO" contentMode="scaleToFill" spacing="7" translatesAutoresizingMaskIntoConstraints="NO" id="DHl-3e-Mz6"> | ||
4464 | + <rect key="frame" x="129" y="30" width="134" height="30"/> | ||
4465 | + <subviews> | ||
4466 | + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Δες Περισσότερα" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gOz-Rd-1D4"> | ||
4467 | + <rect key="frame" x="0.0" y="0.0" width="112" height="30"/> | ||
4468 | + <fontDescription key="fontDescription" type="system" pointSize="14"/> | ||
4469 | + <nil key="textColor"/> | ||
4470 | + <nil key="highlightedColor"/> | ||
4471 | + </label> | ||
4472 | + <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_down_dark" translatesAutoresizingMaskIntoConstraints="NO" id="eGc-lu-1DB"> | ||
4473 | + <rect key="frame" x="119" y="0.0" width="15" height="30"/> | ||
4474 | + <constraints> | ||
4475 | + <constraint firstAttribute="width" constant="15" id="YiZ-6P-kFl"/> | ||
4476 | + </constraints> | ||
4477 | + </imageView> | ||
4478 | + </subviews> | ||
4479 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
4480 | + <constraints> | ||
4481 | + <constraint firstAttribute="height" constant="30" id="Lbs-VR-qAm"/> | ||
4482 | + </constraints> | ||
4483 | + </stackView> | ||
4484 | + </subviews> | ||
4485 | + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
4486 | + <constraints> | ||
4487 | + <constraint firstItem="DHl-3e-Mz6" firstAttribute="centerX" secondItem="yLU-uB-ai5" secondAttribute="centerX" id="H5O-p0-Ueg"/> | ||
4488 | + <constraint firstAttribute="bottom" secondItem="DHl-3e-Mz6" secondAttribute="bottom" id="YpC-h9-ClH"/> | ||
4489 | + <constraint firstItem="DHl-3e-Mz6" firstAttribute="top" secondItem="yLU-uB-ai5" secondAttribute="top" constant="30" id="uEE-pO-iBe"/> | ||
4490 | + </constraints> | ||
4491 | + </view> | ||
4492 | + </subviews> | ||
4493 | + <color key="backgroundColor" red="0.90196078430000004" green="0.90196078430000004" blue="0.90196078430000004" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/> | ||
4494 | + <constraints> | ||
4495 | + <constraint firstAttribute="bottom" secondItem="yLU-uB-ai5" secondAttribute="bottom" id="6cq-re-8Cj"/> | ||
4496 | + <constraint firstItem="yLU-uB-ai5" firstAttribute="top" secondItem="Yz9-kW-kuI" secondAttribute="top" id="VIC-Ux-EAl"/> | ||
4497 | + <constraint firstItem="yLU-uB-ai5" firstAttribute="leading" secondItem="Yz9-kW-kuI" secondAttribute="leading" constant="1" id="eUf-E2-nQz"/> | ||
4498 | + <constraint firstAttribute="trailing" secondItem="yLU-uB-ai5" secondAttribute="trailing" constant="1" id="hHZ-p5-EX5"/> | ||
4499 | + </constraints> | ||
4500 | + </view> | ||
4501 | + </subviews> | ||
4502 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
4503 | + <constraints> | ||
4504 | + <constraint firstAttribute="bottom" secondItem="Yz9-kW-kuI" secondAttribute="bottom" id="IBJ-Fp-8cY"/> | ||
4505 | + <constraint firstAttribute="trailing" secondItem="Yz9-kW-kuI" secondAttribute="trailing" constant="10" id="JnT-DH-enX"/> | ||
4506 | + <constraint firstItem="Yz9-kW-kuI" firstAttribute="leading" secondItem="qTs-KC-BNN" secondAttribute="leading" constant="10" id="q7z-FS-nPg"/> | ||
4507 | + <constraint firstItem="Yz9-kW-kuI" firstAttribute="top" secondItem="qTs-KC-BNN" secondAttribute="top" id="xlc-Gv-Jz9"/> | ||
4508 | + </constraints> | ||
4509 | + </tableViewCellContentView> | ||
4510 | + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> | ||
4511 | + <connections> | ||
4512 | + <outlet property="arrowImage" destination="eGc-lu-1DB" id="msZ-3k-oO3"/> | ||
4513 | + <outlet property="titleLabel" destination="gOz-Rd-1D4" id="5Ps-AV-qMQ"/> | ||
4514 | + </connections> | ||
4515 | + </tableViewCell> | ||
4384 | </prototypes> | 4516 | </prototypes> |
4385 | <connections> | 4517 | <connections> |
4386 | <outlet property="dataSource" destination="ze6-Kr-Io4" id="XcZ-cQ-TzG"/> | 4518 | <outlet property="dataSource" destination="ze6-Kr-Io4" id="XcZ-cQ-TzG"/> | ... | ... |
... | @@ -100,11 +100,12 @@ class SharingHistoryViewController: AnalysisChildViewController { | ... | @@ -100,11 +100,12 @@ class SharingHistoryViewController: AnalysisChildViewController { |
100 | } | 100 | } |
101 | 101 | ||
102 | override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { | 102 | override func tableView(_ tableView: UITableView, heightForRowAt indexPath: IndexPath) -> CGFloat { |
103 | - if (indexPath.section == 0) { | 103 | +// if (indexPath.section == 0) { |
104 | - return hasMessage ? 380.0 : (items.count > 0 ? 280 : 380) | 104 | +// return hasMessage ? 380.0 : (items.count > 0 ? 280 : 380) |
105 | - } | 105 | +// } |
106 | - | 106 | +// |
107 | - return 140.0 | 107 | +// return 140.0 |
108 | + return UITableView.automaticDimension | ||
108 | } | 109 | } |
109 | 110 | ||
110 | override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { | 111 | override func tableView(_ tableView: UITableView, cellForRowAt indexPath: IndexPath) -> UITableViewCell { |
... | @@ -142,4 +143,97 @@ class SharingHistoryViewController: AnalysisChildViewController { | ... | @@ -142,4 +143,97 @@ class SharingHistoryViewController: AnalysisChildViewController { |
142 | self.tableView.reloadData() | 143 | self.tableView.reloadData() |
143 | } | 144 | } |
144 | } | 145 | } |
146 | + | ||
147 | + override func tableView(_ tableView: UITableView, viewForHeaderInSection section: Int) -> UIView? { | ||
148 | + if (section == 0){ | ||
149 | + return nil | ||
150 | + | ||
151 | + } else if (section == 1) { | ||
152 | + if (self.items.count > 0) { | ||
153 | + let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 50)) | ||
154 | + | ||
155 | + let viewBorder = UIView(frame: CGRect(x: 10, y: 0, width: view.frame.width-20, height: view.frame.height)) | ||
156 | + viewBorder.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00) | ||
157 | + | ||
158 | + viewBorder.layer.cornerRadius = 16.5 | ||
159 | + viewBorder.layer.maskedCorners = [ .layerMinXMinYCorner, .layerMaxXMinYCorner] // Top left, bottom right corner radius | ||
160 | + | ||
161 | + let viewInner = UIView(frame: CGRect(x: 1, y: 1, width: viewBorder.frame.width-2, height: viewBorder.frame.height-1)) | ||
162 | + viewInner.backgroundColor = .white | ||
163 | + | ||
164 | + viewInner.layer.cornerRadius = 16.5 | ||
165 | + viewInner.layer.maskedCorners = [ .layerMinXMinYCorner, .layerMaxXMinYCorner] // Top left, bottom right corner radius | ||
166 | + | ||
167 | + let titleLabel = UILabel(frame: CGRect(x: 20, y: 20, width: viewInner.frame.width - 40, height: 20)) | ||
168 | + titleLabel.font = UIFont(name: "BTCosmo-Bold", size: 20) | ||
169 | + titleLabel.textColor = UIColor(red: 0.13, green: 0.13, blue: 0.13, alpha: 1.00) | ||
170 | + titleLabel.text = "Αναλυτικά" | ||
171 | + | ||
172 | + view.addSubview(viewBorder) | ||
173 | + viewBorder.addSubview(viewInner) | ||
174 | + viewInner.addSubview(titleLabel) | ||
175 | + return view | ||
176 | + } else { | ||
177 | + return nil | ||
178 | + } | ||
179 | + | ||
180 | + | ||
181 | + } else { | ||
182 | + return nil | ||
183 | + } | ||
184 | + } | ||
185 | + | ||
186 | + override func tableView(_ tableView: UITableView, heightForHeaderInSection section: Int) -> CGFloat { | ||
187 | + if (section == 0) { | ||
188 | + return 0.0 | ||
189 | + | ||
190 | + } else if (section == 1) { | ||
191 | + if (self.items.count > 0) { | ||
192 | + return 50.0 | ||
193 | + } else { | ||
194 | + return 0.0 | ||
195 | + } | ||
196 | + | ||
197 | + } else { | ||
198 | + return 0.0 | ||
199 | + } | ||
200 | + } | ||
201 | + | ||
202 | + override func tableView(_ tableView: UITableView, heightForFooterInSection section: Int) -> CGFloat { | ||
203 | +// return CGFloat.leastNormalMagnitude | ||
204 | + if (section == 1 && self.items.count > 0) { | ||
205 | + return 20.0 | ||
206 | + } else { | ||
207 | + return 0.0 | ||
208 | + } | ||
209 | + } | ||
210 | + | ||
211 | + override func tableView(_ tableView: UITableView, viewForFooterInSection section: Int) -> UIView? { | ||
212 | + if (section == 1) { | ||
213 | + if (self.items.count > 0) { | ||
214 | + let view = UIView(frame: CGRect(x: 0, y: 0, width: tableView.frame.width, height: 30)) | ||
215 | + | ||
216 | + let viewBorder = UIView(frame: CGRect(x: 10, y: 0, width: view.frame.width-20, height: view.frame.height)) | ||
217 | + viewBorder.backgroundColor = UIColor(red: 0.90, green: 0.90, blue: 0.90, alpha: 1.00) | ||
218 | + | ||
219 | + viewBorder.layer.cornerRadius = 16.5 | ||
220 | + viewBorder.layer.maskedCorners = [ .layerMinXMaxYCorner, .layerMaxXMaxYCorner] // bottom left, bottom right corner radius | ||
221 | + | ||
222 | + let viewInner = UIView(frame: CGRect(x: 1, y: 0, width: viewBorder.frame.width-2, height: viewBorder.frame.height-1)) | ||
223 | + viewInner.backgroundColor = .white | ||
224 | + | ||
225 | + viewInner.layer.cornerRadius = 16.5 | ||
226 | + viewInner.layer.maskedCorners = [ .layerMinXMaxYCorner, .layerMaxXMaxYCorner] // bottom left, bottom right corner radius | ||
227 | + | ||
228 | + view.addSubview(viewBorder) | ||
229 | + viewBorder.addSubview(viewInner) | ||
230 | + return view | ||
231 | + } else { | ||
232 | + return nil | ||
233 | + } | ||
234 | + | ||
235 | + } else { | ||
236 | + return nil | ||
237 | + } | ||
238 | + } | ||
145 | } | 239 | } | ... | ... |
-
Please register or login to post a comment