LegacyInsulinDeliveryTableViewController.storyboard 21 KB

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