InsulinKit.storyboard 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="16097.2" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES" initialViewController="jGX-GA-nlH">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  6. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  7. </dependencies>
  8. <scenes>
  9. <!--Insulin Delivery-->
  10. <scene sceneID="chM-uK-wOq">
  11. <objects>
  12. <tableViewController id="jGX-GA-nlH" customClass="InsulinDeliveryTableViewController" customModule="Loop" sceneMemberID="viewController">
  13. <tableView key="view" clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" dataMode="prototypes" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="44" sectionHeaderHeight="28" sectionFooterHeight="28" id="ccM-3y-LQM">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  17. <view key="tableHeaderView" hidden="YES" contentMode="scaleToFill" layoutMarginsFollowReadableWidth="YES" id="zFy-ot-4Na">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="110"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillProportionally" alignment="bottom" spacing="10" translatesAutoresizingMaskIntoConstraints="NO" id="5b0-Ph-jbn">
  22. <rect key="frame" x="15" y="8" width="345" height="86"/>
  23. <subviews>
  24. <stackView opaque="NO" contentMode="scaleToFill" alignment="lastBaseline" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="TWr-RZ-2bG">
  25. <rect key="frame" x="0.0" y="0.0" width="154" height="86"/>
  26. <subviews>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PZQ-gO-084">
  28. <rect key="frame" x="0.0" y="32" width="35" height="54"/>
  29. <fontDescription key="fontDescription" type="system" weight="light" pointSize="45"/>
  30. <nil key="textColor"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="m0x-Kq-M4R">
  34. <rect key="frame" x="37" y="0.0" width="117" height="78.5"/>
  35. <subviews>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="U IOB" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="dZi-Ta-IHm">
  37. <rect key="frame" x="0.0" y="0.0" width="117" height="12"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="92n-81-9sl">
  42. <rect key="frame" x="0.0" y="12" width="117" height="66.5"/>
  43. <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
  44. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. </subviews>
  48. </stackView>
  49. </subviews>
  50. </stackView>
  51. <stackView opaque="NO" contentMode="scaleToFill" alignment="lastBaseline" spacing="2" translatesAutoresizingMaskIntoConstraints="NO" id="Sim-jn-gtO">
  52. <rect key="frame" x="164" y="0.0" width="181" height="86"/>
  53. <subviews>
  54. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="..." textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7Fy-gG-Zof">
  55. <rect key="frame" x="0.0" y="32" width="35" height="54"/>
  56. <fontDescription key="fontDescription" type="system" weight="light" pointSize="45"/>
  57. <nil key="textColor"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="9eP-Ak-U7j">
  61. <rect key="frame" x="37" y="0.0" width="144" height="78.5"/>
  62. <subviews>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="U Total" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kys-by-14s">
  64. <rect key="frame" x="0.0" y="0.0" width="144" height="12"/>
  65. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  66. <nil key="highlightedColor"/>
  67. </label>
  68. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DZX-KL-BBc">
  69. <rect key="frame" x="0.0" y="12" width="144" height="66.5"/>
  70. <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
  71. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. </subviews>
  75. </stackView>
  76. </subviews>
  77. </stackView>
  78. </subviews>
  79. </stackView>
  80. <segmentedControl opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="top" segmentControlStyle="plain" selectedSegmentIndex="0" translatesAutoresizingMaskIntoConstraints="NO" id="TyZ-xm-mVN">
  81. <rect key="frame" x="8" y="102" width="359" height="1"/>
  82. <segments>
  83. <segment title="Reservoir"/>
  84. <segment title="Event History"/>
  85. <segment title="Outside Insulin"/>
  86. </segments>
  87. <connections>
  88. <action selector="selectedSegmentChanged:" destination="jGX-GA-nlH" eventType="valueChanged" id="UCQ-qX-Szs"/>
  89. </connections>
  90. </segmentedControl>
  91. </subviews>
  92. <constraints>
  93. <constraint firstAttribute="trailingMargin" secondItem="5b0-Ph-jbn" secondAttribute="trailing" constant="7" id="78w-nE-H93"/>
  94. <constraint firstAttribute="trailingMargin" secondItem="TyZ-xm-mVN" secondAttribute="trailing" id="BWA-80-OcC"/>
  95. <constraint firstItem="5b0-Ph-jbn" firstAttribute="top" secondItem="zFy-ot-4Na" secondAttribute="topMargin" id="Ex5-NQ-tGR"/>
  96. <constraint firstItem="TyZ-xm-mVN" firstAttribute="top" secondItem="5b0-Ph-jbn" secondAttribute="bottom" constant="8" symbolic="YES" id="Jiw-6E-mOs"/>
  97. <constraint firstItem="5b0-Ph-jbn" firstAttribute="leading" secondItem="zFy-ot-4Na" secondAttribute="leadingMargin" constant="7" id="T01-La-LpY"/>
  98. <constraint firstItem="TyZ-xm-mVN" firstAttribute="leading" secondItem="zFy-ot-4Na" secondAttribute="leadingMargin" id="YTO-uY-2p3"/>
  99. <constraint firstItem="TyZ-xm-mVN" firstAttribute="bottom" secondItem="zFy-ot-4Na" secondAttribute="bottomMargin" id="lcG-Yi-v1w"/>
  100. </constraints>
  101. </view>
  102. <view key="tableFooterView" contentMode="scaleToFill" id="LWR-rA-Wch">
  103. <rect key="frame" x="0.0" y="209.5" width="375" height="8"/>
  104. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  105. </view>
  106. <prototypes>
  107. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="none" hidesAccessoryWhenEditing="NO" indentationLevel="1" indentationWidth="0.0" reuseIdentifier="Right Detail" textLabel="7Fi-wD-gf2" detailTextLabel="9jm-X6-3QA" style="IBUITableViewCellStyleValue1" id="AqV-Zc-0gE">
  108. <rect key="frame" x="0.0" y="138" width="375" height="43.5"/>
  109. <autoresizingMask key="autoresizingMask"/>
  110. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="AqV-Zc-0gE" id="tlN-Wx-uRJ">
  111. <rect key="frame" x="0.0" y="0.0" width="375" height="43.5"/>
  112. <autoresizingMask key="autoresizingMask"/>
  113. <subviews>
  114. <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="7Fi-wD-gf2">
  115. <rect key="frame" x="16" y="12" width="33.5" height="20.5"/>
  116. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  117. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  118. <nil key="textColor"/>
  119. <nil key="highlightedColor"/>
  120. </label>
  121. <label opaque="NO" multipleTouchEnabled="YES" contentMode="left" text="Detail" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" id="9jm-X6-3QA">
  122. <rect key="frame" x="315" y="12" width="44" height="20.5"/>
  123. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  124. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  125. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  126. <nil key="highlightedColor"/>
  127. </label>
  128. </subviews>
  129. </tableViewCellContentView>
  130. </tableViewCell>
  131. </prototypes>
  132. <connections>
  133. <outlet property="dataSource" destination="jGX-GA-nlH" id="10P-RW-fsO"/>
  134. <outlet property="delegate" destination="jGX-GA-nlH" id="0lL-zA-VWU"/>
  135. </connections>
  136. </tableView>
  137. <navigationItem key="navigationItem" title="Insulin Delivery" id="vls-EW-uwI"/>
  138. <simulatedNavigationBarMetrics key="simulatedTopBarMetrics" prompted="NO"/>
  139. <connections>
  140. <outlet property="dataSourceSegmentedControl" destination="TyZ-xm-mVN" id="czB-fW-hbq"/>
  141. <outlet property="iobDateLabel" destination="92n-81-9sl" id="7e6-Mz-IAr"/>
  142. <outlet property="iobValueLabel" destination="PZQ-gO-084" id="alx-jA-8he"/>
  143. <outlet property="needsConfigurationMessageView" destination="Y29-PZ-u5S" id="Qxg-VM-tc5"/>
  144. <outlet property="totalDateLabel" destination="DZX-KL-BBc" id="N0E-Tz-HvM"/>
  145. <outlet property="totalValueLabel" destination="7Fy-gG-Zof" id="25M-Da-1BQ"/>
  146. </connections>
  147. </tableViewController>
  148. <placeholder placeholderIdentifier="IBFirstResponder" id="Kcp-aB-fqr" userLabel="First Responder" sceneMemberID="firstResponder"/>
  149. <view contentMode="scaleToFill" id="Y29-PZ-u5S" customClass="ErrorBackgroundView" customModule="LoopKitUI" customModuleProvider="target">
  150. <rect key="frame" x="0.0" y="0.0" width="300" height="300"/>
  151. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  152. <subviews>
  153. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kUD-gG-MJ0">
  154. <rect key="frame" x="20" y="125.5" width="260" height="49.5"/>
  155. <subviews>
  156. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="No pump configured" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="jSc-64-2tZ">
  157. <rect key="frame" x="0.0" y="8" width="260" height="33.5"/>
  158. <fontDescription key="fontDescription" style="UICTFontTextStyleTitle1"/>
  159. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  160. <nil key="highlightedColor"/>
  161. </label>
  162. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lWe-YQ-Y9t">
  163. <rect key="frame" x="130" y="49.5" width="0.0" height="0.0"/>
  164. <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
  165. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  166. <nil key="highlightedColor"/>
  167. </label>
  168. </subviews>
  169. <constraints>
  170. <constraint firstAttribute="bottom" secondItem="lWe-YQ-Y9t" secondAttribute="bottom" id="BGa-JJ-GTW"/>
  171. <constraint firstItem="jSc-64-2tZ" firstAttribute="leading" secondItem="kUD-gG-MJ0" secondAttribute="leading" id="PaD-X6-foE"/>
  172. <constraint firstItem="lWe-YQ-Y9t" firstAttribute="top" secondItem="jSc-64-2tZ" secondAttribute="bottom" constant="8" symbolic="YES" id="UzB-Uu-Xgw"/>
  173. <constraint firstItem="lWe-YQ-Y9t" firstAttribute="centerX" secondItem="kUD-gG-MJ0" secondAttribute="centerX" id="Xk6-yg-x9A"/>
  174. <constraint firstItem="jSc-64-2tZ" firstAttribute="top" secondItem="kUD-gG-MJ0" secondAttribute="topMargin" id="jSV-zR-96Y"/>
  175. <constraint firstAttribute="trailing" secondItem="jSc-64-2tZ" secondAttribute="trailing" id="yhs-13-bfO"/>
  176. </constraints>
  177. </view>
  178. </subviews>
  179. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  180. <constraints>
  181. <constraint firstItem="kUD-gG-MJ0" firstAttribute="centerX" secondItem="Y29-PZ-u5S" secondAttribute="centerX" id="3wF-VE-Xqe"/>
  182. <constraint firstItem="kUD-gG-MJ0" firstAttribute="centerY" secondItem="Y29-PZ-u5S" secondAttribute="centerY" id="CwQ-vi-eix"/>
  183. <constraint firstAttribute="trailing" secondItem="kUD-gG-MJ0" secondAttribute="trailing" constant="20" symbolic="YES" id="Tep-gH-uWI"/>
  184. <constraint firstItem="kUD-gG-MJ0" firstAttribute="leading" secondItem="Y29-PZ-u5S" secondAttribute="leading" constant="20" symbolic="YES" id="nqT-pj-sMb"/>
  185. </constraints>
  186. <connections>
  187. <outlet property="errorDescriptionLabel" destination="lWe-YQ-Y9t" id="FcM-I8-B89"/>
  188. </connections>
  189. </view>
  190. </objects>
  191. <point key="canvasLocation" x="2445" y="-810"/>
  192. </scene>
  193. </scenes>
  194. </document>