Manos Chorianopoulos

TelematicsMainViewController ui part 1

......@@ -400,8 +400,176 @@
<view key="view" contentMode="scaleToFill" id="x7s-zd-bAg">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L2H-cG-DSc" userLabel="Main View">
<rect key="frame" x="0.0" y="48" width="414" height="848"/>
<subviews>
<scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kec-jf-tnS">
<rect key="frame" x="0.0" y="0.0" width="414" height="848"/>
<subviews>
<view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9NS-jM-Sod">
<rect key="frame" x="0.0" y="0.0" width="414" height="848"/>
<subviews>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Acceleration" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xbD-2W-kJR">
<rect key="frame" x="20" y="30" width="374" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0.0 m/s²" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bfG-en-bNM">
<rect key="frame" x="20" y="65" width="374" height="21"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Velocity" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aBg-oI-057">
<rect key="frame" x="20" y="116" width="374" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0.0 km/h" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sW2-MH-e8S">
<rect key="frame" x="20" y="151" width="374" height="21"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Orientation Count" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pj6-Kz-VUj">
<rect key="frame" x="20" y="202" width="187" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Touch Count" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="K5O-h6-qoH">
<rect key="frame" x="207" y="202" width="187" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<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="xlZ-2g-WaS">
<rect key="frame" x="20" y="237" width="187" height="0.0"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<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="abr-1q-1rb">
<rect key="frame" x="207" y="237" width="187" height="0.0"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Records Saved" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FJM-GI-pzi">
<rect key="frame" x="20" y="267" width="374" height="20"/>
<fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<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="sUu-6B-I0H">
<rect key="frame" x="20" y="302" width="374" height="0.0"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
<nil key="highlightedColor"/>
</label>
<textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="50" borderStyle="roundedRect" placeholder="Cut off in m/s²" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="fuS-Pf-jO4">
<rect key="frame" x="20" y="332" width="139" height="34"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/>
<textInputTraits key="textInputTraits"/>
</textField>
<textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" text="2000" borderStyle="roundedRect" placeholder="Sample Interval in ms" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="TUf-Tp-WTT">
<rect key="frame" x="201.5" y="332" width="192.5" height="34"/>
<color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
<fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/>
<textInputTraits key="textInputTraits"/>
</textField>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QXT-ZS-PPE">
<rect key="frame" x="170.5" y="416" width="73" height="50"/>
<constraints>
<constraint firstAttribute="height" constant="50" id="joZ-uB-CJv"/>
</constraints>
<fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="16"/>
<inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
<state key="normal" title="Start Trip">
<color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="tripButtonTapped:" destination="CkE-e6-QAc" eventType="touchUpInside" id="tKw-pK-4Sj"/>
</connections>
</button>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="K5O-h6-qoH" secondAttribute="trailing" constant="20" id="0dz-Oo-fQ6"/>
<constraint firstItem="aBg-oI-057" firstAttribute="top" secondItem="bfG-en-bNM" secondAttribute="bottom" constant="30" id="21b-XQ-FSz"/>
<constraint firstItem="xbD-2W-kJR" firstAttribute="top" secondItem="9NS-jM-Sod" secondAttribute="top" constant="30" id="2MK-x0-yWo"/>
<constraint firstItem="xlZ-2g-WaS" firstAttribute="top" secondItem="pj6-Kz-VUj" secondAttribute="bottom" constant="15" id="5cI-Jh-rQr"/>
<constraint firstAttribute="trailing" secondItem="aBg-oI-057" secondAttribute="trailing" constant="20" id="7Ld-Y6-qcK"/>
<constraint firstItem="bfG-en-bNM" firstAttribute="top" secondItem="xbD-2W-kJR" secondAttribute="bottom" constant="15" id="84G-kO-VJR"/>
<constraint firstItem="xbD-2W-kJR" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="A4e-Z4-Buv"/>
<constraint firstItem="TUf-Tp-WTT" firstAttribute="leading" secondItem="fuS-Pf-jO4" secondAttribute="trailing" constant="42.5" id="BkF-AG-vWW"/>
<constraint firstItem="bfG-en-bNM" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="CwZ-XV-C1e"/>
<constraint firstItem="QXT-ZS-PPE" firstAttribute="top" secondItem="fuS-Pf-jO4" secondAttribute="bottom" constant="50" id="FM5-V2-vfe"/>
<constraint firstItem="abr-1q-1rb" firstAttribute="width" secondItem="xlZ-2g-WaS" secondAttribute="width" id="HUH-ME-YtV"/>
<constraint firstItem="QXT-ZS-PPE" firstAttribute="centerX" secondItem="9NS-jM-Sod" secondAttribute="centerX" id="Njc-kC-Fgq"/>
<constraint firstAttribute="trailing" secondItem="sW2-MH-e8S" secondAttribute="trailing" constant="20" id="O8K-Vt-fEM"/>
<constraint firstItem="fuS-Pf-jO4" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="QBn-a3-LEk"/>
<constraint firstItem="FJM-GI-pzi" firstAttribute="top" secondItem="abr-1q-1rb" secondAttribute="bottom" constant="30" id="QdN-q9-Btg"/>
<constraint firstItem="sUu-6B-I0H" firstAttribute="top" secondItem="FJM-GI-pzi" secondAttribute="bottom" constant="15" id="QdX-m9-aLF"/>
<constraint firstItem="sUu-6B-I0H" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="R3G-V7-nu4"/>
<constraint firstItem="pj6-Kz-VUj" firstAttribute="top" secondItem="sW2-MH-e8S" secondAttribute="bottom" constant="30" id="XbE-y5-glf"/>
<constraint firstItem="abr-1q-1rb" firstAttribute="centerY" secondItem="xlZ-2g-WaS" secondAttribute="centerY" id="Y3D-np-nFs"/>
<constraint firstItem="K5O-h6-qoH" firstAttribute="width" secondItem="pj6-Kz-VUj" secondAttribute="width" id="a8O-uF-gwJ"/>
<constraint firstAttribute="trailing" secondItem="FJM-GI-pzi" secondAttribute="trailing" constant="20" id="aPu-Kv-kCc"/>
<constraint firstItem="xlZ-2g-WaS" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="bKG-4A-k7P"/>
<constraint firstAttribute="trailing" secondItem="sUu-6B-I0H" secondAttribute="trailing" constant="20" id="dHX-c8-qZB"/>
<constraint firstAttribute="trailing" secondItem="TUf-Tp-WTT" secondAttribute="trailing" constant="20" id="dNk-CG-pda"/>
<constraint firstItem="abr-1q-1rb" firstAttribute="leading" secondItem="xlZ-2g-WaS" secondAttribute="trailing" id="ddE-ri-ZX0"/>
<constraint firstItem="K5O-h6-qoH" firstAttribute="centerY" secondItem="pj6-Kz-VUj" secondAttribute="centerY" id="gep-ZZ-fUj"/>
<constraint firstItem="TUf-Tp-WTT" firstAttribute="centerY" secondItem="fuS-Pf-jO4" secondAttribute="centerY" id="hRh-tw-lY0"/>
<constraint firstItem="K5O-h6-qoH" firstAttribute="leading" secondItem="pj6-Kz-VUj" secondAttribute="trailing" id="hkZ-Og-uVJ"/>
<constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="QXT-ZS-PPE" secondAttribute="bottom" constant="50" id="ihV-UL-suY"/>
<constraint firstItem="fuS-Pf-jO4" firstAttribute="top" secondItem="sUu-6B-I0H" secondAttribute="bottom" constant="30" id="kpa-me-jCw"/>
<constraint firstItem="aBg-oI-057" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="lPP-0w-VXc"/>
<constraint firstItem="FJM-GI-pzi" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="lWu-OY-AB6"/>
<constraint firstItem="pj6-Kz-VUj" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="lb8-8X-h0r"/>
<constraint firstItem="TUf-Tp-WTT" firstAttribute="width" secondItem="fuS-Pf-jO4" secondAttribute="width" multiplier="1.38489" id="ngU-Do-l8f"/>
<constraint firstItem="sW2-MH-e8S" firstAttribute="top" secondItem="aBg-oI-057" secondAttribute="bottom" constant="15" id="nq6-bs-UN3"/>
<constraint firstAttribute="trailing" secondItem="bfG-en-bNM" secondAttribute="trailing" constant="20" id="oWN-Jc-Cxm"/>
<constraint firstItem="sW2-MH-e8S" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="pTM-ER-X10"/>
<constraint firstAttribute="trailing" secondItem="abr-1q-1rb" secondAttribute="trailing" constant="20" id="qjh-nb-bWE"/>
<constraint firstAttribute="trailing" secondItem="xbD-2W-kJR" secondAttribute="trailing" constant="20" id="stO-Y3-LaH"/>
</constraints>
</view>
</subviews>
<constraints>
<constraint firstItem="9NS-jM-Sod" firstAttribute="leading" secondItem="ui7-fi-fFq" secondAttribute="leading" id="Rmm-gT-V58"/>
<constraint firstItem="9NS-jM-Sod" firstAttribute="trailing" secondItem="ui7-fi-fFq" secondAttribute="trailing" id="haz-vF-GbC"/>
<constraint firstItem="9NS-jM-Sod" firstAttribute="width" secondItem="UKm-Br-Iaw" secondAttribute="width" id="ipr-ez-boS"/>
<constraint firstItem="9NS-jM-Sod" firstAttribute="top" secondItem="ui7-fi-fFq" secondAttribute="top" id="o9a-gU-OYQ"/>
<constraint firstItem="9NS-jM-Sod" firstAttribute="bottom" secondItem="ui7-fi-fFq" secondAttribute="bottom" id="qjs-3a-xfy"/>
</constraints>
<viewLayoutGuide key="contentLayoutGuide" id="ui7-fi-fFq"/>
<viewLayoutGuide key="frameLayoutGuide" id="UKm-Br-Iaw"/>
</scrollView>
</subviews>
<color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<constraints>
<constraint firstItem="kec-jf-tnS" firstAttribute="top" secondItem="L2H-cG-DSc" secondAttribute="top" id="HHc-tA-gm5"/>
<constraint firstAttribute="trailing" secondItem="kec-jf-tnS" secondAttribute="trailing" id="OOK-b8-DHB"/>
<constraint firstItem="kec-jf-tnS" firstAttribute="leading" secondItem="L2H-cG-DSc" secondAttribute="leading" id="bcn-ql-ch8"/>
<constraint firstAttribute="bottom" secondItem="kec-jf-tnS" secondAttribute="bottom" id="hmN-UD-UoW"/>
<constraint firstItem="9NS-jM-Sod" firstAttribute="height" relation="greaterThanOrEqual" secondItem="L2H-cG-DSc" secondAttribute="height" id="txO-Al-sxq"/>
</constraints>
</view>
</subviews>
<viewLayoutGuide key="safeArea" id="LMR-ha-1z2"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="trailing" secondItem="L2H-cG-DSc" secondAttribute="trailing" id="7pI-bU-ff3"/>
<constraint firstItem="L2H-cG-DSc" firstAttribute="top" secondItem="LMR-ha-1z2" secondAttribute="top" id="LFh-2j-bd4"/>
<constraint firstAttribute="bottom" secondItem="L2H-cG-DSc" secondAttribute="bottom" id="T4t-wy-vUQ"/>
<constraint firstItem="L2H-cG-DSc" firstAttribute="leading" secondItem="x7s-zd-bAg" secondAttribute="leading" id="dcq-q5-iph"/>
</constraints>
</view>
</viewController>
<placeholder placeholderIdentifier="IBFirstResponder" id="aRH-Fl-OPs" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
......