cam_scan.storyboard 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="12120" systemVersion="16A323" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="ipad9_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="12088"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <scenes>
  12. <!--ScannerViewController-->
  13. <scene sceneID="ujq-xf-Oml">
  14. <objects>
  15. <viewController storyboardIdentifier="ScannerViewController" title="ScannerViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="kVd-Bz-inR" customClass="ScannerViewController" sceneMemberID="viewController">
  16. <layoutGuides>
  17. <viewControllerLayoutGuide type="top" id="NEh-qa-oua"/>
  18. <viewControllerLayoutGuide type="bottom" id="yWx-4n-MjG"/>
  19. </layoutGuides>
  20. <view key="view" contentMode="scaleToFill" id="Ls8-b3-CO0">
  21. <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
  22. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="YsE-DF-hiM" customClass="ScannerControllerView">
  25. <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="wordWrap" translatesAutoresizingMaskIntoConstraints="NO" id="r3N-1u-7iO" userLabel="Button scan">
  29. <rect key="frame" x="613" y="694" width="108" height="108"/>
  30. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
  31. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  33. <state key="normal">
  34. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  35. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  36. </state>
  37. <userDefinedRuntimeAttributes>
  38. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  39. <integer key="value" value="54"/>
  40. </userDefinedRuntimeAttribute>
  41. </userDefinedRuntimeAttributes>
  42. <connections>
  43. <action selector="ScanButtonClick:" destination="kVd-Bz-inR" eventType="touchUpInside" id="yma-nd-AN9"/>
  44. </connections>
  45. </button>
  46. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="pick_bg" translatesAutoresizingMaskIntoConstraints="NO" id="XWh-0J-sDJ">
  47. <rect key="frame" x="134" y="362" width="500" height="300"/>
  48. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
  49. </imageView>
  50. </subviews>
  51. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  52. </view>
  53. </subviews>
  54. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. </view>
  56. <navigationItem key="navigationItem" title="Scanner" id="Q4Z-q4-4V4"/>
  57. <connections>
  58. <outlet property="backgroundView" destination="YsE-DF-hiM" id="IER-tw-aql"/>
  59. <outlet property="focusZone" destination="XWh-0J-sDJ" id="0Yv-QM-d8Y"/>
  60. <outlet property="scanButton" destination="r3N-1u-7iO" id="Eeq-vI-mME"/>
  61. </connections>
  62. </viewController>
  63. <placeholder placeholderIdentifier="IBFirstResponder" id="hQT-6P-tva" userLabel="First Responder" sceneMemberID="firstResponder"/>
  64. </objects>
  65. <point key="canvasLocation" x="2777" y="-4303"/>
  66. </scene>
  67. <!--Scanner View Controller-->
  68. <scene sceneID="SH4-Uh-XKh">
  69. <objects>
  70. <viewController storyboardIdentifier="NewScannerViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="tcU-ug-x8T" customClass="ScannerViewController" sceneMemberID="viewController">
  71. <layoutGuides>
  72. <viewControllerLayoutGuide type="top" id="vJh-sb-kj6"/>
  73. <viewControllerLayoutGuide type="bottom" id="8tU-AM-64o"/>
  74. </layoutGuides>
  75. <view key="view" contentMode="scaleToFill" id="Jbd-IF-zOk">
  76. <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
  77. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  78. <subviews>
  79. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ym0-7Q-YSA" customClass="ScannerControllerView">
  80. <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
  81. <subviews>
  82. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="pick_bg" translatesAutoresizingMaskIntoConstraints="NO" id="AWN-OI-m1R">
  83. <rect key="frame" x="284" y="412" width="200" height="200"/>
  84. <color key="backgroundColor" red="0.064155410240000002" green="1" blue="0.59383154270000005" alpha="1" colorSpace="calibratedRGB"/>
  85. <constraints>
  86. <constraint firstAttribute="height" constant="200" id="38l-YS-3Mf"/>
  87. <constraint firstAttribute="width" constant="200" id="J44-fN-4A7"/>
  88. </constraints>
  89. </imageView>
  90. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="wordWrap" translatesAutoresizingMaskIntoConstraints="NO" id="V66-PS-hiP" userLabel="Button scan">
  91. <rect key="frame" x="668" y="924" width="80" height="80"/>
  92. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  93. <constraints>
  94. <constraint firstAttribute="width" constant="80" id="NqQ-6g-9PW"/>
  95. <constraint firstAttribute="height" constant="80" id="bJd-iL-CJN"/>
  96. </constraints>
  97. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  98. <state key="normal">
  99. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  101. </state>
  102. <userDefinedRuntimeAttributes>
  103. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  104. <integer key="value" value="40"/>
  105. </userDefinedRuntimeAttribute>
  106. </userDefinedRuntimeAttributes>
  107. <connections>
  108. <action selector="ScanButtonClick:" destination="kVd-Bz-inR" eventType="touchUpInside" id="pnM-dE-N0i"/>
  109. </connections>
  110. </button>
  111. </subviews>
  112. <color key="backgroundColor" red="0.25435081980000002" green="0.75957768849999996" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  113. <constraints>
  114. <constraint firstAttribute="trailing" secondItem="V66-PS-hiP" secondAttribute="trailing" constant="20" id="aGy-Ut-mhz"/>
  115. <constraint firstItem="AWN-OI-m1R" firstAttribute="centerX" secondItem="ym0-7Q-YSA" secondAttribute="centerX" id="dnB-Xj-nye"/>
  116. <constraint firstItem="AWN-OI-m1R" firstAttribute="centerY" secondItem="ym0-7Q-YSA" secondAttribute="centerY" id="ijX-CV-tZ4"/>
  117. <constraint firstAttribute="bottom" secondItem="V66-PS-hiP" secondAttribute="bottom" constant="20" id="rm6-2h-eOb"/>
  118. </constraints>
  119. </view>
  120. </subviews>
  121. <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/>
  122. <constraints>
  123. <constraint firstItem="ym0-7Q-YSA" firstAttribute="height" secondItem="Jbd-IF-zOk" secondAttribute="height" id="7Za-Ed-bwH"/>
  124. <constraint firstItem="ym0-7Q-YSA" firstAttribute="centerY" secondItem="Jbd-IF-zOk" secondAttribute="centerY" id="F9k-u4-ag8"/>
  125. <constraint firstItem="ym0-7Q-YSA" firstAttribute="centerX" secondItem="Jbd-IF-zOk" secondAttribute="centerX" id="n7A-j9-HUz"/>
  126. <constraint firstItem="ym0-7Q-YSA" firstAttribute="width" secondItem="Jbd-IF-zOk" secondAttribute="width" id="znP-vL-ANH"/>
  127. </constraints>
  128. </view>
  129. <connections>
  130. <outlet property="backgroundView" destination="ym0-7Q-YSA" id="8hJ-Zg-WKK"/>
  131. <outlet property="focusZone" destination="AWN-OI-m1R" id="IaT-gr-33p"/>
  132. <outlet property="scanButton" destination="V66-PS-hiP" id="8db-eA-TEF"/>
  133. </connections>
  134. </viewController>
  135. <placeholder placeholderIdentifier="IBFirstResponder" id="Xqj-1h-Bmj" userLabel="First Responder" sceneMemberID="firstResponder"/>
  136. </objects>
  137. <point key="canvasLocation" x="3545.3125" y="-4286.71875"/>
  138. </scene>
  139. <!--ScannerViewController-->
  140. <scene sceneID="ZZQ-hs-Ddc">
  141. <objects>
  142. <viewController storyboardIdentifier="ScannerViewController_iphone" title="ScannerViewController" useStoryboardIdentifierAsRestorationIdentifier="YES" id="W5h-sy-voL" customClass="ScannerViewController" sceneMemberID="viewController">
  143. <layoutGuides>
  144. <viewControllerLayoutGuide type="top" id="GXm-rU-QLH"/>
  145. <viewControllerLayoutGuide type="bottom" id="zUX-g0-Hkz"/>
  146. </layoutGuides>
  147. <view key="view" contentMode="scaleToFill" id="eYG-aJ-mn9">
  148. <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
  149. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  150. <subviews>
  151. <view contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="eLP-bM-zQa" customClass="ScannerControllerView">
  152. <rect key="frame" x="0.0" y="0.0" width="768" height="1024"/>
  153. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  154. <subviews>
  155. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="wordWrap" translatesAutoresizingMaskIntoConstraints="NO" id="ZFh-Hp-cqD" userLabel="Button scan">
  156. <rect key="frame" x="613" y="694" width="108" height="108"/>
  157. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMinY="YES"/>
  158. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  159. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  160. <state key="normal">
  161. <color key="titleColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  162. <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  163. </state>
  164. <userDefinedRuntimeAttributes>
  165. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  166. <integer key="value" value="54"/>
  167. </userDefinedRuntimeAttribute>
  168. </userDefinedRuntimeAttributes>
  169. <connections>
  170. <action selector="ScanButtonClick:" destination="W5h-sy-voL" eventType="touchUpInside" id="Wtj-5g-isM"/>
  171. </connections>
  172. </button>
  173. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" image="pick_bg" translatesAutoresizingMaskIntoConstraints="NO" id="oc0-9C-Kwa">
  174. <rect key="frame" x="134" y="362" width="500" height="300"/>
  175. <autoresizingMask key="autoresizingMask" flexibleMinX="YES" flexibleMaxX="YES" flexibleMinY="YES" flexibleMaxY="YES"/>
  176. </imageView>
  177. </subviews>
  178. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  179. </view>
  180. </subviews>
  181. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  182. </view>
  183. <navigationItem key="navigationItem" title="Scanner" id="5ze-4v-lO2"/>
  184. <connections>
  185. <outlet property="backgroundView" destination="eLP-bM-zQa" id="sXn-0Z-dFl"/>
  186. <outlet property="focusZone" destination="oc0-9C-Kwa" id="n3h-0p-HCr"/>
  187. <outlet property="scanButton" destination="ZFh-Hp-cqD" id="WD0-SO-tvT"/>
  188. </connections>
  189. </viewController>
  190. <placeholder placeholderIdentifier="IBFirstResponder" id="XcQ-aO-Vmu" userLabel="First Responder" sceneMemberID="firstResponder"/>
  191. </objects>
  192. <point key="canvasLocation" x="4319" y="-4286"/>
  193. </scene>
  194. </scenes>
  195. <resources>
  196. <image name="pick_bg" width="16" height="16"/>
  197. </resources>
  198. </document>