You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

Main.storyboard 45KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="BYZ-38-t0r">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <scenes>
  12. <!--View Controller-->
  13. <scene sceneID="tne-QT-ifu">
  14. <objects>
  15. <viewController id="BYZ-38-t0r" customClass="ViewController" sceneMemberID="viewController">
  16. <layoutGuides>
  17. <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
  18. <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
  19. </layoutGuides>
  20. <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
  21. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Unit" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fmz-Up-oVz">
  25. <rect key="frame" x="157.5" y="40" width="60" height="35"/>
  26. <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  27. <constraints>
  28. <constraint firstAttribute="width" constant="60" id="7Rz-lB-cl4"/>
  29. <constraint firstAttribute="height" constant="35" id="DFB-tq-8xi"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Lta-jT-th5">
  35. <rect key="frame" x="299" y="40" width="57" height="35"/>
  36. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  37. <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  39. <state key="normal" title="zero">
  40. <color key="titleColor" red="0.98823529409999999" green="0.99215686270000003" blue="0.99607843139999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  41. </state>
  42. <connections>
  43. <action selector="zeroClick:" destination="BYZ-38-t0r" eventType="touchUpInside" id="5zL-qr-dOS"/>
  44. </connections>
  45. </button>
  46. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="B7N-F7-BA1">
  47. <rect key="frame" x="20" y="40" width="129.5" height="35"/>
  48. <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  49. <constraints>
  50. <constraint firstAttribute="height" constant="35" id="rU5-23-9sE"/>
  51. </constraints>
  52. <fontDescription key="fontDescription" type="system" pointSize="8"/>
  53. <state key="normal" title="disconnect and stop scan">
  54. <color key="titleColor" red="0.98823529409999999" green="0.99215686270000003" blue="0.99607843139999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  55. </state>
  56. <connections>
  57. <action selector="breakConnect:" destination="BYZ-38-t0r" eventType="touchUpInside" id="39x-By-0PS"/>
  58. </connections>
  59. </button>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Not Connected" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UZz-VA-4Ie">
  61. <rect key="frame" x="224.5" y="40" width="71" height="35"/>
  62. <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  63. <accessibility key="accessibilityConfiguration">
  64. <accessibilityTraits key="traits" staticText="YES" adjustable="YES"/>
  65. </accessibility>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="35" id="ELH-zL-gAe"/>
  68. <constraint firstAttribute="width" constant="71" id="igt-ey-5lV"/>
  69. </constraints>
  70. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  71. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Weight" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hnA-sg-00L">
  75. <rect key="frame" x="19.5" y="87" width="336" height="93"/>
  76. <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  77. <constraints>
  78. <constraint firstAttribute="width" constant="336" id="ch8-HK-xxE"/>
  79. <constraint firstAttribute="height" constant="93" id="gde-Pm-oI2"/>
  80. </constraints>
  81. <fontDescription key="fontDescription" type="system" pointSize="20"/>
  82. <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
  83. <nil key="highlightedColor"/>
  84. </label>
  85. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="K9U-Cb-Dss">
  86. <rect key="frame" x="244" y="188" width="112" height="35"/>
  87. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  88. <color key="backgroundColor" red="0.16862745100000001" green="0.5568627451" blue="0.75294117650000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  89. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  90. <state key="normal" title="scan and connect">
  91. <color key="titleColor" red="0.98823529409999999" green="0.99215686270000003" blue="0.99607843139999996" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  92. </state>
  93. <connections>
  94. <action selector="linkBle:" destination="BYZ-38-t0r" eventType="touchUpInside" id="d12-LP-reJ"/>
  95. </connections>
  96. </button>
  97. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QN0-5x-oiW">
  98. <rect key="frame" x="198" y="316" width="75" height="34"/>
  99. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  100. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  101. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  102. <state key="normal" title="total calorie"/>
  103. <connections>
  104. <action selector="setTotalKcal:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Egm-sA-ekB"/>
  105. </connections>
  106. </button>
  107. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dYC-aI-DOb">
  108. <rect key="frame" x="19" y="316" width="75" height="34"/>
  109. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  110. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  111. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  112. <state key="normal" title="set weight"/>
  113. <connections>
  114. <action selector="setweight:" destination="BYZ-38-t0r" eventType="touchUpInside" id="EnA-89-Ksr"/>
  115. </connections>
  116. </button>
  117. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Tjj-JY-AcA">
  118. <rect key="frame" x="281" y="316" width="75" height="34"/>
  119. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  120. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  121. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  122. <state key="normal" title="total fat"/>
  123. <connections>
  124. <action selector="setTotalFat:" destination="BYZ-38-t0r" eventType="touchUpInside" id="W1i-RB-pCP"/>
  125. </connections>
  126. </button>
  127. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aHd-SV-ClN">
  128. <rect key="frame" x="197" y="358" width="75" height="34"/>
  129. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  130. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  131. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  132. <state key="normal" title="total fiber"/>
  133. <connections>
  134. <action selector="setTotalFiber:" destination="BYZ-38-t0r" eventType="touchUpInside" id="3BP-b7-CBe"/>
  135. </connections>
  136. </button>
  137. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bB7-ch-hEd">
  138. <rect key="frame" x="184" y="316" width="6" height="160"/>
  139. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  140. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  141. <connections>
  142. <action selector="setweight:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Sxa-0n-d5J"/>
  143. </connections>
  144. </button>
  145. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jNP-VH-9Hs">
  146. <rect key="frame" x="102" y="358" width="75" height="34"/>
  147. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  148. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  149. <fontDescription key="fontDescription" type="system" pointSize="8"/>
  150. <state key="normal" title="total carbohydrate"/>
  151. <connections>
  152. <action selector="setTotalCarbohydrates:" destination="BYZ-38-t0r" eventType="touchUpInside" id="DHh-1Q-DRV"/>
  153. </connections>
  154. </button>
  155. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Zhs-16-laT">
  156. <rect key="frame" x="18" y="358" width="75" height="34"/>
  157. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  158. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  159. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  160. <state key="normal" title="total protein"/>
  161. <connections>
  162. <action selector="setTotalProtein:" destination="BYZ-38-t0r" eventType="touchUpInside" id="pSY-OV-hWL"/>
  163. </connections>
  164. </button>
  165. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="yav-W6-U1P">
  166. <rect key="frame" x="280" y="358" width="75" height="34"/>
  167. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  168. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  169. <fontDescription key="fontDescription" type="system" pointSize="8"/>
  170. <state key="normal" title="total cholestenone"/>
  171. <connections>
  172. <action selector="setTotalCholesterol:" destination="BYZ-38-t0r" eventType="touchUpInside" id="F61-ss-WUg"/>
  173. </connections>
  174. </button>
  175. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="62R-0M-lRo">
  176. <rect key="frame" x="197" y="400" width="75" height="34"/>
  177. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  178. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  179. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  180. <state key="normal" title="fat"/>
  181. <connections>
  182. <action selector="setFat:" destination="BYZ-38-t0r" eventType="touchUpInside" id="nrd-fc-7Sx"/>
  183. </connections>
  184. </button>
  185. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="pfA-SF-uWV">
  186. <rect key="frame" x="101" y="400" width="75" height="34"/>
  187. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  188. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  189. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  190. <state key="normal" title="total sugar"/>
  191. <connections>
  192. <action selector="setTotalSuger:" destination="BYZ-38-t0r" eventType="touchUpInside" id="1ou-ar-TDc"/>
  193. </connections>
  194. </button>
  195. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Adl-yc-RgY">
  196. <rect key="frame" x="18" y="400" width="75" height="34"/>
  197. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  198. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  199. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  200. <state key="normal" title="total Na"/>
  201. <connections>
  202. <action selector="setTotalSodium:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Ofn-kU-I0p"/>
  203. </connections>
  204. </button>
  205. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="BuN-Kd-HBC">
  206. <rect key="frame" x="280" y="400" width="75" height="34"/>
  207. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  208. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  209. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  210. <state key="normal" title="protein"/>
  211. <connections>
  212. <action selector="setProtein:" destination="BYZ-38-t0r" eventType="touchUpInside" id="hTn-Ue-LoY"/>
  213. </connections>
  214. </button>
  215. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GDF-5S-qGW">
  216. <rect key="frame" x="198" y="442" width="75" height="34"/>
  217. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  218. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  219. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  220. <state key="normal" title="Na"/>
  221. <connections>
  222. <action selector="setSodium:" destination="BYZ-38-t0r" eventType="touchUpInside" id="Qle-4d-ETI"/>
  223. </connections>
  224. </button>
  225. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RDh-a4-8UP">
  226. <rect key="frame" x="102" y="442" width="75" height="34"/>
  227. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  228. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  229. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  230. <state key="normal" title="fiber"/>
  231. <connections>
  232. <action selector="setFiber:" destination="BYZ-38-t0r" eventType="touchUpInside" id="EAX-Wh-O58"/>
  233. </connections>
  234. </button>
  235. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5Hn-mG-UCU">
  236. <rect key="frame" x="19" y="442" width="75" height="34"/>
  237. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  238. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  239. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  240. <state key="normal" title="carbohydrate"/>
  241. <connections>
  242. <action selector="setCarbohydrates:" destination="BYZ-38-t0r" eventType="touchUpInside" id="fm4-4o-aqf"/>
  243. </connections>
  244. </button>
  245. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="5sx-HA-qoK">
  246. <rect key="frame" x="281" y="442" width="75" height="34"/>
  247. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  248. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  249. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  250. <state key="normal" title="sugar"/>
  251. <connections>
  252. <action selector="setSuger:" destination="BYZ-38-t0r" eventType="touchUpInside" id="MmL-Ts-Uk7"/>
  253. </connections>
  254. </button>
  255. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uP5-Uj-qbZ">
  256. <rect key="frame" x="20" y="484" width="73" height="34"/>
  257. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  258. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  259. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  260. <state key="normal" title="cholestenone"/>
  261. <connections>
  262. <action selector="setCholesterol:" destination="BYZ-38-t0r" eventType="touchUpInside" id="pyd-cM-3tQ"/>
  263. </connections>
  264. </button>
  265. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EH8-Dz-J4n">
  266. <rect key="frame" x="102" y="316" width="75" height="34"/>
  267. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  268. <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  269. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  270. <state key="normal" title="calorie"/>
  271. <connections>
  272. <action selector="setKcal:" destination="BYZ-38-t0r" eventType="touchUpInside" id="8Qc-yN-dq8"/>
  273. </connections>
  274. </button>
  275. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="4rd-kO-TDn">
  276. <rect key="frame" x="20" y="232" width="90" height="30"/>
  277. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  278. <nil key="textColor"/>
  279. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  280. <textInputTraits key="textInputTraits"/>
  281. <connections>
  282. <action selector="WeightInput_one:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="eBa-7L-0Cf"/>
  283. </connections>
  284. </textField>
  285. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="dlV-Cm-f68">
  286. <rect key="frame" x="185" y="232" width="95" height="30"/>
  287. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  288. <nil key="textColor"/>
  289. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  290. <textInputTraits key="textInputTraits"/>
  291. <connections>
  292. <action selector="WeightInput_two:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="cd8-FT-1Wb"/>
  293. </connections>
  294. </textField>
  295. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="tNy-T9-sEZ">
  296. <rect key="frame" x="20" y="270" width="90" height="30"/>
  297. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  298. <nil key="textColor"/>
  299. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  300. <textInputTraits key="textInputTraits"/>
  301. <connections>
  302. <action selector="WeightInput_three:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="gvp-u6-iKa"/>
  303. </connections>
  304. </textField>
  305. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="OQ7-iN-9kk">
  306. <rect key="frame" x="185" y="270" width="95" height="30"/>
  307. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  308. <nil key="textColor"/>
  309. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  310. <textInputTraits key="textInputTraits"/>
  311. <connections>
  312. <action selector="WeightInput_four:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="DeN-ii-EPS"/>
  313. </connections>
  314. </textField>
  315. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oWY-3L-Jt2">
  316. <rect key="frame" x="124" y="231" width="53" height="30"/>
  317. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  318. <color key="backgroundColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  319. <state key="normal" title="set"/>
  320. <connections>
  321. <action selector="setWeight_one:" destination="BYZ-38-t0r" eventType="touchUpInside" id="LoH-pc-WXb"/>
  322. </connections>
  323. </button>
  324. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="mcy-pN-j9I">
  325. <rect key="frame" x="288" y="232" width="68" height="30"/>
  326. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  327. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  328. <state key="normal" title="set"/>
  329. <connections>
  330. <action selector="setWeight_two:" destination="BYZ-38-t0r" eventType="touchUpInside" id="719-iY-Cc5"/>
  331. </connections>
  332. </button>
  333. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qUs-lm-aZz">
  334. <rect key="frame" x="125" y="269" width="52" height="30"/>
  335. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  336. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  337. <state key="normal" title="set"/>
  338. <connections>
  339. <action selector="SetWeight_three:" destination="BYZ-38-t0r" eventType="touchUpInside" id="YuA-cb-qe0"/>
  340. </connections>
  341. </button>
  342. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ySq-f6-v6H">
  343. <rect key="frame" x="288" y="269" width="68" height="30"/>
  344. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  345. <color key="backgroundColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  346. <state key="normal" title="set"/>
  347. <connections>
  348. <action selector="setWeight_four:" destination="BYZ-38-t0r" eventType="touchUpInside" id="XvD-kk-jff"/>
  349. </connections>
  350. </button>
  351. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Enter the number and click thebutton to set" textAlignment="center" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="gEn-KV-DuW">
  352. <rect key="frame" x="105" y="488" width="250" height="30"/>
  353. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  354. <nil key="textColor"/>
  355. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  356. <textInputTraits key="textInputTraits"/>
  357. <connections>
  358. <action selector="inputData:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="BGk-vl-biE"/>
  359. </connections>
  360. </textField>
  361. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="weight" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="TNU-bA-lwN">
  362. <rect key="frame" x="20" y="526" width="97" height="30"/>
  363. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  364. <nil key="textColor"/>
  365. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  366. <textInputTraits key="textInputTraits"/>
  367. <connections>
  368. <action selector="ForWeight:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="wQf-PB-uuc"/>
  369. </connections>
  370. </textField>
  371. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="totalKCAL" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="Xq7-S2-1m0">
  372. <rect key="frame" x="140" y="526" width="97" height="30"/>
  373. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  374. <nil key="textColor"/>
  375. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  376. <textInputTraits key="textInputTraits"/>
  377. <connections>
  378. <action selector="ForKcal:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="dzs-in-g4h"/>
  379. </connections>
  380. </textField>
  381. <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ssw-HO-QB3">
  382. <rect key="frame" x="20" y="564" width="74" height="30"/>
  383. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  384. <color key="backgroundColor" red="0.0078431372550000003" green="0.59999999999999998" blue="0.76078431369999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  385. <state key="normal" title="开始设置"/>
  386. <connections>
  387. <action selector="StartSet:" destination="BYZ-38-t0r" eventType="touchUpInside" id="udE-5m-GnR"/>
  388. </connections>
  389. </button>
  390. <textField opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="Kcal" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="zR6-bk-7KI">
  391. <rect key="frame" x="258" y="526" width="97" height="30"/>
  392. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  393. <nil key="textColor"/>
  394. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  395. <textInputTraits key="textInputTraits"/>
  396. <connections>
  397. <action selector="ForTotalKcal:" destination="BYZ-38-t0r" eventType="editingDidEnd" id="wzH-CT-iHA"/>
  398. </connections>
  399. </textField>
  400. </subviews>
  401. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  402. <constraints>
  403. <constraint firstItem="fmz-Up-oVz" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="3GX-95-Fu8"/>
  404. <constraint firstItem="fmz-Up-oVz" firstAttribute="leading" secondItem="B7N-F7-BA1" secondAttribute="trailing" constant="8" id="KQm-4Q-6bo"/>
  405. <constraint firstItem="hnA-sg-00L" firstAttribute="centerX" secondItem="8bC-Xf-vdC" secondAttribute="centerX" id="N4g-42-oBP"/>
  406. <constraint firstItem="fmz-Up-oVz" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="PVK-DK-o7G"/>
  407. <constraint firstItem="B7N-F7-BA1" firstAttribute="leading" secondItem="8bC-Xf-vdC" secondAttribute="leading" constant="20" id="SDq-0X-wvl"/>
  408. <constraint firstItem="UZz-VA-4Ie" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="XET-gw-t3U"/>
  409. <constraint firstItem="hnA-sg-00L" firstAttribute="top" secondItem="fmz-Up-oVz" secondAttribute="bottom" constant="12" id="eR6-TW-5dN"/>
  410. <constraint firstItem="B7N-F7-BA1" firstAttribute="top" secondItem="y3c-jy-aDJ" secondAttribute="bottom" constant="20" id="kSY-yP-gMn"/>
  411. <constraint firstItem="UZz-VA-4Ie" firstAttribute="leading" secondItem="fmz-Up-oVz" secondAttribute="trailing" constant="7" id="t0G-e4-Ec0"/>
  412. </constraints>
  413. </view>
  414. <connections>
  415. <outlet property="ForKcal_TF" destination="Xq7-S2-1m0" id="wMp-KC-4Rw"/>
  416. <outlet property="ForTotalKcal_TF" destination="zR6-bk-7KI" id="RYG-2V-rFC"/>
  417. <outlet property="ForWeight_TF" destination="TNU-bA-lwN" id="t6B-KG-8a4"/>
  418. <outlet property="WeightTF_four" destination="OQ7-iN-9kk" id="cAp-gL-9eF"/>
  419. <outlet property="WeightTF_one" destination="4rd-kO-TDn" id="a7f-mm-8yJ"/>
  420. <outlet property="WeightTF_three" destination="tNy-T9-sEZ" id="I74-VR-g4b"/>
  421. <outlet property="WeightTF_two" destination="dlV-Cm-f68" id="SOi-aW-tq9"/>
  422. <outlet property="bleStatus" destination="UZz-VA-4Ie" id="dvX-e2-gdR"/>
  423. <outlet property="dataTextFiled" destination="gEn-KV-DuW" id="NJc-qb-5JH"/>
  424. <outlet property="unitLabel" destination="fmz-Up-oVz" id="9ad-UK-kig"/>
  425. <outlet property="weightLabel" destination="hnA-sg-00L" id="YvR-3h-yRj"/>
  426. <outlet property="zerobutton" destination="Lta-jT-th5" id="f3P-g3-nBO"/>
  427. </connections>
  428. </viewController>
  429. <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
  430. </objects>
  431. <point key="canvasLocation" x="285.60000000000002" y="344.97751124437787"/>
  432. </scene>
  433. </scenes>
  434. </document>