commonScanner.storyboard 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="ipad9_7" orientation="portrait" layout="fullscreen" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21678"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <scenes>
  12. <!--Common Scanner Setting View Controller-->
  13. <scene sceneID="s0d-6b-0kx">
  14. <objects>
  15. <viewController storyboardIdentifier="CommonScannerSettingViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="Y6W-OH-hqX" customClass="CommonScannerSettingViewController" sceneMemberID="viewController">
  16. <view key="view" contentMode="scaleToFill" id="5EZ-qb-Rvc">
  17. <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
  18. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19. <subviews>
  20. <switch opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" title="Enable Scanner" translatesAutoresizingMaskIntoConstraints="NO" id="Enn-7S-8EQ">
  21. <rect key="frame" x="359.5" y="45" width="51" height="31"/>
  22. <connections>
  23. <action selector="onEnable:" destination="Y6W-OH-hqX" eventType="valueChanged" id="FLI-cY-fnB"/>
  24. </connections>
  25. </switch>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Enable Scanner" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bhD-lD-vEi">
  27. <rect key="frame" x="30" y="50" width="119" height="21"/>
  28. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  29. <nil key="textColor"/>
  30. <nil key="highlightedColor"/>
  31. </label>
  32. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Automatic Reconnect" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7d0-gV-ut7">
  33. <rect key="frame" x="30" y="91" width="164" height="21"/>
  34. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  35. <nil key="textColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <switch hidden="YES" opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="750" verticalHuggingPriority="750" contentHorizontalAlignment="center" contentVerticalAlignment="center" on="YES" translatesAutoresizingMaskIntoConstraints="NO" id="8co-AI-UzM">
  39. <rect key="frame" x="359.5" y="86" width="51" height="31"/>
  40. <connections>
  41. <action selector="onReconnect:" destination="Y6W-OH-hqX" eventType="valueChanged" id="BDp-7N-E0s"/>
  42. </connections>
  43. </switch>
  44. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="252" verticalHuggingPriority="251" text="Current Device:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Igu-bv-WHz">
  45. <rect key="frame" x="30" y="132" width="119" height="21"/>
  46. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  47. <nil key="textColor"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pyH-kj-OdQ">
  51. <rect key="frame" x="159" y="132" width="155" height="21"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  53. <nil key="textColor"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="DUn-Sa-41P">
  57. <rect key="frame" x="324" y="125" width="120" height="35"/>
  58. <constraints>
  59. <constraint firstAttribute="width" constant="120" id="HLJ-WQ-pps"/>
  60. </constraints>
  61. <state key="normal" title="Button"/>
  62. <buttonConfiguration key="configuration" style="plain" title="Disconnect"/>
  63. <connections>
  64. <action selector="onDisconnect:" destination="Y6W-OH-hqX" eventType="touchUpInside" id="i6f-CH-cCx"/>
  65. </connections>
  66. </button>
  67. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Discovered Device" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uLx-lt-ypQ">
  68. <rect key="frame" x="30" y="193" width="142" height="21"/>
  69. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  70. <nil key="textColor"/>
  71. <nil key="highlightedColor"/>
  72. </label>
  73. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="-1" estimatedSectionHeaderHeight="-1" sectionFooterHeight="-1" estimatedSectionFooterHeight="-1" translatesAutoresizingMaskIntoConstraints="NO" id="ajA-cg-Bq5">
  74. <rect key="frame" x="30" y="224" width="708" height="349.5"/>
  75. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  76. <connections>
  77. <outlet property="dataSource" destination="Y6W-OH-hqX" id="NH0-Zb-RP5"/>
  78. <outlet property="delegate" destination="Y6W-OH-hqX" id="G27-ls-d5E"/>
  79. </connections>
  80. </tableView>
  81. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Log" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1IE-zh-6xD">
  82. <rect key="frame" x="30" y="613.5" width="29" height="21"/>
  83. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  84. <nil key="textColor"/>
  85. <nil key="highlightedColor"/>
  86. </label>
  87. <textView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" textAlignment="natural" translatesAutoresizingMaskIntoConstraints="NO" id="zeG-uA-OZf">
  88. <rect key="frame" x="30" y="644.5" width="708" height="349.5"/>
  89. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  90. <color key="textColor" systemColor="labelColor"/>
  91. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  92. <textInputTraits key="textInputTraits" autocapitalizationType="sentences"/>
  93. </textView>
  94. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xqg-nr-rkc">
  95. <rect key="frame" x="635" y="50" width="103" height="103"/>
  96. <constraints>
  97. <constraint firstAttribute="width" secondItem="xqg-nr-rkc" secondAttribute="height" multiplier="1:1" id="f4t-kD-0ff"/>
  98. </constraints>
  99. </imageView>
  100. </subviews>
  101. <viewLayoutGuide key="safeArea" id="vDu-zF-Fre"/>
  102. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  103. <constraints>
  104. <constraint firstItem="bhD-lD-vEi" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" constant="30" id="0gW-go-g0F"/>
  105. <constraint firstItem="DUn-Sa-41P" firstAttribute="centerY" secondItem="Igu-bv-WHz" secondAttribute="centerY" id="1B8-n4-D0y"/>
  106. <constraint firstItem="ajA-cg-Bq5" firstAttribute="leading" secondItem="vDu-zF-Fre" secondAttribute="leading" constant="30" id="2vi-nB-7l0"/>
  107. <constraint firstItem="1IE-zh-6xD" firstAttribute="top" secondItem="ajA-cg-Bq5" secondAttribute="bottom" constant="40" id="3El-YN-ahA"/>
  108. <constraint firstItem="xqg-nr-rkc" firstAttribute="bottom" secondItem="Igu-bv-WHz" secondAttribute="bottom" id="6YZ-Cu-6kx"/>
  109. <constraint firstItem="zeG-uA-OZf" firstAttribute="leading" secondItem="ajA-cg-Bq5" secondAttribute="leading" id="76f-it-aS0"/>
  110. <constraint firstItem="pyH-kj-OdQ" firstAttribute="leading" secondItem="Igu-bv-WHz" secondAttribute="trailing" constant="10" id="BMg-uM-TLJ"/>
  111. <constraint firstItem="Enn-7S-8EQ" firstAttribute="centerY" secondItem="bhD-lD-vEi" secondAttribute="centerY" id="BVJ-6i-VLk"/>
  112. <constraint firstItem="7d0-gV-ut7" firstAttribute="leading" secondItem="bhD-lD-vEi" secondAttribute="leading" id="CF1-Ua-qPc"/>
  113. <constraint firstItem="bhD-lD-vEi" firstAttribute="top" secondItem="vDu-zF-Fre" secondAttribute="top" constant="30" id="Ee9-VU-PDl"/>
  114. <constraint firstItem="vDu-zF-Fre" firstAttribute="bottom" secondItem="zeG-uA-OZf" secondAttribute="bottom" constant="30" id="GF6-cF-mLj"/>
  115. <constraint firstItem="xqg-nr-rkc" firstAttribute="top" secondItem="bhD-lD-vEi" secondAttribute="top" id="Gel-fe-262"/>
  116. <constraint firstItem="xqg-nr-rkc" firstAttribute="trailing" secondItem="ajA-cg-Bq5" secondAttribute="trailing" id="JaD-Lc-WzS"/>
  117. <constraint firstItem="zeG-uA-OZf" firstAttribute="top" secondItem="1IE-zh-6xD" secondAttribute="bottom" constant="10" id="L1e-vN-P99"/>
  118. <constraint firstItem="zeG-uA-OZf" firstAttribute="trailing" secondItem="ajA-cg-Bq5" secondAttribute="trailing" id="M8L-YR-arV"/>
  119. <constraint firstItem="zeG-uA-OZf" firstAttribute="height" secondItem="ajA-cg-Bq5" secondAttribute="height" id="Mo5-58-efu"/>
  120. <constraint firstItem="8co-AI-UzM" firstAttribute="centerX" secondItem="DUn-Sa-41P" secondAttribute="centerX" id="Moj-oM-5uF"/>
  121. <constraint firstItem="8co-AI-UzM" firstAttribute="centerY" secondItem="7d0-gV-ut7" secondAttribute="centerY" id="Nnd-9f-7hC"/>
  122. <constraint firstItem="pyH-kj-OdQ" firstAttribute="centerY" secondItem="Igu-bv-WHz" secondAttribute="centerY" id="OIk-Xy-Dqg"/>
  123. <constraint firstItem="7d0-gV-ut7" firstAttribute="top" secondItem="bhD-lD-vEi" secondAttribute="bottom" constant="20" id="Og1-f7-Jtk"/>
  124. <constraint firstItem="Enn-7S-8EQ" firstAttribute="centerX" secondItem="DUn-Sa-41P" secondAttribute="centerX" id="P7F-uv-pM6"/>
  125. <constraint firstItem="Igu-bv-WHz" firstAttribute="top" secondItem="7d0-gV-ut7" secondAttribute="bottom" constant="20" id="Qhs-oI-m0n"/>
  126. <constraint firstItem="DUn-Sa-41P" firstAttribute="centerX" secondItem="5EZ-qb-Rvc" secondAttribute="centerX" id="TKe-uh-iFC"/>
  127. <constraint firstItem="1IE-zh-6xD" firstAttribute="leading" secondItem="ajA-cg-Bq5" secondAttribute="leading" id="XGC-GY-hfT"/>
  128. <constraint firstItem="Igu-bv-WHz" firstAttribute="leading" secondItem="bhD-lD-vEi" secondAttribute="leading" id="eT1-xH-wjF"/>
  129. <constraint firstItem="uLx-lt-ypQ" firstAttribute="top" secondItem="Igu-bv-WHz" secondAttribute="bottom" constant="40" id="hNF-5z-hfU"/>
  130. <constraint firstItem="DUn-Sa-41P" firstAttribute="leading" secondItem="pyH-kj-OdQ" secondAttribute="trailing" constant="10" id="hRz-w3-fbM"/>
  131. <constraint firstItem="vDu-zF-Fre" firstAttribute="trailing" secondItem="ajA-cg-Bq5" secondAttribute="trailing" constant="30" id="kGq-gK-BF1"/>
  132. <constraint firstItem="uLx-lt-ypQ" firstAttribute="leading" secondItem="Igu-bv-WHz" secondAttribute="leading" id="s1R-CU-RIf"/>
  133. <constraint firstItem="ajA-cg-Bq5" firstAttribute="top" secondItem="uLx-lt-ypQ" secondAttribute="bottom" constant="10" id="xpB-ek-ha9"/>
  134. </constraints>
  135. </view>
  136. <connections>
  137. <outlet property="btnConnect" destination="DUn-Sa-41P" id="dQR-hv-87i"/>
  138. <outlet property="labelDevice" destination="pyH-kj-OdQ" id="Tfo-PR-p7w"/>
  139. <outlet property="swAuto" destination="8co-AI-UzM" id="ccb-3L-4ll"/>
  140. <outlet property="swEnable" destination="Enn-7S-8EQ" id="WUD-Be-txR"/>
  141. <outlet property="tableDiscover" destination="ajA-cg-Bq5" id="lLj-dc-5li"/>
  142. <outlet property="tvLog" destination="zeG-uA-OZf" id="75x-lU-lPo"/>
  143. </connections>
  144. </viewController>
  145. <placeholder placeholderIdentifier="IBFirstResponder" id="Ief-a0-LHa" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  146. </objects>
  147. <point key="canvasLocation" x="131.25" y="-55.664062499999993"/>
  148. </scene>
  149. </scenes>
  150. <resources>
  151. <systemColor name="labelColor">
  152. <color red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  153. </systemColor>
  154. <systemColor name="systemBackgroundColor">
  155. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  156. </systemColor>
  157. </resources>
  158. </document>