DoubleRangeTableViewCell.xib 8.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14854.2" 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="14806.4"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <tableViewCell clipsSubviews="YES" contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="54" id="dSs-90-isK" userLabel="Glucose Range Table View Cell" customClass="DoubleRangeTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="450" height="54"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="dSs-90-isK" id="Xut-Jf-WRX">
  16. <rect key="frame" x="0.0" y="0.0" width="450" height="54"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jZM-G3-SpT">
  20. <rect key="frame" x="15" y="11" width="420" height="32"/>
  21. <subviews>
  22. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="248" verticalHuggingPriority="251" horizontalCompressionResistancePriority="752" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4xh-8v-ht7">
  23. <rect key="frame" x="0.0" y="0.0" width="286.5" height="32"/>
  24. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  25. <nil key="textColor"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. <stackView opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" alignment="center" spacing="3" baselineRelativeArrangement="YES" translatesAutoresizingMaskIntoConstraints="NO" id="5BP-84-ufj">
  29. <rect key="frame" x="286.5" y="0.0" width="133.5" height="32"/>
  30. <subviews>
  31. <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" horizontalHuggingPriority="251" horizontalCompressionResistancePriority="751" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="min" textAlignment="right" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="i0F-ik-iSL" customClass="PaddedTextField" customModule="LoopKitUI" customModuleProvider="target">
  32. <rect key="frame" x="0.0" y="5.5" width="32" height="21"/>
  33. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  34. <textInputTraits key="textInputTraits" keyboardType="decimalPad"/>
  35. </textField>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="–" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ol7-Pn-2NT">
  37. <rect key="frame" x="35" y="6" width="8.5" height="20.5"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  39. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" horizontalHuggingPriority="251" horizontalCompressionResistancePriority="751" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="max" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="v56-j6-gA3" customClass="PaddedTextField" customModule="LoopKitUI" customModuleProvider="target">
  43. <rect key="frame" x="46.5" y="5.5" width="32" height="21"/>
  44. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  45. <textInputTraits key="textInputTraits" keyboardType="decimalPad"/>
  46. </textField>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" horizontalCompressionResistancePriority="751" text="U/hour" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kwu-BV-vv7">
  48. <rect key="frame" x="81.5" y="6" width="52" height="20.5"/>
  49. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  50. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. </subviews>
  54. <constraints>
  55. <constraint firstItem="i0F-ik-iSL" firstAttribute="width" secondItem="v56-j6-gA3" secondAttribute="width" id="Fgh-Oh-OvF"/>
  56. </constraints>
  57. </stackView>
  58. </subviews>
  59. </stackView>
  60. </subviews>
  61. <constraints>
  62. <constraint firstItem="jZM-G3-SpT" firstAttribute="leading" secondItem="Xut-Jf-WRX" secondAttribute="leadingMargin" id="RKX-L5-kqN"/>
  63. <constraint firstAttribute="trailingMargin" secondItem="jZM-G3-SpT" secondAttribute="trailing" id="RtY-FP-smz"/>
  64. <constraint firstAttribute="bottomMargin" secondItem="jZM-G3-SpT" secondAttribute="bottom" id="d0Y-q2-by7"/>
  65. <constraint firstItem="jZM-G3-SpT" firstAttribute="top" secondItem="Xut-Jf-WRX" secondAttribute="topMargin" id="fhW-vR-gIU"/>
  66. </constraints>
  67. </tableViewCellContentView>
  68. <connections>
  69. <outlet property="maxValueTextField" destination="v56-j6-gA3" id="EMC-Tb-1lV"/>
  70. <outlet property="minValueTextField" destination="i0F-ik-iSL" id="Fbj-bb-etL"/>
  71. <outlet property="titleLabel" destination="4xh-8v-ht7" id="02U-gu-qE8"/>
  72. <outlet property="unitLabel" destination="kwu-BV-vv7" id="BT8-Cs-zDJ"/>
  73. </connections>
  74. <point key="canvasLocation" x="313.60000000000002" y="295.95202398800603"/>
  75. </tableViewCell>
  76. </objects>
  77. </document>