Эх сурвалжийг харах

1.修改iOS Apex Drivers首页布局。

Pen Li 7 жил өмнө
parent
commit
96429e526f

+ 96 - 81
Redant Drivers/Apex And Drivers/Home/Home.storyboard

@@ -1,5 +1,5 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <?xml version="1.0" encoding="UTF-8"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14109" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
+<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
     <device id="retina4_7" orientation="portrait">
     <device id="retina4_7" orientation="portrait">
         <adaptation id="fullscreen"/>
         <adaptation id="fullscreen"/>
     </device>
     </device>
@@ -18,101 +18,116 @@
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
                         <subviews>
                         <subviews>
-                            <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="9Pg-qg-cNJ">
+                            <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="9Pg-qg-cNJ">
                                 <rect key="frame" x="0.0" y="20" width="375" height="647"/>
                                 <rect key="frame" x="0.0" y="20" width="375" height="647"/>
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                 <prototypes>
                                 <prototypes>
-                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RAOrderCell" rowHeight="110" id="7yW-4E-SX2" customClass="RAOrderCell">
-                                        <rect key="frame" x="0.0" y="28" width="375" height="110"/>
+                                    <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" preservesSuperviewLayoutMargins="YES" selectionStyle="default" indentationWidth="10" reuseIdentifier="RAOrderCell" rowHeight="120" id="7yW-4E-SX2" customClass="RAOrderCell">
+                                        <rect key="frame" x="0.0" y="28" width="375" height="120"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <autoresizingMask key="autoresizingMask"/>
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7yW-4E-SX2" id="86U-Ij-DDb">
                                         <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" preservesSuperviewLayoutMargins="YES" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="7yW-4E-SX2" id="86U-Ij-DDb">
-                                            <rect key="frame" x="0.0" y="0.0" width="375" height="109.5"/>
+                                            <rect key="frame" x="0.0" y="0.0" width="375" height="120"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <autoresizingMask key="autoresizingMask"/>
                                             <subviews>
                                             <subviews>
-                                                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="V2e-NM-tUq">
-                                                    <rect key="frame" x="10" y="31" width="60" height="60"/>
+                                                <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="etn-cW-0fL">
+                                                    <rect key="frame" x="5" y="5" width="365" height="109.5"/>
+                                                    <subviews>
+                                                        <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="V2e-NM-tUq">
+                                                            <rect key="frame" x="10" y="36" width="60" height="60"/>
+                                                            <constraints>
+                                                                <constraint firstAttribute="height" constant="60" id="fW9-0H-jGG"/>
+                                                                <constraint firstAttribute="width" constant="60" id="pcF-Ms-1eF"/>
+                                                            </constraints>
+                                                        </imageView>
+                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pickup Order New" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y2j-9I-xL6">
+                                                            <rect key="frame" x="10" y="5" width="325" height="21"/>
+                                                            <constraints>
+                                                                <constraint firstAttribute="height" constant="21" id="vQr-l2-y2d"/>
+                                                            </constraints>
+                                                            <fontDescription key="fontDescription" type="system" pointSize="17"/>
+                                                            <nil key="textColor"/>
+                                                            <nil key="highlightedColor"/>
+                                                        </label>
+                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Date:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KA0-85-9AI">
+                                                            <rect key="frame" x="80" y="80" width="34.5" height="17"/>
+                                                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                                            <nil key="textColor"/>
+                                                            <nil key="highlightedColor"/>
+                                                        </label>
+                                                        <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Rxe-zz-m6W">
+                                                            <rect key="frame" x="340" y="5.5" width="20" height="20"/>
+                                                            <constraints>
+                                                                <constraint firstAttribute="height" constant="20" id="G2B-kt-1dz"/>
+                                                                <constraint firstAttribute="width" constant="20" id="SmO-AW-5Qc"/>
+                                                            </constraints>
+                                                        </imageView>
+                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5/30/2018" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="89d-EX-Krm">
+                                                            <rect key="frame" x="120" y="80" width="67" height="17"/>
+                                                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                                            <nil key="textColor"/>
+                                                            <nil key="highlightedColor"/>
+                                                        </label>
+                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AFS180530001200" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZZd-1e-a8S">
+                                                            <rect key="frame" x="152.5" y="36" width="125" height="17"/>
+                                                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                                            <nil key="textColor"/>
+                                                            <nil key="highlightedColor"/>
+                                                        </label>
+                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Order No.:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LR1-3j-ccn">
+                                                            <rect key="frame" x="80" y="36" width="67.5" height="17"/>
+                                                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                                            <nil key="textColor"/>
+                                                            <nil key="highlightedColor"/>
+                                                        </label>
+                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Container No.:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u11-fA-GhG">
+                                                            <rect key="frame" x="80" y="58" width="93" height="17"/>
+                                                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                                            <nil key="textColor"/>
+                                                            <nil key="highlightedColor"/>
+                                                        </label>
+                                                        <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="TCNU6432476" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ODR-wu-t8u">
+                                                            <rect key="frame" x="178" y="58" width="98.5" height="17"/>
+                                                            <fontDescription key="fontDescription" type="system" pointSize="14"/>
+                                                            <nil key="textColor"/>
+                                                            <nil key="highlightedColor"/>
+                                                        </label>
+                                                    </subviews>
+                                                    <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
                                                     <constraints>
                                                     <constraints>
-                                                        <constraint firstAttribute="height" constant="60" id="fW9-0H-jGG"/>
-                                                        <constraint firstAttribute="width" constant="60" id="pcF-Ms-1eF"/>
+                                                        <constraint firstItem="u11-fA-GhG" firstAttribute="leading" secondItem="LR1-3j-ccn" secondAttribute="leading" id="0oX-Kt-Rj1"/>
+                                                        <constraint firstItem="u11-fA-GhG" firstAttribute="top" secondItem="LR1-3j-ccn" secondAttribute="bottom" constant="5" id="2ay-ov-WSp"/>
+                                                        <constraint firstItem="KA0-85-9AI" firstAttribute="leading" secondItem="u11-fA-GhG" secondAttribute="leading" id="70m-cG-or7"/>
+                                                        <constraint firstItem="89d-EX-Krm" firstAttribute="centerY" secondItem="KA0-85-9AI" secondAttribute="centerY" id="EVx-1O-SQt"/>
+                                                        <constraint firstItem="89d-EX-Krm" firstAttribute="leading" secondItem="KA0-85-9AI" secondAttribute="trailing" constant="5" id="H1x-iC-YgR"/>
+                                                        <constraint firstAttribute="trailing" secondItem="Rxe-zz-m6W" secondAttribute="trailing" constant="5" id="LFL-kC-1K5"/>
+                                                        <constraint firstItem="ZZd-1e-a8S" firstAttribute="leading" secondItem="LR1-3j-ccn" secondAttribute="trailing" constant="5" id="McV-Qt-dH1"/>
+                                                        <constraint firstItem="LR1-3j-ccn" firstAttribute="leading" secondItem="V2e-NM-tUq" secondAttribute="trailing" constant="10" id="Nip-3l-8yv"/>
+                                                        <constraint firstItem="y2j-9I-xL6" firstAttribute="leading" secondItem="etn-cW-0fL" secondAttribute="leading" constant="10" id="Qm2-OM-HzS"/>
+                                                        <constraint firstItem="Rxe-zz-m6W" firstAttribute="centerY" secondItem="y2j-9I-xL6" secondAttribute="centerY" id="eIq-Fm-AyY"/>
+                                                        <constraint firstItem="Rxe-zz-m6W" firstAttribute="leading" secondItem="y2j-9I-xL6" secondAttribute="trailing" constant="5" id="eRd-r4-mLb"/>
+                                                        <constraint firstItem="y2j-9I-xL6" firstAttribute="top" secondItem="etn-cW-0fL" secondAttribute="top" constant="5" id="gyS-0m-TZb"/>
+                                                        <constraint firstItem="ODR-wu-t8u" firstAttribute="leading" secondItem="u11-fA-GhG" secondAttribute="trailing" constant="5" id="jf6-un-4zk"/>
+                                                        <constraint firstItem="LR1-3j-ccn" firstAttribute="top" secondItem="V2e-NM-tUq" secondAttribute="top" id="k3x-FF-bLV"/>
+                                                        <constraint firstItem="ODR-wu-t8u" firstAttribute="centerY" secondItem="u11-fA-GhG" secondAttribute="centerY" id="nJv-T7-BCe"/>
+                                                        <constraint firstItem="ZZd-1e-a8S" firstAttribute="centerY" secondItem="LR1-3j-ccn" secondAttribute="centerY" id="pEM-YN-4lI"/>
+                                                        <constraint firstItem="KA0-85-9AI" firstAttribute="top" secondItem="u11-fA-GhG" secondAttribute="bottom" constant="5" id="rTK-Sw-W3L"/>
+                                                        <constraint firstItem="V2e-NM-tUq" firstAttribute="top" secondItem="y2j-9I-xL6" secondAttribute="bottom" constant="10" id="uOg-hk-TX6"/>
+                                                        <constraint firstItem="V2e-NM-tUq" firstAttribute="leading" secondItem="y2j-9I-xL6" secondAttribute="leading" id="y8C-4T-ykP"/>
                                                     </constraints>
                                                     </constraints>
-                                                </imageView>
-                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Pickup Order New" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="y2j-9I-xL6">
-                                                    <rect key="frame" x="10" y="5" width="139" height="21"/>
-                                                    <constraints>
-                                                        <constraint firstAttribute="height" constant="21" id="vQr-l2-y2d"/>
-                                                    </constraints>
-                                                    <fontDescription key="fontDescription" type="system" pointSize="17"/>
-                                                    <nil key="textColor"/>
-                                                    <nil key="highlightedColor"/>
-                                                </label>
-                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Order No.:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LR1-3j-ccn">
-                                                    <rect key="frame" x="75" y="31" width="67.5" height="17"/>
-                                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                                    <nil key="textColor"/>
-                                                    <nil key="highlightedColor"/>
-                                                </label>
-                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Container No.:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="u11-fA-GhG">
-                                                    <rect key="frame" x="75" y="53" width="93" height="17"/>
-                                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                                    <nil key="textColor"/>
-                                                    <nil key="highlightedColor"/>
-                                                </label>
-                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Date:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KA0-85-9AI">
-                                                    <rect key="frame" x="75" y="75" width="34.5" height="17"/>
-                                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                                    <nil key="textColor"/>
-                                                    <nil key="highlightedColor"/>
-                                                </label>
-                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="AFS180530001200" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZZd-1e-a8S">
-                                                    <rect key="frame" x="147" y="31" width="125" height="17"/>
-                                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                                    <nil key="textColor"/>
-                                                    <nil key="highlightedColor"/>
-                                                </label>
-                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="TCNU6432476" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ODR-wu-t8u">
-                                                    <rect key="frame" x="173" y="53" width="98.5" height="17"/>
-                                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                                    <nil key="textColor"/>
-                                                    <nil key="highlightedColor"/>
-                                                </label>
-                                                <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5/30/2018" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="89d-EX-Krm">
-                                                    <rect key="frame" x="114" y="75" width="67" height="17"/>
-                                                    <fontDescription key="fontDescription" type="system" pointSize="14"/>
-                                                    <nil key="textColor"/>
-                                                    <nil key="highlightedColor"/>
-                                                </label>
-                                                <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Rxe-zz-m6W">
-                                                    <rect key="frame" x="350" y="5" width="20" height="20"/>
-                                                    <constraints>
-                                                        <constraint firstAttribute="height" constant="20" id="G2B-kt-1dz"/>
-                                                        <constraint firstAttribute="width" constant="20" id="SmO-AW-5Qc"/>
-                                                    </constraints>
-                                                </imageView>
+                                                </view>
                                             </subviews>
                                             </subviews>
                                             <constraints>
                                             <constraints>
-                                                <constraint firstItem="u11-fA-GhG" firstAttribute="leading" secondItem="LR1-3j-ccn" secondAttribute="leading" id="4IJ-IF-aH9"/>
-                                                <constraint firstItem="u11-fA-GhG" firstAttribute="top" secondItem="LR1-3j-ccn" secondAttribute="bottom" constant="5" id="4Vg-uE-6ys"/>
-                                                <constraint firstItem="LR1-3j-ccn" firstAttribute="leading" secondItem="V2e-NM-tUq" secondAttribute="trailing" constant="5" id="6Ub-ka-SL1"/>
-                                                <constraint firstItem="ZZd-1e-a8S" firstAttribute="centerY" secondItem="LR1-3j-ccn" secondAttribute="centerY" id="7UQ-V0-epF"/>
-                                                <constraint firstItem="V2e-NM-tUq" firstAttribute="top" secondItem="y2j-9I-xL6" secondAttribute="bottom" constant="5" id="D7x-pV-jvu"/>
-                                                <constraint firstItem="KA0-85-9AI" firstAttribute="leading" secondItem="u11-fA-GhG" secondAttribute="leading" id="HM0-1O-ORm"/>
-                                                <constraint firstItem="ZZd-1e-a8S" firstAttribute="leading" secondItem="LR1-3j-ccn" secondAttribute="trailing" constant="5" id="JeB-Dd-Xld"/>
-                                                <constraint firstItem="V2e-NM-tUq" firstAttribute="leading" secondItem="86U-Ij-DDb" secondAttribute="leading" constant="10" id="Lpd-Fm-zYk"/>
-                                                <constraint firstItem="Rxe-zz-m6W" firstAttribute="centerY" secondItem="y2j-9I-xL6" secondAttribute="centerY" id="NLN-12-bdu"/>
-                                                <constraint firstAttribute="trailing" secondItem="Rxe-zz-m6W" secondAttribute="trailing" constant="5" id="T8f-qI-UHf"/>
-                                                <constraint firstItem="y2j-9I-xL6" firstAttribute="top" secondItem="86U-Ij-DDb" secondAttribute="top" constant="5" id="WkH-3M-eDH"/>
-                                                <constraint firstItem="89d-EX-Krm" firstAttribute="leading" secondItem="KA0-85-9AI" secondAttribute="trailing" constant="5" id="cMF-Gz-E4y"/>
-                                                <constraint firstItem="ODR-wu-t8u" firstAttribute="leading" secondItem="u11-fA-GhG" secondAttribute="trailing" constant="5" id="hUQ-PV-UkX"/>
-                                                <constraint firstItem="Rxe-zz-m6W" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="y2j-9I-xL6" secondAttribute="trailing" constant="10" id="hai-zI-i4o"/>
-                                                <constraint firstItem="y2j-9I-xL6" firstAttribute="leading" secondItem="V2e-NM-tUq" secondAttribute="leading" id="lwV-ra-yDG"/>
-                                                <constraint firstItem="LR1-3j-ccn" firstAttribute="top" secondItem="y2j-9I-xL6" secondAttribute="bottom" constant="5" id="ms8-TV-8N4"/>
-                                                <constraint firstItem="KA0-85-9AI" firstAttribute="top" secondItem="u11-fA-GhG" secondAttribute="bottom" constant="5" id="tv7-84-Qyq"/>
-                                                <constraint firstItem="89d-EX-Krm" firstAttribute="centerY" secondItem="KA0-85-9AI" secondAttribute="centerY" id="wQe-LJ-pJc"/>
-                                                <constraint firstItem="ODR-wu-t8u" firstAttribute="centerY" secondItem="u11-fA-GhG" secondAttribute="centerY" id="y2A-aQ-NUj"/>
+                                                <constraint firstAttribute="trailing" secondItem="etn-cW-0fL" secondAttribute="trailing" constant="5" id="3KZ-gN-bqD"/>
+                                                <constraint firstItem="etn-cW-0fL" firstAttribute="top" secondItem="86U-Ij-DDb" secondAttribute="top" constant="5" id="AD6-kf-Ryl"/>
+                                                <constraint firstItem="etn-cW-0fL" firstAttribute="centerX" secondItem="86U-Ij-DDb" secondAttribute="centerX" id="SUm-m2-9VX"/>
+                                                <constraint firstItem="etn-cW-0fL" firstAttribute="leading" secondItem="86U-Ij-DDb" secondAttribute="leading" constant="5" id="Wbg-wb-ekY"/>
+                                                <constraint firstAttribute="bottom" secondItem="etn-cW-0fL" secondAttribute="bottom" constant="5" id="YEF-CA-s0g"/>
+                                                <constraint firstItem="etn-cW-0fL" firstAttribute="centerY" secondItem="86U-Ij-DDb" secondAttribute="centerY" id="tFY-KQ-PJm"/>
                                             </constraints>
                                             </constraints>
                                         </tableViewCellContentView>
                                         </tableViewCellContentView>
                                         <connections>
                                         <connections>
                                             <outlet property="containerNoLabel" destination="ODR-wu-t8u" id="E2o-Ya-c8a"/>
                                             <outlet property="containerNoLabel" destination="ODR-wu-t8u" id="E2o-Ya-c8a"/>
+                                            <outlet property="contentContainer" destination="etn-cW-0fL" id="Csc-aw-fMh"/>
                                             <outlet property="dateLabel" destination="89d-EX-Krm" id="b0e-0A-H0f"/>
                                             <outlet property="dateLabel" destination="89d-EX-Krm" id="b0e-0A-H0f"/>
                                             <outlet property="markView" destination="Rxe-zz-m6W" id="7oc-i1-cKw"/>
                                             <outlet property="markView" destination="Rxe-zz-m6W" id="7oc-i1-cKw"/>
                                             <outlet property="orderNoLabel" destination="ZZd-1e-a8S" id="nJJ-JC-dEN"/>
                                             <outlet property="orderNoLabel" destination="ZZd-1e-a8S" id="nJJ-JC-dEN"/>

+ 1 - 1
Redant Drivers/Apex And Drivers/Home/RAHomeViewController+HomeTableDelegate.m

@@ -15,7 +15,7 @@
 #pragma mark - TableView Delegate
 #pragma mark - TableView Delegate
 
 
 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
 - (CGFloat)tableView:(UITableView *)tableView heightForRowAtIndexPath:(NSIndexPath *)indexPath {
-    return 110.0f;
+    return 120.0f;
 }
 }
 
 
 - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {
 - (UIView *)tableView:(UITableView *)tableView viewForHeaderInSection:(NSInteger)section {

+ 30 - 0
Redant Drivers/Apex And Drivers/Home/RAOrderCell.m

@@ -11,12 +11,14 @@
 
 
 @interface RAOrderCell ()
 @interface RAOrderCell ()
 
 
+@property (strong, nonatomic) IBOutlet UIView *contentContainer;
 @property (strong, nonatomic) IBOutlet UILabel *titleLabel;
 @property (strong, nonatomic) IBOutlet UILabel *titleLabel;
 @property (strong, nonatomic) IBOutlet UILabel *orderNoLabel;
 @property (strong, nonatomic) IBOutlet UILabel *orderNoLabel;
 @property (strong, nonatomic) IBOutlet UILabel *containerNoLabel;
 @property (strong, nonatomic) IBOutlet UILabel *containerNoLabel;
 @property (strong, nonatomic) IBOutlet UILabel *dateLabel;
 @property (strong, nonatomic) IBOutlet UILabel *dateLabel;
 @property (strong, nonatomic) IBOutlet UIImageView *markView;
 @property (strong, nonatomic) IBOutlet UIImageView *markView;
 @property (strong, nonatomic) IBOutlet UIImageView *statusView;
 @property (strong, nonatomic) IBOutlet UIImageView *statusView;
+@property (nonatomic,strong) UIView *selectionView;
 
 
 
 
 @end
 @end
@@ -28,6 +30,14 @@
     // Initialization code
     // Initialization code
     
     
     [self setOrderModel:nil];
     [self setOrderModel:nil];
+    
+    self.contentContainer.layer.cornerRadius = 5.0f;
+    self.contentContainer.layer.masksToBounds = YES;
+    self.contentContainer.layer.shadowColor = [UIColor lightGrayColor].CGColor;
+    self.contentContainer.layer.borderColor = [UIColor lightGrayColor].CGColor;
+    self.contentContainer.layer.borderWidth = 0.5f;
+    
+    self.selectedBackgroundView = self.selectionView;
 }
 }
 
 
 - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
 - (void)setSelected:(BOOL)selected animated:(BOOL)animated {
@@ -36,12 +46,32 @@
     // Configure the view for the selected state
     // Configure the view for the selected state
 }
 }
 
 
+- (void)layoutSubviews {
+    [super layoutSubviews];
+    
+    self.selectionView.frame = self.contentContainer.frame;
+}
+
 - (void)prepareForReuse {
 - (void)prepareForReuse {
     [super prepareForReuse];
     [super prepareForReuse];
     
     
     [self setOrderModel:nil];
     [self setOrderModel:nil];
 }
 }
 
 
+- (UIView *)selectionView {
+    if (!_selectionView) {
+        _selectionView = [UIView new];
+        _selectionView.backgroundColor = [UIColor redColor];
+        
+        _selectionView.layer.cornerRadius = 5.0f;
+        _selectionView.layer.masksToBounds = YES;
+        _selectionView.layer.shadowColor = [UIColor redColor].CGColor;
+        _selectionView.layer.borderColor = [UIColor redColor].CGColor;
+        _selectionView.layer.borderWidth = 0.5f;
+    }
+    return _selectionView;
+}
+
 #pragma mark - Set
 #pragma mark - Set
 
 
 - (void)setOrderModel:(RAHomeOrderModel *)orderModel {
 - (void)setOrderModel:(RAHomeOrderModel *)orderModel {