Main.storyboard 50 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES" initialViewController="49e-Tb-3d3">
  3. <device id="retina6_5" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  6. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  7. <capability name="Stack View standard spacing" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <scenes>
  11. <!--Home-->
  12. <scene sceneID="hNz-n2-bh7">
  13. <objects>
  14. <viewController id="9pv-A4-QxB" userLabel="Home" customClass="MainViewController" customModule="Loop_Follow" customModuleProvider="target" sceneMemberID="viewController">
  15. <view key="view" contentMode="scaleToFill" id="tsR-hK-woN">
  16. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  17. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  18. <subviews>
  19. <stackView opaque="NO" contentMode="scaleToFill" spacing="54" translatesAutoresizingMaskIntoConstraints="NO" id="mJy-Ly-Jze">
  20. <rect key="frame" x="8" y="52" width="398" height="252"/>
  21. <subviews>
  22. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Ptf-fu-Ue4" userLabel="BGview">
  23. <rect key="frame" x="0.0" y="0.0" width="144" height="252"/>
  24. <subviews>
  25. <label opaque="NO" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="BG" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vXU-IW-GOL">
  26. <rect key="frame" x="0.0" y="0.0" width="144" height="139.66666666666666"/>
  27. <fontDescription key="fontDescription" type="system" weight="black" pointSize="85"/>
  28. <nil key="textColor"/>
  29. <nil key="highlightedColor"/>
  30. </label>
  31. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="KZc-fa-qmt">
  32. <rect key="frame" x="0.0" y="139.66666666666666" width="144" height="71.666666666666657"/>
  33. <subviews>
  34. <label opaque="NO" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="--" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4sd-6h-LSj" userLabel="Direction">
  35. <rect key="frame" x="0.0" y="0.0" width="72" height="71.666666666666671"/>
  36. <fontDescription key="fontDescription" type="system" weight="black" pointSize="60"/>
  37. <nil key="textColor"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="1000" text="Delta" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sb7-g9-JNv" userLabel="Delta">
  41. <rect key="frame" x="72" y="0.0" width="72" height="71.666666666666671"/>
  42. <fontDescription key="fontDescription" type="system" pointSize="32"/>
  43. <nil key="textColor"/>
  44. <color key="highlightedColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  45. </label>
  46. </subviews>
  47. </stackView>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MinAgo" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UkG-hw-DVo">
  49. <rect key="frame" x="0.0" y="211.33333333333331" width="144" height="20.333333333333343"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  51. <nil key="textColor"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacingType="standard" translatesAutoresizingMaskIntoConstraints="NO" id="TDG-yw-5fS">
  55. <rect key="frame" x="0.0" y="231.66666666666669" width="144" height="20.333333333333343"/>
  56. <subviews>
  57. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Loop" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XEm-uK-Xui">
  58. <rect key="frame" x="0.0" y="0.0" width="68" height="20.333333333333332"/>
  59. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  60. <nil key="textColor"/>
  61. <nil key="highlightedColor"/>
  62. </label>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Prediction" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="oiR-SM-6sg">
  64. <rect key="frame" x="76" y="0.0" width="68" height="20.333333333333332"/>
  65. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  66. <nil key="textColor"/>
  67. <nil key="highlightedColor"/>
  68. </label>
  69. </subviews>
  70. </stackView>
  71. </subviews>
  72. </stackView>
  73. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" allowsSelection="NO" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="kTs-7g-lp9">
  74. <rect key="frame" x="198" y="0.0" width="200" height="252"/>
  75. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  76. <constraints>
  77. <constraint firstAttribute="width" priority="750" constant="250" id="Gxe-cX-1oe"/>
  78. </constraints>
  79. <prototypes>
  80. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" insetsLayoutMarginsFromSafeArea="NO" selectionStyle="blue" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="LabelCell" textLabel="gif-qe-9mv" detailTextLabel="hfT-xF-eNt" style="IBUITableViewCellStyleValue1" id="GJo-f1-ajA">
  81. <rect key="frame" x="0.0" y="28" width="200" height="43.666667938232422"/>
  82. <autoresizingMask key="autoresizingMask"/>
  83. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" insetsLayoutMarginsFromSafeArea="NO" tableViewCell="GJo-f1-ajA" id="2H1-eI-xS5">
  84. <rect key="frame" x="0.0" y="0.0" width="200" height="43.666667938232422"/>
  85. <autoresizingMask key="autoresizingMask"/>
  86. <subviews>
  87. <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="gif-qe-9mv">
  88. <rect key="frame" x="16.000000000000004" y="11.999999999999998" width="33.333333333333336" height="20.333333333333332"/>
  89. <autoresizingMask key="autoresizingMask"/>
  90. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  91. <nil key="textColor"/>
  92. <nil key="highlightedColor"/>
  93. </label>
  94. <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" insetsLayoutMarginsFromSafeArea="NO" text="Detail" textAlignment="right" lineBreakMode="characterWrap" baselineAdjustment="none" minimumFontSize="8" adjustsLetterSpacingToFitWidth="YES" adjustsFontForContentSizeCategory="YES" id="hfT-xF-eNt">
  95. <rect key="frame" x="140" y="11.999999999999998" width="44" height="20.333333333333332"/>
  96. <autoresizingMask key="autoresizingMask"/>
  97. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  98. <nil key="textColor"/>
  99. <nil key="highlightedColor"/>
  100. </label>
  101. </subviews>
  102. </tableViewCellContentView>
  103. </tableViewCell>
  104. </prototypes>
  105. </tableView>
  106. </subviews>
  107. </stackView>
  108. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="51B-JU-npv" customClass="LineChartView" customModule="Charts">
  109. <rect key="frame" x="8" y="312" width="398" height="317"/>
  110. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  111. </view>
  112. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="XsT-6R-Vym">
  113. <rect key="frame" x="8" y="705" width="398" height="100"/>
  114. <subviews>
  115. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Hhh-F1-s1p" customClass="PieChartView" customModule="Charts">
  116. <rect key="frame" x="0.0" y="0.0" width="100" height="100"/>
  117. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  118. <constraints>
  119. <constraint firstAttribute="width" constant="100" id="hv8-WM-AJ7"/>
  120. <constraint firstAttribute="height" constant="100" id="yN0-Vb-FTT"/>
  121. </constraints>
  122. </view>
  123. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillEqually" translatesAutoresizingMaskIntoConstraints="NO" id="wy3-R2-YQR">
  124. <rect key="frame" x="100" y="0.0" width="298" height="100"/>
  125. <subviews>
  126. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" alignment="top" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="FTW-Gd-zoi">
  127. <rect key="frame" x="0.0" y="0.0" width="298" height="50"/>
  128. <subviews>
  129. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="Xt9-qX-IQe">
  130. <rect key="frame" x="0.0" y="0.0" width="92.666666666666671" height="50"/>
  131. <subviews>
  132. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Low:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="sUB-nL-H1B">
  133. <rect key="frame" x="30.333333333333343" y="0.0" width="32" height="18"/>
  134. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  135. <nil key="textColor"/>
  136. <nil key="highlightedColor"/>
  137. </label>
  138. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TzL-hn-9qu">
  139. <rect key="frame" x="13.333333333333329" y="18" width="66.333333333333329" height="32"/>
  140. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  141. <nil key="textColor"/>
  142. <nil key="highlightedColor"/>
  143. </label>
  144. </subviews>
  145. </stackView>
  146. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="n6P-oO-ivx">
  147. <rect key="frame" x="102.66666666666666" y="0.0" width="92.666666666666657" height="50"/>
  148. <subviews>
  149. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="In Range:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="zBu-Uf-0IS">
  150. <rect key="frame" x="14.333333333333343" y="0.0" width="64" height="18"/>
  151. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  152. <nil key="textColor"/>
  153. <nil key="highlightedColor"/>
  154. </label>
  155. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7mH-Np-j0L">
  156. <rect key="frame" x="13.333333333333343" y="18" width="66.333333333333329" height="32"/>
  157. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  158. <nil key="textColor"/>
  159. <nil key="highlightedColor"/>
  160. </label>
  161. </subviews>
  162. </stackView>
  163. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="K2J-AH-Hj1">
  164. <rect key="frame" x="205.33333333333331" y="0.0" width="92.666666666666686" height="50"/>
  165. <subviews>
  166. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="High:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0Zq-6s-y8B">
  167. <rect key="frame" x="28.333333333333375" y="0.0" width="36.333333333333343" height="18"/>
  168. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  169. <nil key="textColor"/>
  170. <nil key="highlightedColor"/>
  171. </label>
  172. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HON-rt-8pC">
  173. <rect key="frame" x="13.333333333333371" y="18" width="66.333333333333329" height="32"/>
  174. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  175. <nil key="textColor"/>
  176. <nil key="highlightedColor"/>
  177. </label>
  178. </subviews>
  179. </stackView>
  180. </subviews>
  181. </stackView>
  182. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="jwr-iC-EjI">
  183. <rect key="frame" x="0.0" y="50" width="298" height="50"/>
  184. <subviews>
  185. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="MsS-p8-G83">
  186. <rect key="frame" x="0.0" y="0.0" width="144" height="50"/>
  187. <subviews>
  188. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Avg BG:" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tpy-y3-B9A">
  189. <rect key="frame" x="0.0" y="0.0" width="87" height="50"/>
  190. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  191. <nil key="textColor"/>
  192. <nil key="highlightedColor"/>
  193. </label>
  194. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cDE-hR-Tao">
  195. <rect key="frame" x="87" y="0.0" width="57" height="50"/>
  196. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  197. <nil key="textColor"/>
  198. <nil key="highlightedColor"/>
  199. </label>
  200. </subviews>
  201. </stackView>
  202. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="JF5-Vh-r16">
  203. <rect key="frame" x="154" y="0.0" width="144" height="50"/>
  204. <subviews>
  205. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="Est A1C:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="BSh-qP-ZnD">
  206. <rect key="frame" x="0.0" y="0.0" width="56.333333333333336" height="50"/>
  207. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  208. <nil key="textColor"/>
  209. <nil key="highlightedColor"/>
  210. </label>
  211. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" ambiguous="YES" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Vxv-1M-W8k">
  212. <rect key="frame" x="56.333333333333321" y="0.0" width="87.666666666666686" height="50"/>
  213. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  214. <nil key="textColor"/>
  215. <nil key="highlightedColor"/>
  216. </label>
  217. </subviews>
  218. </stackView>
  219. </subviews>
  220. </stackView>
  221. </subviews>
  222. </stackView>
  223. </subviews>
  224. <constraints>
  225. <constraint firstAttribute="height" constant="100" id="vSk-uf-eTS"/>
  226. </constraints>
  227. </stackView>
  228. <view autoresizesSubviews="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Nml-lr-dgQ" userLabel="BGChartFull" customClass="LineChartView" customModule="Charts">
  229. <rect key="frame" x="8" y="637" width="398" height="60"/>
  230. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  231. <constraints>
  232. <constraint firstAttribute="height" priority="750" constant="60" id="qmO-ga-QWl"/>
  233. </constraints>
  234. </view>
  235. </subviews>
  236. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  237. <constraints>
  238. <constraint firstItem="51B-JU-npv" firstAttribute="top" secondItem="mJy-Ly-Jze" secondAttribute="bottom" constant="8" id="2Qj-m5-4Yj"/>
  239. <constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="Nml-lr-dgQ" secondAttribute="trailing" constant="8" id="5dn-w0-XWn"/>
  240. <constraint firstItem="PQr-Ze-W5v" firstAttribute="bottom" secondItem="XsT-6R-Vym" secondAttribute="bottom" constant="8" id="Baa-Eh-DAi"/>
  241. <constraint firstItem="Nml-lr-dgQ" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="D6D-3r-YIy"/>
  242. <constraint firstItem="XsT-6R-Vym" firstAttribute="top" secondItem="Nml-lr-dgQ" secondAttribute="bottom" constant="8" id="Gkd-ML-hdj"/>
  243. <constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="mJy-Ly-Jze" secondAttribute="trailing" constant="8" id="KcX-yW-Vnd"/>
  244. <constraint firstItem="XsT-6R-Vym" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="N7t-TY-9hH"/>
  245. <constraint firstItem="mJy-Ly-Jze" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="b30-Y0-qsu"/>
  246. <constraint firstItem="51B-JU-npv" firstAttribute="leading" secondItem="PQr-Ze-W5v" secondAttribute="leading" constant="8" id="dfE-Q6-SML"/>
  247. <constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="XsT-6R-Vym" secondAttribute="trailing" constant="8" id="kqo-fO-gPZ"/>
  248. <constraint firstItem="PQr-Ze-W5v" firstAttribute="trailing" secondItem="51B-JU-npv" secondAttribute="trailing" constant="8" id="oqO-3J-e8a"/>
  249. <constraint firstItem="Nml-lr-dgQ" firstAttribute="top" secondItem="51B-JU-npv" secondAttribute="bottom" constant="8" id="woM-1z-QyB"/>
  250. <constraint firstItem="mJy-Ly-Jze" firstAttribute="top" secondItem="PQr-Ze-W5v" secondAttribute="top" constant="8" id="xem-Lc-bdU"/>
  251. </constraints>
  252. <viewLayoutGuide key="safeArea" id="PQr-Ze-W5v"/>
  253. </view>
  254. <tabBarItem key="tabBarItem" title="Home" image="house" catalog="system" id="acW-dT-cKf" userLabel="Home"/>
  255. <connections>
  256. <outlet property="BGChart" destination="51B-JU-npv" id="oF1-UA-KHE"/>
  257. <outlet property="BGChartFull" destination="Nml-lr-dgQ" id="Z21-fG-GK9"/>
  258. <outlet property="BGText" destination="vXU-IW-GOL" id="2aC-pv-Qbg"/>
  259. <outlet property="DeltaText" destination="sb7-g9-JNv" id="h7s-Yj-i4M"/>
  260. <outlet property="DirectionText" destination="4sd-6h-LSj" id="lB5-Z0-p25"/>
  261. <outlet property="LoopStatusLabel" destination="XEm-uK-Xui" id="EBm-Ta-tZ1"/>
  262. <outlet property="MinAgoText" destination="UkG-hw-DVo" id="Xd2-fL-qYC"/>
  263. <outlet property="PredictionLabel" destination="oiR-SM-6sg" id="2Sw-TR-SFo"/>
  264. <outlet property="infoTable" destination="kTs-7g-lp9" id="Khq-sV-EZ1"/>
  265. <outlet property="statsAvgBG" destination="cDE-hR-Tao" id="SGK-z7-di4"/>
  266. <outlet property="statsEstA1C" destination="Vxv-1M-W8k" id="CpH-4t-haS"/>
  267. <outlet property="statsHighPercent" destination="HON-rt-8pC" id="283-3S-PCR"/>
  268. <outlet property="statsInRangePercent" destination="7mH-Np-j0L" id="vUp-Pv-Mva"/>
  269. <outlet property="statsLowPercent" destination="TzL-hn-9qu" id="0QR-Mz-KJe"/>
  270. <outlet property="statsPieChart" destination="Hhh-F1-s1p" id="Rhh-Up-Kr0"/>
  271. </connections>
  272. </viewController>
  273. <placeholder placeholderIdentifier="IBFirstResponder" id="W5J-7L-Pyd" sceneMemberID="firstResponder"/>
  274. </objects>
  275. <point key="canvasLocation" x="-1497.1014492753625" y="745.98214285714278"/>
  276. </scene>
  277. <!--Snoozer-->
  278. <scene sceneID="gSd-1V-vbL">
  279. <objects>
  280. <viewController id="e0E-cx-0Wr" customClass="SnoozeViewController" customModule="Loop_Follow" customModuleProvider="target" sceneMemberID="viewController">
  281. <view key="view" contentMode="scaleToFill" id="oqe-Oz-Hai">
  282. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  283. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  284. <subviews>
  285. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="ZaU-Ss-piB" userLabel="BGview">
  286. <rect key="frame" x="8" y="52" width="398" height="753"/>
  287. <subviews>
  288. <label opaque="NO" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="BG" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Iq3-I1-HX0">
  289. <rect key="frame" x="0.0" y="0.0" width="398" height="101.66666666666667"/>
  290. <fontDescription key="fontDescription" type="system" weight="black" pointSize="85"/>
  291. <nil key="textColor"/>
  292. <nil key="highlightedColor"/>
  293. </label>
  294. <label opaque="NO" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hLM-Es-BOa" userLabel="Direction">
  295. <rect key="frame" x="0.0" y="101.66666666666666" width="398" height="71.666666666666657"/>
  296. <fontDescription key="fontDescription" type="system" weight="black" pointSize="60"/>
  297. <nil key="textColor"/>
  298. <nil key="highlightedColor"/>
  299. </label>
  300. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Delta" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YCF-22-z3g" userLabel="Delta">
  301. <rect key="frame" x="0.0" y="173.33333333333334" width="398" height="38.333333333333343"/>
  302. <fontDescription key="fontDescription" type="system" pointSize="32"/>
  303. <nil key="textColor"/>
  304. <color key="highlightedColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  305. </label>
  306. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="MinAgo" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="HNC-P8-PbV">
  307. <rect key="frame" x="0.0" y="211.66666666666669" width="398" height="14.333333333333343"/>
  308. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  309. <nil key="textColor"/>
  310. <nil key="highlightedColor"/>
  311. </label>
  312. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xzZ-jc-k2v">
  313. <rect key="frame" x="0.0" y="226" width="398" height="527"/>
  314. <subviews>
  315. <stackView opaque="NO" contentMode="scaleToFill" misplaced="YES" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="HFL-Ye-6HR">
  316. <rect key="frame" x="125" y="229.33333333333331" width="144.33333333333337" height="84"/>
  317. <subviews>
  318. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Alert Name" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tiA-fs-ZRV">
  319. <rect key="frame" x="0.0" y="0.0" width="144.33333333333334" height="36"/>
  320. <fontDescription key="fontDescription" type="system" pointSize="30"/>
  321. <nil key="textColor"/>
  322. <nil key="highlightedColor"/>
  323. </label>
  324. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Meu-VT-byv">
  325. <rect key="frame" x="0.0" y="35.999999999999943" width="144.33333333333334" height="48"/>
  326. <color key="backgroundColor" systemColor="labelColor" cocoaTouchSystemColor="darkTextColor"/>
  327. <fontDescription key="fontDescription" type="system" pointSize="30"/>
  328. <state key="normal" title="Snooze">
  329. <color key="titleColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  330. </state>
  331. <connections>
  332. <action selector="SnoozeButton:" destination="e0E-cx-0Wr" eventType="touchUpInside" id="vNY-W3-rAn"/>
  333. </connections>
  334. </button>
  335. </subviews>
  336. </stackView>
  337. </subviews>
  338. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  339. <constraints>
  340. <constraint firstItem="HFL-Ye-6HR" firstAttribute="centerY" secondItem="xzZ-jc-k2v" secondAttribute="centerY" id="7yv-SD-WC5"/>
  341. <constraint firstItem="HFL-Ye-6HR" firstAttribute="centerX" secondItem="xzZ-jc-k2v" secondAttribute="centerX" id="9b8-g8-Qgc"/>
  342. </constraints>
  343. </view>
  344. </subviews>
  345. </stackView>
  346. </subviews>
  347. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  348. <constraints>
  349. <constraint firstItem="Dt4-CR-Iqb" firstAttribute="trailing" secondItem="ZaU-Ss-piB" secondAttribute="trailing" constant="8" id="IRK-1u-ILj"/>
  350. <constraint firstItem="ZaU-Ss-piB" firstAttribute="leading" secondItem="Dt4-CR-Iqb" secondAttribute="leading" constant="8" id="Rbf-PP-eex"/>
  351. <constraint firstItem="Dt4-CR-Iqb" firstAttribute="bottom" secondItem="xzZ-jc-k2v" secondAttribute="bottom" constant="8" id="bY3-br-SWl"/>
  352. <constraint firstItem="ZaU-Ss-piB" firstAttribute="centerY" secondItem="Dt4-CR-Iqb" secondAttribute="centerY" id="zwJ-ul-uJh"/>
  353. </constraints>
  354. <viewLayoutGuide key="safeArea" id="Dt4-CR-Iqb"/>
  355. </view>
  356. <tabBarItem key="tabBarItem" title="Snoozer" image="zzz" catalog="system" id="TdI-rW-rdW"/>
  357. <connections>
  358. <outlet property="AlertLabel" destination="tiA-fs-ZRV" id="bGa-wR-GbX"/>
  359. <outlet property="BGLabel" destination="Iq3-I1-HX0" id="nkC-0M-OpG"/>
  360. <outlet property="DeltaLabel" destination="YCF-22-z3g" id="bmQ-Wc-E3S"/>
  361. <outlet property="DirectionLabel" destination="hLM-Es-BOa" id="Q2e-By-G1t"/>
  362. <outlet property="MinAgoLabel" destination="HNC-P8-PbV" id="gLP-TD-hOq"/>
  363. <outlet property="SnoozeButton" destination="Meu-VT-byv" id="Xnm-tj-t53"/>
  364. </connections>
  365. </viewController>
  366. <placeholder placeholderIdentifier="IBFirstResponder" id="5xM-cL-5VG" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  367. </objects>
  368. <point key="canvasLocation" x="2100" y="745.98214285714278"/>
  369. </scene>
  370. <!--Nightscout-->
  371. <scene sceneID="wg7-f3-ORb">
  372. <objects>
  373. <viewController id="8rJ-Kc-sve" customClass="NightscoutViewController" customModule="Loop_Follow" customModuleProvider="target" sceneMemberID="viewController">
  374. <view key="view" contentMode="scaleToFill" id="QS5-Rx-YEW">
  375. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  376. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  377. <subviews>
  378. <wkWebView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5Xw-bG-4Kg">
  379. <rect key="frame" x="0.0" y="44" width="414" height="769"/>
  380. <color key="backgroundColor" red="0.36078431370000003" green="0.38823529410000002" blue="0.4039215686" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  381. <wkWebViewConfiguration key="configuration">
  382. <audiovisualMediaTypes key="mediaTypesRequiringUserActionForPlayback" none="YES"/>
  383. <wkPreferences key="preferences"/>
  384. </wkWebViewConfiguration>
  385. </wkWebView>
  386. </subviews>
  387. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  388. <constraints>
  389. <constraint firstItem="5Xw-bG-4Kg" firstAttribute="top" secondItem="O1u-W8-tvY" secondAttribute="top" id="5V4-Ga-6op"/>
  390. <constraint firstItem="5Xw-bG-4Kg" firstAttribute="leading" secondItem="QS5-Rx-YEW" secondAttribute="leading" id="FaP-vT-thb"/>
  391. <constraint firstItem="O1u-W8-tvY" firstAttribute="bottom" secondItem="5Xw-bG-4Kg" secondAttribute="bottom" id="QgW-jN-ThE"/>
  392. <constraint firstAttribute="trailing" secondItem="5Xw-bG-4Kg" secondAttribute="trailing" id="hoj-B8-6r3"/>
  393. </constraints>
  394. <viewLayoutGuide key="safeArea" id="O1u-W8-tvY"/>
  395. </view>
  396. <tabBarItem key="tabBarItem" title="Nightscout" image="safari" catalog="system" id="cPa-gy-q4n"/>
  397. <connections>
  398. <outlet property="WebView" destination="5Xw-bG-4Kg" id="WKZ-Pf-oAY"/>
  399. </connections>
  400. </viewController>
  401. <placeholder placeholderIdentifier="IBFirstResponder" id="4Nw-L8-lE0" sceneMemberID="firstResponder"/>
  402. </objects>
  403. <point key="canvasLocation" x="-703" y="746"/>
  404. </scene>
  405. <!--Alarms-->
  406. <scene sceneID="sEH-4N-YEn">
  407. <objects>
  408. <viewController storyboardIdentifier="AlarmViewController" id="7an-Fz-r9u" customClass="AlarmViewController" customModule="Loop_Follow" customModuleProvider="target" sceneMemberID="viewController">
  409. <view key="view" contentMode="scaleToFill" id="53u-XU-GCk">
  410. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  411. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  412. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  413. <viewLayoutGuide key="safeArea" id="SlM-Sc-PIr"/>
  414. </view>
  415. <tabBarItem key="tabBarItem" title="Alarms" image="alarm" catalog="system" id="c7L-5b-Di9"/>
  416. <navigationItem key="navigationItem" id="Lph-Pi-ZZL"/>
  417. </viewController>
  418. <placeholder placeholderIdentifier="IBFirstResponder" id="Rld-0Y-q4t" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  419. </objects>
  420. <point key="canvasLocation" x="130" y="700"/>
  421. </scene>
  422. <!--Settings-->
  423. <scene sceneID="ORV-wr-Fd3">
  424. <objects>
  425. <viewController id="hDv-qK-Udb" customClass="SettingsViewController" customModule="Loop_Follow" customModuleProvider="target" sceneMemberID="viewController">
  426. <view key="view" contentMode="scaleToFill" id="ljg-dW-5uR">
  427. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  428. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  429. <subviews>
  430. <scrollView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" fixedFrame="YES" translatesAutoresizingMaskIntoConstraints="NO" id="6gS-Ff-qPd">
  431. <rect key="frame" x="0.0" y="44" width="414" height="769"/>
  432. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  433. <viewLayoutGuide key="contentLayoutGuide" id="1wh-Gg-Auv"/>
  434. <viewLayoutGuide key="frameLayoutGuide" id="lqA-iJ-wdZ"/>
  435. </scrollView>
  436. </subviews>
  437. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  438. <viewLayoutGuide key="safeArea" id="aVb-ap-Pwt"/>
  439. </view>
  440. <tabBarItem key="tabBarItem" title="Settings" image="gear" catalog="system" id="CBE-5V-OzJ"/>
  441. </viewController>
  442. <placeholder placeholderIdentifier="IBFirstResponder" id="mou-xo-Vm3" userLabel="First Responder" customClass="UIResponder" sceneMemberID="firstResponder"/>
  443. </objects>
  444. <point key="canvasLocation" x="1037.68115942029" y="745.98214285714278"/>
  445. </scene>
  446. <!--Tab Bar Controller-->
  447. <scene sceneID="yl2-sM-qoP">
  448. <objects>
  449. <tabBarController id="49e-Tb-3d3" sceneMemberID="viewController">
  450. <tabBar key="tabBar" contentMode="scaleToFill" id="W28-zg-YXA">
  451. <rect key="frame" x="0.0" y="975" width="768" height="49"/>
  452. <autoresizingMask key="autoresizingMask" widthSizable="YES" flexibleMinY="YES"/>
  453. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
  454. </tabBar>
  455. <connections>
  456. <segue destination="9pv-A4-QxB" kind="relationship" relationship="viewControllers" id="u7Y-xg-7CH"/>
  457. <segue destination="7an-Fz-r9u" kind="relationship" relationship="viewControllers" id="o3X-OO-dh3"/>
  458. <segue destination="e0E-cx-0Wr" kind="relationship" relationship="viewControllers" id="NKn-DR-nLR"/>
  459. <segue destination="8rJ-Kc-sve" kind="relationship" relationship="viewControllers" id="lzU-1b-eKA"/>
  460. <segue destination="hDv-qK-Udb" kind="relationship" relationship="viewControllers" id="maf-Gu-a58"/>
  461. </connections>
  462. </tabBarController>
  463. <placeholder placeholderIdentifier="IBFirstResponder" id="HuB-VB-40B" sceneMemberID="firstResponder"/>
  464. </objects>
  465. <point key="canvasLocation" x="0.0" y="0.0"/>
  466. </scene>
  467. </scenes>
  468. <resources>
  469. <image name="alarm" catalog="system" width="124" height="128"/>
  470. <image name="gear" catalog="system" width="128" height="119"/>
  471. <image name="house" catalog="system" width="128" height="110"/>
  472. <image name="safari" catalog="system" width="128" height="121"/>
  473. <image name="zzz" catalog="system" width="121" height="128"/>
  474. </resources>
  475. </document>