Manos Chorianopoulos

CategoryOffersViewController ui fixes

...@@ -30,6 +30,9 @@ import UIKit ...@@ -30,6 +30,9 @@ import UIKit
30 tableView.estimatedRowHeight = 100 30 tableView.estimatedRowHeight = 100
31 tableView.rowHeight = UITableView.automaticDimension 31 tableView.rowHeight = UITableView.automaticDimension
32 32
33 + // Add bottom padding
34 + tableView.contentInset.bottom = 60.0
35 +
33 tableView.register( 36 tableView.register(
34 UINib(nibName: "CategoryOffersHeaderTableViewCell", bundle: Bundle.frameworkBundle), 37 UINib(nibName: "CategoryOffersHeaderTableViewCell", bundle: Bundle.frameworkBundle),
35 forCellReuseIdentifier: "CategoryOffersHeaderTableViewCell" 38 forCellReuseIdentifier: "CategoryOffersHeaderTableViewCell"
......
...@@ -20,14 +20,14 @@ ...@@ -20,14 +20,14 @@
20 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> 20 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
21 <subviews> 21 <subviews>
22 <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="xJ1-8b-ZQa"> 22 <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="xJ1-8b-ZQa">
23 - <rect key="frame" x="0.0" y="59" width="393" height="759"/> 23 + <rect key="frame" x="0.0" y="118" width="393" height="734"/>
24 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 24 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
25 </tableView> 25 </tableView>
26 </subviews> 26 </subviews>
27 <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> 27 <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
28 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 28 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
29 <constraints> 29 <constraints>
30 - <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="xJ1-8b-ZQa" secondAttribute="bottom" id="D5R-hF-Lz4"/> 30 + <constraint firstAttribute="bottom" secondItem="xJ1-8b-ZQa" secondAttribute="bottom" id="D5R-hF-Lz4"/>
31 <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="xJ1-8b-ZQa" secondAttribute="trailing" id="LhI-M4-0eB"/> 31 <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="xJ1-8b-ZQa" secondAttribute="trailing" id="LhI-M4-0eB"/>
32 <constraint firstItem="xJ1-8b-ZQa" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="O6f-Kk-Ufe"/> 32 <constraint firstItem="xJ1-8b-ZQa" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="O6f-Kk-Ufe"/>
33 <constraint firstItem="xJ1-8b-ZQa" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="aT8-Zg-Kk4"/> 33 <constraint firstItem="xJ1-8b-ZQa" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="aT8-Zg-Kk4"/>
......