InsulinSensitivityScalingTableViewCell.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/>
  7. <capability name="Named colors" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="InsulinSensitivityScalingTableViewCell" rowHeight="255" id="2pD-aG-AdC" customClass="InsulinSensitivityScalingTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="255"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="2pD-aG-AdC" id="Mie-FZ-K4X">
  17. <rect key="frame" x="0.0" y="0.0" width="375" height="255"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="100%" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="OY7-Gl-3ie">
  21. <rect key="frame" x="317.5" y="19" width="42.5" height="20.5"/>
  22. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  23. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Wx-rq-Xv8">
  27. <rect key="frame" x="15" y="15" width="33.5" height="28"/>
  28. <constraints>
  29. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="28" id="2gd-Hd-Z76"/>
  30. </constraints>
  31. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  32. <nil key="textColor"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Q8T-8n-z7x" customClass="SegmentedGaugeBarView" customModule="LoopKitUI" customModuleProvider="target">
  36. <rect key="frame" x="52.5" y="51" width="270" height="32"/>
  37. <constraints>
  38. <constraint firstAttribute="height" constant="32" id="fod-2i-9Ju"/>
  39. </constraints>
  40. <userDefinedRuntimeAttributes>
  41. <userDefinedRuntimeAttribute type="number" keyPath="numberOfSegments">
  42. <integer key="value" value="2"/>
  43. </userDefinedRuntimeAttribute>
  44. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  45. <real key="value" value="2"/>
  46. </userDefinedRuntimeAttribute>
  47. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  48. <color key="value" systemColor="systemGrayColor" red="0.5568627451" green="0.5568627451" blue="0.57647058819999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  49. </userDefinedRuntimeAttribute>
  50. <userDefinedRuntimeAttribute type="number" keyPath="progress">
  51. <real key="value" value="1.5"/>
  52. </userDefinedRuntimeAttribute>
  53. <userDefinedRuntimeAttribute type="color" keyPath="startColor">
  54. <color key="value" name="Lightened Insulin"/>
  55. </userDefinedRuntimeAttribute>
  56. <userDefinedRuntimeAttribute type="color" keyPath="endColor">
  57. <color key="value" name="Darkened Insulin"/>
  58. </userDefinedRuntimeAttribute>
  59. </userDefinedRuntimeAttributes>
  60. </view>
  61. <pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xRY-fO-8DS">
  62. <rect key="frame" x="15" y="83" width="345" height="145"/>
  63. <constraints>
  64. <constraint firstAttribute="height" priority="750" constant="124" id="H7Y-6b-6TJ"/>
  65. </constraints>
  66. </pickerView>
  67. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fsa-vU-j7t">
  68. <rect key="frame" x="15" y="228" width="345" height="16"/>
  69. <fontDescription key="fontDescription" style="UICTFontTextStyleFootnote"/>
  70. <color key="textColor" systemColor="tertiaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.29999999999999999" colorSpace="custom" customColorSpace="sRGB"/>
  71. <nil key="highlightedColor"/>
  72. </label>
  73. </subviews>
  74. <constraints>
  75. <constraint firstItem="Fsa-vU-j7t" firstAttribute="top" relation="greaterThanOrEqual" secondItem="Q8T-8n-z7x" secondAttribute="bottom" constant="8" id="5gc-f3-cAI"/>
  76. <constraint firstItem="xRY-fO-8DS" firstAttribute="top" secondItem="Q8T-8n-z7x" secondAttribute="bottom" id="7ti-gT-2Mn"/>
  77. <constraint firstItem="xRY-fO-8DS" firstAttribute="leading" secondItem="Mie-FZ-K4X" secondAttribute="leadingMargin" id="9d8-R8-QJf"/>
  78. <constraint firstItem="Q8T-8n-z7x" firstAttribute="width" secondItem="Mie-FZ-K4X" secondAttribute="width" multiplier="0.72" id="CrZ-Dx-pvb"/>
  79. <constraint firstItem="8Wx-rq-Xv8" firstAttribute="top" secondItem="Mie-FZ-K4X" secondAttribute="topMargin" constant="4" id="DMc-rj-TRP"/>
  80. <constraint firstAttribute="trailingMargin" secondItem="Fsa-vU-j7t" secondAttribute="trailing" id="FHD-fs-0TZ"/>
  81. <constraint firstItem="Q8T-8n-z7x" firstAttribute="top" secondItem="8Wx-rq-Xv8" secondAttribute="bottom" constant="8" id="HdB-X3-Cwa"/>
  82. <constraint firstAttribute="trailingMargin" secondItem="OY7-Gl-3ie" secondAttribute="trailing" id="N1K-Ci-kAZ"/>
  83. <constraint firstItem="Fsa-vU-j7t" firstAttribute="top" secondItem="xRY-fO-8DS" secondAttribute="bottom" id="P2Y-ri-cOD"/>
  84. <constraint firstAttribute="trailingMargin" secondItem="xRY-fO-8DS" secondAttribute="trailing" id="Z4k-pn-V1n"/>
  85. <constraint firstAttribute="bottomMargin" secondItem="Fsa-vU-j7t" secondAttribute="bottom" id="aOb-gn-E1X"/>
  86. <constraint firstItem="Fsa-vU-j7t" firstAttribute="leading" secondItem="Mie-FZ-K4X" secondAttribute="leadingMargin" id="cwh-lf-lyL"/>
  87. <constraint firstItem="8Wx-rq-Xv8" firstAttribute="leading" secondItem="Mie-FZ-K4X" secondAttribute="leadingMargin" priority="999" id="dXr-kN-lK9"/>
  88. <constraint firstItem="OY7-Gl-3ie" firstAttribute="centerY" secondItem="8Wx-rq-Xv8" secondAttribute="centerY" id="x5G-vn-EHq"/>
  89. <constraint firstItem="Q8T-8n-z7x" firstAttribute="centerX" secondItem="Mie-FZ-K4X" secondAttribute="centerX" id="yCH-0V-Lw3"/>
  90. </constraints>
  91. </tableViewCellContentView>
  92. <connections>
  93. <outlet property="footerLabel" destination="Fsa-vU-j7t" id="mEQ-KQ-pqp"/>
  94. <outlet property="gaugeBar" destination="Q8T-8n-z7x" id="ksl-9s-lWx"/>
  95. <outlet property="scaleFactorPicker" destination="xRY-fO-8DS" id="d7g-sd-hta"/>
  96. <outlet property="scaleFactorPickerHeightConstraint" destination="H7Y-6b-6TJ" id="mmr-X5-PAy"/>
  97. <outlet property="titleLabel" destination="8Wx-rq-Xv8" id="x0v-VG-dmu"/>
  98. <outlet property="valueLabel" destination="OY7-Gl-3ie" id="mAw-NN-xNv"/>
  99. </connections>
  100. <point key="canvasLocation" x="53.600000000000001" y="133.5832083958021"/>
  101. </tableViewCell>
  102. </objects>
  103. <resources>
  104. <namedColor name="Darkened Insulin">
  105. <color red="1" green="0.43500000238418579" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  106. </namedColor>
  107. <namedColor name="Lightened Insulin">
  108. <color red="1" green="0.74900001287460327" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  109. </namedColor>
  110. </resources>
  111. </document>