Manos Chorianopoulos

TelematicsMainViewController ui part 1

...@@ -400,8 +400,176 @@ ...@@ -400,8 +400,176 @@
400 <view key="view" contentMode="scaleToFill" id="x7s-zd-bAg"> 400 <view key="view" contentMode="scaleToFill" id="x7s-zd-bAg">
401 <rect key="frame" x="0.0" y="0.0" width="414" height="896"/> 401 <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
402 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> 402 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
403 + <subviews>
404 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L2H-cG-DSc" userLabel="Main View">
405 + <rect key="frame" x="0.0" y="48" width="414" height="848"/>
406 + <subviews>
407 + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kec-jf-tnS">
408 + <rect key="frame" x="0.0" y="0.0" width="414" height="848"/>
409 + <subviews>
410 + <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="9NS-jM-Sod">
411 + <rect key="frame" x="0.0" y="0.0" width="414" height="848"/>
412 + <subviews>
413 + <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">
414 + <rect key="frame" x="20" y="30" width="374" height="20"/>
415 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
416 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
417 + <nil key="highlightedColor"/>
418 + </label>
419 + <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">
420 + <rect key="frame" x="20" y="65" width="374" height="21"/>
421 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
422 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
423 + <nil key="highlightedColor"/>
424 + </label>
425 + <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">
426 + <rect key="frame" x="20" y="116" width="374" height="20"/>
427 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
428 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
429 + <nil key="highlightedColor"/>
430 + </label>
431 + <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">
432 + <rect key="frame" x="20" y="151" width="374" height="21"/>
433 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
434 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
435 + <nil key="highlightedColor"/>
436 + </label>
437 + <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">
438 + <rect key="frame" x="20" y="202" width="187" height="20"/>
439 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
440 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
441 + <nil key="highlightedColor"/>
442 + </label>
443 + <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">
444 + <rect key="frame" x="207" y="202" width="187" height="20"/>
445 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
446 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
447 + <nil key="highlightedColor"/>
448 + </label>
449 + <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">
450 + <rect key="frame" x="20" y="237" width="187" height="0.0"/>
451 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
452 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
453 + <nil key="highlightedColor"/>
454 + </label>
455 + <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">
456 + <rect key="frame" x="207" y="237" width="187" height="0.0"/>
457 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
458 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
459 + <nil key="highlightedColor"/>
460 + </label>
461 + <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">
462 + <rect key="frame" x="20" y="267" width="374" height="20"/>
463 + <fontDescription key="fontDescription" name="PeridotPE-Regular" family="Peridot PE" pointSize="16"/>
464 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
465 + <nil key="highlightedColor"/>
466 + </label>
467 + <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">
468 + <rect key="frame" x="20" y="302" width="374" height="0.0"/>
469 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="17"/>
470 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/>
471 + <nil key="highlightedColor"/>
472 + </label>
473 + <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">
474 + <rect key="frame" x="20" y="332" width="139" height="34"/>
475 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
476 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/>
477 + <textInputTraits key="textInputTraits"/>
478 + </textField>
479 + <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">
480 + <rect key="frame" x="201.5" y="332" width="192.5" height="34"/>
481 + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
482 + <fontDescription key="fontDescription" name="PeridotPE-Bold" family="Peridot PE" pointSize="16"/>
483 + <textInputTraits key="textInputTraits"/>
484 + </textField>
485 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QXT-ZS-PPE">
486 + <rect key="frame" x="170.5" y="416" width="73" height="50"/>
487 + <constraints>
488 + <constraint firstAttribute="height" constant="50" id="joZ-uB-CJv"/>
489 + </constraints>
490 + <fontDescription key="fontDescription" name="PeridotPE-SBold" family="Peridot PE" pointSize="16"/>
491 + <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
492 + <state key="normal" title="Start Trip">
493 + <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
494 + </state>
495 + <connections>
496 + <action selector="tripButtonTapped:" destination="CkE-e6-QAc" eventType="touchUpInside" id="tKw-pK-4Sj"/>
497 + </connections>
498 + </button>
499 + </subviews>
500 + <color key="backgroundColor" systemColor="systemBackgroundColor"/>
501 + <constraints>
502 + <constraint firstAttribute="trailing" secondItem="K5O-h6-qoH" secondAttribute="trailing" constant="20" id="0dz-Oo-fQ6"/>
503 + <constraint firstItem="aBg-oI-057" firstAttribute="top" secondItem="bfG-en-bNM" secondAttribute="bottom" constant="30" id="21b-XQ-FSz"/>
504 + <constraint firstItem="xbD-2W-kJR" firstAttribute="top" secondItem="9NS-jM-Sod" secondAttribute="top" constant="30" id="2MK-x0-yWo"/>
505 + <constraint firstItem="xlZ-2g-WaS" firstAttribute="top" secondItem="pj6-Kz-VUj" secondAttribute="bottom" constant="15" id="5cI-Jh-rQr"/>
506 + <constraint firstAttribute="trailing" secondItem="aBg-oI-057" secondAttribute="trailing" constant="20" id="7Ld-Y6-qcK"/>
507 + <constraint firstItem="bfG-en-bNM" firstAttribute="top" secondItem="xbD-2W-kJR" secondAttribute="bottom" constant="15" id="84G-kO-VJR"/>
508 + <constraint firstItem="xbD-2W-kJR" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="A4e-Z4-Buv"/>
509 + <constraint firstItem="TUf-Tp-WTT" firstAttribute="leading" secondItem="fuS-Pf-jO4" secondAttribute="trailing" constant="42.5" id="BkF-AG-vWW"/>
510 + <constraint firstItem="bfG-en-bNM" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="CwZ-XV-C1e"/>
511 + <constraint firstItem="QXT-ZS-PPE" firstAttribute="top" secondItem="fuS-Pf-jO4" secondAttribute="bottom" constant="50" id="FM5-V2-vfe"/>
512 + <constraint firstItem="abr-1q-1rb" firstAttribute="width" secondItem="xlZ-2g-WaS" secondAttribute="width" id="HUH-ME-YtV"/>
513 + <constraint firstItem="QXT-ZS-PPE" firstAttribute="centerX" secondItem="9NS-jM-Sod" secondAttribute="centerX" id="Njc-kC-Fgq"/>
514 + <constraint firstAttribute="trailing" secondItem="sW2-MH-e8S" secondAttribute="trailing" constant="20" id="O8K-Vt-fEM"/>
515 + <constraint firstItem="fuS-Pf-jO4" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="QBn-a3-LEk"/>
516 + <constraint firstItem="FJM-GI-pzi" firstAttribute="top" secondItem="abr-1q-1rb" secondAttribute="bottom" constant="30" id="QdN-q9-Btg"/>
517 + <constraint firstItem="sUu-6B-I0H" firstAttribute="top" secondItem="FJM-GI-pzi" secondAttribute="bottom" constant="15" id="QdX-m9-aLF"/>
518 + <constraint firstItem="sUu-6B-I0H" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="R3G-V7-nu4"/>
519 + <constraint firstItem="pj6-Kz-VUj" firstAttribute="top" secondItem="sW2-MH-e8S" secondAttribute="bottom" constant="30" id="XbE-y5-glf"/>
520 + <constraint firstItem="abr-1q-1rb" firstAttribute="centerY" secondItem="xlZ-2g-WaS" secondAttribute="centerY" id="Y3D-np-nFs"/>
521 + <constraint firstItem="K5O-h6-qoH" firstAttribute="width" secondItem="pj6-Kz-VUj" secondAttribute="width" id="a8O-uF-gwJ"/>
522 + <constraint firstAttribute="trailing" secondItem="FJM-GI-pzi" secondAttribute="trailing" constant="20" id="aPu-Kv-kCc"/>
523 + <constraint firstItem="xlZ-2g-WaS" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="bKG-4A-k7P"/>
524 + <constraint firstAttribute="trailing" secondItem="sUu-6B-I0H" secondAttribute="trailing" constant="20" id="dHX-c8-qZB"/>
525 + <constraint firstAttribute="trailing" secondItem="TUf-Tp-WTT" secondAttribute="trailing" constant="20" id="dNk-CG-pda"/>
526 + <constraint firstItem="abr-1q-1rb" firstAttribute="leading" secondItem="xlZ-2g-WaS" secondAttribute="trailing" id="ddE-ri-ZX0"/>
527 + <constraint firstItem="K5O-h6-qoH" firstAttribute="centerY" secondItem="pj6-Kz-VUj" secondAttribute="centerY" id="gep-ZZ-fUj"/>
528 + <constraint firstItem="TUf-Tp-WTT" firstAttribute="centerY" secondItem="fuS-Pf-jO4" secondAttribute="centerY" id="hRh-tw-lY0"/>
529 + <constraint firstItem="K5O-h6-qoH" firstAttribute="leading" secondItem="pj6-Kz-VUj" secondAttribute="trailing" id="hkZ-Og-uVJ"/>
530 + <constraint firstAttribute="bottom" relation="greaterThanOrEqual" secondItem="QXT-ZS-PPE" secondAttribute="bottom" constant="50" id="ihV-UL-suY"/>
531 + <constraint firstItem="fuS-Pf-jO4" firstAttribute="top" secondItem="sUu-6B-I0H" secondAttribute="bottom" constant="30" id="kpa-me-jCw"/>
532 + <constraint firstItem="aBg-oI-057" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="lPP-0w-VXc"/>
533 + <constraint firstItem="FJM-GI-pzi" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="lWu-OY-AB6"/>
534 + <constraint firstItem="pj6-Kz-VUj" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="lb8-8X-h0r"/>
535 + <constraint firstItem="TUf-Tp-WTT" firstAttribute="width" secondItem="fuS-Pf-jO4" secondAttribute="width" multiplier="1.38489" id="ngU-Do-l8f"/>
536 + <constraint firstItem="sW2-MH-e8S" firstAttribute="top" secondItem="aBg-oI-057" secondAttribute="bottom" constant="15" id="nq6-bs-UN3"/>
537 + <constraint firstAttribute="trailing" secondItem="bfG-en-bNM" secondAttribute="trailing" constant="20" id="oWN-Jc-Cxm"/>
538 + <constraint firstItem="sW2-MH-e8S" firstAttribute="leading" secondItem="9NS-jM-Sod" secondAttribute="leading" constant="20" id="pTM-ER-X10"/>
539 + <constraint firstAttribute="trailing" secondItem="abr-1q-1rb" secondAttribute="trailing" constant="20" id="qjh-nb-bWE"/>
540 + <constraint firstAttribute="trailing" secondItem="xbD-2W-kJR" secondAttribute="trailing" constant="20" id="stO-Y3-LaH"/>
541 + </constraints>
542 + </view>
543 + </subviews>
544 + <constraints>
545 + <constraint firstItem="9NS-jM-Sod" firstAttribute="leading" secondItem="ui7-fi-fFq" secondAttribute="leading" id="Rmm-gT-V58"/>
546 + <constraint firstItem="9NS-jM-Sod" firstAttribute="trailing" secondItem="ui7-fi-fFq" secondAttribute="trailing" id="haz-vF-GbC"/>
547 + <constraint firstItem="9NS-jM-Sod" firstAttribute="width" secondItem="UKm-Br-Iaw" secondAttribute="width" id="ipr-ez-boS"/>
548 + <constraint firstItem="9NS-jM-Sod" firstAttribute="top" secondItem="ui7-fi-fFq" secondAttribute="top" id="o9a-gU-OYQ"/>
549 + <constraint firstItem="9NS-jM-Sod" firstAttribute="bottom" secondItem="ui7-fi-fFq" secondAttribute="bottom" id="qjs-3a-xfy"/>
550 + </constraints>
551 + <viewLayoutGuide key="contentLayoutGuide" id="ui7-fi-fFq"/>
552 + <viewLayoutGuide key="frameLayoutGuide" id="UKm-Br-Iaw"/>
553 + </scrollView>
554 + </subviews>
555 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
556 + <constraints>
557 + <constraint firstItem="kec-jf-tnS" firstAttribute="top" secondItem="L2H-cG-DSc" secondAttribute="top" id="HHc-tA-gm5"/>
558 + <constraint firstAttribute="trailing" secondItem="kec-jf-tnS" secondAttribute="trailing" id="OOK-b8-DHB"/>
559 + <constraint firstItem="kec-jf-tnS" firstAttribute="leading" secondItem="L2H-cG-DSc" secondAttribute="leading" id="bcn-ql-ch8"/>
560 + <constraint firstAttribute="bottom" secondItem="kec-jf-tnS" secondAttribute="bottom" id="hmN-UD-UoW"/>
561 + <constraint firstItem="9NS-jM-Sod" firstAttribute="height" relation="greaterThanOrEqual" secondItem="L2H-cG-DSc" secondAttribute="height" id="txO-Al-sxq"/>
562 + </constraints>
563 + </view>
564 + </subviews>
403 <viewLayoutGuide key="safeArea" id="LMR-ha-1z2"/> 565 <viewLayoutGuide key="safeArea" id="LMR-ha-1z2"/>
404 <color key="backgroundColor" systemColor="systemBackgroundColor"/> 566 <color key="backgroundColor" systemColor="systemBackgroundColor"/>
567 + <constraints>
568 + <constraint firstAttribute="trailing" secondItem="L2H-cG-DSc" secondAttribute="trailing" id="7pI-bU-ff3"/>
569 + <constraint firstItem="L2H-cG-DSc" firstAttribute="top" secondItem="LMR-ha-1z2" secondAttribute="top" id="LFh-2j-bd4"/>
570 + <constraint firstAttribute="bottom" secondItem="L2H-cG-DSc" secondAttribute="bottom" id="T4t-wy-vUQ"/>
571 + <constraint firstItem="L2H-cG-DSc" firstAttribute="leading" secondItem="x7s-zd-bAg" secondAttribute="leading" id="dcq-q5-iph"/>
572 + </constraints>
405 </view> 573 </view>
406 </viewController> 574 </viewController>
407 <placeholder placeholderIdentifier="IBFirstResponder" id="aRH-Fl-OPs" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/> 575 <placeholder placeholderIdentifier="IBFirstResponder" id="aRH-Fl-OPs" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
......