Commit f2e7288291b52b0c33c00794b078ce4c1a69f883

Authored by Imanol-Mikel Barba Sabariego
1 parent 5e447316

--no commit message

Showing 53 changed files with 2164 additions and 255 deletions
DUREX Vendor Control/Base.lproj/DatePickerViewController.xib
... ... @@ -17,11 +17,11 @@
17 17 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18 18 <subviews>
19 19 <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="o92-Jq-3Xo">
20   - <rect key="frame" x="6" y="70" width="308" height="296"/>
  20 + <rect key="frame" x="6" y="92" width="308" height="296"/>
21 21 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
22 22 <subviews>
23   - <button opaque="NO" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8vW-ig-tUA">
24   - <rect key="frame" x="136" y="244" width="37" height="30"/>
  23 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8vW-ig-tUA">
  24 + <rect key="frame" x="136" y="190" width="37" height="30"/>
25 25 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
26 26 <state key="normal" title="Done">
27 27 <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
... ... @@ -30,7 +30,7 @@
30 30 <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="bgh-B7-4fN"/>
31 31 </connections>
32 32 </button>
33   - <datePicker contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="SbL-OM-Pxu">
  33 + <datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="SbL-OM-Pxu">
34 34 <rect key="frame" x="-6" y="20" width="320" height="162"/>
35 35 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
36 36 <date key="date" timeIntervalSinceReferenceDate="431534074.16804099">
... ... @@ -62,18 +62,19 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
62 62 <color key="backgroundColor" white="1" alpha="0.95000000000000007" colorSpace="calibratedWhite"/>
63 63 <constraints>
64 64 <constraint firstAttribute="height" constant="296" id="6Mz-Uy-NbX"/>
65   - <constraint firstAttribute="centerX" secondItem="SbL-OM-Pxu" secondAttribute="centerX" id="IpE-Uj-YXL"/>
66   - <constraint firstItem="8vW-ig-tUA" firstAttribute="top" secondItem="SbL-OM-Pxu" secondAttribute="bottom" constant="8" id="K5g-WK-5Hc"/>
67   - <constraint firstItem="SbL-OM-Pxu" firstAttribute="top" secondItem="o92-Jq-3Xo" secondAttribute="top" constant="20" id="XOm-Da-DXb"/>
  65 + <constraint firstItem="SbL-OM-Pxu" firstAttribute="top" secondItem="o92-Jq-3Xo" secondAttribute="top" constant="20" symbolic="YES" id="6cM-JX-mex"/>
  66 + <constraint firstItem="SbL-OM-Pxu" firstAttribute="centerX" secondItem="8vW-ig-tUA" secondAttribute="centerX" id="JRN-6a-zk0"/>
68 67 <constraint firstAttribute="width" constant="308" id="Zfo-v2-Opc"/>
  68 + <constraint firstItem="SbL-OM-Pxu" firstAttribute="centerX" secondItem="o92-Jq-3Xo" secondAttribute="centerX" id="aqD-2z-9t6"/>
  69 + <constraint firstItem="8vW-ig-tUA" firstAttribute="top" secondItem="SbL-OM-Pxu" secondAttribute="bottom" constant="8" id="l3e-xF-szd"/>
  70 + <constraint firstItem="SbL-OM-Pxu" firstAttribute="leading" secondItem="o92-Jq-3Xo" secondAttribute="leading" constant="-6" id="pd4-Mp-kxL"/>
69 71 <constraint firstAttribute="width" constant="308" id="rg4-Lw-oTQ"/>
70   - <constraint firstAttribute="centerX" secondItem="8vW-ig-tUA" secondAttribute="centerX" constant="-0.5" id="xJw-o2-RKF"/>
71 72 </constraints>
72 73 </view>
73 74 </subviews>
74 75 <color key="backgroundColor" red="0.023529414087533951" green="0.0039215688593685627" blue="0.0039215688593685627" alpha="0.5" colorSpace="deviceRGB"/>
75 76 <constraints>
76   - <constraint firstItem="o92-Jq-3Xo" firstAttribute="top" secondItem="7fx-e7-JEt" secondAttribute="top" constant="70" id="R2Y-Fr-tLL"/>
  77 + <constraint firstAttribute="centerY" secondItem="o92-Jq-3Xo" secondAttribute="centerY" id="39X-Bp-EcU"/>
77 78 <constraint firstAttribute="centerX" secondItem="o92-Jq-3Xo" secondAttribute="centerX" id="fTS-XF-GoP"/>
78 79 </constraints>
79 80 <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
... ...
DUREX Vendor Control/Base.lproj/DatePickerViewController_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="DatePickerViewController">
  8 + <connections>
  9 + <outlet property="datePicker" destination="nV6-bl-8Mn" id="Hfa-lY-lXU"/>
  10 + <outlet property="datePickerView" destination="kkY-m0-juR" id="BR2-ws-dHf"/>
  11 + <outlet property="view" destination="Gmb-MP-4KM" id="iMx-WO-Xyt"/>
  12 + </connections>
  13 + </placeholder>
  14 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15 + <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="Gmb-MP-4KM">
  16 + <rect key="frame" x="0.0" y="0.0" width="480" height="320"/>
  17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18 + <subviews>
  19 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kkY-m0-juR">
  20 + <rect key="frame" x="86" y="12" width="308" height="296"/>
  21 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  22 + <subviews>
  23 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="SLt-EA-xM9">
  24 + <rect key="frame" x="136" y="190" width="37" height="30"/>
  25 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  26 + <state key="normal" title="Done">
  27 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  28 + </state>
  29 + <connections>
  30 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="Pc7-ef-6b3"/>
  31 + </connections>
  32 + </button>
  33 + <datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="nV6-bl-8Mn">
  34 + <rect key="frame" x="-6" y="20" width="320" height="162"/>
  35 + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  36 + <date key="date" timeIntervalSinceReferenceDate="431534074.16804099">
  37 + <!--2014-09-04 14:34:34 +0000-->
  38 + </date>
  39 + <timeZone key="timeZone" name="America/Los_Angeles">
  40 + <mutableData key="data">
  41 +VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
  42 +y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
  43 +5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
  44 +8n/BkPNvwKD0X6OQ9U+ioPY/hZD3L4Sg+CiiEPkPZqD6CIQQ+viDIPvoZhD82GUg/chIEP64RyD/qCoQ
  45 +AJgpIAGIDBACeAsgA3EokARhJ6AFUQqQBkEJoAcw7JAHjUOgCRDOkAmtvyAK8LCQC+CvoAzZzRANwJGg
  46 +DrmvEA+priAQmZEQEYmQIBJ5cxATaXIgFFlVEBVJVCAWOTcQFyk2IBgiU5AZCRggGgI1kBryNKAb4heQ
  47 +HNIWoB3B+ZAesfigH6HbkCB2KyAhgb2QIlYNICNq2hAkNe8gJUq8ECYV0SAnKp4QJ/7toCkKgBAp3s+g
  48 +KupiECu+saAs036QLZ6ToC6zYJAvfnWgMJNCkDFnkiAycySQM0d0IDRTBpA1J1YgNjLokDcHOCA4HAUQ
  49 +OOcaIDn75xA6xvwgO9vJEDywGKA9u6sQPo/6oD+bjRBAb9ygQYSpkEJPvqBDZIuQRC+goEVEbZBF89Mg
  50 +Ry2KEEfTtSBJDWwQSbOXIErtThBLnLOgTNZqkE18laBOtkyQT1x3oFCWLpBRPFmgUnYQkFMcO6BUVfKQ
  51 +VPwdoFY11JBW5TogWB7xEFjFHCBZ/tMQWqT+IFvetRBchOAgXb6XEF5kwiBfnnkQYE3eoGGHlZBiLcCg
  52 +Y2d3kGQNoqBlR1mQZe2EoGcnO5BnzWagaQcdkGmtSKBq5v+Qa5ZlIGzQHBBtdkcgbq/+EG9WKSBwj+AQ
  53 +cTYLIHJvwhBzFe0gdE+kEHT/CaB2OMCQdt7roHgYopB4vs2gefiEkHqer6B72GaQfH6RoH24SJB+XnOg
  54 +f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  55 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  56 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  57 +AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
  58 +</mutableData>
  59 + </timeZone>
  60 + </datePicker>
  61 + </subviews>
  62 + <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="calibratedWhite"/>
  63 + <constraints>
  64 + <constraint firstAttribute="height" constant="296" id="5bu-FK-ohU"/>
  65 + <constraint firstItem="nV6-bl-8Mn" firstAttribute="leading" secondItem="kkY-m0-juR" secondAttribute="leading" constant="-6" id="Ah1-JX-cCs"/>
  66 + <constraint firstAttribute="width" constant="308" id="UWF-fZ-dh2"/>
  67 + <constraint firstItem="SLt-EA-xM9" firstAttribute="top" secondItem="nV6-bl-8Mn" secondAttribute="bottom" constant="8" id="WR7-EO-uLr"/>
  68 + <constraint firstAttribute="width" constant="308" id="beo-oZ-6zT"/>
  69 + <constraint firstItem="nV6-bl-8Mn" firstAttribute="centerX" secondItem="kkY-m0-juR" secondAttribute="centerX" id="j6k-87-V8H"/>
  70 + <constraint firstItem="nV6-bl-8Mn" firstAttribute="top" secondItem="kkY-m0-juR" secondAttribute="top" constant="20" symbolic="YES" id="jNe-Kd-nS7"/>
  71 + <constraint firstItem="nV6-bl-8Mn" firstAttribute="centerX" secondItem="SLt-EA-xM9" secondAttribute="centerX" id="ykH-E1-Szr"/>
  72 + </constraints>
  73 + </view>
  74 + </subviews>
  75 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  76 + <constraints>
  77 + <constraint firstAttribute="centerY" secondItem="kkY-m0-juR" secondAttribute="centerY" id="L8N-C1-HcI"/>
  78 + <constraint firstAttribute="centerX" secondItem="kkY-m0-juR" secondAttribute="centerX" id="cCi-vF-7rt"/>
  79 + </constraints>
  80 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  81 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  82 + <simulatedScreenMetrics key="simulatedDestinationMetrics"/>
  83 + </view>
  84 + </objects>
  85 +</document>
... ...
DUREX Vendor Control/Base.lproj/DatePickerViewController_iPad.xib
1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
3 3 <dependencies>
4 4 <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
5 5 </dependencies>
... ... @@ -24,9 +24,7 @@
24 24 <rect key="frame" x="-192" y="47" width="768" height="216"/>
25 25 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
26 26 <constraints>
27   - <constraint firstAttribute="width" constant="768" id="Pgg-r9-HIP"/>
28   - <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="768" id="ngh-5u-kgr"/>
29   - <constraint firstAttribute="height" constant="216" id="scf-ur-ntV"/>
  27 + <constraint firstAttribute="width" constant="768" id="68V-V1-O6a"/>
30 28 </constraints>
31 29 <date key="date" timeIntervalSinceReferenceDate="431372189.40412599">
32 30 <!--2014-09-02 17:36:29 +0000-->
... ... @@ -66,12 +64,11 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
66 64 </subviews>
67 65 <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="custom" customColorSpace="calibratedWhite"/>
68 66 <constraints>
69   - <constraint firstItem="RGE-Ye-qon" firstAttribute="top" secondItem="3XX-v6-qTY" secondAttribute="bottom" constant="8" id="6iZ-h3-wEL"/>
70 67 <constraint firstAttribute="width" constant="384" id="74N-1u-MlE"/>
71   - <constraint firstItem="3XX-v6-qTY" firstAttribute="centerX" secondItem="RGE-Ye-qon" secondAttribute="centerX" id="8nT-zM-hgt"/>
72   - <constraint firstItem="3XX-v6-qTY" firstAttribute="top" secondItem="YoS-Cq-kfN" secondAttribute="top" constant="47" id="KBE-yK-lRs"/>
73   - <constraint firstItem="3XX-v6-qTY" firstAttribute="leading" secondItem="YoS-Cq-kfN" secondAttribute="leading" constant="-192" id="VCY-84-a0G"/>
  68 + <constraint firstItem="3XX-v6-qTY" firstAttribute="centerX" secondItem="RGE-Ye-qon" secondAttribute="centerX" id="OHn-lR-LZI"/>
  69 + <constraint firstItem="RGE-Ye-qon" firstAttribute="top" secondItem="3XX-v6-qTY" secondAttribute="bottom" constant="8" symbolic="YES" id="fLk-TO-w5A"/>
74 70 <constraint firstAttribute="centerX" secondItem="RGE-Ye-qon" secondAttribute="centerX" id="oSf-yk-jJ4"/>
  71 + <constraint firstItem="3XX-v6-qTY" firstAttribute="top" secondItem="YoS-Cq-kfN" secondAttribute="top" constant="47" id="tja-I4-GeB"/>
75 72 <constraint firstAttribute="height" constant="321" id="uhB-RO-pEr"/>
76 73 </constraints>
77 74 </view>
... ...
DUREX Vendor Control/Base.lproj/DatePickerViewController_iPad_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="DatePickerViewController">
  8 + <connections>
  9 + <outlet property="datePicker" destination="bzN-RW-o4P" id="NPK-Hk-rVP"/>
  10 + <outlet property="datePickerView" destination="xHQ-Ji-H1n" id="3YS-Pd-sRr"/>
  11 + <outlet property="view" destination="3Vy-Ht-0HF" id="FwF-LW-aKW"/>
  12 + </connections>
  13 + </placeholder>
  14 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15 + <view contentMode="scaleToFill" id="3Vy-Ht-0HF">
  16 + <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
  17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18 + <subviews>
  19 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xHQ-Ji-H1n">
  20 + <rect key="frame" x="320" y="223" width="384" height="321"/>
  21 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  22 + <subviews>
  23 + <datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="bzN-RW-o4P">
  24 + <rect key="frame" x="-192" y="47" width="768" height="216"/>
  25 + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  26 + <constraints>
  27 + <constraint firstAttribute="width" constant="768" id="WgJ-mQ-QaW"/>
  28 + </constraints>
  29 + <date key="date" timeIntervalSinceReferenceDate="431372189.40412599">
  30 + <!--2014-09-02 17:36:29 +0000-->
  31 + </date>
  32 + <timeZone key="timeZone" name="America/Los_Angeles">
  33 + <mutableData key="data">
  34 +VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
  35 +y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
  36 +5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
  37 +8n/BkPNvwKD0X6OQ9U+ioPY/hZD3L4Sg+CiiEPkPZqD6CIQQ+viDIPvoZhD82GUg/chIEP64RyD/qCoQ
  38 +AJgpIAGIDBACeAsgA3EokARhJ6AFUQqQBkEJoAcw7JAHjUOgCRDOkAmtvyAK8LCQC+CvoAzZzRANwJGg
  39 +DrmvEA+priAQmZEQEYmQIBJ5cxATaXIgFFlVEBVJVCAWOTcQFyk2IBgiU5AZCRggGgI1kBryNKAb4heQ
  40 +HNIWoB3B+ZAesfigH6HbkCB2KyAhgb2QIlYNICNq2hAkNe8gJUq8ECYV0SAnKp4QJ/7toCkKgBAp3s+g
  41 +KupiECu+saAs036QLZ6ToC6zYJAvfnWgMJNCkDFnkiAycySQM0d0IDRTBpA1J1YgNjLokDcHOCA4HAUQ
  42 +OOcaIDn75xA6xvwgO9vJEDywGKA9u6sQPo/6oD+bjRBAb9ygQYSpkEJPvqBDZIuQRC+goEVEbZBF89Mg
  43 +Ry2KEEfTtSBJDWwQSbOXIErtThBLnLOgTNZqkE18laBOtkyQT1x3oFCWLpBRPFmgUnYQkFMcO6BUVfKQ
  44 +VPwdoFY11JBW5TogWB7xEFjFHCBZ/tMQWqT+IFvetRBchOAgXb6XEF5kwiBfnnkQYE3eoGGHlZBiLcCg
  45 +Y2d3kGQNoqBlR1mQZe2EoGcnO5BnzWagaQcdkGmtSKBq5v+Qa5ZlIGzQHBBtdkcgbq/+EG9WKSBwj+AQ
  46 +cTYLIHJvwhBzFe0gdE+kEHT/CaB2OMCQdt7roHgYopB4vs2gefiEkHqer6B72GaQfH6RoH24SJB+XnOg
  47 +f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  48 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  49 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  50 +AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
  51 +</mutableData>
  52 + </timeZone>
  53 + </datePicker>
  54 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JbU-pO-d9E">
  55 + <rect key="frame" x="174" y="271" width="37" height="30"/>
  56 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  57 + <state key="normal" title="Done">
  58 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  59 + </state>
  60 + <connections>
  61 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="a3p-ct-AgC"/>
  62 + </connections>
  63 + </button>
  64 + </subviews>
  65 + <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="custom" customColorSpace="calibratedWhite"/>
  66 + <constraints>
  67 + <constraint firstAttribute="centerX" secondItem="JbU-pO-d9E" secondAttribute="centerX" id="75D-AW-v5X"/>
  68 + <constraint firstItem="bzN-RW-o4P" firstAttribute="centerX" secondItem="JbU-pO-d9E" secondAttribute="centerX" id="FsB-ZM-yvA"/>
  69 + <constraint firstItem="bzN-RW-o4P" firstAttribute="top" secondItem="xHQ-Ji-H1n" secondAttribute="top" constant="47" id="QFV-PT-Cbq"/>
  70 + <constraint firstAttribute="width" constant="384" id="gkG-2V-MPG"/>
  71 + <constraint firstItem="JbU-pO-d9E" firstAttribute="top" secondItem="bzN-RW-o4P" secondAttribute="bottom" constant="8" symbolic="YES" id="hSJ-r5-oVZ"/>
  72 + <constraint firstAttribute="height" constant="321" id="vFv-sv-ODr"/>
  73 + </constraints>
  74 + </view>
  75 + </subviews>
  76 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  77 + <constraints>
  78 + <constraint firstAttribute="centerY" secondItem="xHQ-Ji-H1n" secondAttribute="centerY" constant="0.5" id="NjS-L2-TW2"/>
  79 + <constraint firstAttribute="centerX" secondItem="xHQ-Ji-H1n" secondAttribute="centerX" id="R6R-EQ-DBr"/>
  80 + </constraints>
  81 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  82 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  83 + </view>
  84 + </objects>
  85 +</document>
... ...
DUREX Vendor Control/Base.lproj/DateRangePickerViewController.xib
... ... @@ -23,11 +23,11 @@
23 23 <rect key="frame" x="0.0" y="0.0" width="320" height="480"/>
24 24 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
25 25 <subviews>
26   - <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" misplaced="YES" translatesAutoresizingMaskIntoConstraints="NO" id="fz9-NP-VLV">
27   - <rect key="frame" x="0.0" y="70" width="320" height="137"/>
  26 + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="fz9-NP-VLV">
  27 + <rect key="frame" x="20" y="20" width="280" height="139"/>
28 28 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
29 29 <subviews>
30   - <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="bPF-XH-a36">
  30 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bPF-XH-a36">
31 31 <rect key="frame" x="0.0" y="0.0" width="320" height="602"/>
32 32 <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
33 33 <subviews>
... ... @@ -44,8 +44,8 @@
44 44 <fontDescription key="fontDescription" type="system" pointSize="17"/>
45 45 <nil key="highlightedColor"/>
46 46 </label>
47   - <datePicker hidden="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="P5u-F4-X4a">
48   - <rect key="frame" x="0.0" y="59" width="320" height="162"/>
  47 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="P5u-F4-X4a">
  48 + <rect key="frame" x="-80" y="59" width="480" height="162"/>
49 49 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
50 50 <date key="date" timeIntervalSinceReferenceDate="432266305.732934">
51 51 <!--2014-09-13 01:58:25 +0000-->
... ... @@ -85,8 +85,8 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
85 85 <action selector="toggleToDate:" destination="-1" eventType="valueChanged" id="JNu-fd-64c"/>
86 86 </connections>
87 87 </switch>
88   - <datePicker hidden="YES" contentMode="scaleToFill" ambiguous="YES" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="mwj-Ys-4vf">
89   - <rect key="frame" x="0.0" y="98" width="320" height="162"/>
  88 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="mwj-Ys-4vf">
  89 + <rect key="frame" x="-80" y="98" width="480" height="162"/>
90 90 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
91 91 <date key="date" timeIntervalSinceReferenceDate="432266362.26397198">
92 92 <!--2014-09-13 01:59:22 +0000-->
... ... @@ -113,47 +113,51 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
113 113 </data>
114 114 </timeZone>
115 115 </datePicker>
116   - <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aYc-3W-Uqn">
117   - <rect key="frame" x="142" y="97" width="37" height="30"/>
118   - <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
119   - <state key="normal" title="Done">
120   - <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
121   - </state>
122   - <connections>
123   - <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="20s-GW-y67"/>
124   - </connections>
125   - </button>
126 116 </subviews>
127 117 <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
128 118 <constraints>
129   - <constraint firstItem="aYc-3W-Uqn" firstAttribute="leading" secondItem="bPF-XH-a36" secondAttribute="leading" constant="142" id="012-bb-lhx"/>
130 119 <constraint firstAttribute="centerX" secondItem="P5u-F4-X4a" secondAttribute="centerX" id="3kI-JI-Z1h"/>
131 120 <constraint firstItem="IjI-S6-otK" firstAttribute="top" secondItem="gUl-8z-CPz" secondAttribute="bottom" constant="8" id="52l-FN-K2C"/>
132 121 <constraint firstAttribute="height" constant="602" id="9TX-1i-78Z"/>
133   - <constraint firstAttribute="centerX" secondItem="aYc-3W-Uqn" secondAttribute="centerX" constant="-0.5" id="Ad7-EA-luE"/>
134 122 <constraint firstItem="J6Y-lM-Rjf" firstAttribute="top" secondItem="xIo-vd-lE7" secondAttribute="bottom" constant="18" id="Ebo-Ll-h52"/>
135 123 <constraint firstItem="gUl-8z-CPz" firstAttribute="leading" secondItem="xIo-vd-lE7" secondAttribute="trailing" constant="8" id="GGW-gp-gX0"/>
136   - <constraint firstItem="aYc-3W-Uqn" firstAttribute="top" secondItem="IjI-S6-otK" secondAttribute="bottom" constant="7" id="HEf-k7-g2Z"/>
137 124 <constraint firstAttribute="width" constant="320" id="HeC-5b-Jcm"/>
138 125 <constraint firstItem="xIo-vd-lE7" firstAttribute="top" secondItem="bPF-XH-a36" secondAttribute="top" constant="25" id="Lre-tN-KLY"/>
139 126 <constraint firstItem="IjI-S6-otK" firstAttribute="leading" secondItem="J6Y-lM-Rjf" secondAttribute="trailing" constant="8" id="SiP-L0-vna"/>
140 127 <constraint firstItem="xIo-vd-lE7" firstAttribute="leading" secondItem="bPF-XH-a36" secondAttribute="leading" constant="20" id="UYd-kA-RVe"/>
  128 + <constraint firstItem="mwj-Ys-4vf" firstAttribute="top" secondItem="IjI-S6-otK" secondAttribute="bottom" constant="8" symbolic="YES" id="awF-Ys-Dzh"/>
141 129 <constraint firstItem="P5u-F4-X4a" firstAttribute="top" secondItem="gUl-8z-CPz" secondAttribute="bottom" constant="8" id="cA8-yk-fVJ"/>
142 130 <constraint firstItem="J6Y-lM-Rjf" firstAttribute="leading" secondItem="bPF-XH-a36" secondAttribute="leading" constant="20" id="jXK-cV-gUA"/>
143   - <constraint firstItem="P5u-F4-X4a" firstAttribute="top" secondItem="xIo-vd-lE7" secondAttribute="bottom" constant="13" id="jfl-Gt-5hY"/>
144 131 <constraint firstAttribute="centerX" secondItem="mwj-Ys-4vf" secondAttribute="centerX" id="vvq-Wh-sPa"/>
145 132 <constraint firstItem="gUl-8z-CPz" firstAttribute="top" secondItem="bPF-XH-a36" secondAttribute="top" constant="20" id="wxd-X3-cbH"/>
146 133 </constraints>
147 134 </view>
  135 + <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aYc-3W-Uqn">
  136 + <rect key="frame" x="122" y="98" width="37" height="30"/>
  137 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  138 + <state key="normal" title="Done">
  139 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  140 + </state>
  141 + <connections>
  142 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="20s-GW-y67"/>
  143 + </connections>
  144 + </button>
148 145 </subviews>
149 146 <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="calibratedWhite"/>
  147 + <constraints>
  148 + <constraint firstAttribute="bottom" secondItem="bPF-XH-a36" secondAttribute="bottom" constant="-463" id="BSg-SY-YvA"/>
  149 + <constraint firstItem="bPF-XH-a36" firstAttribute="centerX" secondItem="fz9-NP-VLV" secondAttribute="centerX" constant="20" id="JcL-2N-ehq"/>
  150 + <constraint firstItem="bPF-XH-a36" firstAttribute="leading" secondItem="fz9-NP-VLV" secondAttribute="leading" id="a6a-pD-vUI"/>
  151 + <constraint firstItem="bPF-XH-a36" firstAttribute="top" secondItem="fz9-NP-VLV" secondAttribute="top" id="dVI-xT-cob"/>
  152 + <constraint firstAttribute="trailing" secondItem="bPF-XH-a36" secondAttribute="trailing" constant="-40" id="qyC-rv-007"/>
  153 + </constraints>
150 154 </scrollView>
151 155 </subviews>
152 156 <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
153 157 <constraints>
154   - <constraint firstItem="fz9-NP-VLV" firstAttribute="top" secondItem="kvr-be-fbh" secondAttribute="top" constant="70" id="ENJ-tA-Y3H"/>
  158 + <constraint firstItem="fz9-NP-VLV" firstAttribute="top" secondItem="kvr-be-fbh" secondAttribute="top" constant="20" symbolic="YES" id="ENJ-tA-Y3H"/>
155 159 <constraint firstAttribute="centerX" secondItem="fz9-NP-VLV" secondAttribute="centerX" id="X8u-75-ogj"/>
156   - <constraint firstAttribute="bottom" secondItem="fz9-NP-VLV" secondAttribute="bottom" constant="273" id="qh2-6H-Nq5"/>
  160 + <constraint firstAttribute="bottom" secondItem="fz9-NP-VLV" secondAttribute="bottom" constant="321" id="qh2-6H-Nq5"/>
157 161 </constraints>
158 162 <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
159 163 <simulatedScreenMetrics key="simulatedDestinationMetrics"/>
... ...
DUREX Vendor Control/Base.lproj/DateRangePickerViewController_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="DateRangePickerViewController">
  8 + <connections>
  9 + <outlet property="dateRangePickerView" destination="LR9-4f-pyO" id="LYi-RA-hmD"/>
  10 + <outlet property="doneButton" destination="nfK-Us-pVk" id="jUi-mH-I0g"/>
  11 + <outlet property="fromDate" destination="84e-nH-INk" id="Oau-6P-Msv"/>
  12 + <outlet property="fromToggler" destination="cTb-x4-h2w" id="dSV-Ut-2Uk"/>
  13 + <outlet property="scrollView" destination="LR9-4f-pyO" id="z4F-pE-dQF"/>
  14 + <outlet property="scrolledView" destination="YyP-Hs-KVd" id="zE0-Dy-YHf"/>
  15 + <outlet property="toDate" destination="MAy-lw-s1B" id="wVG-Sv-6Nd"/>
  16 + <outlet property="toLabel" destination="WCO-rz-s5y" id="7t8-X5-uSw"/>
  17 + <outlet property="toToggler" destination="D6M-uD-fFw" id="oM4-CJ-CVX"/>
  18 + <outlet property="view" destination="4CX-TI-g0c" id="Mt9-Ec-s37"/>
  19 + </connections>
  20 + </placeholder>
  21 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  22 + <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="4CX-TI-g0c">
  23 + <rect key="frame" x="0.0" y="0.0" width="480" height="320"/>
  24 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25 + <subviews>
  26 + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LR9-4f-pyO">
  27 + <rect key="frame" x="20" y="20" width="440" height="136"/>
  28 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29 + <subviews>
  30 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="YyP-Hs-KVd">
  31 + <rect key="frame" x="0.0" y="0.0" width="440" height="602"/>
  32 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  33 + <subviews>
  34 + <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="cTb-x4-h2w">
  35 + <rect key="frame" x="73" y="20" width="51" height="31"/>
  36 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37 + <connections>
  38 + <action selector="toggleFromDate:" destination="-1" eventType="valueChanged" id="vXC-j4-PZx"/>
  39 + </connections>
  40 + </switch>
  41 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="From:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ses-ng-Dli">
  42 + <rect key="frame" x="20" y="25" width="45" height="21"/>
  43 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  44 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  45 + <nil key="highlightedColor"/>
  46 + </label>
  47 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="84e-nH-INk">
  48 + <rect key="frame" x="0.0" y="59" width="440" height="162"/>
  49 + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  50 + <date key="date" timeIntervalSinceReferenceDate="432266305.732934">
  51 + <!--2014-09-13 01:58:25 +0000-->
  52 + </date>
  53 + <timeZone key="timeZone" name="America/Los_Angeles">
  54 + <data key="data">
  55 +VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
  56 +y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
  57 +5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
  58 +8n/BkPNvwKD0X6OQ9U+ioPY/hZD3L4Sg+CiiEPkPZqD6CIQQ+viDIPvoZhD82GUg/chIEP64RyD/qCoQ
  59 +AJgpIAGIDBACeAsgA3EokARhJ6AFUQqQBkEJoAcw7JAHjUOgCRDOkAmtvyAK8LCQC+CvoAzZzRANwJGg
  60 +DrmvEA+priAQmZEQEYmQIBJ5cxATaXIgFFlVEBVJVCAWOTcQFyk2IBgiU5AZCRggGgI1kBryNKAb4heQ
  61 +HNIWoB3B+ZAesfigH6HbkCB2KyAhgb2QIlYNICNq2hAkNe8gJUq8ECYV0SAnKp4QJ/7toCkKgBAp3s+g
  62 +KupiECu+saAs036QLZ6ToC6zYJAvfnWgMJNCkDFnkiAycySQM0d0IDRTBpA1J1YgNjLokDcHOCA4HAUQ
  63 +OOcaIDn75xA6xvwgO9vJEDywGKA9u6sQPo/6oD+bjRBAb9ygQYSpkEJPvqBDZIuQRC+goEVEbZBF89Mg
  64 +Ry2KEEfTtSBJDWwQSbOXIErtThBLnLOgTNZqkE18laBOtkyQT1x3oFCWLpBRPFmgUnYQkFMcO6BUVfKQ
  65 +VPwdoFY11JBW5TogWB7xEFjFHCBZ/tMQWqT+IFvetRBchOAgXb6XEF5kwiBfnnkQYE3eoGGHlZBiLcCg
  66 +Y2d3kGQNoqBlR1mQZe2EoGcnO5BnzWagaQcdkGmtSKBq5v+Qa5ZlIGzQHBBtdkcgbq/+EG9WKSBwj+AQ
  67 +cTYLIHJvwhBzFe0gdE+kEHT/CaB2OMCQdt7roHgYopB4vs2gefiEkHqer6B72GaQfH6RoH24SJB+XnOg
  68 +f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  69 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  70 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  71 +AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
  72 +</data>
  73 + </timeZone>
  74 + </datePicker>
  75 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="To:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WCO-rz-s5y">
  76 + <rect key="frame" x="20" y="64" width="23" height="21"/>
  77 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  78 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  79 + <nil key="highlightedColor"/>
  80 + </label>
  81 + <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="D6M-uD-fFw">
  82 + <rect key="frame" x="51" y="59" width="51" height="31"/>
  83 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  84 + <connections>
  85 + <action selector="toggleToDate:" destination="-1" eventType="valueChanged" id="9Pz-Be-eah"/>
  86 + </connections>
  87 + </switch>
  88 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="MAy-lw-s1B">
  89 + <rect key="frame" x="0.0" y="98" width="440" height="162"/>
  90 + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  91 + <date key="date" timeIntervalSinceReferenceDate="432266362.26397198">
  92 + <!--2014-09-13 01:59:22 +0000-->
  93 + </date>
  94 + <timeZone key="timeZone" name="America/Los_Angeles">
  95 + <data key="data">
  96 +VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
  97 +y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
  98 +5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
  99 +8n/BkPNvwKD0X6OQ9U+ioPY/hZD3L4Sg+CiiEPkPZqD6CIQQ+viDIPvoZhD82GUg/chIEP64RyD/qCoQ
  100 +AJgpIAGIDBACeAsgA3EokARhJ6AFUQqQBkEJoAcw7JAHjUOgCRDOkAmtvyAK8LCQC+CvoAzZzRANwJGg
  101 +DrmvEA+priAQmZEQEYmQIBJ5cxATaXIgFFlVEBVJVCAWOTcQFyk2IBgiU5AZCRggGgI1kBryNKAb4heQ
  102 +HNIWoB3B+ZAesfigH6HbkCB2KyAhgb2QIlYNICNq2hAkNe8gJUq8ECYV0SAnKp4QJ/7toCkKgBAp3s+g
  103 +KupiECu+saAs036QLZ6ToC6zYJAvfnWgMJNCkDFnkiAycySQM0d0IDRTBpA1J1YgNjLokDcHOCA4HAUQ
  104 +OOcaIDn75xA6xvwgO9vJEDywGKA9u6sQPo/6oD+bjRBAb9ygQYSpkEJPvqBDZIuQRC+goEVEbZBF89Mg
  105 +Ry2KEEfTtSBJDWwQSbOXIErtThBLnLOgTNZqkE18laBOtkyQT1x3oFCWLpBRPFmgUnYQkFMcO6BUVfKQ
  106 +VPwdoFY11JBW5TogWB7xEFjFHCBZ/tMQWqT+IFvetRBchOAgXb6XEF5kwiBfnnkQYE3eoGGHlZBiLcCg
  107 +Y2d3kGQNoqBlR1mQZe2EoGcnO5BnzWagaQcdkGmtSKBq5v+Qa5ZlIGzQHBBtdkcgbq/+EG9WKSBwj+AQ
  108 +cTYLIHJvwhBzFe0gdE+kEHT/CaB2OMCQdt7roHgYopB4vs2gefiEkHqer6B72GaQfH6RoH24SJB+XnOg
  109 +f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  110 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  111 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  112 +AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
  113 +</data>
  114 + </timeZone>
  115 + </datePicker>
  116 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="nfK-Us-pVk">
  117 + <rect key="frame" x="202" y="98" width="37" height="30"/>
  118 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  119 + <state key="normal" title="Done">
  120 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  121 + </state>
  122 + <connections>
  123 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="mab-Ys-jyc"/>
  124 + </connections>
  125 + </button>
  126 + </subviews>
  127 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  128 + <constraints>
  129 + <constraint firstItem="cTb-x4-h2w" firstAttribute="top" secondItem="YyP-Hs-KVd" secondAttribute="top" constant="20" id="71v-O2-Kw2"/>
  130 + <constraint firstAttribute="width" constant="440" id="8Cg-lC-KMO"/>
  131 + <constraint firstItem="WCO-rz-s5y" firstAttribute="top" secondItem="Ses-ng-Dli" secondAttribute="bottom" constant="18" id="A53-8Q-SjO"/>
  132 + <constraint firstItem="MAy-lw-s1B" firstAttribute="leading" secondItem="YyP-Hs-KVd" secondAttribute="leading" id="BYM-Gd-Zd6"/>
  133 + <constraint firstAttribute="centerX" secondItem="nfK-Us-pVk" secondAttribute="centerX" constant="-0.5" id="HZk-hK-PfS"/>
  134 + <constraint firstAttribute="centerX" secondItem="MAy-lw-s1B" secondAttribute="centerX" id="HuX-og-bub"/>
  135 + <constraint firstItem="Ses-ng-Dli" firstAttribute="top" secondItem="YyP-Hs-KVd" secondAttribute="top" constant="25" id="K9p-xC-gmM"/>
  136 + <constraint firstAttribute="centerX" secondItem="84e-nH-INk" secondAttribute="centerX" id="Rc3-MB-ZzZ"/>
  137 + <constraint firstItem="D6M-uD-fFw" firstAttribute="top" secondItem="cTb-x4-h2w" secondAttribute="bottom" constant="8" id="YR7-LE-DE0"/>
  138 + <constraint firstAttribute="height" constant="602" id="aC4-YZ-T3h"/>
  139 + <constraint firstItem="MAy-lw-s1B" firstAttribute="top" secondItem="D6M-uD-fFw" secondAttribute="bottom" constant="8" symbolic="YES" id="caz-mx-Bec"/>
  140 + <constraint firstItem="84e-nH-INk" firstAttribute="top" secondItem="cTb-x4-h2w" secondAttribute="bottom" constant="8" id="lj7-2h-Tuu"/>
  141 + <constraint firstItem="WCO-rz-s5y" firstAttribute="leading" secondItem="YyP-Hs-KVd" secondAttribute="leading" constant="20" id="qzS-Hb-i2n"/>
  142 + <constraint firstItem="Ses-ng-Dli" firstAttribute="leading" secondItem="YyP-Hs-KVd" secondAttribute="leading" constant="20" id="sOT-a5-RCf"/>
  143 + <constraint firstItem="84e-nH-INk" firstAttribute="top" secondItem="Ses-ng-Dli" secondAttribute="bottom" constant="13" id="uuD-yP-qFl"/>
  144 + <constraint firstItem="MAy-lw-s1B" firstAttribute="leading" secondItem="84e-nH-INk" secondAttribute="leading" id="v55-li-xEh"/>
  145 + <constraint firstItem="cTb-x4-h2w" firstAttribute="leading" secondItem="Ses-ng-Dli" secondAttribute="trailing" constant="8" id="vTL-Oe-xpz"/>
  146 + <constraint firstItem="D6M-uD-fFw" firstAttribute="leading" secondItem="WCO-rz-s5y" secondAttribute="trailing" constant="8" id="wcC-ev-DCg"/>
  147 + <constraint firstItem="nfK-Us-pVk" firstAttribute="top" secondItem="D6M-uD-fFw" secondAttribute="bottom" constant="8" id="z2P-uq-uq4"/>
  148 + </constraints>
  149 + </view>
  150 + </subviews>
  151 + <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="calibratedWhite"/>
  152 + <constraints>
  153 + <constraint firstAttribute="trailing" secondItem="YyP-Hs-KVd" secondAttribute="trailing" id="2ue-Lq-Fiu"/>
  154 + <constraint firstItem="YyP-Hs-KVd" firstAttribute="top" secondItem="LR9-4f-pyO" secondAttribute="top" id="5tN-HC-Y4Y"/>
  155 + <constraint firstAttribute="bottom" secondItem="YyP-Hs-KVd" secondAttribute="bottom" constant="-466" id="N0Z-v2-m3i"/>
  156 + <constraint firstItem="YyP-Hs-KVd" firstAttribute="leading" secondItem="LR9-4f-pyO" secondAttribute="leading" id="r0r-8k-tpO"/>
  157 + </constraints>
  158 + </scrollView>
  159 + </subviews>
  160 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  161 + <constraints>
  162 + <constraint firstItem="LR9-4f-pyO" firstAttribute="top" secondItem="4CX-TI-g0c" secondAttribute="top" constant="20" id="5bJ-Km-lml"/>
  163 + <constraint firstItem="LR9-4f-pyO" firstAttribute="leading" secondItem="4CX-TI-g0c" secondAttribute="leading" constant="20" symbolic="YES" id="He8-2n-c8r"/>
  164 + <constraint firstAttribute="bottom" secondItem="LR9-4f-pyO" secondAttribute="bottom" constant="164" id="Kof-P4-pbo"/>
  165 + <constraint firstItem="LR9-4f-pyO" firstAttribute="centerX" secondItem="4CX-TI-g0c" secondAttribute="centerX" id="sXP-9K-cYu"/>
  166 + </constraints>
  167 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  168 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  169 + <simulatedScreenMetrics key="simulatedDestinationMetrics"/>
  170 + </view>
  171 + </objects>
  172 +</document>
... ...
DUREX Vendor Control/Base.lproj/DateRangePickerViewController_iPad.xib
... ... @@ -23,7 +23,7 @@
23 23 <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
24 24 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
25 25 <subviews>
26   - <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="RS5-ft-hEF">
  26 + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RS5-ft-hEF">
27 27 <rect key="frame" x="134" y="109" width="500" height="140"/>
28 28 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
29 29 <subviews>
... ... @@ -44,14 +44,14 @@
44 44 <fontDescription key="fontDescription" type="system" pointSize="17"/>
45 45 <nil key="highlightedColor"/>
46 46 </label>
47   - <datePicker hidden="YES" contentMode="scaleToFill" ambiguous="YES" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="5jh-Em-ORd">
  47 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="5jh-Em-ORd">
48 48 <rect key="frame" x="0.0" y="59" width="500" height="216"/>
49 49 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
50 50 <date key="date" timeIntervalSinceReferenceDate="432831543.046426">
51 51 <!--2014-09-19 14:59:03 +0000-->
52 52 </date>
53 53 <timeZone key="timeZone" name="America/Los_Angeles">
54   - <mutableData key="data">
  54 + <data key="data">
55 55 VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
56 56 y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
57 57 5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
... ... @@ -69,17 +69,17 @@ f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
69 69 AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
70 70 AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
71 71 AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
72   -</mutableData>
  72 +</data>
73 73 </timeZone>
74 74 </datePicker>
75   - <datePicker hidden="YES" contentMode="scaleToFill" misplaced="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="yQT-o9-gle">
  75 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="yQT-o9-gle">
76 76 <rect key="frame" x="0.0" y="92" width="500" height="216"/>
77 77 <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
78 78 <date key="date" timeIntervalSinceReferenceDate="432831563.55105501">
79 79 <!--2014-09-19 14:59:23 +0000-->
80 80 </date>
81 81 <timeZone key="timeZone" name="America/Los_Angeles">
82   - <mutableData key="data">
  82 + <data key="data">
83 83 VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
84 84 y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
85 85 5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
... ... @@ -97,7 +97,7 @@ f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
97 97 AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
98 98 AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
99 99 AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
100   -</mutableData>
  100 +</data>
101 101 </timeZone>
102 102 </datePicker>
103 103 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="To:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dRe-Qx-Lml">
... ... @@ -129,11 +129,14 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
129 129 <constraint firstItem="qf5-xv-6RK" firstAttribute="top" secondItem="E2t-iZ-4z0" secondAttribute="top" constant="20" id="A7u-HO-4VL"/>
130 130 <constraint firstItem="dRe-Qx-Lml" firstAttribute="top" secondItem="WiF-nR-ajG" secondAttribute="bottom" constant="18" id="Deo-Pd-y7q"/>
131 131 <constraint firstItem="yQT-o9-gle" firstAttribute="top" secondItem="5bA-94-boo" secondAttribute="bottom" constant="2" id="H3F-eL-pvl"/>
  132 + <constraint firstItem="5jh-Em-ORd" firstAttribute="top" secondItem="qf5-xv-6RK" secondAttribute="bottom" constant="8" symbolic="YES" id="HEo-mI-aaq"/>
132 133 <constraint firstItem="WiF-nR-ajG" firstAttribute="leading" secondItem="E2t-iZ-4z0" secondAttribute="leading" constant="20" id="N5v-Sy-RWV"/>
133 134 <constraint firstItem="5bA-94-boo" firstAttribute="top" secondItem="qf5-xv-6RK" secondAttribute="bottom" constant="8" id="PPB-jm-7y8"/>
134 135 <constraint firstItem="JjT-6I-8h2" firstAttribute="leading" secondItem="E2t-iZ-4z0" secondAttribute="leading" constant="232" id="Sjv-9Y-pUr"/>
  136 + <constraint firstItem="5jh-Em-ORd" firstAttribute="leading" secondItem="E2t-iZ-4z0" secondAttribute="leading" id="TGZ-nc-u8T"/>
135 137 <constraint firstItem="dRe-Qx-Lml" firstAttribute="leading" secondItem="E2t-iZ-4z0" secondAttribute="leading" constant="20" id="d01-Ej-wEd"/>
136 138 <constraint firstItem="5bA-94-boo" firstAttribute="leading" secondItem="dRe-Qx-Lml" secondAttribute="trailing" constant="8" id="eFD-VY-09E"/>
  139 + <constraint firstItem="5jh-Em-ORd" firstAttribute="leading" secondItem="yQT-o9-gle" secondAttribute="leading" id="oPm-g7-h7W"/>
137 140 <constraint firstAttribute="centerX" secondItem="5jh-Em-ORd" secondAttribute="centerX" id="rxI-eD-QM0"/>
138 141 <constraint firstAttribute="centerX" secondItem="yQT-o9-gle" secondAttribute="centerX" id="t22-P0-QPH"/>
139 142 <constraint firstItem="JjT-6I-8h2" firstAttribute="top" secondItem="5bA-94-boo" secondAttribute="bottom" constant="7" id="tQp-z3-Xn1"/>
... ... @@ -147,6 +150,7 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
147 150 <constraints>
148 151 <constraint firstAttribute="width" constant="500" id="0oT-rZ-3HW"/>
149 152 <constraint firstItem="E2t-iZ-4z0" firstAttribute="leading" secondItem="RS5-ft-hEF" secondAttribute="leading" id="Qsk-ub-poF"/>
  153 + <constraint firstAttribute="bottom" secondItem="E2t-iZ-4z0" secondAttribute="bottom" constant="-486" id="aI6-El-fxh"/>
150 154 <constraint firstItem="E2t-iZ-4z0" firstAttribute="top" secondItem="RS5-ft-hEF" secondAttribute="top" id="tDW-CH-OK7"/>
151 155 <constraint firstAttribute="height" constant="140" id="xWs-ti-eD8"/>
152 156 <constraint firstAttribute="trailing" secondItem="E2t-iZ-4z0" secondAttribute="trailing" id="yyi-at-VbU"/>
... ... @@ -155,8 +159,8 @@ AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
155 159 </subviews>
156 160 <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
157 161 <constraints>
158   - <constraint firstItem="RS5-ft-hEF" firstAttribute="top" secondItem="Nic-Ro-Csh" secondAttribute="top" constant="109" id="DjU-fI-YK9"/>
159 162 <constraint firstAttribute="centerX" secondItem="RS5-ft-hEF" secondAttribute="centerX" id="Lz9-gg-71X"/>
  163 + <constraint firstItem="RS5-ft-hEF" firstAttribute="top" secondItem="Nic-Ro-Csh" secondAttribute="top" constant="109" id="MIv-AW-Lz1"/>
160 164 </constraints>
161 165 <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
162 166 </view>
... ...
DUREX Vendor Control/Base.lproj/DateRangePickerViewController_iPad_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="DateRangePickerViewController">
  8 + <connections>
  9 + <outlet property="dateRangePickerView" destination="haQ-nr-OEH" id="7Gt-Ti-cL1"/>
  10 + <outlet property="doneButton" destination="hDh-hS-ruL" id="MV2-19-R2e"/>
  11 + <outlet property="fromDate" destination="Jbw-43-Qar" id="vnZ-bR-T93"/>
  12 + <outlet property="fromToggler" destination="ycu-em-WhN" id="tq7-lf-EvK"/>
  13 + <outlet property="scrollView" destination="haQ-nr-OEH" id="w0i-yJ-Wo7"/>
  14 + <outlet property="scrolledView" destination="uBj-9s-9fc" id="DT1-lf-lLa"/>
  15 + <outlet property="toDate" destination="Ke5-90-B8V" id="o6X-hO-uak"/>
  16 + <outlet property="toLabel" destination="z8k-7k-O2i" id="KKl-T2-SKy"/>
  17 + <outlet property="toToggler" destination="95w-9e-lc5" id="b9j-Od-JjH"/>
  18 + <outlet property="view" destination="DBb-zs-6vR" id="4hB-oZ-q7T"/>
  19 + </connections>
  20 + </placeholder>
  21 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  22 + <view contentMode="scaleToFill" id="DBb-zs-6vR">
  23 + <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
  24 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25 + <subviews>
  26 + <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="haQ-nr-OEH">
  27 + <rect key="frame" x="262" y="109" width="500" height="140"/>
  28 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29 + <subviews>
  30 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uBj-9s-9fc">
  31 + <rect key="frame" x="0.0" y="0.0" width="500" height="626"/>
  32 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  33 + <subviews>
  34 + <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="ycu-em-WhN">
  35 + <rect key="frame" x="73" y="20" width="51" height="31"/>
  36 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37 + <connections>
  38 + <action selector="toggleFromDate:" destination="-1" eventType="valueChanged" id="g8r-Hl-3WX"/>
  39 + </connections>
  40 + </switch>
  41 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="From:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7sY-pS-rR6">
  42 + <rect key="frame" x="20" y="25" width="45" height="21"/>
  43 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  44 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  45 + <nil key="highlightedColor"/>
  46 + </label>
  47 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="Jbw-43-Qar">
  48 + <rect key="frame" x="0.0" y="59" width="500" height="216"/>
  49 + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  50 + <date key="date" timeIntervalSinceReferenceDate="432831543.046426">
  51 + <!--2014-09-19 14:59:03 +0000-->
  52 + </date>
  53 + <timeZone key="timeZone" name="America/Los_Angeles">
  54 + <mutableData key="data">
  55 +VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
  56 +y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
  57 +5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
  58 +8n/BkPNvwKD0X6OQ9U+ioPY/hZD3L4Sg+CiiEPkPZqD6CIQQ+viDIPvoZhD82GUg/chIEP64RyD/qCoQ
  59 +AJgpIAGIDBACeAsgA3EokARhJ6AFUQqQBkEJoAcw7JAHjUOgCRDOkAmtvyAK8LCQC+CvoAzZzRANwJGg
  60 +DrmvEA+priAQmZEQEYmQIBJ5cxATaXIgFFlVEBVJVCAWOTcQFyk2IBgiU5AZCRggGgI1kBryNKAb4heQ
  61 +HNIWoB3B+ZAesfigH6HbkCB2KyAhgb2QIlYNICNq2hAkNe8gJUq8ECYV0SAnKp4QJ/7toCkKgBAp3s+g
  62 +KupiECu+saAs036QLZ6ToC6zYJAvfnWgMJNCkDFnkiAycySQM0d0IDRTBpA1J1YgNjLokDcHOCA4HAUQ
  63 +OOcaIDn75xA6xvwgO9vJEDywGKA9u6sQPo/6oD+bjRBAb9ygQYSpkEJPvqBDZIuQRC+goEVEbZBF89Mg
  64 +Ry2KEEfTtSBJDWwQSbOXIErtThBLnLOgTNZqkE18laBOtkyQT1x3oFCWLpBRPFmgUnYQkFMcO6BUVfKQ
  65 +VPwdoFY11JBW5TogWB7xEFjFHCBZ/tMQWqT+IFvetRBchOAgXb6XEF5kwiBfnnkQYE3eoGGHlZBiLcCg
  66 +Y2d3kGQNoqBlR1mQZe2EoGcnO5BnzWagaQcdkGmtSKBq5v+Qa5ZlIGzQHBBtdkcgbq/+EG9WKSBwj+AQ
  67 +cTYLIHJvwhBzFe0gdE+kEHT/CaB2OMCQdt7roHgYopB4vs2gefiEkHqer6B72GaQfH6RoH24SJB+XnOg
  68 +f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  69 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  70 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  71 +AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
  72 +</mutableData>
  73 + </timeZone>
  74 + </datePicker>
  75 + <datePicker hidden="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" translatesAutoresizingMaskIntoConstraints="NO" id="Ke5-90-B8V">
  76 + <rect key="frame" x="0.0" y="92" width="500" height="216"/>
  77 + <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMaxY="YES"/>
  78 + <date key="date" timeIntervalSinceReferenceDate="432831563.55105501">
  79 + <!--2014-09-19 14:59:23 +0000-->
  80 + </date>
  81 + <timeZone key="timeZone" name="America/Los_Angeles">
  82 + <mutableData key="data">
  83 +VFppZgAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAAAAAC5AAAABAAAABCepkign7sVkKCGKqChmveQ
  84 +y4kaoNIj9HDSYSYQ1v50INiArZDa/tGg28CQENzes6DdqayQ3r6VoN+JjpDgnneg4WlwkOJ+WaDjSVKQ
  85 +5F47oOUpNJDmR1gg5xJREOgnOiDo8jMQ6gccIOrSFRDr5v4g7LH3EO3G4CDukdkQ76/8oPBxuxDxj96g
  86 +8n/BkPNvwKD0X6OQ9U+ioPY/hZD3L4Sg+CiiEPkPZqD6CIQQ+viDIPvoZhD82GUg/chIEP64RyD/qCoQ
  87 +AJgpIAGIDBACeAsgA3EokARhJ6AFUQqQBkEJoAcw7JAHjUOgCRDOkAmtvyAK8LCQC+CvoAzZzRANwJGg
  88 +DrmvEA+priAQmZEQEYmQIBJ5cxATaXIgFFlVEBVJVCAWOTcQFyk2IBgiU5AZCRggGgI1kBryNKAb4heQ
  89 +HNIWoB3B+ZAesfigH6HbkCB2KyAhgb2QIlYNICNq2hAkNe8gJUq8ECYV0SAnKp4QJ/7toCkKgBAp3s+g
  90 +KupiECu+saAs036QLZ6ToC6zYJAvfnWgMJNCkDFnkiAycySQM0d0IDRTBpA1J1YgNjLokDcHOCA4HAUQ
  91 +OOcaIDn75xA6xvwgO9vJEDywGKA9u6sQPo/6oD+bjRBAb9ygQYSpkEJPvqBDZIuQRC+goEVEbZBF89Mg
  92 +Ry2KEEfTtSBJDWwQSbOXIErtThBLnLOgTNZqkE18laBOtkyQT1x3oFCWLpBRPFmgUnYQkFMcO6BUVfKQ
  93 +VPwdoFY11JBW5TogWB7xEFjFHCBZ/tMQWqT+IFvetRBchOAgXb6XEF5kwiBfnnkQYE3eoGGHlZBiLcCg
  94 +Y2d3kGQNoqBlR1mQZe2EoGcnO5BnzWagaQcdkGmtSKBq5v+Qa5ZlIGzQHBBtdkcgbq/+EG9WKSBwj+AQ
  95 +cTYLIHJvwhBzFe0gdE+kEHT/CaB2OMCQdt7roHgYopB4vs2gefiEkHqer6B72GaQfH6RoH24SJB+XnOg
  96 +f5gqkAABAAECAwEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  97 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  98 +AQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEAAQABAAEA
  99 +AQABAAEAAQAB//+dkAEA//+PgAAE//+dkAEI//+dkAEMUERUAFBTVABQV1QAUFBUAAAAAAEAAAABA
  100 +</mutableData>
  101 + </timeZone>
  102 + </datePicker>
  103 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="To:" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z8k-7k-O2i">
  104 + <rect key="frame" x="20" y="64" width="23" height="21"/>
  105 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  106 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  107 + <nil key="highlightedColor"/>
  108 + </label>
  109 + <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="95w-9e-lc5">
  110 + <rect key="frame" x="51" y="59" width="51" height="31"/>
  111 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  112 + <connections>
  113 + <action selector="toggleToDate:" destination="-1" eventType="valueChanged" id="qHn-YK-mBC"/>
  114 + </connections>
  115 + </switch>
  116 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hDh-hS-ruL">
  117 + <rect key="frame" x="232" y="97" width="37" height="30"/>
  118 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  119 + <state key="normal" title="Done">
  120 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  121 + </state>
  122 + <connections>
  123 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="YzP-7s-u5P"/>
  124 + </connections>
  125 + </button>
  126 + </subviews>
  127 + <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
  128 + <constraints>
  129 + <constraint firstAttribute="centerX" secondItem="Ke5-90-B8V" secondAttribute="centerX" id="28y-vd-Y2h"/>
  130 + <constraint firstItem="hDh-hS-ruL" firstAttribute="leading" secondItem="uBj-9s-9fc" secondAttribute="leading" constant="232" id="Ekb-HV-H85"/>
  131 + <constraint firstItem="hDh-hS-ruL" firstAttribute="top" secondItem="95w-9e-lc5" secondAttribute="bottom" constant="7" id="GS8-uL-yin"/>
  132 + <constraint firstItem="z8k-7k-O2i" firstAttribute="leading" secondItem="uBj-9s-9fc" secondAttribute="leading" constant="20" id="Gq5-cV-ofW"/>
  133 + <constraint firstItem="95w-9e-lc5" firstAttribute="leading" secondItem="z8k-7k-O2i" secondAttribute="trailing" constant="8" id="Lpl-at-M2a"/>
  134 + <constraint firstItem="z8k-7k-O2i" firstAttribute="top" secondItem="7sY-pS-rR6" secondAttribute="bottom" constant="18" id="R8m-a5-DiJ"/>
  135 + <constraint firstItem="Jbw-43-Qar" firstAttribute="leading" secondItem="Ke5-90-B8V" secondAttribute="leading" id="TVv-e0-1lR"/>
  136 + <constraint firstItem="7sY-pS-rR6" firstAttribute="leading" secondItem="uBj-9s-9fc" secondAttribute="leading" constant="20" id="fAI-Eh-vtX"/>
  137 + <constraint firstAttribute="height" constant="626" id="gDv-dO-15e"/>
  138 + <constraint firstItem="95w-9e-lc5" firstAttribute="top" secondItem="ycu-em-WhN" secondAttribute="bottom" constant="8" id="hfw-25-EN7"/>
  139 + <constraint firstItem="Jbw-43-Qar" firstAttribute="leading" secondItem="uBj-9s-9fc" secondAttribute="leading" id="k7J-l3-qIy"/>
  140 + <constraint firstItem="7sY-pS-rR6" firstAttribute="top" secondItem="uBj-9s-9fc" secondAttribute="top" constant="25" id="oqv-Fr-c2u"/>
  141 + <constraint firstItem="Jbw-43-Qar" firstAttribute="top" secondItem="ycu-em-WhN" secondAttribute="bottom" constant="8" symbolic="YES" id="owB-Oe-jji"/>
  142 + <constraint firstItem="ycu-em-WhN" firstAttribute="top" secondItem="uBj-9s-9fc" secondAttribute="top" constant="20" id="tS4-38-qyM"/>
  143 + <constraint firstItem="Ke5-90-B8V" firstAttribute="top" secondItem="95w-9e-lc5" secondAttribute="bottom" constant="2" id="uZx-7C-faF"/>
  144 + <constraint firstAttribute="width" constant="500" id="vFe-sZ-zeI"/>
  145 + <constraint firstItem="ycu-em-WhN" firstAttribute="leading" secondItem="7sY-pS-rR6" secondAttribute="trailing" constant="8" id="wz1-Hf-Gam"/>
  146 + <constraint firstAttribute="centerX" secondItem="Jbw-43-Qar" secondAttribute="centerX" id="xba-Yy-mbg"/>
  147 + </constraints>
  148 + </view>
  149 + </subviews>
  150 + <constraints>
  151 + <constraint firstAttribute="height" constant="140" id="7o1-D5-4PD"/>
  152 + <constraint firstAttribute="trailing" secondItem="uBj-9s-9fc" secondAttribute="trailing" id="MGF-Oy-mci"/>
  153 + <constraint firstAttribute="bottom" secondItem="uBj-9s-9fc" secondAttribute="bottom" constant="-486" id="UbR-9t-ev0"/>
  154 + <constraint firstItem="uBj-9s-9fc" firstAttribute="top" secondItem="haQ-nr-OEH" secondAttribute="top" id="XhN-J4-SEf"/>
  155 + <constraint firstAttribute="width" constant="500" id="YnV-fQ-SZu"/>
  156 + <constraint firstItem="uBj-9s-9fc" firstAttribute="leading" secondItem="haQ-nr-OEH" secondAttribute="leading" id="w4P-9x-b56"/>
  157 + </constraints>
  158 + </scrollView>
  159 + </subviews>
  160 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  161 + <constraints>
  162 + <constraint firstAttribute="centerX" secondItem="haQ-nr-OEH" secondAttribute="centerX" id="ZFH-b1-uop"/>
  163 + <constraint firstItem="haQ-nr-OEH" firstAttribute="top" secondItem="DBb-zs-6vR" secondAttribute="top" constant="109" id="rBh-88-HBt"/>
  164 + </constraints>
  165 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  166 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  167 + </view>
  168 + </objects>
  169 +</document>
... ...
DUREX Vendor Control/Base.lproj/EMConnectingView_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="EMDevicePickerViewController">
  8 + <connections>
  9 + <outlet property="activityIndicator" destination="YRM-Iw-USy" id="uJH-CJ-U1S"/>
  10 + <outlet property="connectingView" destination="G5b-vV-LSy" id="iLQ-oU-QXB"/>
  11 + <outlet property="popoverView" destination="vDr-Yt-wbo" id="Zor-ew-PSW"/>
  12 + </connections>
  13 + </placeholder>
  14 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15 + <view contentMode="scaleToFill" id="G5b-vV-LSy">
  16 + <rect key="frame" x="0.0" y="0.0" width="568" height="320"/>
  17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18 + <subviews>
  19 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vDr-Yt-wbo">
  20 + <rect key="frame" x="134" y="98" width="300" height="123"/>
  21 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  22 + <subviews>
  23 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connecting to device" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="J1X-2s-Ung">
  24 + <rect key="frame" x="34" y="15" width="232" height="43"/>
  25 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  26 + <fontDescription key="fontDescription" type="system" pointSize="22"/>
  27 + <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  28 + <nil key="highlightedColor"/>
  29 + </label>
  30 + <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="YRM-Iw-USy">
  31 + <rect key="frame" x="132" y="66" width="37" height="37"/>
  32 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  33 + </activityIndicatorView>
  34 + </subviews>
  35 + <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  36 + <constraints>
  37 + <constraint firstAttribute="height" constant="123" id="ChW-Wg-KFZ"/>
  38 + <constraint firstAttribute="width" constant="300" id="J9l-sZ-bwJ"/>
  39 + </constraints>
  40 + </view>
  41 + </subviews>
  42 + <color key="backgroundColor" white="0.0" alpha="0.5" colorSpace="calibratedWhite"/>
  43 + <constraints>
  44 + <constraint firstAttribute="centerX" secondItem="vDr-Yt-wbo" secondAttribute="centerX" id="5lZ-Hk-Uux"/>
  45 + <constraint firstAttribute="centerY" secondItem="vDr-Yt-wbo" secondAttribute="centerY" constant="0.5" id="Zc4-dp-A6i"/>
  46 + </constraints>
  47 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  48 + <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
  49 + </view>
  50 + </objects>
  51 +</document>
... ...
DUREX Vendor Control/Base.lproj/EMConnectingView_iPad.xib
1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="13E28" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
3 3 <dependencies>
4 4 <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
5 5 </dependencies>
... ...
DUREX Vendor Control/Base.lproj/EMConnectingView_iPad_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="EMDevicePickerViewController">
  8 + <connections>
  9 + <outlet property="activityIndicator" destination="4Os-2C-ccp" id="SKv-Zb-QCF"/>
  10 + <outlet property="connectingView" destination="nN1-4N-Fjb" id="aNk-YV-67y"/>
  11 + <outlet property="popoverView" destination="Lzv-OL-XU5" id="QMo-s2-mdu"/>
  12 + </connections>
  13 + </placeholder>
  14 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15 + <view contentMode="scaleToFill" id="nN1-4N-Fjb">
  16 + <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
  17 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18 + <subviews>
  19 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Lzv-OL-XU5">
  20 + <rect key="frame" x="362" y="322" width="300" height="123"/>
  21 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  22 + <subviews>
  23 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connecting to device" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="X5Q-qk-1n6">
  24 + <rect key="frame" x="34" y="15" width="232" height="43"/>
  25 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  26 + <fontDescription key="fontDescription" type="system" pointSize="22"/>
  27 + <color key="textColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  28 + <nil key="highlightedColor"/>
  29 + </label>
  30 + <activityIndicatorView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" fixedFrame="YES" style="whiteLarge" translatesAutoresizingMaskIntoConstraints="NO" id="4Os-2C-ccp">
  31 + <rect key="frame" x="132" y="66" width="37" height="37"/>
  32 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  33 + </activityIndicatorView>
  34 + </subviews>
  35 + <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  36 + <constraints>
  37 + <constraint firstAttribute="height" constant="123" id="KZ8-lH-sSh"/>
  38 + <constraint firstAttribute="width" constant="300" id="UHQ-LJ-g5W"/>
  39 + </constraints>
  40 + </view>
  41 + </subviews>
  42 + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.5" colorSpace="calibratedRGB"/>
  43 + <constraints>
  44 + <constraint firstAttribute="centerY" secondItem="Lzv-OL-XU5" secondAttribute="centerY" constant="0.5" id="UdW-dY-0zR"/>
  45 + <constraint firstAttribute="centerX" secondItem="Lzv-OL-XU5" secondAttribute="centerX" id="vJf-jB-V0c"/>
  46 + </constraints>
  47 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  48 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  49 + </view>
  50 + </objects>
  51 +</document>
... ...
DUREX Vendor Control/Base.lproj/NameChangerViewController_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="NameChangerViewController">
  8 + <connections>
  9 + <outlet property="channel" destination="IhB-Y7-spo" id="dmZ-tu-HL9"/>
  10 + <outlet property="code" destination="6k5-gE-2ZA" id="giB-mi-nc0"/>
  11 + <outlet property="name" destination="vek-8b-7NB" id="BRu-9X-Lsi"/>
  12 + <outlet property="nameChangerView" destination="ZqU-ad-232" id="1cl-Ho-opM"/>
  13 + <outlet property="view" destination="9F5-9c-qN6" id="ixG-d0-mvP"/>
  14 + </connections>
  15 + </placeholder>
  16 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  17 + <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="9F5-9c-qN6">
  18 + <rect key="frame" x="0.0" y="0.0" width="568" height="320"/>
  19 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20 + <subviews>
  21 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZqU-ad-232">
  22 + <rect key="frame" x="131" y="70" width="307" height="181"/>
  23 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  24 + <subviews>
  25 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="IhB-Y7-spo">
  26 + <rect key="frame" x="190" y="20" width="97" height="30"/>
  27 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  28 + <constraints>
  29 + <constraint firstAttribute="width" constant="97" id="FW5-Lo-NrC"/>
  30 + </constraints>
  31 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  32 + <textInputTraits key="textInputTraits"/>
  33 + </textField>
  34 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="6k5-gE-2ZA">
  35 + <rect key="frame" x="190" y="59" width="97" height="30"/>
  36 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37 + <constraints>
  38 + <constraint firstAttribute="width" constant="97" id="5vm-F0-bB8"/>
  39 + </constraints>
  40 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  41 + <textInputTraits key="textInputTraits"/>
  42 + </textField>
  43 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="vek-8b-7NB">
  44 + <rect key="frame" x="190" y="97" width="97" height="30"/>
  45 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  46 + <constraints>
  47 + <constraint firstAttribute="width" constant="97" id="Znv-yX-G10"/>
  48 + </constraints>
  49 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  50 + <textInputTraits key="textInputTraits"/>
  51 + </textField>
  52 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Channel" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ZzG-qH-dln">
  53 + <rect key="frame" x="20" y="24" width="64" height="21"/>
  54 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  55 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  56 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  57 + <nil key="highlightedColor"/>
  58 + </label>
  59 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Product Code" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z9N-z7-JyV">
  60 + <rect key="frame" x="20" y="63" width="107" height="21"/>
  61 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  62 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  63 + <nil key="highlightedColor"/>
  64 + </label>
  65 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="New Name" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gIa-c0-uyh">
  66 + <rect key="frame" x="20" y="101" width="85" height="21"/>
  67 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  68 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  69 + <nil key="highlightedColor"/>
  70 + </label>
  71 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ZH7-mZ-Jfc">
  72 + <rect key="frame" x="135" y="131" width="37" height="30"/>
  73 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  74 + <state key="normal" title="Done">
  75 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  76 + </state>
  77 + <connections>
  78 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="N1F-5e-UbJ"/>
  79 + </connections>
  80 + </button>
  81 + </subviews>
  82 + <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="calibratedWhite"/>
  83 + <constraints>
  84 + <constraint firstItem="vek-8b-7NB" firstAttribute="top" secondItem="6k5-gE-2ZA" secondAttribute="bottom" constant="8" id="BaN-DG-Azp"/>
  85 + <constraint firstItem="ZzG-qH-dln" firstAttribute="leading" secondItem="ZqU-ad-232" secondAttribute="leading" constant="20" id="Bl4-Hv-tYW"/>
  86 + <constraint firstAttribute="height" constant="181" id="C3o-MA-P2E"/>
  87 + <constraint firstAttribute="trailing" secondItem="vek-8b-7NB" secondAttribute="trailing" constant="20" id="Idb-Nx-l1s"/>
  88 + <constraint firstItem="ZzG-qH-dln" firstAttribute="top" secondItem="ZqU-ad-232" secondAttribute="top" constant="24" id="JeJ-aL-Tlx"/>
  89 + <constraint firstItem="IhB-Y7-spo" firstAttribute="top" secondItem="ZqU-ad-232" secondAttribute="top" constant="20" id="P96-XN-Vy2"/>
  90 + <constraint firstItem="gIa-c0-uyh" firstAttribute="top" secondItem="z9N-z7-JyV" secondAttribute="bottom" constant="17" id="RoQ-mI-AWx"/>
  91 + <constraint firstItem="z9N-z7-JyV" firstAttribute="leading" secondItem="ZqU-ad-232" secondAttribute="leading" constant="20" id="SSV-UB-pxS"/>
  92 + <constraint firstAttribute="trailing" secondItem="IhB-Y7-spo" secondAttribute="trailing" constant="20" id="Zoi-Ld-cOC"/>
  93 + <constraint firstItem="6k5-gE-2ZA" firstAttribute="top" secondItem="IhB-Y7-spo" secondAttribute="bottom" constant="9" id="aXD-qG-Yhd"/>
  94 + <constraint firstItem="gIa-c0-uyh" firstAttribute="leading" secondItem="ZqU-ad-232" secondAttribute="leading" constant="20" id="bpu-OQ-dSQ"/>
  95 + <constraint firstItem="z9N-z7-JyV" firstAttribute="top" secondItem="ZzG-qH-dln" secondAttribute="bottom" constant="18" id="eCg-UB-hth"/>
  96 + <constraint firstAttribute="centerX" secondItem="ZH7-mZ-Jfc" secondAttribute="centerX" constant="0.5" id="kbs-9d-UUm"/>
  97 + <constraint firstAttribute="width" constant="307" id="m2m-ZR-AyA"/>
  98 + <constraint firstAttribute="trailing" secondItem="6k5-gE-2ZA" secondAttribute="trailing" constant="20" id="yNx-2B-Sll"/>
  99 + <constraint firstAttribute="bottom" secondItem="ZH7-mZ-Jfc" secondAttribute="bottom" constant="20" id="yVT-ae-Lnq"/>
  100 + </constraints>
  101 + </view>
  102 + </subviews>
  103 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  104 + <constraints>
  105 + <constraint firstItem="ZqU-ad-232" firstAttribute="top" secondItem="9F5-9c-qN6" secondAttribute="top" constant="70" id="ebM-ds-06X"/>
  106 + <constraint firstAttribute="centerX" secondItem="ZqU-ad-232" secondAttribute="centerX" constant="-0.5" id="zaa-tE-xb5"/>
  107 + </constraints>
  108 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  109 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  110 + <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
  111 + </view>
  112 + </objects>
  113 +</document>
... ...
DUREX Vendor Control/Base.lproj/NameChangerViewController_iPad_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="NameChangerViewController">
  8 + <connections>
  9 + <outlet property="channel" destination="I8b-hG-JLX" id="mNT-ax-IMI"/>
  10 + <outlet property="code" destination="0dM-lG-W6M" id="l8c-qZ-zPO"/>
  11 + <outlet property="name" destination="PWp-Bq-eF0" id="qRr-k9-W6w"/>
  12 + <outlet property="nameChangerView" destination="TMs-mi-Jej" id="DI1-Lh-AQb"/>
  13 + <outlet property="view" destination="BKe-cg-zqq" id="1qt-Cv-clw"/>
  14 + </connections>
  15 + </placeholder>
  16 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  17 + <view contentMode="scaleToFill" id="BKe-cg-zqq">
  18 + <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
  19 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20 + <subviews>
  21 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="TMs-mi-Jej">
  22 + <rect key="frame" x="341" y="295" width="343" height="177"/>
  23 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  24 + <subviews>
  25 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="I8b-hG-JLX">
  26 + <rect key="frame" x="226" y="17" width="97" height="30"/>
  27 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  28 + <constraints>
  29 + <constraint firstAttribute="width" constant="97" id="Hzb-9o-OQC"/>
  30 + </constraints>
  31 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  32 + <textInputTraits key="textInputTraits"/>
  33 + </textField>
  34 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="PWp-Bq-eF0">
  35 + <rect key="frame" x="226" y="94" width="97" height="30"/>
  36 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37 + <constraints>
  38 + <constraint firstAttribute="width" constant="97" id="hZ1-vE-4Or"/>
  39 + </constraints>
  40 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  41 + <textInputTraits key="textInputTraits"/>
  42 + </textField>
  43 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Channel" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MUO-8b-DhH">
  44 + <rect key="frame" x="20" y="21" width="64" height="21"/>
  45 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  46 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  47 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  48 + <nil key="highlightedColor"/>
  49 + </label>
  50 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Product Code" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="85G-KF-Rny">
  51 + <rect key="frame" x="20" y="60" width="107" height="21"/>
  52 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  53 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  54 + <nil key="highlightedColor"/>
  55 + </label>
  56 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="New Name" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zj0-M4-cAO">
  57 + <rect key="frame" x="20" y="98" width="85" height="21"/>
  58 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  59 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  60 + <nil key="highlightedColor"/>
  61 + </label>
  62 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="q3O-jD-tjP">
  63 + <rect key="frame" x="153" y="127" width="37" height="30"/>
  64 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  65 + <state key="normal" title="Done">
  66 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  67 + </state>
  68 + <connections>
  69 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="PSu-va-vvG"/>
  70 + </connections>
  71 + </button>
  72 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="0dM-lG-W6M">
  73 + <rect key="frame" x="226" y="56" width="97" height="30"/>
  74 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  75 + <constraints>
  76 + <constraint firstAttribute="width" constant="97" id="wm2-nA-OKK"/>
  77 + </constraints>
  78 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  79 + <textInputTraits key="textInputTraits"/>
  80 + </textField>
  81 + </subviews>
  82 + <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="custom" customColorSpace="calibratedWhite"/>
  83 + <constraints>
  84 + <constraint firstAttribute="centerX" secondItem="q3O-jD-tjP" secondAttribute="centerX" constant="0.5" id="5dJ-9X-CMr"/>
  85 + <constraint firstAttribute="trailing" secondItem="PWp-Bq-eF0" secondAttribute="trailing" constant="20" id="CqG-Mx-ZYf"/>
  86 + <constraint firstAttribute="bottom" secondItem="q3O-jD-tjP" secondAttribute="bottom" constant="20" id="HcQ-cf-gjs"/>
  87 + <constraint firstItem="zj0-M4-cAO" firstAttribute="leading" secondItem="TMs-mi-Jej" secondAttribute="leading" constant="20" id="I8x-fp-BvR"/>
  88 + <constraint firstAttribute="trailing" secondItem="I8b-hG-JLX" secondAttribute="trailing" constant="20" id="IuH-8z-DJ3"/>
  89 + <constraint firstItem="85G-KF-Rny" firstAttribute="leading" secondItem="TMs-mi-Jej" secondAttribute="leading" constant="20" id="TmC-LI-lfl"/>
  90 + <constraint firstAttribute="height" constant="177" id="XBP-QX-xgN"/>
  91 + <constraint firstItem="zj0-M4-cAO" firstAttribute="top" secondItem="85G-KF-Rny" secondAttribute="bottom" constant="17" id="bEa-OA-j9a"/>
  92 + <constraint firstAttribute="width" constant="343" id="d5x-dI-fNd"/>
  93 + <constraint firstItem="85G-KF-Rny" firstAttribute="top" secondItem="MUO-8b-DhH" secondAttribute="bottom" constant="18" id="gPg-8a-Gay"/>
  94 + <constraint firstItem="MUO-8b-DhH" firstAttribute="leading" secondItem="TMs-mi-Jej" secondAttribute="leading" constant="20" id="gm1-SZ-Xzb"/>
  95 + <constraint firstItem="MUO-8b-DhH" firstAttribute="top" secondItem="TMs-mi-Jej" secondAttribute="top" constant="21" id="izr-xy-mKM"/>
  96 + <constraint firstItem="I8b-hG-JLX" firstAttribute="top" secondItem="TMs-mi-Jej" secondAttribute="top" constant="17" id="lqv-O6-rIa"/>
  97 + <constraint firstAttribute="trailing" secondItem="0dM-lG-W6M" secondAttribute="trailing" constant="20" id="njp-Er-OYt"/>
  98 + <constraint firstItem="PWp-Bq-eF0" firstAttribute="top" secondItem="0dM-lG-W6M" secondAttribute="bottom" constant="8" id="qgR-qe-JDu"/>
  99 + <constraint firstItem="0dM-lG-W6M" firstAttribute="top" secondItem="I8b-hG-JLX" secondAttribute="bottom" constant="9" id="vz5-mB-l2D"/>
  100 + </constraints>
  101 + </view>
  102 + </subviews>
  103 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  104 + <constraints>
  105 + <constraint firstAttribute="centerY" secondItem="TMs-mi-Jej" secondAttribute="centerY" constant="0.5" id="JSf-Hw-Aw6"/>
  106 + <constraint firstAttribute="centerX" secondItem="TMs-mi-Jej" secondAttribute="centerX" constant="-0.5" id="SpW-KP-Waz"/>
  107 + </constraints>
  108 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  109 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  110 + </view>
  111 + </objects>
  112 +</document>
... ...
DUREX Vendor Control/Base.lproj/PriceChangerViewController_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="PriceChangerViewController">
  8 + <connections>
  9 + <outlet property="channel" destination="DEB-yT-L0p" id="uK0-Oi-lVe"/>
  10 + <outlet property="code" destination="LUN-kl-1qk" id="ezC-tC-mgN"/>
  11 + <outlet property="price" destination="4EB-J5-I3v" id="bce-bR-IES"/>
  12 + <outlet property="priceChangerView" destination="KpQ-d0-bwT" id="8Ak-Tl-ggq"/>
  13 + <outlet property="view" destination="UBs-dW-l8n" id="Q74-Pl-2ek"/>
  14 + </connections>
  15 + </placeholder>
  16 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  17 + <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="UBs-dW-l8n">
  18 + <rect key="frame" x="0.0" y="0.0" width="480" height="320"/>
  19 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20 + <subviews>
  21 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="KpQ-d0-bwT">
  22 + <rect key="frame" x="87" y="70" width="307" height="181"/>
  23 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  24 + <subviews>
  25 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="DEB-yT-L0p">
  26 + <rect key="frame" x="190" y="20" width="97" height="30"/>
  27 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  28 + <constraints>
  29 + <constraint firstAttribute="width" constant="97" id="w6P-Ge-IH0"/>
  30 + </constraints>
  31 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  32 + <textInputTraits key="textInputTraits"/>
  33 + </textField>
  34 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="LUN-kl-1qk">
  35 + <rect key="frame" x="190" y="59" width="97" height="30"/>
  36 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37 + <constraints>
  38 + <constraint firstAttribute="width" constant="97" id="rXR-Pd-dZy"/>
  39 + </constraints>
  40 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  41 + <textInputTraits key="textInputTraits"/>
  42 + </textField>
  43 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="4EB-J5-I3v">
  44 + <rect key="frame" x="190" y="97" width="97" height="30"/>
  45 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  46 + <constraints>
  47 + <constraint firstAttribute="width" constant="97" id="uEf-Nz-okd"/>
  48 + </constraints>
  49 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  50 + <textInputTraits key="textInputTraits"/>
  51 + </textField>
  52 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Channel" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0G8-sN-Hfg">
  53 + <rect key="frame" x="20" y="24" width="64" height="21"/>
  54 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  55 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  56 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  57 + <nil key="highlightedColor"/>
  58 + </label>
  59 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Product Code" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="neg-KG-oQC">
  60 + <rect key="frame" x="20" y="63" width="107" height="21"/>
  61 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  62 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  63 + <nil key="highlightedColor"/>
  64 + </label>
  65 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="New Price" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UrS-qz-jRa">
  66 + <rect key="frame" x="20" y="101" width="79" height="21"/>
  67 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  68 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  69 + <nil key="highlightedColor"/>
  70 + </label>
  71 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ubO-fy-Tcd">
  72 + <rect key="frame" x="135" y="131" width="37" height="30"/>
  73 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  74 + <state key="normal" title="Done">
  75 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  76 + </state>
  77 + <connections>
  78 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="PfK-B8-MVQ"/>
  79 + </connections>
  80 + </button>
  81 + </subviews>
  82 + <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="calibratedWhite"/>
  83 + <constraints>
  84 + <constraint firstItem="0G8-sN-Hfg" firstAttribute="top" secondItem="KpQ-d0-bwT" secondAttribute="top" constant="24" id="3mv-da-fB6"/>
  85 + <constraint firstAttribute="trailing" secondItem="LUN-kl-1qk" secondAttribute="trailing" constant="20" id="4aD-TI-EQu"/>
  86 + <constraint firstAttribute="bottom" secondItem="ubO-fy-Tcd" secondAttribute="bottom" constant="20" id="6LV-E4-gEI"/>
  87 + <constraint firstItem="LUN-kl-1qk" firstAttribute="top" secondItem="DEB-yT-L0p" secondAttribute="bottom" constant="9" id="7RJ-sF-FtM"/>
  88 + <constraint firstAttribute="centerX" secondItem="ubO-fy-Tcd" secondAttribute="centerX" constant="0.5" id="F9W-kf-J1g"/>
  89 + <constraint firstAttribute="height" constant="181" id="JTM-fM-PqR"/>
  90 + <constraint firstItem="DEB-yT-L0p" firstAttribute="top" secondItem="KpQ-d0-bwT" secondAttribute="top" constant="20" id="Jfn-Id-56L"/>
  91 + <constraint firstItem="UrS-qz-jRa" firstAttribute="top" secondItem="neg-KG-oQC" secondAttribute="bottom" constant="17" id="L11-sA-dkk"/>
  92 + <constraint firstAttribute="trailing" secondItem="4EB-J5-I3v" secondAttribute="trailing" constant="20" id="O1t-SE-YQq"/>
  93 + <constraint firstAttribute="trailing" secondItem="DEB-yT-L0p" secondAttribute="trailing" constant="20" id="X8E-R5-CH2"/>
  94 + <constraint firstItem="neg-KG-oQC" firstAttribute="top" secondItem="0G8-sN-Hfg" secondAttribute="bottom" constant="18" id="hpd-js-5eJ"/>
  95 + <constraint firstAttribute="width" constant="307" id="lYh-V2-2xP"/>
  96 + <constraint firstItem="0G8-sN-Hfg" firstAttribute="leading" secondItem="KpQ-d0-bwT" secondAttribute="leading" constant="20" id="o5N-85-gis"/>
  97 + <constraint firstItem="neg-KG-oQC" firstAttribute="leading" secondItem="KpQ-d0-bwT" secondAttribute="leading" constant="20" id="qV8-Gl-TqG"/>
  98 + <constraint firstItem="4EB-J5-I3v" firstAttribute="top" secondItem="LUN-kl-1qk" secondAttribute="bottom" constant="8" id="qtw-nC-JXc"/>
  99 + <constraint firstItem="UrS-qz-jRa" firstAttribute="leading" secondItem="KpQ-d0-bwT" secondAttribute="leading" constant="20" id="wnQ-qP-jL6"/>
  100 + </constraints>
  101 + </view>
  102 + </subviews>
  103 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  104 + <constraints>
  105 + <constraint firstItem="KpQ-d0-bwT" firstAttribute="top" secondItem="UBs-dW-l8n" secondAttribute="top" constant="70" id="0KY-ll-hpt"/>
  106 + <constraint firstAttribute="centerX" secondItem="KpQ-d0-bwT" secondAttribute="centerX" constant="-0.5" id="ldC-Z7-9pL"/>
  107 + </constraints>
  108 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  109 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  110 + <simulatedScreenMetrics key="simulatedDestinationMetrics"/>
  111 + </view>
  112 + </objects>
  113 +</document>
... ...
DUREX Vendor Control/Base.lproj/PriceChangerViewController_iPad_Landscape.xib 0 → 100644
  1 +<?xml version="1.0" encoding="UTF-8" standalone="no"?>
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.iPad.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch.iPad" propertyAccessControl="none" useAutolayout="YES">
  3 + <dependencies>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
  5 + </dependencies>
  6 + <objects>
  7 + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="PriceChangerViewController">
  8 + <connections>
  9 + <outlet property="channel" destination="9Fx-tR-5f5" id="6UI-UX-eGS"/>
  10 + <outlet property="code" destination="jj4-G4-f7r" id="Zxi-Mh-ElA"/>
  11 + <outlet property="price" destination="jj4-G4-f7r" id="KsU-Dr-0ch"/>
  12 + <outlet property="priceChangerView" destination="vRc-3Y-oz8" id="YRt-eV-e0m"/>
  13 + <outlet property="view" destination="6Lr-v0-14p" id="HIm-Wi-saa"/>
  14 + </connections>
  15 + </placeholder>
  16 + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  17 + <view contentMode="scaleToFill" id="6Lr-v0-14p">
  18 + <rect key="frame" x="0.0" y="0.0" width="1024" height="768"/>
  19 + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  20 + <subviews>
  21 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vRc-3Y-oz8">
  22 + <rect key="frame" x="341" y="295" width="343" height="177"/>
  23 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  24 + <subviews>
  25 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="9Fx-tR-5f5">
  26 + <rect key="frame" x="226" y="17" width="97" height="30"/>
  27 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  28 + <constraints>
  29 + <constraint firstAttribute="width" constant="97" id="GIQ-qj-SDs"/>
  30 + </constraints>
  31 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  32 + <textInputTraits key="textInputTraits"/>
  33 + </textField>
  34 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="JMZ-j1-djR">
  35 + <rect key="frame" x="226" y="56" width="97" height="30"/>
  36 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37 + <constraints>
  38 + <constraint firstAttribute="width" constant="97" id="Bkh-L3-A0f"/>
  39 + </constraints>
  40 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  41 + <textInputTraits key="textInputTraits"/>
  42 + </textField>
  43 + <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="jj4-G4-f7r">
  44 + <rect key="frame" x="226" y="94" width="97" height="30"/>
  45 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  46 + <constraints>
  47 + <constraint firstAttribute="width" constant="97" id="XAV-sj-rjj"/>
  48 + </constraints>
  49 + <fontDescription key="fontDescription" type="system" pointSize="14"/>
  50 + <textInputTraits key="textInputTraits"/>
  51 + </textField>
  52 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Channel" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="z9V-5B-LtD">
  53 + <rect key="frame" x="20" y="21" width="64" height="21"/>
  54 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  55 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  56 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  57 + <nil key="highlightedColor"/>
  58 + </label>
  59 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Product Code" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="GCF-GY-CN1">
  60 + <rect key="frame" x="20" y="60" width="107" height="21"/>
  61 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  62 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  63 + <nil key="highlightedColor"/>
  64 + </label>
  65 + <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="New Price" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eXX-xf-h6G">
  66 + <rect key="frame" x="20" y="98" width="79" height="21"/>
  67 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  68 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  69 + <nil key="highlightedColor"/>
  70 + </label>
  71 + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hdn-qQ-8np">
  72 + <rect key="frame" x="153" y="127" width="37" height="30"/>
  73 + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  74 + <state key="normal" title="Done">
  75 + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/>
  76 + </state>
  77 + <connections>
  78 + <action selector="closePopup:" destination="-1" eventType="touchUpInside" id="6gC-ah-XK9"/>
  79 + </connections>
  80 + </button>
  81 + </subviews>
  82 + <color key="backgroundColor" white="1" alpha="0.94999999999999996" colorSpace="custom" customColorSpace="calibratedWhite"/>
  83 + <constraints>
  84 + <constraint firstAttribute="trailing" secondItem="9Fx-tR-5f5" secondAttribute="trailing" constant="20" id="27u-r0-710"/>
  85 + <constraint firstItem="eXX-xf-h6G" firstAttribute="top" secondItem="GCF-GY-CN1" secondAttribute="bottom" constant="17" id="3Ra-hn-ZlK"/>
  86 + <constraint firstItem="jj4-G4-f7r" firstAttribute="top" secondItem="JMZ-j1-djR" secondAttribute="bottom" constant="8" id="6c9-vC-hM2"/>
  87 + <constraint firstAttribute="bottom" secondItem="hdn-qQ-8np" secondAttribute="bottom" constant="20" id="AdU-40-Kll"/>
  88 + <constraint firstAttribute="height" constant="177" id="EBh-7t-XnZ"/>
  89 + <constraint firstItem="9Fx-tR-5f5" firstAttribute="top" secondItem="vRc-3Y-oz8" secondAttribute="top" constant="17" id="Hz7-b9-QPv"/>
  90 + <constraint firstItem="JMZ-j1-djR" firstAttribute="top" secondItem="9Fx-tR-5f5" secondAttribute="bottom" constant="9" id="I1n-fp-V5M"/>
  91 + <constraint firstAttribute="trailing" secondItem="jj4-G4-f7r" secondAttribute="trailing" constant="20" id="IVo-VT-NQE"/>
  92 + <constraint firstItem="GCF-GY-CN1" firstAttribute="top" secondItem="z9V-5B-LtD" secondAttribute="bottom" constant="18" id="JXS-oQ-1GB"/>
  93 + <constraint firstItem="eXX-xf-h6G" firstAttribute="leading" secondItem="vRc-3Y-oz8" secondAttribute="leading" constant="20" id="Ku7-lj-sbp"/>
  94 + <constraint firstAttribute="trailing" secondItem="JMZ-j1-djR" secondAttribute="trailing" constant="20" id="Ok7-Yp-wao"/>
  95 + <constraint firstItem="z9V-5B-LtD" firstAttribute="leading" secondItem="vRc-3Y-oz8" secondAttribute="leading" constant="20" id="Qph-St-ZhM"/>
  96 + <constraint firstAttribute="centerX" secondItem="hdn-qQ-8np" secondAttribute="centerX" constant="0.5" id="cnc-0a-Hud"/>
  97 + <constraint firstAttribute="width" constant="343" id="mTQ-bv-jex"/>
  98 + <constraint firstItem="GCF-GY-CN1" firstAttribute="leading" secondItem="vRc-3Y-oz8" secondAttribute="leading" constant="20" id="sum-Uh-lk2"/>
  99 + <constraint firstItem="z9V-5B-LtD" firstAttribute="top" secondItem="vRc-3Y-oz8" secondAttribute="top" constant="21" id="zLp-RD-9d6"/>
  100 + </constraints>
  101 + </view>
  102 + </subviews>
  103 + <color key="backgroundColor" red="0.023529414089999999" green="0.0039215688589999999" blue="0.0039215688589999999" alpha="0.5" colorSpace="deviceRGB"/>
  104 + <constraints>
  105 + <constraint firstAttribute="centerX" secondItem="vRc-3Y-oz8" secondAttribute="centerX" constant="-0.5" id="gvu-cr-Q6X"/>
  106 + <constraint firstAttribute="centerY" secondItem="vRc-3Y-oz8" secondAttribute="centerY" constant="0.5" id="lGg-MN-xKP"/>
  107 + </constraints>
  108 + <simulatedStatusBarMetrics key="simulatedStatusBarMetrics"/>
  109 + <simulatedOrientationMetrics key="simulatedOrientationMetrics" orientation="landscapeRight"/>
  110 + </view>
  111 + </objects>
  112 +</document>
... ...
DUREX Vendor Control/ChildViewController.h 0 → 100644
  1 +//
  2 +// ChildViewController.h
  3 +// DUREX Vendor Control
  4 +//
  5 +// Created by Imanol Barba on 10/10/14.
  6 +// Copyright (c) 2014 Emmoco. All rights reserved.
  7 +//
  8 +
  9 +@class ChildViewController;
  10 +
  11 +#import <UIKit/UIKit.h>
  12 +
  13 +@protocol ChildViewControllerDelegate <NSObject>
  14 +- (void)removeChildFromParentController:(ChildViewController*)controller;
  15 +
  16 +@end
  17 +
  18 +@interface ChildViewController : UIViewController
  19 +
  20 +- (void) parentViewControllerDidRotateWithOrientation: (UIDeviceOrientation) orientation;
  21 +- (void) parentViewControllerWillRotateToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientation duration: (NSTimeInterval)duration;
  22 +
  23 +@property (nonatomic, strong) id <ChildViewControllerDelegate> childDelegate;
  24 +@end
... ...
DUREX Vendor Control/ChildViewController.m 0 → 100644
  1 +//
  2 +// ChildViewController.m
  3 +// DUREX Vendor Control
  4 +//
  5 +// Created by Imanol Barba on 10/10/14.
  6 +// Copyright (c) 2014 Emmoco. All rights reserved.
  7 +//
  8 +
  9 +#import "ChildViewController.h"
  10 +
  11 +@interface ChildViewController ()
  12 +
  13 +@end
  14 +
  15 +@implementation ChildViewController
  16 +
  17 +- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil
  18 +{
  19 + self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
  20 + if (self) {
  21 + // Custom initialization
  22 + }
  23 + return self;
  24 +}
  25 +
  26 +- (void)viewDidLoad
  27 +{
  28 + [super viewDidLoad];
  29 + // Do any additional setup after loading the view.
  30 +}
  31 +
  32 +- (void)didReceiveMemoryWarning
  33 +{
  34 + [super didReceiveMemoryWarning];
  35 + // Dispose of any resources that can be recreated.
  36 +}
  37 +
  38 +/*
  39 +#pragma mark - Navigation
  40 +
  41 +// In a storyboard-based application, you will often want to do a little preparation before navigation
  42 +- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender
  43 +{
  44 + // Get the new view controller using [segue destinationViewController].
  45 + // Pass the selected object to the new view controller.
  46 +}
  47 +*/
  48 +
  49 +@end
... ...
DUREX Vendor Control/CommunicationProtocol.h
... ... @@ -11,7 +11,7 @@
11 11 #import <Foundation/Foundation.h>
12 12 #import "EMFramework.h"
13 13  
14   -#define SLEEP_TIME ((NSTimeInterval)0.1)
  14 +#define SLEEP_TIME ((NSTimeInterval)1)
15 15 #define MAX_STRING_LENGTH ((int)200)
16 16 #define MAX_RETRIES ((int)3)
17 17 #define MAX_PRODUCT_NAME_LENGTH ((int)64)
... ... @@ -43,6 +43,7 @@
43 43 -(void) readSensorData;
44 44 -(void) readSalesLog: (NSDateComponents*) start : (NSDateComponents*) end;
45 45 -(void) readIncidentLog: (NSDateComponents*) start : (NSDateComponents*) end;
  46 +//-(void) testA9 : (NSMutableString*) testString;
46 47 +(id) sharedProtocol;
47 48  
48 49 @end
... ...
DUREX Vendor Control/CommunicationProtocol.m
... ... @@ -352,7 +352,15 @@
352 352 [command appendString:@"-"];
353 353 [command appendString:endDate];
354 354 [self writeMessage:command];
  355 +
  356 + //@"P3140816103600012222P3140910093600023333P3140921103600034444P3140927103600045555P3P3"
355 357 }
356 358  
  359 +/*-(void) testA9:(NSMutableString *)testString
  360 +{
  361 + NSMutableString *messageA9 = [[NSMutableString alloc] initWithString:@"A9"];
  362 + [messageA9 appendString:testString];
  363 + [self writeMessage:messageA9];
  364 +}*/
357 365  
358 366 @end
... ...
DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.pbxproj
... ... @@ -27,10 +27,21 @@
27 27 F92F569219B7665F00A1EACA /* NameChangerViewController.xib in Resources */ = {isa = PBXBuildFile; fileRef = F92F569419B7665F00A1EACA /* NameChangerViewController.xib */; };
28 28 F92F569B19B76A5D00A1EACA /* NameChangerViewController_iPad.xib in Resources */ = {isa = PBXBuildFile; fileRef = F92F569D19B76A5D00A1EACA /* NameChangerViewController_iPad.xib */; };
29 29 F933F80419B6819400521B90 /* DatePickerViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F933F80219B6819400521B90 /* DatePickerViewController.m */; };
  30 + F95C3F2B19E87B8700C040C0 /* ChildViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F95C3F2A19E87B8700C040C0 /* ChildViewController.m */; };
30 31 F961D804199A5F1000E9282C /* MainStoryboard.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = F961D806199A5F1000E9282C /* MainStoryboard.storyboard */; };
31 32 F961D80C199A5F2D00E9282C /* back_arrow.png in Resources */ = {isa = PBXBuildFile; fileRef = F961D80E199A5F2D00E9282C /* back_arrow.png */; };
32 33 F961D816199A5FA000E9282C /* Localizable.strings in Resources */ = {isa = PBXBuildFile; fileRef = F961D814199A5FA000E9282C /* Localizable.strings */; };
33 34 F961D819199A711300E9282C /* EMConnectingView.xib in Resources */ = {isa = PBXBuildFile; fileRef = F961D81B199A711300E9282C /* EMConnectingView.xib */; };
  35 + F975ADAC19E8248000CA4442 /* DatePickerViewController_iPad_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADAE19E8248000CA4442 /* DatePickerViewController_iPad_Landscape.xib */; };
  36 + F975ADBB19E827EC00CA4442 /* EMConnectingView_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADBD19E827EC00CA4442 /* EMConnectingView_Landscape.xib */; };
  37 + F975ADC219E827F500CA4442 /* EMConnectingView_iPad_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADC419E827F500CA4442 /* EMConnectingView_iPad_Landscape.xib */; };
  38 + F975ADD519E82B7D00CA4442 /* DatePickerViewController_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADD719E82B7D00CA4442 /* DatePickerViewController_Landscape.xib */; };
  39 + F975ADDC19E82B9800CA4442 /* PriceChangerViewController_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADDE19E82B9800CA4442 /* PriceChangerViewController_Landscape.xib */; };
  40 + F975ADE719E82C5D00CA4442 /* PriceChangerViewController_iPad_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADE919E82C5D00CA4442 /* PriceChangerViewController_iPad_Landscape.xib */; };
  41 + F975ADEE19E82D1400CA4442 /* NameChangerViewController_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADF019E82D1400CA4442 /* NameChangerViewController_Landscape.xib */; };
  42 + F975ADF519E82D9F00CA4442 /* NameChangerViewController_iPad_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADF719E82D9F00CA4442 /* NameChangerViewController_iPad_Landscape.xib */; };
  43 + F975ADFC19E8347700CA4442 /* DateRangePickerViewController_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975ADFE19E8347700CA4442 /* DateRangePickerViewController_Landscape.xib */; };
  44 + F975AE0319E8359B00CA4442 /* DateRangePickerViewController_iPad_Landscape.xib in Resources */ = {isa = PBXBuildFile; fileRef = F975AE0519E8359B00CA4442 /* DateRangePickerViewController_iPad_Landscape.xib */; };
34 45 F97B90CB19B859F500DDA9EF /* icon_checkmark.png in Resources */ = {isa = PBXBuildFile; fileRef = F97B90C919B859F500DDA9EF /* icon_checkmark.png */; };
35 46 F97B90CC19B859F500DDA9EF /* icon_delete.png in Resources */ = {isa = PBXBuildFile; fileRef = F97B90CA19B859F500DDA9EF /* icon_delete.png */; };
36 47 F98356D6192E835F00EA6821 /* InitialViewController.m in Sources */ = {isa = PBXBuildFile; fileRef = F98356D5192E835F00EA6821 /* InitialViewController.m */; };
... ... @@ -110,6 +121,8 @@
110 121 F92F56A119B76A6400A1EACA /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/NameChangerViewController_iPad.strings; sourceTree = "<group>"; };
111 122 F933F80119B6819400521B90 /* DatePickerViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = DatePickerViewController.h; sourceTree = SOURCE_ROOT; };
112 123 F933F80219B6819400521B90 /* DatePickerViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = DatePickerViewController.m; sourceTree = SOURCE_ROOT; };
  124 + F95C3F2919E87B8700C040C0 /* ChildViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = ChildViewController.h; sourceTree = SOURCE_ROOT; };
  125 + F95C3F2A19E87B8700C040C0 /* ChildViewController.m */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.objc; path = ChildViewController.m; sourceTree = SOURCE_ROOT; };
113 126 F961D807199A5F1800E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/MainStoryboard.storyboard; sourceTree = "<group>"; };
114 127 F961D809199A5F2200E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/MainStoryboard.strings; sourceTree = "<group>"; };
115 128 F961D80B199A5F2300E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/MainStoryboard.strings; sourceTree = "<group>"; };
... ... @@ -122,6 +135,36 @@
122 135 F961D81A199A711300E9282C /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/EMConnectingView.xib; sourceTree = "<group>"; };
123 136 F961D81D199A711600E9282C /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/EMConnectingView.strings; sourceTree = "<group>"; };
124 137 F961D81F199A711700E9282C /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/EMConnectingView.strings; sourceTree = "<group>"; };
  138 + F975ADAD19E8248000CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/DatePickerViewController_iPad_Landscape.xib; sourceTree = "<group>"; };
  139 + F975ADB019E8248200CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/DatePickerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
  140 + F975ADB219E8248300CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/DatePickerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
  141 + F975ADBC19E827EC00CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/EMConnectingView_Landscape.xib; sourceTree = "<group>"; };
  142 + F975ADBF19E827F000CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/EMConnectingView_Landscape.strings; sourceTree = "<group>"; };
  143 + F975ADC119E827F100CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/EMConnectingView_Landscape.strings; sourceTree = "<group>"; };
  144 + F975ADC319E827F500CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/EMConnectingView_iPad_Landscape.xib; sourceTree = "<group>"; };
  145 + F975ADC619E827F900CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/EMConnectingView_iPad_Landscape.strings; sourceTree = "<group>"; };
  146 + F975ADC819E827F900CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/EMConnectingView_iPad_Landscape.strings; sourceTree = "<group>"; };
  147 + F975ADD619E82B7D00CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/DatePickerViewController_Landscape.xib; sourceTree = "<group>"; };
  148 + F975ADD919E82B8000CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/DatePickerViewController_Landscape.strings; sourceTree = "<group>"; };
  149 + F975ADDB19E82B8100CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/DatePickerViewController_Landscape.strings; sourceTree = "<group>"; };
  150 + F975ADDD19E82B9800CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PriceChangerViewController_Landscape.xib; sourceTree = "<group>"; };
  151 + F975ADE419E82BE200CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/PriceChangerViewController_Landscape.strings; sourceTree = "<group>"; };
  152 + F975ADE619E82BE300CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/PriceChangerViewController_Landscape.strings; sourceTree = "<group>"; };
  153 + F975ADE819E82C5D00CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/PriceChangerViewController_iPad_Landscape.xib; sourceTree = "<group>"; };
  154 + F975ADEB19E82C6200CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/PriceChangerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
  155 + F975ADED19E82C6200CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/PriceChangerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
  156 + F975ADEF19E82D1400CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/NameChangerViewController_Landscape.xib; sourceTree = "<group>"; };
  157 + F975ADF219E82D1600CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/NameChangerViewController_Landscape.strings; sourceTree = "<group>"; };
  158 + F975ADF419E82D1600CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/NameChangerViewController_Landscape.strings; sourceTree = "<group>"; };
  159 + F975ADF619E82D9F00CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/NameChangerViewController_iPad_Landscape.xib; sourceTree = "<group>"; };
  160 + F975ADF919E82DA100CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/NameChangerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
  161 + F975ADFB19E82DA200CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/NameChangerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
  162 + F975ADFD19E8347700CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/DateRangePickerViewController_Landscape.xib; sourceTree = "<group>"; };
  163 + F975AE0019E8347900CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/DateRangePickerViewController_Landscape.strings; sourceTree = "<group>"; };
  164 + F975AE0219E8347A00CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/DateRangePickerViewController_Landscape.strings; sourceTree = "<group>"; };
  165 + F975AE0419E8359B00CA4442 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.xib; name = Base; path = Base.lproj/DateRangePickerViewController_iPad_Landscape.xib; sourceTree = "<group>"; };
  166 + F975AE0719E8359D00CA4442 /* en */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = en; path = en.lproj/DateRangePickerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
  167 + F975AE0919E8359E00CA4442 /* es */ = {isa = PBXFileReference; lastKnownFileType = text.plist.strings; name = es; path = es.lproj/DateRangePickerViewController_iPad_Landscape.strings; sourceTree = "<group>"; };
125 168 F97B90C919B859F500DDA9EF /* icon_checkmark.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_checkmark.png; sourceTree = SOURCE_ROOT; };
126 169 F97B90CA19B859F500DDA9EF /* icon_delete.png */ = {isa = PBXFileReference; lastKnownFileType = image.png; path = icon_delete.png; sourceTree = SOURCE_ROOT; };
127 170 F98356D4192E835F00EA6821 /* InitialViewController.h */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.c.h; path = InitialViewController.h; sourceTree = SOURCE_ROOT; };
... ... @@ -226,6 +269,7 @@
226 269 F989B60119BCE28C00657DD9 /* SalesLog.m */,
227 270 F9B9100B19E5A0A1006D4D06 /* Incident.m */,
228 271 F9B9100819E59773006D4D06 /* IncidentLog.m */,
  272 + F95C3F2A19E87B8700C040C0 /* ChildViewController.m */,
229 273 );
230 274 name = "DUREX Vendor Control";
231 275 path = TestAppExample;
... ... @@ -277,7 +321,9 @@
277 321 isa = PBXGroup;
278 322 children = (
279 323 F961D81B199A711300E9282C /* EMConnectingView.xib */,
  324 + F975ADBD19E827EC00CA4442 /* EMConnectingView_Landscape.xib */,
280 325 F9E4D8FF19B8FD32009A7359 /* EMConnectingView_iPad.xib */,
  326 + F975ADC419E827F500CA4442 /* EMConnectingView_iPad_Landscape.xib */,
281 327 34AAB879189804FF0019860D /* EMDevicePickerViewController.h */,
282 328 34AAB87A189804FF0019860D /* EMDevicePickerViewController.m */,
283 329 );
... ... @@ -306,13 +352,21 @@
306 352 children = (
307 353 F961D806199A5F1000E9282C /* MainStoryboard.storyboard */,
308 354 F9015D9219B73052006C7882 /* DatePickerViewController.xib */,
  355 + F975ADD719E82B7D00CA4442 /* DatePickerViewController_Landscape.xib */,
309 356 F9015D9919B7305E006C7882 /* DatePickerViewController_iPad.xib */,
  357 + F975ADAE19E8248000CA4442 /* DatePickerViewController_iPad_Landscape.xib */,
310 358 F92F567F19B7609C00A1EACA /* PriceChangerViewController.xib */,
  359 + F975ADDE19E82B9800CA4442 /* PriceChangerViewController_Landscape.xib */,
311 360 F92F568619B760A800A1EACA /* PriceChangerViewController_iPad.xib */,
  361 + F975ADE919E82C5D00CA4442 /* PriceChangerViewController_iPad_Landscape.xib */,
312 362 F92F569419B7665F00A1EACA /* NameChangerViewController.xib */,
  363 + F975ADF019E82D1400CA4442 /* NameChangerViewController_Landscape.xib */,
313 364 F92F569D19B76A5D00A1EACA /* NameChangerViewController_iPad.xib */,
  365 + F975ADF719E82D9F00CA4442 /* NameChangerViewController_iPad_Landscape.xib */,
314 366 F90416FE19CC776E00333AD8 /* DateRangePickerViewController.xib */,
  367 + F975ADFE19E8347700CA4442 /* DateRangePickerViewController_Landscape.xib */,
315 368 F996591419CC7F3D00667BEC /* DateRangePickerViewController_iPad.xib */,
  369 + F975AE0519E8359B00CA4442 /* DateRangePickerViewController_iPad_Landscape.xib */,
316 370 );
317 371 name = Views;
318 372 sourceTree = "<group>";
... ... @@ -334,6 +388,7 @@
334 388 F989B60019BCE28C00657DD9 /* SalesLog.h */,
335 389 F9B9100A19E5A0A1006D4D06 /* Incident.h */,
336 390 F9B9100719E59773006D4D06 /* IncidentLog.h */,
  391 + F95C3F2919E87B8700C040C0 /* ChildViewController.h */,
337 392 );
338 393 name = Headers;
339 394 sourceTree = "<group>";
... ... @@ -406,18 +461,27 @@
406 461 isa = PBXResourcesBuildPhase;
407 462 buildActionMask = 2147483647;
408 463 files = (
  464 + F975ADC219E827F500CA4442 /* EMConnectingView_iPad_Landscape.xib in Resources */,
  465 + F975ADF519E82D9F00CA4442 /* NameChangerViewController_iPad_Landscape.xib in Resources */,
  466 + F975AE0319E8359B00CA4442 /* DateRangePickerViewController_iPad_Landscape.xib in Resources */,
  467 + F975ADD519E82B7D00CA4442 /* DatePickerViewController_Landscape.xib in Resources */,
409 468 F97B90CC19B859F500DDA9EF /* icon_delete.png in Resources */,
410 469 F9015D9019B73052006C7882 /* DatePickerViewController.xib in Resources */,
411 470 F9E4D8FD19B8FD32009A7359 /* EMConnectingView_iPad.xib in Resources */,
  471 + F975ADDC19E82B9800CA4442 /* PriceChangerViewController_Landscape.xib in Resources */,
412 472 F98356D8192E906600EA6821 /* bluetooth.png in Resources */,
413 473 F9015D9719B7305E006C7882 /* DatePickerViewController_iPad.xib in Resources */,
414 474 F961D819199A711300E9282C /* EMConnectingView.xib in Resources */,
  475 + F975ADE719E82C5D00CA4442 /* PriceChangerViewController_iPad_Landscape.xib in Resources */,
415 476 F9C77F50192CDE30002DBE8A /* system.json in Resources */,
416 477 F989B5FC19BBC80300657DD9 /* carat.png in Resources */,
417 478 F92F569B19B76A5D00A1EACA /* NameChangerViewController_iPad.xib in Resources */,
418 479 F92F567D19B7609C00A1EACA /* PriceChangerViewController.xib in Resources */,
419 480 F92F569219B7665F00A1EACA /* NameChangerViewController.xib in Resources */,
420 481 F90416FC19CC776E00333AD8 /* DateRangePickerViewController.xib in Resources */,
  482 + F975ADFC19E8347700CA4442 /* DateRangePickerViewController_Landscape.xib in Resources */,
  483 + F975ADAC19E8248000CA4442 /* DatePickerViewController_iPad_Landscape.xib in Resources */,
  484 + F975ADEE19E82D1400CA4442 /* NameChangerViewController_Landscape.xib in Resources */,
421 485 F996591219CC7F3D00667BEC /* DateRangePickerViewController_iPad.xib in Resources */,
422 486 F961D80C199A5F2D00E9282C /* back_arrow.png in Resources */,
423 487 F961D816199A5FA000E9282C /* Localizable.strings in Resources */,
... ... @@ -425,6 +489,7 @@
425 489 34AAB88D189805300019860D /* Images.xcassets in Resources */,
426 490 F989B5FB19BBC80300657DD9 /* carat-open.png in Resources */,
427 491 F92F568419B760A800A1EACA /* PriceChangerViewController_iPad.xib in Resources */,
  492 + F975ADBB19E827EC00CA4442 /* EMConnectingView_Landscape.xib in Resources */,
428 493 F961D804199A5F1000E9282C /* MainStoryboard.storyboard in Resources */,
429 494 );
430 495 runOnlyForDeploymentPostprocessing = 0;
... ... @@ -447,6 +512,7 @@
447 512 34AAB885189804FF0019860D /* EMDevicePickerViewController.m in Sources */,
448 513 F9B9100919E59773006D4D06 /* IncidentLog.m in Sources */,
449 514 F989B60219BCE28C00657DD9 /* SalesLog.m in Sources */,
  515 + F95C3F2B19E87B8700C040C0 /* ChildViewController.m in Sources */,
450 516 F92F567919B75F5E00A1EACA /* PriceChangerViewController.m in Sources */,
451 517 34AAB883189804FF0019860D /* DUREXAppDelegate.m in Sources */,
452 518 F98356DB192EAFD400EA6821 /* CommunicationProtocol.m in Sources */,
... ... @@ -571,6 +637,106 @@
571 637 path = FirstAppExample;
572 638 sourceTree = SOURCE_ROOT;
573 639 };
  640 + F975ADAE19E8248000CA4442 /* DatePickerViewController_iPad_Landscape.xib */ = {
  641 + isa = PBXVariantGroup;
  642 + children = (
  643 + F975ADAD19E8248000CA4442 /* Base */,
  644 + F975ADB019E8248200CA4442 /* en */,
  645 + F975ADB219E8248300CA4442 /* es */,
  646 + );
  647 + name = DatePickerViewController_iPad_Landscape.xib;
  648 + sourceTree = SOURCE_ROOT;
  649 + };
  650 + F975ADBD19E827EC00CA4442 /* EMConnectingView_Landscape.xib */ = {
  651 + isa = PBXVariantGroup;
  652 + children = (
  653 + F975ADBC19E827EC00CA4442 /* Base */,
  654 + F975ADBF19E827F000CA4442 /* en */,
  655 + F975ADC119E827F100CA4442 /* es */,
  656 + );
  657 + name = EMConnectingView_Landscape.xib;
  658 + sourceTree = SOURCE_ROOT;
  659 + };
  660 + F975ADC419E827F500CA4442 /* EMConnectingView_iPad_Landscape.xib */ = {
  661 + isa = PBXVariantGroup;
  662 + children = (
  663 + F975ADC319E827F500CA4442 /* Base */,
  664 + F975ADC619E827F900CA4442 /* en */,
  665 + F975ADC819E827F900CA4442 /* es */,
  666 + );
  667 + name = EMConnectingView_iPad_Landscape.xib;
  668 + sourceTree = SOURCE_ROOT;
  669 + };
  670 + F975ADD719E82B7D00CA4442 /* DatePickerViewController_Landscape.xib */ = {
  671 + isa = PBXVariantGroup;
  672 + children = (
  673 + F975ADD619E82B7D00CA4442 /* Base */,
  674 + F975ADD919E82B8000CA4442 /* en */,
  675 + F975ADDB19E82B8100CA4442 /* es */,
  676 + );
  677 + name = DatePickerViewController_Landscape.xib;
  678 + sourceTree = SOURCE_ROOT;
  679 + };
  680 + F975ADDE19E82B9800CA4442 /* PriceChangerViewController_Landscape.xib */ = {
  681 + isa = PBXVariantGroup;
  682 + children = (
  683 + F975ADDD19E82B9800CA4442 /* Base */,
  684 + F975ADE419E82BE200CA4442 /* en */,
  685 + F975ADE619E82BE300CA4442 /* es */,
  686 + );
  687 + name = PriceChangerViewController_Landscape.xib;
  688 + sourceTree = SOURCE_ROOT;
  689 + };
  690 + F975ADE919E82C5D00CA4442 /* PriceChangerViewController_iPad_Landscape.xib */ = {
  691 + isa = PBXVariantGroup;
  692 + children = (
  693 + F975ADE819E82C5D00CA4442 /* Base */,
  694 + F975ADEB19E82C6200CA4442 /* en */,
  695 + F975ADED19E82C6200CA4442 /* es */,
  696 + );
  697 + name = PriceChangerViewController_iPad_Landscape.xib;
  698 + sourceTree = SOURCE_ROOT;
  699 + };
  700 + F975ADF019E82D1400CA4442 /* NameChangerViewController_Landscape.xib */ = {
  701 + isa = PBXVariantGroup;
  702 + children = (
  703 + F975ADEF19E82D1400CA4442 /* Base */,
  704 + F975ADF219E82D1600CA4442 /* en */,
  705 + F975ADF419E82D1600CA4442 /* es */,
  706 + );
  707 + name = NameChangerViewController_Landscape.xib;
  708 + sourceTree = SOURCE_ROOT;
  709 + };
  710 + F975ADF719E82D9F00CA4442 /* NameChangerViewController_iPad_Landscape.xib */ = {
  711 + isa = PBXVariantGroup;
  712 + children = (
  713 + F975ADF619E82D9F00CA4442 /* Base */,
  714 + F975ADF919E82DA100CA4442 /* en */,
  715 + F975ADFB19E82DA200CA4442 /* es */,
  716 + );
  717 + name = NameChangerViewController_iPad_Landscape.xib;
  718 + sourceTree = SOURCE_ROOT;
  719 + };
  720 + F975ADFE19E8347700CA4442 /* DateRangePickerViewController_Landscape.xib */ = {
  721 + isa = PBXVariantGroup;
  722 + children = (
  723 + F975ADFD19E8347700CA4442 /* Base */,
  724 + F975AE0019E8347900CA4442 /* en */,
  725 + F975AE0219E8347A00CA4442 /* es */,
  726 + );
  727 + name = DateRangePickerViewController_Landscape.xib;
  728 + sourceTree = SOURCE_ROOT;
  729 + };
  730 + F975AE0519E8359B00CA4442 /* DateRangePickerViewController_iPad_Landscape.xib */ = {
  731 + isa = PBXVariantGroup;
  732 + children = (
  733 + F975AE0419E8359B00CA4442 /* Base */,
  734 + F975AE0719E8359D00CA4442 /* en */,
  735 + F975AE0919E8359E00CA4442 /* es */,
  736 + );
  737 + name = DateRangePickerViewController_iPad_Landscape.xib;
  738 + sourceTree = SOURCE_ROOT;
  739 + };
574 740 F996591419CC7F3D00667BEC /* DateRangePickerViewController_iPad.xib */ = {
575 741 isa = PBXVariantGroup;
576 742 children = (
... ...
DUREX Vendor Control/DUREX Vendor Control.xcodeproj/project.xcworkspace/xcuserdata/imanol.xcuserdatad/UserInterfaceState.xcuserstate
No preview for this file type
DUREX Vendor Control/DUREX Vendor Control.xcodeproj/xcuserdata/imanol.xcuserdatad/xcdebugger/Breakpoints_v2.xcbkptlist
... ... @@ -26,12 +26,12 @@
26 26 ignoreCount = "0"
27 27 continueAfterRunningActions = "No"
28 28 filePath = "MenuTableViewController.m"
29   - timestampString = "434383367.854724"
  29 + timestampString = "435859231.211213"
30 30 startingColumnNumber = "9223372036854775807"
31 31 endingColumnNumber = "9223372036854775807"
32   - startingLineNumber = "776"
33   - endingLineNumber = "776"
34   - landmarkName = "-numberOfSectionsInTableView:"
  32 + startingLineNumber = "928"
  33 + endingLineNumber = "928"
  34 + landmarkName = "-tableView:didSelectRowAtIndexPath:"
35 35 landmarkType = "5">
36 36 </BreakpointContent>
37 37 </BreakpointProxy>
... ... @@ -42,11 +42,11 @@
42 42 ignoreCount = "0"
43 43 continueAfterRunningActions = "No"
44 44 filePath = "MenuTableViewController.m"
45   - timestampString = "434383367.854724"
  45 + timestampString = "435859231.211213"
46 46 startingColumnNumber = "9223372036854775807"
47 47 endingColumnNumber = "9223372036854775807"
48   - startingLineNumber = "718"
49   - endingLineNumber = "718"
  48 + startingLineNumber = "830"
  49 + endingLineNumber = "830"
50 50 landmarkName = "-tableView:didSelectRowAtIndexPath:"
51 51 landmarkType = "5">
52 52 </BreakpointContent>
... ... @@ -58,13 +58,13 @@
58 58 ignoreCount = "0"
59 59 continueAfterRunningActions = "No"
60 60 filePath = "MenuTableViewController.m"
61   - timestampString = "434383367.854724"
  61 + timestampString = "435854984.608419"
62 62 startingColumnNumber = "9223372036854775807"
63 63 endingColumnNumber = "9223372036854775807"
64   - startingLineNumber = "577"
65   - endingLineNumber = "577"
66   - landmarkName = "@implementation MenuTableViewController"
67   - landmarkType = "3">
  64 + startingLineNumber = "623"
  65 + endingLineNumber = "623"
  66 + landmarkName = "-toggleDropList:"
  67 + landmarkType = "5">
68 68 </BreakpointContent>
69 69 </BreakpointProxy>
70 70 <BreakpointProxy
... ... @@ -186,12 +186,12 @@
186 186 ignoreCount = "0"
187 187 continueAfterRunningActions = "No"
188 188 filePath = "MenuTableViewController.m"
189   - timestampString = "434383367.854724"
  189 + timestampString = "435859231.211213"
190 190 startingColumnNumber = "9223372036854775807"
191 191 endingColumnNumber = "9223372036854775807"
192   - startingLineNumber = "827"
193   - endingLineNumber = "827"
194   - landmarkName = "-tableView:cellForRowAtIndexPath:"
  192 + startingLineNumber = "1033"
  193 + endingLineNumber = "1033"
  194 + landmarkName = "-tableView:didSelectRowAtIndexPath:"
195 195 landmarkType = "5">
196 196 </BreakpointContent>
197 197 </BreakpointProxy>
... ... @@ -202,12 +202,12 @@
202 202 ignoreCount = "0"
203 203 continueAfterRunningActions = "No"
204 204 filePath = "MenuTableViewController.m"
205   - timestampString = "434127499.570083"
  205 + timestampString = "435854984.608419"
206 206 startingColumnNumber = "9223372036854775807"
207 207 endingColumnNumber = "9223372036854775807"
208   - startingLineNumber = "101"
209   - endingLineNumber = "101"
210   - landmarkName = "-generateMaintenanceLevel"
  208 + startingLineNumber = "212"
  209 + endingLineNumber = "212"
  210 + landmarkName = "-generateIncidentListNavLevel"
211 211 landmarkType = "5">
212 212 </BreakpointContent>
213 213 </BreakpointProxy>
... ... @@ -218,12 +218,12 @@
218 218 ignoreCount = "0"
219 219 continueAfterRunningActions = "No"
220 220 filePath = "MenuTableViewController.m"
221   - timestampString = "434127499.570083"
  221 + timestampString = "435854984.608419"
222 222 startingColumnNumber = "9223372036854775807"
223 223 endingColumnNumber = "9223372036854775807"
224   - startingLineNumber = "104"
225   - endingLineNumber = "104"
226   - landmarkName = "-generateMaintenanceLevel"
  224 + startingLineNumber = "749"
  225 + endingLineNumber = "749"
  226 + landmarkName = "-tableView:numberOfRowsInSection:"
227 227 landmarkType = "5">
228 228 </BreakpointContent>
229 229 </BreakpointProxy>
... ... @@ -234,12 +234,12 @@
234 234 ignoreCount = "0"
235 235 continueAfterRunningActions = "No"
236 236 filePath = "MenuTableViewController.m"
237   - timestampString = "434127499.570083"
  237 + timestampString = "435859231.211213"
238 238 startingColumnNumber = "9223372036854775807"
239 239 endingColumnNumber = "9223372036854775807"
240   - startingLineNumber = "112"
241   - endingLineNumber = "112"
242   - landmarkName = "-generateSaleListNavLevel"
  240 + startingLineNumber = "835"
  241 + endingLineNumber = "835"
  242 + landmarkName = "-tableView:didSelectRowAtIndexPath:"
243 243 landmarkType = "5">
244 244 </BreakpointContent>
245 245 </BreakpointProxy>
... ... @@ -250,12 +250,12 @@
250 250 ignoreCount = "0"
251 251 continueAfterRunningActions = "No"
252 252 filePath = "MenuTableViewController.m"
253   - timestampString = "434127499.570083"
  253 + timestampString = "435859231.211213"
254 254 startingColumnNumber = "9223372036854775807"
255 255 endingColumnNumber = "9223372036854775807"
256   - startingLineNumber = "184"
257   - endingLineNumber = "184"
258   - landmarkName = "-changeNavLevel::"
  256 + startingLineNumber = "1122"
  257 + endingLineNumber = "1122"
  258 + landmarkName = "-numberOfSectionsInTableView:"
259 259 landmarkType = "5">
260 260 </BreakpointContent>
261 261 </BreakpointProxy>
... ... @@ -266,13 +266,13 @@
266 266 ignoreCount = "0"
267 267 continueAfterRunningActions = "No"
268 268 filePath = "MenuTableViewController.m"
269   - timestampString = "434383367.854724"
  269 + timestampString = "435859231.211213"
270 270 startingColumnNumber = "9223372036854775807"
271 271 endingColumnNumber = "9223372036854775807"
272   - startingLineNumber = "703"
273   - endingLineNumber = "703"
274   - landmarkName = "-tableView:didSelectRowAtIndexPath:"
275   - landmarkType = "5">
  272 + startingLineNumber = "1123"
  273 + endingLineNumber = "1123"
  274 + landmarkName = "@implementation MenuTableViewController"
  275 + landmarkType = "3">
276 276 </BreakpointContent>
277 277 </BreakpointProxy>
278 278 <BreakpointProxy
... ... @@ -281,13 +281,13 @@
281 281 shouldBeEnabled = "No"
282 282 ignoreCount = "0"
283 283 continueAfterRunningActions = "No"
284   - filePath = "MenuTableViewController.m"
285   - timestampString = "434383367.854724"
  284 + filePath = "SalesLog.m"
  285 + timestampString = "431870901.753946"
286 286 startingColumnNumber = "9223372036854775807"
287 287 endingColumnNumber = "9223372036854775807"
288   - startingLineNumber = "723"
289   - endingLineNumber = "723"
290   - landmarkName = "-tableView:didSelectRowAtIndexPath:"
  288 + startingLineNumber = "51"
  289 + endingLineNumber = "51"
  290 + landmarkName = "-parseResponse"
291 291 landmarkType = "5">
292 292 </BreakpointContent>
293 293 </BreakpointProxy>
... ... @@ -298,11 +298,11 @@
298 298 ignoreCount = "0"
299 299 continueAfterRunningActions = "No"
300 300 filePath = "MenuTableViewController.m"
301   - timestampString = "434383367.854724"
  301 + timestampString = "435859231.211213"
302 302 startingColumnNumber = "9223372036854775807"
303 303 endingColumnNumber = "9223372036854775807"
304   - startingLineNumber = "916"
305   - endingLineNumber = "916"
  304 + startingLineNumber = "1242"
  305 + endingLineNumber = "1242"
306 306 landmarkName = "-tableView:cellForRowAtIndexPath:"
307 307 landmarkType = "5">
308 308 </BreakpointContent>
... ... @@ -314,12 +314,12 @@
314 314 ignoreCount = "0"
315 315 continueAfterRunningActions = "No"
316 316 filePath = "MenuTableViewController.m"
317   - timestampString = "434383367.854724"
  317 + timestampString = "435854984.608419"
318 318 startingColumnNumber = "9223372036854775807"
319 319 endingColumnNumber = "9223372036854775807"
320   - startingLineNumber = "917"
321   - endingLineNumber = "917"
322   - landmarkName = "-tableView:cellForRowAtIndexPath:"
  320 + startingLineNumber = "553"
  321 + endingLineNumber = "553"
  322 + landmarkName = "-willRotateToInterfaceOrientation:duration:"
323 323 landmarkType = "5">
324 324 </BreakpointContent>
325 325 </BreakpointProxy>
... ... @@ -329,13 +329,13 @@
329 329 shouldBeEnabled = "No"
330 330 ignoreCount = "0"
331 331 continueAfterRunningActions = "No"
332   - filePath = "SalesLog.m"
333   - timestampString = "431870901.753946"
  332 + filePath = "MenuTableViewController.m"
  333 + timestampString = "435859231.211213"
334 334 startingColumnNumber = "9223372036854775807"
335 335 endingColumnNumber = "9223372036854775807"
336   - startingLineNumber = "51"
337   - endingLineNumber = "51"
338   - landmarkName = "-parseResponse"
  336 + startingLineNumber = "1327"
  337 + endingLineNumber = "1327"
  338 + landmarkName = "-tableView:cellForRowAtIndexPath:"
339 339 landmarkType = "5">
340 340 </BreakpointContent>
341 341 </BreakpointProxy>
... ... @@ -346,11 +346,11 @@
346 346 ignoreCount = "0"
347 347 continueAfterRunningActions = "No"
348 348 filePath = "MenuTableViewController.m"
349   - timestampString = "434383367.854724"
  349 + timestampString = "435859231.211213"
350 350 startingColumnNumber = "9223372036854775807"
351 351 endingColumnNumber = "9223372036854775807"
352   - startingLineNumber = "1036"
353   - endingLineNumber = "1036"
  352 + startingLineNumber = "1319"
  353 + endingLineNumber = "1319"
354 354 landmarkName = "-tableView:cellForRowAtIndexPath:"
355 355 landmarkType = "5">
356 356 </BreakpointContent>
... ... @@ -362,12 +362,12 @@
362 362 ignoreCount = "0"
363 363 continueAfterRunningActions = "No"
364 364 filePath = "MenuTableViewController.m"
365   - timestampString = "434383367.854724"
  365 + timestampString = "435859231.211213"
366 366 startingColumnNumber = "9223372036854775807"
367 367 endingColumnNumber = "9223372036854775807"
368   - startingLineNumber = "507"
369   - endingLineNumber = "507"
370   - landmarkName = "-toggleDropList:"
  368 + startingLineNumber = "1114"
  369 + endingLineNumber = "1114"
  370 + landmarkName = "-tableView:indentationLevelForRowAtIndexPath:"
371 371 landmarkType = "5">
372 372 </BreakpointContent>
373 373 </BreakpointProxy>
... ... @@ -378,12 +378,12 @@
378 378 ignoreCount = "0"
379 379 continueAfterRunningActions = "No"
380 380 filePath = "MenuTableViewController.m"
381   - timestampString = "434383367.854724"
  381 + timestampString = "435859231.211213"
382 382 startingColumnNumber = "9223372036854775807"
383 383 endingColumnNumber = "9223372036854775807"
384   - startingLineNumber = "1121"
385   - endingLineNumber = "1121"
386   - landmarkName = "-tableView:cellForRowAtIndexPath:"
  384 + startingLineNumber = "1112"
  385 + endingLineNumber = "1112"
  386 + landmarkName = "-tableView:indentationLevelForRowAtIndexPath:"
387 387 landmarkType = "5">
388 388 </BreakpointContent>
389 389 </BreakpointProxy>
... ... @@ -393,13 +393,13 @@
393 393 shouldBeEnabled = "No"
394 394 ignoreCount = "0"
395 395 continueAfterRunningActions = "No"
396   - filePath = "MenuTableViewController.m"
397   - timestampString = "434383367.854724"
  396 + filePath = "PriceChangerViewController.m"
  397 + timestampString = "432259134.170788"
398 398 startingColumnNumber = "9223372036854775807"
399 399 endingColumnNumber = "9223372036854775807"
400   - startingLineNumber = "1113"
401   - endingLineNumber = "1113"
402   - landmarkName = "-tableView:cellForRowAtIndexPath:"
  400 + startingLineNumber = "48"
  401 + endingLineNumber = "48"
  402 + landmarkName = "-dismissKeyboard"
403 403 landmarkType = "5">
404 404 </BreakpointContent>
405 405 </BreakpointProxy>
... ... @@ -409,13 +409,13 @@
409 409 shouldBeEnabled = "No"
410 410 ignoreCount = "0"
411 411 continueAfterRunningActions = "No"
412   - filePath = "MenuTableViewController.m"
413   - timestampString = "434383367.854724"
  412 + filePath = "DateRangePickerViewController.m"
  413 + timestampString = "435674474.73691"
414 414 startingColumnNumber = "9223372036854775807"
415 415 endingColumnNumber = "9223372036854775807"
416   - startingLineNumber = "908"
417   - endingLineNumber = "908"
418   - landmarkName = "-tableView:cellForRowAtIndexPath:"
  416 + startingLineNumber = "150"
  417 + endingLineNumber = "150"
  418 + landmarkName = "-resizeViewHeight:::"
419 419 landmarkType = "5">
420 420 </BreakpointContent>
421 421 </BreakpointProxy>
... ... @@ -425,13 +425,29 @@
425 425 shouldBeEnabled = "No"
426 426 ignoreCount = "0"
427 427 continueAfterRunningActions = "No"
428   - filePath = "MenuTableViewController.m"
429   - timestampString = "434383367.854724"
  428 + filePath = "DateRangePickerViewController.m"
  429 + timestampString = "435674474.73691"
430 430 startingColumnNumber = "9223372036854775807"
431 431 endingColumnNumber = "9223372036854775807"
432   - startingLineNumber = "906"
433   - endingLineNumber = "906"
434   - landmarkName = "-tableView:cellForRowAtIndexPath:"
  432 + startingLineNumber = "176"
  433 + endingLineNumber = "176"
  434 + landmarkName = "-toggleFromDate:"
  435 + landmarkType = "5">
  436 + </BreakpointContent>
  437 + </BreakpointProxy>
  438 + <BreakpointProxy
  439 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  440 + <BreakpointContent
  441 + shouldBeEnabled = "No"
  442 + ignoreCount = "0"
  443 + continueAfterRunningActions = "No"
  444 + filePath = "DateRangePickerViewController.m"
  445 + timestampString = "435674474.73691"
  446 + startingColumnNumber = "9223372036854775807"
  447 + endingColumnNumber = "9223372036854775807"
  448 + startingLineNumber = "175"
  449 + endingLineNumber = "175"
  450 + landmarkName = "-toggleFromDate:"
435 451 landmarkType = "5">
436 452 </BreakpointContent>
437 453 </BreakpointProxy>
... ... @@ -442,12 +458,12 @@
442 458 ignoreCount = "0"
443 459 continueAfterRunningActions = "No"
444 460 filePath = "MenuTableViewController.m"
445   - timestampString = "434383367.854724"
  461 + timestampString = "435859231.211213"
446 462 startingColumnNumber = "9223372036854775807"
447 463 endingColumnNumber = "9223372036854775807"
448   - startingLineNumber = "767"
449   - endingLineNumber = "767"
450   - landmarkName = "-tableView:indentationLevelForRowAtIndexPath:"
  464 + startingLineNumber = "1443"
  465 + endingLineNumber = "1443"
  466 + landmarkName = "-tableView:cellForRowAtIndexPath:"
451 467 landmarkType = "5">
452 468 </BreakpointContent>
453 469 </BreakpointProxy>
... ... @@ -457,13 +473,13 @@
457 473 shouldBeEnabled = "No"
458 474 ignoreCount = "0"
459 475 continueAfterRunningActions = "No"
460   - filePath = "PriceChangerViewController.m"
461   - timestampString = "432259134.170788"
  476 + filePath = "MenuTableViewController.m"
  477 + timestampString = "435859231.211213"
462 478 startingColumnNumber = "9223372036854775807"
463 479 endingColumnNumber = "9223372036854775807"
464   - startingLineNumber = "48"
465   - endingLineNumber = "48"
466   - landmarkName = "-dismissKeyboard"
  480 + startingLineNumber = "1428"
  481 + endingLineNumber = "1428"
  482 + landmarkName = "-tableView:cellForRowAtIndexPath:"
467 483 landmarkType = "5">
468 484 </BreakpointContent>
469 485 </BreakpointProxy>
... ... @@ -474,11 +490,11 @@
474 490 ignoreCount = "0"
475 491 continueAfterRunningActions = "No"
476 492 filePath = "DateRangePickerViewController.m"
477   - timestampString = "433360688.202825"
  493 + timestampString = "435674474.73691"
478 494 startingColumnNumber = "9223372036854775807"
479 495 endingColumnNumber = "9223372036854775807"
480   - startingLineNumber = "133"
481   - endingLineNumber = "133"
  496 + startingLineNumber = "158"
  497 + endingLineNumber = "158"
482 498 landmarkName = "-toggleFromDate:"
483 499 landmarkType = "5">
484 500 </BreakpointContent>
... ... @@ -489,13 +505,27 @@
489 505 shouldBeEnabled = "No"
490 506 ignoreCount = "0"
491 507 continueAfterRunningActions = "No"
  508 + filePath = "CommunicationProtocol.m"
  509 + timestampString = "433434179.370975"
  510 + startingColumnNumber = "9223372036854775807"
  511 + endingColumnNumber = "9223372036854775807"
  512 + startingLineNumber = "21"
  513 + endingLineNumber = "21">
  514 + </BreakpointContent>
  515 + </BreakpointProxy>
  516 + <BreakpointProxy
  517 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  518 + <BreakpointContent
  519 + shouldBeEnabled = "No"
  520 + ignoreCount = "0"
  521 + continueAfterRunningActions = "No"
492 522 filePath = "DateRangePickerViewController.m"
493   - timestampString = "433360688.202825"
  523 + timestampString = "435674474.73691"
494 524 startingColumnNumber = "9223372036854775807"
495 525 endingColumnNumber = "9223372036854775807"
496   - startingLineNumber = "159"
497   - endingLineNumber = "159"
498   - landmarkName = "-toggleToDate:"
  526 + startingLineNumber = "75"
  527 + endingLineNumber = "75"
  528 + landmarkName = "-parentViewControllerDidRotateWithOrientation:"
499 529 landmarkType = "5">
500 530 </BreakpointContent>
501 531 </BreakpointProxy>
... ... @@ -505,13 +535,61 @@
505 535 shouldBeEnabled = "No"
506 536 ignoreCount = "0"
507 537 continueAfterRunningActions = "No"
508   - filePath = "DateRangePickerViewController.m"
509   - timestampString = "433360688.202825"
  538 + filePath = "MenuTableViewController.m"
  539 + timestampString = "435854984.608419"
  540 + startingColumnNumber = "9223372036854775807"
  541 + endingColumnNumber = "9223372036854775807"
  542 + startingLineNumber = "522"
  543 + endingLineNumber = "522"
  544 + landmarkName = "-viewDidLoad"
  545 + landmarkType = "5">
  546 + </BreakpointContent>
  547 + </BreakpointProxy>
  548 + <BreakpointProxy
  549 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  550 + <BreakpointContent
  551 + shouldBeEnabled = "Yes"
  552 + ignoreCount = "0"
  553 + continueAfterRunningActions = "No"
  554 + filePath = "MenuTableViewController.m"
  555 + timestampString = "435854984.608419"
510 556 startingColumnNumber = "9223372036854775807"
511 557 endingColumnNumber = "9223372036854775807"
512 558 startingLineNumber = "158"
513 559 endingLineNumber = "158"
514   - landmarkName = "-toggleToDate:"
  560 + landmarkName = "-generateSaleListNavLevel"
  561 + landmarkType = "5">
  562 + </BreakpointContent>
  563 + </BreakpointProxy>
  564 + <BreakpointProxy
  565 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  566 + <BreakpointContent
  567 + shouldBeEnabled = "No"
  568 + ignoreCount = "0"
  569 + continueAfterRunningActions = "No"
  570 + filePath = "MenuTableViewController.m"
  571 + timestampString = "435854984.608419"
  572 + startingColumnNumber = "9223372036854775807"
  573 + endingColumnNumber = "9223372036854775807"
  574 + startingLineNumber = "137"
  575 + endingLineNumber = "137"
  576 + landmarkName = "-generateSaleListNavLevel"
  577 + landmarkType = "5">
  578 + </BreakpointContent>
  579 + </BreakpointProxy>
  580 + <BreakpointProxy
  581 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  582 + <BreakpointContent
  583 + shouldBeEnabled = "No"
  584 + ignoreCount = "0"
  585 + continueAfterRunningActions = "No"
  586 + filePath = "IncidentLog.m"
  587 + timestampString = "435767705.90348"
  588 + startingColumnNumber = "9223372036854775807"
  589 + endingColumnNumber = "9223372036854775807"
  590 + startingLineNumber = "27"
  591 + endingLineNumber = "27"
  592 + landmarkName = "-parseResponse"
515 593 landmarkType = "5">
516 594 </BreakpointContent>
517 595 </BreakpointProxy>
... ... @@ -522,12 +600,12 @@
522 600 ignoreCount = "0"
523 601 continueAfterRunningActions = "No"
524 602 filePath = "MenuTableViewController.m"
525   - timestampString = "434383367.854724"
  603 + timestampString = "435859231.211213"
526 604 startingColumnNumber = "9223372036854775807"
527 605 endingColumnNumber = "9223372036854775807"
528   - startingLineNumber = "1237"
529   - endingLineNumber = "1237"
530   - landmarkName = "-passPriceViewController:didFinishEnteringItem:"
  606 + startingLineNumber = "806"
  607 + endingLineNumber = "806"
  608 + landmarkName = "-tableView:didSelectRowAtIndexPath:"
531 609 landmarkType = "5">
532 610 </BreakpointContent>
533 611 </BreakpointProxy>
... ... @@ -538,12 +616,12 @@
538 616 ignoreCount = "0"
539 617 continueAfterRunningActions = "No"
540 618 filePath = "MenuTableViewController.m"
541   - timestampString = "434383367.854724"
  619 + timestampString = "435859231.211213"
542 620 startingColumnNumber = "9223372036854775807"
543 621 endingColumnNumber = "9223372036854775807"
544   - startingLineNumber = "1222"
545   - endingLineNumber = "1222"
546   - landmarkName = "-passPriceViewController:didFinishEnteringItem:"
  622 + startingLineNumber = "1100"
  623 + endingLineNumber = "1100"
  624 + landmarkName = "-tableView:didSelectRowAtIndexPath:"
547 625 landmarkType = "5">
548 626 </BreakpointContent>
549 627 </BreakpointProxy>
... ... @@ -553,13 +631,13 @@
553 631 shouldBeEnabled = "No"
554 632 ignoreCount = "0"
555 633 continueAfterRunningActions = "No"
556   - filePath = "DateRangePickerViewController.m"
557   - timestampString = "433360688.202825"
  634 + filePath = "MenuTableViewController.m"
  635 + timestampString = "435855046.616674"
558 636 startingColumnNumber = "9223372036854775807"
559 637 endingColumnNumber = "9223372036854775807"
560   - startingLineNumber = "141"
561   - endingLineNumber = "141"
562   - landmarkName = "-toggleFromDate:"
  638 + startingLineNumber = "780"
  639 + endingLineNumber = "780"
  640 + landmarkName = "-tableView:didSelectRowAtIndexPath:"
563 641 landmarkType = "5">
564 642 </BreakpointContent>
565 643 </BreakpointProxy>
... ... @@ -569,12 +647,30 @@
569 647 shouldBeEnabled = "No"
570 648 ignoreCount = "0"
571 649 continueAfterRunningActions = "No"
572   - filePath = "CommunicationProtocol.m"
573   - timestampString = "433434179.370975"
  650 + filePath = "MenuTableViewController.m"
  651 + timestampString = "435855046.616674"
574 652 startingColumnNumber = "9223372036854775807"
575 653 endingColumnNumber = "9223372036854775807"
576   - startingLineNumber = "21"
577   - endingLineNumber = "21">
  654 + startingLineNumber = "779"
  655 + endingLineNumber = "779"
  656 + landmarkName = "-tableView:didSelectRowAtIndexPath:"
  657 + landmarkType = "5">
  658 + </BreakpointContent>
  659 + </BreakpointProxy>
  660 + <BreakpointProxy
  661 + BreakpointExtensionID = "Xcode.Breakpoint.FileBreakpoint">
  662 + <BreakpointContent
  663 + shouldBeEnabled = "No"
  664 + ignoreCount = "0"
  665 + continueAfterRunningActions = "No"
  666 + filePath = "MenuTableViewController.m"
  667 + timestampString = "435855046.616674"
  668 + startingColumnNumber = "9223372036854775807"
  669 + endingColumnNumber = "9223372036854775807"
  670 + startingLineNumber = "768"
  671 + endingLineNumber = "768"
  672 + landmarkName = "-tableView:sectionForSectionIndexTitle:atIndex:"
  673 + landmarkType = "5">
578 674 </BreakpointContent>
579 675 </BreakpointProxy>
580 676 </Breakpoints>
... ...
DUREX Vendor Control/DateRangePickerViewController.h
... ... @@ -19,13 +19,14 @@
19 19 #import <UIKit/UIKit.h>
20 20 #import <QuartzCore/QuartzCore.h>
21 21 #import "DUREXAppDelegate.h"
  22 +#import "ChildViewController.h"
22 23  
23 24 @protocol DateRangePickerViewControllerDelegate <NSObject>
24 25 - (void)passDateRangeViewController:(DateRangePickerViewController*)controller didFinishEnteringItem:(NSDate*) from : (NSDate*) to;
25 26  
26 27 @end
27 28  
28   -@interface DateRangePickerViewController : UIViewController
  29 +@interface DateRangePickerViewController : ChildViewController
29 30  
30 31 @property (strong, nonatomic) IBOutlet UIView *dateRangePickerView;
31 32 @property (strong, nonatomic) IBOutlet UIDatePicker *fromDate;
... ...
DUREX Vendor Control/DateRangePickerViewController.m
... ... @@ -12,6 +12,7 @@
12 12  
13 13 @property uint8_t isExtended;
14 14 @property NSUInteger currentHeight;
  15 +@property NSUInteger currentWidth;
15 16  
16 17 @end
17 18  
... ... @@ -21,7 +22,7 @@
21 22 {
22 23 self = [super initWithNibName:nibNameOrNil bundle:nibBundleOrNil];
23 24 if (self) {
24   - // Custom initialization
  25 +
25 26 }
26 27 return self;
27 28 }
... ... @@ -42,6 +43,10 @@
42 43 [self setIsExtended:0];
43 44  
44 45 [self setCurrentHeight:[self scrollView].frame.size.height];
  46 + [self setCurrentWidth:[self scrollView].frame.size.width];
  47 +
  48 + [self.scrollView setAutoresizesSubviews:YES];
  49 + [self.scrollView setAutoresizingMask: UIViewAutoresizingFlexibleWidth | UIViewAutoresizingFlexibleHeight];
45 50  
46 51 [super viewDidLoad];
47 52 // Do any additional setup after loading the view from its nib.
... ... @@ -58,6 +63,28 @@
58 63 // Dispose of any resources that can be recreated.
59 64 }
60 65  
  66 +- (void) parentViewControllerDidRotateWithOrientation: (UIDeviceOrientation) orientation
  67 +{
  68 + NSLog(@"[DateRangePickerViewController.m]: Screen did rotate");
  69 + [UIView beginAnimations:nil context:NULL];
  70 + [UIView setAnimationDuration:0.25];
  71 + [self expandScrollView];
  72 + self.scrollView.frame = CGRectMake(self.scrollView.frame.origin.x, self.scrollView.frame.origin.y, self.currentWidth,self.currentHeight);
  73 + [UIView commitAnimations];
  74 + [self.scrollView setContentSize:CGSizeMake([self scrolledView].frame.size.width,[self currentHeight])];
  75 +}
  76 +
  77 +- (void) parentViewControllerWillRotateToInterfaceOrientation: (UIInterfaceOrientation)toInterfaceOrientation duration: (NSTimeInterval)duration
  78 +{
  79 + NSLog(@"[DateRangePickerViewController.m]: Screen will rotate");
  80 + [self.scrollView setNeedsUpdateConstraints];
  81 +}
  82 +
  83 +- (void) expandScrollView
  84 +{
  85 +
  86 +}
  87 +
61 88 - (void)showAnimate
62 89 {
63 90 self.view.transform = CGAffineTransformMakeScale(1.3, 1.3);
... ... @@ -186,6 +213,7 @@
186 213 to = [[self toDate] date];
187 214 }
188 215 [self.delegate passDateRangeViewController:self didFinishEnteringItem:from : to];
  216 + [self.childDelegate removeChildFromParentController:self];
189 217 [self removeAnimate];
190 218 }
191 219  
... ...
DUREX Vendor Control/FirstAppExample/Base.lproj/EMConnectingView.xib
1 1 <?xml version="1.0" encoding="UTF-8" standalone="no"?>
2   -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="4510" systemVersion="13A598" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
  2 +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="5056" systemVersion="12F45" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES">
3 3 <dependencies>
4   - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3742"/>
  4 + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="3733"/>
5 5 </dependencies>
6 6 <objects>
7 7 <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="EMDevicePickerViewController">
... ... @@ -16,8 +16,8 @@
16 16 <rect key="frame" x="0.0" y="0.0" width="320" height="568"/>
17 17 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
18 18 <subviews>
19   - <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6C5-kv-hwn">
20   - <rect key="frame" x="10" y="102" width="300" height="123"/>
  19 + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6C5-kv-hwn">
  20 + <rect key="frame" x="10" y="222" width="300" height="123"/>
21 21 <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
22 22 <subviews>
23 23 <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="Connecting to device" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vOa-V6-aku">
... ... @@ -33,10 +33,18 @@
33 33 </activityIndicatorView>
34 34 </subviews>
35 35 <color key="backgroundColor" white="0.0" alpha="1" colorSpace="calibratedWhite"/>
  36 + <constraints>
  37 + <constraint firstAttribute="height" constant="123" id="Ra3-Jm-nT1"/>
  38 + <constraint firstAttribute="width" constant="300" id="umy-Hc-C4W"/>
  39 + </constraints>
36 40 </view>
37 41 </subviews>
38 42 <color key="backgroundColor" white="0.0" alpha="0.5" colorSpace="calibratedWhite"/>
  43 + <constraints>
  44 + <constraint firstAttribute="centerX" secondItem="6C5-kv-hwn" secondAttribute="centerX" id="PTE-Ex-mg4"/>
  45 + <constraint firstAttribute="centerY" secondItem="6C5-kv-hwn" secondAttribute="centerY" constant="0.5" id="Qs9-io-s7S"/>
  46 + </constraints>
39 47 <simulatedScreenMetrics key="simulatedDestinationMetrics" type="retina4"/>
40 48 </view>
41 49 </objects>
42   -</document>
43 50 \ No newline at end of file
  51 +</document>
... ...
DUREX Vendor Control/FirstAppExample/Base.lproj/MainStoryboard.storyboard
... ... @@ -160,6 +160,47 @@
160 160 </subviews>
161 161 </tableViewCellContentView>
162 162 </tableViewCell>
  163 + <tableViewCell contentMode="scaleToFill" selectionStyle="blue" accessoryType="disclosureIndicator" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="IncidentListCell" textLabel="hTv-28-iQs" style="IBUITableViewCellStyleDefault" id="PdJ-4b-Gxs">
  164 + <rect key="frame" x="0.0" y="306" width="320" height="44"/>
  165 + <autoresizingMask key="autoresizingMask"/>
  166 + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="PdJ-4b-Gxs" id="Fdn-xF-VsB">
  167 + <rect key="frame" x="0.0" y="0.0" width="287" height="43"/>
  168 + <autoresizingMask key="autoresizingMask"/>
  169 + <subviews>
  170 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="hTv-28-iQs">
  171 + <rect key="frame" x="15" y="0.0" width="270" height="43"/>
  172 + <autoresizingMask key="autoresizingMask"/>
  173 + <fontDescription key="fontDescription" type="system" pointSize="18"/>
  174 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  175 + <nil key="highlightedColor"/>
  176 + </label>
  177 + </subviews>
  178 + </tableViewCellContentView>
  179 + </tableViewCell>
  180 + <tableViewCell contentMode="scaleToFill" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="IncidentCell" textLabel="kXq-Dj-TY3" detailTextLabel="euC-sa-wDb" style="IBUITableViewCellStyleValue1" id="GX7-lI-oD9">
  181 + <rect key="frame" x="0.0" y="350" width="320" height="44"/>
  182 + <autoresizingMask key="autoresizingMask"/>
  183 + <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="GX7-lI-oD9" id="tAj-cW-qVl">
  184 + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/>
  185 + <autoresizingMask key="autoresizingMask"/>
  186 + <subviews>
  187 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Title" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="kXq-Dj-TY3">
  188 + <rect key="frame" x="15" y="11" width="33" height="21"/>
  189 + <autoresizingMask key="autoresizingMask"/>
  190 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  191 + <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  192 + <nil key="highlightedColor"/>
  193 + </label>
  194 + <label opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="left" text="Detail" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="euC-sa-wDb">
  195 + <rect key="frame" x="261" y="11" width="44" height="21"/>
  196 + <autoresizingMask key="autoresizingMask"/>
  197 + <fontDescription key="fontDescription" type="system" pointSize="17"/>
  198 + <color key="textColor" red="0.5568627451" green="0.5568627451" blue="0.57647058819999997" alpha="1" colorSpace="calibratedRGB"/>
  199 + <nil key="highlightedColor"/>
  200 + </label>
  201 + </subviews>
  202 + </tableViewCellContentView>
  203 + </tableViewCell>
163 204 </prototypes>
164 205 <sections/>
165 206 <connections>
... ...
DUREX Vendor Control/FirstAppExample/DUREX Vendor Control-Info.plist
... ... @@ -33,6 +33,9 @@
33 33 <key>UISupportedInterfaceOrientations</key>
34 34 <array>
35 35 <string>UIInterfaceOrientationPortrait</string>
  36 + <string>UIInterfaceOrientationPortraitUpsideDown</string>
  37 + <string>UIInterfaceOrientationLandscapeLeft</string>
  38 + <string>UIInterfaceOrientationLandscapeRight</string>
36 39 </array>
37 40 </dict>
38 41 </plist>
... ...
DUREX Vendor Control/FirstAppExample/EMDevicePickerViewController.m
... ... @@ -42,11 +42,25 @@
42 42 {
43 43 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
44 44 {
45   - [[NSBundle mainBundle] loadNibNamed:@"EMConnectingView_iPad" owner:self options:nil];
  45 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  46 + {
  47 + [[NSBundle mainBundle] loadNibNamed:@"EMConnectingView_iPad_Landscape" owner:self options:nil];
  48 + }
  49 + else
  50 + {
  51 + [[NSBundle mainBundle] loadNibNamed:@"EMConnectingView_iPad" owner:self options:nil];
  52 + }
46 53 }
47 54 else
48 55 {
49   - [[NSBundle mainBundle] loadNibNamed:@"EMConnectingView" owner:self options:nil];
  56 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  57 + {
  58 + [[NSBundle mainBundle] loadNibNamed:@"EMConnectingView" owner:self options:nil];
  59 + }
  60 + else
  61 + {
  62 + [[NSBundle mainBundle] loadNibNamed:@"EMConnectingView_Landscape" owner:self options:nil];
  63 + }
50 64 }
51 65 [[[self popoverView] layer] setCornerRadius:10.0f];
52 66 [[self view] addSubview:[self connectingView]];
... ... @@ -106,7 +120,7 @@
106 120  
107 121 -(void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
108 122 {
109   - //[self performSegueWithIdentifier:@"ConnectionSegue" sender:self];
  123 + [self performSegueWithIdentifier:@"ConnectionSegue" sender:self];
110 124 if(![[[[tableView cellForRowAtIndexPath:indexPath] textLabel] text] isEqualToString:NSLocalizedString(@"Searching for devices...",nil)])
111 125 {
112 126 [self _showConnectingView];
... ...
DUREX Vendor Control/IncidentLog.m
... ... @@ -33,17 +33,17 @@
33 33 while(![[[self response] substringWithRange:NSMakeRange((currentIncident*INCIDENT_STRING_LENGTH), 4)] isEqualToString:@"P3P3"])
34 34 {
35 35 Incident *incident = [[Incident alloc] init];
36   - [incidentDate setYear:(currentYear + [[[self response] substringWithRange:NSMakeRange(2 + currentIncident*SALE_STRING_LENGTH, 2)] intValue])];
37   - [incidentDate setMonth:[[[self response] substringWithRange:NSMakeRange(4 + currentIncident*SALE_STRING_LENGTH, 2)] intValue]];
38   - [incidentDate setDay:[[[self response] substringWithRange:NSMakeRange(6 + currentIncident*SALE_STRING_LENGTH, 2)] intValue]];
39   - [incidentDate setHour:[[[self response] substringWithRange:NSMakeRange(8 + currentIncident*SALE_STRING_LENGTH, 2)] intValue]];
40   - [incidentDate setMinute:[[[self response] substringWithRange:NSMakeRange(10 + currentIncident*SALE_STRING_LENGTH, 2)] intValue]];
41   - [incidentDate setMinute:[[[self response] substringWithRange:NSMakeRange(12 + currentIncident*SALE_STRING_LENGTH, 2)] intValue]];
  36 + [incidentDate setYear:(currentYear + [[[self response] substringWithRange:NSMakeRange(2 + currentIncident*INCIDENT_STRING_LENGTH, 2)] intValue])];
  37 + [incidentDate setMonth:[[[self response] substringWithRange:NSMakeRange(4 + currentIncident*INCIDENT_STRING_LENGTH, 2)] intValue]];
  38 + [incidentDate setDay:[[[self response] substringWithRange:NSMakeRange(6 + currentIncident*INCIDENT_STRING_LENGTH, 2)] intValue]];
  39 + [incidentDate setHour:[[[self response] substringWithRange:NSMakeRange(8 + currentIncident*INCIDENT_STRING_LENGTH, 2)] intValue]];
  40 + [incidentDate setMinute:[[[self response] substringWithRange:NSMakeRange(10 + currentIncident*INCIDENT_STRING_LENGTH, 2)] intValue]];
  41 + [incidentDate setMinute:[[[self response] substringWithRange:NSMakeRange(12 + currentIncident*INCIDENT_STRING_LENGTH, 2)] intValue]];
42 42 [incident setIncidentTime:[calendar dateFromComponents:incidentDate]];
43 43 NSLog(@"date: %@",[calendar dateFromComponents:incidentDate]);
44   - [incident setErrorCode:[[self response] substringWithRange:NSMakeRange(14 + currentIncident*SALE_STRING_LENGTH, 2)]];
  44 + [incident setErrorCode:[[self response] substringWithRange:NSMakeRange(14 + currentIncident*INCIDENT_STRING_LENGTH, 2)]];
45 45 NSLog(@"errorCode: %@",[incident errorCode]);
46   - [incident setErrorValue:[[self response] substringWithRange:NSMakeRange(16 + currentIncident*SALE_STRING_LENGTH, 4)]];
  46 + [incident setErrorValue:[[self response] substringWithRange:NSMakeRange(16 + currentIncident*INCIDENT_STRING_LENGTH, 4)]];
47 47 NSLog(@"errorValue: %@",[incident errorValue]);
48 48 [[self incidents] insertObject:incident atIndex:currentIncident];
49 49 currentIncident++;
... ...
DUREX Vendor Control/MenuTableViewController.h
... ... @@ -18,6 +18,7 @@
18 18 #import "SalesLog.h"
19 19 #import "IncidentLog.h"
20 20 #import "UIView+Toast.h"
  21 +#import "ChildViewController.h"
21 22  
22 23 #define num(x) [NSNumber numberWithUnsignedInt:x]
23 24  
... ... @@ -50,7 +51,7 @@
50 51 #define CONFIGURATION_CELLS_PER_SECTION num(3)
51 52 #define CONFIGURATION_HEADERS nil
52 53  
53   -#define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"SaleListCell",@"SaleCell",@"ConfigCell",@"ReportCell"
  54 +#define CELL_IDENTIFIERS @"MenuCell",@"MaintenanceCell",@"SaleListCell",@"SaleCell",@"IncidentListCell",@"IncidentCell",@"ConfigCell",@"ReportCell"
54 55  
55 56 enum {
56 57 MENU = 0,
... ... @@ -71,6 +72,7 @@ enum {
71 72 A5,
72 73 A6,
73 74 A7,
  75 + //A9,
74 76 INVALID_COMMAND,
75 77 NONE,
76 78 } commandTypes;
... ... @@ -80,7 +82,7 @@ enum {
80 82 INCIDENT_LOG,
81 83 } logType;
82 84  
83   -@interface MenuTableViewController : UITableViewController <DatePickerViewControllerDelegate,PriceChangerViewControllerDelegate,NameChangerViewControllerDelegate, DateRangePickerViewControllerDelegate, CommunicationProtocolDelegate, NSURLConnectionDataDelegate>
  85 +@interface MenuTableViewController : UITableViewController <DatePickerViewControllerDelegate,PriceChangerViewControllerDelegate,NameChangerViewControllerDelegate, DateRangePickerViewControllerDelegate, CommunicationProtocolDelegate, NSURLConnectionDataDelegate, ChildViewControllerDelegate>
84 86  
85 87 - (void) navBack;
86 88  
... ...
DUREX Vendor Control/MenuTableViewController.m
... ... @@ -59,7 +59,9 @@
59 59 @property uint8_t requestedLog;
60 60 @property uint8_t sentCommand;
61 61  
  62 +@property (strong,nonatomic) NSMutableArray *childViewControllers;
62 63 @property uint8_t currentNavLevel;
  64 +@property Boolean showIndexes;
63 65 @property (strong,nonatomic) NSString *currentCellIdentifier;
64 66 @property (strong,nonatomic) const NSMutableArray *currentElements;
65 67 @property (strong,nonatomic) const NSMutableArray *currentStructure;
... ... @@ -119,17 +121,43 @@
119 121 - (void) generateSaleListNavLevel
120 122 {
121 123 NSMutableArray *dateArray = [[NSMutableArray alloc] init];
  124 + NSMutableArray *dateHeaderArray = [[NSMutableArray alloc] init];
  125 + NSMutableArray *dateStructure = [[NSMutableArray alloc] init];
  126 + NSUInteger headerPos = 0;
  127 + NSUInteger headerCount = 0;
  128 + NSString *lastDate = @"";
  129 + NSString *currentDate;
  130 + NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
  131 + NSCalendarUnit units = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit | NSHourCalendarUnit | NSMinuteCalendarUnit;
122 132 for(int i = 0; i < [[[self salesLog] sales]count]; i++)
123 133 {
124 134 Sale *currentSale = [[[self salesLog] sales]objectAtIndex:i];
125   - NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
126   - NSCalendarUnit units = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit | NSHourCalendarUnit | NSMinuteCalendarUnit;
127 135 NSDateComponents *components = [calendar components:units fromDate:[currentSale saleTime]];
128 136 [dateArray insertObject:[NSString stringWithFormat:@"[%d%d%d%d%d]%02d/%02d/%d %02d:%02d",[components day],[components month],[components year],[components hour],[components minute],[components day],[components month],[components year],[components hour],[components minute]] atIndex:i];
  137 + currentDate = [NSString stringWithFormat:@"%02d/%d",[components month],[components year]];
  138 + if([lastDate isEqualToString:@""])
  139 + {
  140 + headerCount = 1;
  141 + lastDate = currentDate;
  142 + }
  143 + else if(![currentDate isEqualToString:lastDate])
  144 + {
  145 + [dateStructure insertObject:[NSNumber numberWithInt:headerCount] atIndex:headerPos];
  146 + [dateHeaderArray insertObject:lastDate atIndex:headerPos];
  147 + headerCount = 1;
  148 + headerPos++;
  149 + lastDate = currentDate;
  150 + }
  151 + else
  152 + {
  153 + headerCount++;
  154 + }
129 155 }
  156 + [dateStructure insertObject:[NSNumber numberWithInt:headerCount] atIndex:headerPos];
  157 + [dateHeaderArray insertObject:lastDate atIndex:headerPos];
130 158 [self setSaleListElements:[[NSMutableArray alloc] initWithArray:dateArray]];
131   - [self setSaleListStructure:[[NSMutableArray alloc] initWithObjects:[NSNumber numberWithInt:[dateArray count]], nil]];
132   - [self setSaleListHeaders:nil];
  159 + [self setSaleListStructure:[[NSMutableArray alloc] initWithArray:dateStructure]];
  160 + [self setSaleListHeaders:[[NSMutableArray alloc] initWithArray:dateHeaderArray]];
133 161 }
134 162  
135 163 - (Boolean) generateSaleNavLevel : (NSInteger) numSale
... ... @@ -151,17 +179,42 @@
151 179 - (void) generateIncidentListNavLevel
152 180 {
153 181 NSMutableArray *dateArray = [[NSMutableArray alloc] init];
  182 + NSMutableArray *dateHeaderArray = [[NSMutableArray alloc] init];
  183 + NSMutableArray *dateStructure = [[NSMutableArray alloc] init];
  184 + NSUInteger headerPos = 0;
  185 + NSUInteger headerCount = 0;
  186 + NSString *lastDate = @"";
  187 + NSString *currentDate;
  188 + NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
  189 + NSCalendarUnit units = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit | NSHourCalendarUnit | NSMinuteCalendarUnit;
154 190 for(int i = 0; i < [[[self incidentLog] incidents]count]; i++)
155 191 {
156 192 Incident *currentIncident = [[[self incidentLog] incidents]objectAtIndex:i];
157   - NSCalendar *calendar = [[NSCalendar alloc] initWithCalendarIdentifier:NSGregorianCalendar];
158   - NSCalendarUnit units = NSYearCalendarUnit | NSMonthCalendarUnit | NSDayCalendarUnit | NSHourCalendarUnit | NSMinuteCalendarUnit;
159 193 NSDateComponents *components = [calendar components:units fromDate:[currentIncident incidentTime]];
160 194 [dateArray insertObject:[NSString stringWithFormat:@"[%d%d%d%d%d]%02d/%02d/%d %02d:%02d",[components day],[components month],[components year],[components hour],[components minute],[components day],[components month],[components year],[components hour],[components minute]] atIndex:i];
  195 + currentDate = [NSString stringWithFormat:@"%02d/%d",[components month],[components year]];
  196 + if([lastDate isEqualToString:@""])
  197 + {
  198 + headerCount = 1;
  199 + lastDate = currentDate;
  200 + }
  201 + else if(![currentDate isEqualToString:lastDate])
  202 + {
  203 + [dateStructure insertObject:[NSNumber numberWithInt:headerCount] atIndex:headerPos];
  204 + [dateHeaderArray insertObject:lastDate atIndex:headerPos];
  205 + headerCount = 1;
  206 + headerPos++;
  207 + lastDate = currentDate;
  208 + }
  209 + else
  210 + {
  211 + headerCount++;
  212 + }
161 213 }
162   - [self setIncidentListElements:[[NSMutableArray alloc] initWithArray:dateArray]];
163   - [self setIncidentListStructure:[[NSMutableArray alloc] initWithObjects:[NSNumber numberWithInt:[dateArray count]], nil]];
164   - [self setIncidentListHeaders:nil];
  214 + [dateStructure insertObject:[NSNumber numberWithInt:headerCount] atIndex:headerPos];
  215 + [dateHeaderArray insertObject:lastDate atIndex:headerPos]; [self setIncidentListElements:[[NSMutableArray alloc] initWithArray:dateArray]];
  216 + [self setIncidentListStructure:[[NSMutableArray alloc] initWithArray:dateStructure]];
  217 + [self setIncidentListHeaders:[[NSMutableArray alloc] initWithArray:dateHeaderArray]];
165 218 }
166 219  
167 220 - (Boolean) generateIncidentNavLevel : (NSInteger) numIncident
... ... @@ -183,6 +236,7 @@
183 236 - (void) changeNavLevel: (uint8_t) level : (BOOL) push
184 237 {
185 238 NSLog(@"[MenuTableViewController.m]: navLevel is %d",level);
  239 + self.showIndexes = FALSE;
186 240 if(push)
187 241 {
188 242 [[self parentLayout] push: [NSNumber numberWithUnsignedChar:self.currentNavLevel]];
... ... @@ -206,6 +260,7 @@
206 260 }
207 261 else if([self currentNavLevel] == SALE_LIST)
208 262 {
  263 + self.showIndexes = TRUE;
209 264 [[self navigationItem] setTitle:NSLocalizedString(@"Sales log", nil)];
210 265 [self setCurrentElements:[self saleListElements]];
211 266 [self setCurrentStructure:[self saleListStructure]];
... ... @@ -223,6 +278,7 @@
223 278 }
224 279 else if([self currentNavLevel] == INCIDENT_LIST)
225 280 {
  281 + self.showIndexes = TRUE;
226 282 [[self navigationItem] setTitle:NSLocalizedString(@"Incident log", nil)];
227 283 [self setCurrentElements:[self incidentListElements]];
228 284 [self setCurrentStructure:[self incidentListStructure]];
... ... @@ -427,7 +483,7 @@
427 483 }
428 484 else
429 485 {
430   - [self setSentCommand:INVALID_COMMAND];
  486 + [self setSentCommand:NONE];
431 487 [self.view makeToast:NSLocalizedString(@"Device answer timeout occurred", nil) duration:3 position:[NSValue valueWithCGPoint:CGPointMake(self.view.frame.size.width/2,self.view.frame.size.height/2)] title:NSLocalizedString(@"Error", nil) image:[UIImage imageNamed:@"icon_delete"]];
432 488 }
433 489 }
... ... @@ -462,8 +518,10 @@
462 518 [self initializeMenuEntries];
463 519 self.currentNavLevel = 255;
464 520 [_protocol establishConnection];
465   - [self setSentCommand:HELLO];
466   - [self startTimeoutTimer];
  521 + //[self setSentCommand:HELLO];
  522 + //[self startTimeoutTimer];
  523 + [self changeNavLevel:MENU :FALSE];
  524 + [self setChildViewControllers:[[NSMutableArray alloc]init]];
467 525 }
468 526  
469 527 -(void)didReceiveNotification:(NSNotification*) notification
... ... @@ -483,6 +541,30 @@
483 541 // Dispose of any resources that can be recreated.
484 542 }
485 543  
  544 +- (void) didRotateFromInterfaceOrientation:(UIInterfaceOrientation)fromInterfaceOrientation
  545 +{
  546 + for(int i = 0; i < self.childViewControllers.count; i++)
  547 + {
  548 + ChildViewController *childController = [self.childViewControllers objectAtIndex:i];
  549 + [childController parentViewControllerDidRotateWithOrientation: [[UIDevice currentDevice] orientation]];
  550 + }
  551 +}
  552 +
  553 +- (void) willRotateToInterfaceOrientation:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration
  554 +{
  555 + for(int i = 0; i < self.childViewControllers.count; i++)
  556 + {
  557 + ChildViewController *childController = [self.childViewControllers objectAtIndex:i];
  558 + [childController parentViewControllerWillRotateToInterfaceOrientation:toInterfaceOrientation duration:duration];
  559 + }
  560 +}
  561 +
  562 +- (void)removeChildFromParentController:(ChildViewController*)controller
  563 +{
  564 + [self.childViewControllers removeObject:controller];
  565 + NSLog(@"[MenuTableViewController]: %d childViewControllers left",self.childViewControllers.count);
  566 +}
  567 +
486 568 -(void)observeValueForKeyPath:(NSString *)keyPath ofObject:(id)object change:(NSDictionary *)change context:(void *)context
487 569 {
488 570 if (object == [EMConnectionManager sharedManager])
... ... @@ -669,12 +751,38 @@
669 751 return [[[self currentStructure] objectAtIndex:section] intValue];
670 752 }
671 753  
  754 +- (NSArray *)sectionIndexTitlesForTableView:(UITableView *)tableView
  755 +{
  756 + if(self.showIndexes)
  757 + {
  758 + return self.currentHeaders;
  759 + }
  760 + return nil;
  761 +}
  762 +
  763 +- (NSInteger)tableView:(UITableView *)tableView sectionForSectionIndexTitle:(NSString *)title atIndex:(NSInteger)index
  764 +{
  765 + if(self.showIndexes)
  766 + {
  767 + return [self.currentHeaders indexOfObject:title];
  768 + }
  769 + return 0;
  770 +}
  771 +
672 772 - (void)tableView:(UITableView *)tableView didSelectRowAtIndexPath:(NSIndexPath *)indexPath
673 773 {
674 774 NSLog(@"Section: %ld Row: %ld",(long)[indexPath section],(long)[indexPath row]);
675 775 [tableView deselectRowAtIndexPath:indexPath animated:YES];
676 776 UITableViewCell *cell = [[self tableView] cellForRowAtIndexPath:indexPath];
677 777 NSString *cellName = [[cell textLabel]text];
  778 + uint8_t offset = 0;
  779 + if([indexPath section])
  780 + {
  781 + for (int i = 0; i < [indexPath section]; i++)
  782 + {
  783 + offset += [[[self currentStructure] objectAtIndex:i] unsignedCharValue];
  784 + }
  785 + }
678 786 //Cells in MENU
679 787 if([self currentNavLevel] == MENU)
680 788 {
... ... @@ -695,12 +803,52 @@
695 803 }
696 804 else if([cellName isEqualToString:NSLocalizedString(@"Sending a Report", nil)])
697 805 {
698   - //TEST TIMEOUT
699   - if(self.sentCommand == NONE)
  806 + /*NSMutableString *testString = [[NSMutableString alloc] init];
  807 + for(int i = 0; i < 300; i++)
700 808 {
701   - [_protocol writeMessage:@"A9"];
702   - [self setSentCommand:INVALID_COMMAND];
703   - [self startTimeoutTimer];
  809 + [testString appendString:@"A"];
  810 + }
  811 + [_protocol testA9:testString];
  812 + [self setSentCommand:A9];
  813 + [self startTimeoutTimer];*/
  814 + [self setRequestedLog:SALES_LOG];
  815 + if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
  816 + {
  817 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  818 + {
  819 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad_Landscape" bundle:nil];
  820 + self.dateRangePickerViewController.delegate = self;
  821 + self.dateRangePickerViewController.childDelegate = self;
  822 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  823 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  824 + }
  825 + else
  826 + {
  827 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad" bundle:nil];
  828 + self.dateRangePickerViewController.delegate = self;
  829 + self.dateRangePickerViewController.childDelegate = self;
  830 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  831 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  832 + }
  833 + }
  834 + else
  835 + {
  836 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  837 + {
  838 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_Landscape" bundle:nil];
  839 + self.dateRangePickerViewController.delegate = self;
  840 + self.dateRangePickerViewController.childDelegate = self;
  841 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  842 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  843 + }
  844 + else
  845 + {
  846 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController" bundle:nil];
  847 + self.dateRangePickerViewController.delegate = self;
  848 + self.dateRangePickerViewController.childDelegate = self;
  849 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  850 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  851 + }
704 852 }
705 853 }
706 854 }
... ... @@ -724,15 +872,41 @@
724 872 [self setRequestedLog:SALES_LOG];
725 873 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
726 874 {
727   - self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad" bundle:nil];
728   - self.dateRangePickerViewController.delegate = self;
729   - [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  875 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  876 + {
  877 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad_Landscape" bundle:nil];
  878 + self.dateRangePickerViewController.delegate = self;
  879 + self.dateRangePickerViewController.childDelegate = self;
  880 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  881 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  882 + }
  883 + else
  884 + {
  885 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad" bundle:nil];
  886 + self.dateRangePickerViewController.delegate = self;
  887 + self.dateRangePickerViewController.childDelegate = self;
  888 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  889 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  890 + }
730 891 }
731 892 else
732 893 {
733   - self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController" bundle:nil];
734   - self.dateRangePickerViewController.delegate = self;
735   - [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  894 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  895 + {
  896 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_Landscape" bundle:nil];
  897 + self.dateRangePickerViewController.delegate = self;
  898 + self.dateRangePickerViewController.childDelegate = self;
  899 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  900 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  901 + }
  902 + else
  903 + {
  904 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController" bundle:nil];
  905 + self.dateRangePickerViewController.delegate = self;
  906 + self.dateRangePickerViewController.childDelegate = self;
  907 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  908 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  909 + }
736 910 }
737 911 }
738 912 }
... ... @@ -743,15 +917,41 @@
743 917 [self setRequestedLog:INCIDENT_LOG];
744 918 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
745 919 {
746   - self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad" bundle:nil];
747   - self.dateRangePickerViewController.delegate = self;
748   - [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  920 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  921 + {
  922 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad_Landscape" bundle:nil];
  923 + self.dateRangePickerViewController.delegate = self;
  924 + self.dateRangePickerViewController.childDelegate = self;
  925 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  926 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  927 + }
  928 + else
  929 + {
  930 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_iPad" bundle:nil];
  931 + self.dateRangePickerViewController.delegate = self;
  932 + self.dateRangePickerViewController.childDelegate = self;
  933 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  934 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  935 + }
749 936 }
750 937 else
751 938 {
752   - self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController" bundle:nil];
753   - self.dateRangePickerViewController.delegate = self;
754   - [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  939 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  940 + {
  941 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController_Landscape" bundle:nil];
  942 + self.dateRangePickerViewController.delegate = self;
  943 + self.dateRangePickerViewController.childDelegate = self;
  944 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  945 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  946 + }
  947 + else
  948 + {
  949 + self.dateRangePickerViewController = [[DateRangePickerViewController alloc] initWithNibName:@"DateRangePickerViewController" bundle:nil];
  950 + self.dateRangePickerViewController.delegate = self;
  951 + self.dateRangePickerViewController.childDelegate = self;
  952 + [self.childViewControllers insertObject:self.dateRangePickerViewController atIndex:self.childViewControllers.count];
  953 + [self.dateRangePickerViewController showInView:self.navigationController.view animated:YES];
  954 + }
755 955 }
756 956 }
757 957 }
... ... @@ -774,15 +974,33 @@
774 974 {
775 975 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
776 976 {
777   - self.datePickerViewController = [[DatePickerViewController alloc] initWithNibName:@"DatePickerViewController_iPad" bundle:nil];
778   - self.datePickerViewController.delegate = self;
779   - [self.datePickerViewController showInView:self.navigationController.view animated:YES];
  977 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  978 + {
  979 + self.datePickerViewController = [[DatePickerViewController alloc] initWithNibName:@"DatePickerViewController_iPad_Landscape" bundle:nil];
  980 + self.datePickerViewController.delegate = self;
  981 + [self.datePickerViewController showInView:self.navigationController.view animated:YES];
  982 + }
  983 + else
  984 + {
  985 + self.datePickerViewController = [[DatePickerViewController alloc] initWithNibName:@"DatePickerViewController_iPad" bundle:nil];
  986 + self.datePickerViewController.delegate = self;
  987 + [self.datePickerViewController showInView:self.navigationController.view animated:YES];
  988 + }
780 989 }
781 990 else
782 991 {
783   - self.datePickerViewController = [[DatePickerViewController alloc] initWithNibName:@"DatePickerViewController" bundle:nil];
784   - self.datePickerViewController.delegate = self;
785   - [self.datePickerViewController showInView:self.navigationController.view animated:YES];
  992 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  993 + {
  994 + self.datePickerViewController = [[DatePickerViewController alloc] initWithNibName:@"DatePickerViewController" bundle:nil];
  995 + self.datePickerViewController.delegate = self;
  996 + [self.datePickerViewController showInView:self.navigationController.view animated:YES];
  997 + }
  998 + else
  999 + {
  1000 + self.datePickerViewController = [[DatePickerViewController alloc] initWithNibName:@"DatePickerViewController_Landscape" bundle:nil];
  1001 + self.datePickerViewController.delegate = self;
  1002 + [self.datePickerViewController showInView:self.navigationController.view animated:YES];
  1003 + }
786 1004 }
787 1005 }
788 1006 }
... ... @@ -793,15 +1011,33 @@
793 1011 {
794 1012 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
795 1013 {
796   - self.priceChangerViewController = [[PriceChangerViewController alloc] initWithNibName:@"PriceChangerViewController_iPad" bundle:nil];
797   - self.priceChangerViewController.delegate = self;
798   - [self.priceChangerViewController showInView:self.navigationController.view animated:YES];
  1014 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  1015 + {
  1016 + self.priceChangerViewController = [[PriceChangerViewController alloc] initWithNibName:@"PriceChangerViewController_iPad_Landscape" bundle:nil];
  1017 + self.priceChangerViewController.delegate = self;
  1018 + [self.priceChangerViewController showInView:self.navigationController.view animated:YES];
  1019 + }
  1020 + else
  1021 + {
  1022 + self.priceChangerViewController = [[PriceChangerViewController alloc] initWithNibName:@"PriceChangerViewController_iPad" bundle:nil];
  1023 + self.priceChangerViewController.delegate = self;
  1024 + [self.priceChangerViewController showInView:self.navigationController.view animated:YES];
  1025 + }
799 1026 }
800 1027 else
801 1028 {
802   - self.priceChangerViewController = [[PriceChangerViewController alloc] initWithNibName:@"PriceChangerViewController" bundle:nil];
803   - self.priceChangerViewController.delegate = self;
804   - [self.priceChangerViewController showInView:self.navigationController.view animated:YES];
  1029 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  1030 + {
  1031 + self.priceChangerViewController = [[PriceChangerViewController alloc] initWithNibName:@"PriceChangerViewController" bundle:nil];
  1032 + self.priceChangerViewController.delegate = self;
  1033 + [self.priceChangerViewController showInView:self.navigationController.view animated:YES];
  1034 + }
  1035 + else
  1036 + {
  1037 + self.priceChangerViewController = [[PriceChangerViewController alloc] initWithNibName:@"PriceChangerViewController_Landscape" bundle:nil];
  1038 + self.priceChangerViewController.delegate = self;
  1039 + [self.priceChangerViewController showInView:self.navigationController.view animated:YES];
  1040 + }
805 1041 }
806 1042 }
807 1043 }
... ... @@ -812,22 +1048,40 @@
812 1048 {
813 1049 if (UI_USER_INTERFACE_IDIOM() == UIUserInterfaceIdiomPad)
814 1050 {
815   - self.nameChangerViewController = [[NameChangerViewController alloc] initWithNibName:@"NameChangerViewController_iPad" bundle:nil];
816   - self.nameChangerViewController.delegate = self;
817   - [self.nameChangerViewController showInView:self.navigationController.view animated:YES];
  1051 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  1052 + {
  1053 + self.nameChangerViewController = [[NameChangerViewController alloc] initWithNibName:@"NameChangerViewController_iPad_Landscape" bundle:nil];
  1054 + self.nameChangerViewController.delegate = self;
  1055 + [self.nameChangerViewController showInView:self.navigationController.view animated:YES];
  1056 + }
  1057 + else
  1058 + {
  1059 + self.nameChangerViewController = [[NameChangerViewController alloc] initWithNibName:@"NameChangerViewController_iPad" bundle:nil];
  1060 + self.nameChangerViewController.delegate = self;
  1061 + [self.nameChangerViewController showInView:self.navigationController.view animated:YES];
  1062 + }
818 1063 }
819 1064 else
820 1065 {
821   - self.nameChangerViewController = [[NameChangerViewController alloc] initWithNibName:@"NameChangerViewController" bundle:nil];
822   - self.nameChangerViewController.delegate = self;
823   - [self.nameChangerViewController showInView:self.navigationController.view animated:YES];
  1066 + if(UIDeviceOrientationIsLandscape([[UIDevice currentDevice] orientation]))
  1067 + {
  1068 + self.nameChangerViewController = [[NameChangerViewController alloc] initWithNibName:@"NameChangerViewController_Landscape" bundle:nil];
  1069 + self.nameChangerViewController.delegate = self;
  1070 + [self.nameChangerViewController showInView:self.navigationController.view animated:YES];
  1071 + }
  1072 + else
  1073 + {
  1074 + self.nameChangerViewController = [[NameChangerViewController alloc] initWithNibName:@"NameChangerViewController" bundle:nil];
  1075 + self.nameChangerViewController.delegate = self;
  1076 + [self.nameChangerViewController showInView:self.navigationController.view animated:YES];
  1077 + }
824 1078 }
825 1079 }
826 1080 }
827 1081 }
828 1082 else if([self currentNavLevel] == SALE_LIST)
829 1083 {
830   - if([self generateSaleNavLevel: [indexPath row]])
  1084 + if([self generateSaleNavLevel: [indexPath row] + offset])
831 1085 {
832 1086 [self changeNavLevel:SALE:TRUE];
833 1087 }
... ... @@ -843,7 +1097,7 @@
843 1097 }
844 1098 else if([self currentNavLevel] == INCIDENT_LIST)
845 1099 {
846   - if([self generateIncidentNavLevel: [indexPath row]])
  1100 + if([self generateIncidentNavLevel: [indexPath row] + offset])
847 1101 {
848 1102 [self changeNavLevel:INCIDENT:TRUE];
849 1103 }
... ... @@ -1289,7 +1543,7 @@
1289 1543 }
1290 1544 else if([[[cell textLabel] text] isEqualToString:NSLocalizedString(@"Error Value",nil)])
1291 1545 {
1292   - [[cell detailTextLabel] setText:[self.currentIncident errorCode]];
  1546 + [[cell detailTextLabel] setText:[self.currentIncident errorValue]];
1293 1547 [cell setAccessoryView:nil];
1294 1548 }
1295 1549 }
... ...
DUREX Vendor Control/en.lproj/DatePickerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "SLt-EA-xM9"; */
  3 +"SLt-EA-xM9.normalTitle" = "Done";
... ...
DUREX Vendor Control/en.lproj/DatePickerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "JbU-pO-d9E"; */
  3 +"JbU-pO-d9E.normalTitle" = "Done";
... ...
DUREX Vendor Control/en.lproj/DateRangePickerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "From:"; ObjectID = "Ses-ng-Dli"; */
  3 +"Ses-ng-Dli.text" = "From:";
  4 +
  5 +/* Class = "IBUILabel"; text = "To:"; ObjectID = "WCO-rz-s5y"; */
  6 +"WCO-rz-s5y.text" = "To:";
  7 +
  8 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "nfK-Us-pVk"; */
  9 +"nfK-Us-pVk.normalTitle" = "Done";
... ...
DUREX Vendor Control/en.lproj/DateRangePickerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "From:"; ObjectID = "7sY-pS-rR6"; */
  3 +"7sY-pS-rR6.text" = "From:";
  4 +
  5 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "hDh-hS-ruL"; */
  6 +"hDh-hS-ruL.normalTitle" = "Done";
  7 +
  8 +/* Class = "IBUILabel"; text = "To:"; ObjectID = "z8k-7k-O2i"; */
  9 +"z8k-7k-O2i.text" = "To:";
... ...
DUREX Vendor Control/en.lproj/EMConnectingView_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Connecting to device"; ObjectID = "J1X-2s-Ung"; */
  3 +"J1X-2s-Ung.text" = "Connecting to device";
... ...
DUREX Vendor Control/en.lproj/EMConnectingView_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Connecting to device"; ObjectID = "X5Q-qk-1n6"; */
  3 +"X5Q-qk-1n6.text" = "Connecting to device";
... ...
DUREX Vendor Control/en.lproj/NameChangerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "ZH7-mZ-Jfc"; */
  3 +"ZH7-mZ-Jfc.normalTitle" = "Done";
  4 +
  5 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "ZzG-qH-dln"; */
  6 +"ZzG-qH-dln.text" = "Channel";
  7 +
  8 +/* Class = "IBUILabel"; text = "New Name"; ObjectID = "gIa-c0-uyh"; */
  9 +"gIa-c0-uyh.text" = "New Name";
  10 +
  11 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "z9N-z7-JyV"; */
  12 +"z9N-z7-JyV.text" = "Product Code";
... ...
DUREX Vendor Control/en.lproj/NameChangerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "85G-KF-Rny"; */
  3 +"85G-KF-Rny.text" = "Product Code";
  4 +
  5 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "MUO-8b-DhH"; */
  6 +"MUO-8b-DhH.text" = "Channel";
  7 +
  8 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "q3O-jD-tjP"; */
  9 +"q3O-jD-tjP.normalTitle" = "Done";
  10 +
  11 +/* Class = "IBUILabel"; text = "New Name"; ObjectID = "zj0-M4-cAO"; */
  12 +"zj0-M4-cAO.text" = "New Name";
... ...
DUREX Vendor Control/en.lproj/PriceChangerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "0G8-sN-Hfg"; */
  3 +"0G8-sN-Hfg.text" = "Channel";
  4 +
  5 +/* Class = "IBUILabel"; text = "New Price"; ObjectID = "UrS-qz-jRa"; */
  6 +"UrS-qz-jRa.text" = "New Price";
  7 +
  8 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "neg-KG-oQC"; */
  9 +"neg-KG-oQC.text" = "Product Code";
  10 +
  11 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "ubO-fy-Tcd"; */
  12 +"ubO-fy-Tcd.normalTitle" = "Done";
... ...
DUREX Vendor Control/en.lproj/PriceChangerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "GCF-GY-CN1"; */
  3 +"GCF-GY-CN1.text" = "Product Code";
  4 +
  5 +/* Class = "IBUILabel"; text = "New Price"; ObjectID = "eXX-xf-h6G"; */
  6 +"eXX-xf-h6G.text" = "New Price";
  7 +
  8 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "hdn-qQ-8np"; */
  9 +"hdn-qQ-8np.normalTitle" = "Done";
  10 +
  11 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "z9V-5B-LtD"; */
  12 +"z9V-5B-LtD.text" = "Channel";
... ...
DUREX Vendor Control/es.lproj/DatePickerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "SLt-EA-xM9"; */
  3 +"SLt-EA-xM9.normalTitle" = "Aceptar";
... ...
DUREX Vendor Control/es.lproj/DatePickerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "JbU-pO-d9E"; */
  3 +"JbU-pO-d9E.normalTitle" = "Aceptar";
... ...
DUREX Vendor Control/es.lproj/DateRangePickerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "From:"; ObjectID = "Ses-ng-Dli"; */
  3 +"Ses-ng-Dli.text" = "Desde:";
  4 +
  5 +/* Class = "IBUILabel"; text = "To:"; ObjectID = "WCO-rz-s5y"; */
  6 +"WCO-rz-s5y.text" = "Hasta:";
  7 +
  8 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "nfK-Us-pVk"; */
  9 +"nfK-Us-pVk.normalTitle" = "Aceptar";
... ...
DUREX Vendor Control/es.lproj/DateRangePickerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "From:"; ObjectID = "7sY-pS-rR6"; */
  3 +"7sY-pS-rR6.text" = "Desde:";
  4 +
  5 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "hDh-hS-ruL"; */
  6 +"hDh-hS-ruL.normalTitle" = "Aceptar";
  7 +
  8 +/* Class = "IBUILabel"; text = "To:"; ObjectID = "z8k-7k-O2i"; */
  9 +"z8k-7k-O2i.text" = "Hasta:";
... ...
DUREX Vendor Control/es.lproj/EMConnectingView_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Connecting to device"; ObjectID = "J1X-2s-Ung"; */
  3 +"J1X-2s-Ung.text" = "Realizando conexión";
... ...
DUREX Vendor Control/es.lproj/EMConnectingView_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Connecting to device"; ObjectID = "X5Q-qk-1n6"; */
  3 +"X5Q-qk-1n6.text" = "Realizando conexión";
... ...
DUREX Vendor Control/es.lproj/NameChangerViewController.strings
1 1  
2 2 /* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "Y9f-BL-5ZB"; */
3   -"Y9f-BL-5ZB.normalTitle" = "Done";
  3 +"Y9f-BL-5ZB.normalTitle" = "Aceptar";
4 4  
5 5 /* Class = "IBUILabel"; text = "New Name"; ObjectID = "Zfh-RB-roO"; */
6   -"Zfh-RB-roO.text" = "New Name";
  6 +"Zfh-RB-roO.text" = "Nuevo Nombre";
7 7  
8 8 /* Class = "IBUILabel"; text = "Channel"; ObjectID = "u0t-Gj-gKZ"; */
9   -"u0t-Gj-gKZ.text" = "Channel";
  9 +"u0t-Gj-gKZ.text" = "Canal";
10 10  
11 11 /* Class = "IBUILabel"; text = "Product Code"; ObjectID = "zk3-Qc-MYf"; */
12   -"zk3-Qc-MYf.text" = "Product Code";
  12 +"zk3-Qc-MYf.text" = "Código del Producto";
... ...
DUREX Vendor Control/es.lproj/NameChangerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "ZH7-mZ-Jfc"; */
  3 +"ZH7-mZ-Jfc.normalTitle" = "Aceptar";
  4 +
  5 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "ZzG-qH-dln"; */
  6 +"ZzG-qH-dln.text" = "Canal";
  7 +
  8 +/* Class = "IBUILabel"; text = "New Name"; ObjectID = "gIa-c0-uyh"; */
  9 +"gIa-c0-uyh.text" = "Nuevo Nombre";
  10 +
  11 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "z9N-z7-JyV"; */
  12 +"z9N-z7-JyV.text" = "Código del Producto";
... ...
DUREX Vendor Control/es.lproj/NameChangerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "85G-KF-Rny"; */
  3 +"85G-KF-Rny.text" = "Código del Producto";
  4 +
  5 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "MUO-8b-DhH"; */
  6 +"MUO-8b-DhH.text" = "Canal";
  7 +
  8 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "q3O-jD-tjP"; */
  9 +"q3O-jD-tjP.normalTitle" = "Aceptar";
  10 +
  11 +/* Class = "IBUILabel"; text = "New Name"; ObjectID = "zj0-M4-cAO"; */
  12 +"zj0-M4-cAO.text" = "Nuevo Nombre";
... ...
DUREX Vendor Control/es.lproj/PriceChangerViewController_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "0G8-sN-Hfg"; */
  3 +"0G8-sN-Hfg.text" = "Canal";
  4 +
  5 +/* Class = "IBUILabel"; text = "New Price"; ObjectID = "UrS-qz-jRa"; */
  6 +"UrS-qz-jRa.text" = "Nuevo Precio";
  7 +
  8 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "neg-KG-oQC"; */
  9 +"neg-KG-oQC.text" = "Código del Producto";
  10 +
  11 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "ubO-fy-Tcd"; */
  12 +"ubO-fy-Tcd.normalTitle" = "Aceptar";
... ...
DUREX Vendor Control/es.lproj/PriceChangerViewController_iPad_Landscape.strings 0 → 100644
  1 +
  2 +/* Class = "IBUILabel"; text = "Product Code"; ObjectID = "GCF-GY-CN1"; */
  3 +"GCF-GY-CN1.text" = "Código del Producto";
  4 +
  5 +/* Class = "IBUILabel"; text = "New Price"; ObjectID = "eXX-xf-h6G"; */
  6 +"eXX-xf-h6G.text" = "Nuevo Precio";
  7 +
  8 +/* Class = "IBUIButton"; normalTitle = "Done"; ObjectID = "hdn-qQ-8np"; */
  9 +"hdn-qQ-8np.normalTitle" = "Aceptar";
  10 +
  11 +/* Class = "IBUILabel"; text = "Channel"; ObjectID = "z9V-5B-LtD"; */
  12 +"z9V-5B-LtD.text" = "Canal";
... ...
1 1 TESTS:
2   -- Multiple fragments
3   -- Timeout
4 2 - A3 command
5   -- A2 command
6   -- Prevent multiple commands sending
7 3  
8 4 BUGS:
9 5 - On date change, response is overwritten by previous query, trimming needed according to numBytes
  6 +- daterangepicker regression on landscape
10 7  
11 8 TODO:
12   -- Channels and codes to 2 ciphers
13   -- Add landscape layout and inverted layout
14   -- Month/Year headers on sale list
  9 +- Solve bugs
15 10  
  11 +OPTIONAL:
16 12 - Batch command files, definition, parsing and pushing them to the app
17   -- Implement user auth. Server authenticates the app ONCE on install and allows to control ONE machine (key gets validated on server and then stored on app)
18   -- Implement master key.
19   -- App in background operations (scan and connect, if success get maintenance and sales data and send it)
20   -
21   -
22   -
23   -
24   -
  13 +- Month/Year headers on sale list and incident list
25 14  
... ...