RepeatingScheduleValueTableViewCell.xib 8.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990
  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" 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="227" id="9cw-WW-AKt" userLabel="Repeating Schedule Value Table View Cell" customClass="RepeatingScheduleValueTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="352" height="227"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="9cw-WW-AKt" id="Kbo-oO-Hzt">
  16. <rect key="frame" x="0.0" y="0.0" width="352" height="227"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <datePicker clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="time" minuteInterval="30" translatesAutoresizingMaskIntoConstraints="NO" id="kJu-yV-b8g">
  20. <rect key="frame" x="15" y="62.5" width="322" height="162"/>
  21. <constraints>
  22. <constraint firstAttribute="height" priority="750" constant="150" id="U4R-Ps-dsD"/>
  23. </constraints>
  24. <connections>
  25. <action selector="dateChanged:" destination="9cw-WW-AKt" eventType="valueChanged" id="umZ-gG-0ZQ"/>
  26. </connections>
  27. </datePicker>
  28. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IiE-NW-t0Y">
  29. <rect key="frame" x="15" y="11" width="322" height="43.5"/>
  30. <subviews>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="IvR-bM-kHO">
  32. <rect key="frame" x="0.0" y="11.5" width="42" height="20.5"/>
  33. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  34. <nil key="textColor"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <textField opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="right" adjustsFontForContentSizeCategory="YES" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="f5h-J3-8Bf" customClass="PaddedTextField" customModule="LoopKitUI" customModuleProvider="target">
  38. <rect key="frame" x="50" y="0.0" width="220" height="43.5"/>
  39. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  40. <textInputTraits key="textInputTraits" keyboardType="decimalPad"/>
  41. <userDefinedRuntimeAttributes>
  42. <userDefinedRuntimeAttribute type="size" keyPath="textInset">
  43. <size key="value" width="5" height="4"/>
  44. </userDefinedRuntimeAttribute>
  45. </userDefinedRuntimeAttributes>
  46. <connections>
  47. <outlet property="delegate" destination="9cw-WW-AKt" id="yKh-SZ-6fq"/>
  48. </connections>
  49. </textField>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="U/hour" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="HJF-Xw-CLE">
  51. <rect key="frame" x="270" y="11.5" width="52" height="20.5"/>
  52. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  53. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411764705882" green="0.23529411764705882" blue="0.2627450980392157" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. </subviews>
  57. <constraints>
  58. <constraint firstAttribute="trailing" secondItem="HJF-Xw-CLE" secondAttribute="trailing" id="OSG-vm-Xhd"/>
  59. <constraint firstAttribute="bottom" secondItem="f5h-J3-8Bf" secondAttribute="bottom" id="aX2-LV-jsT"/>
  60. <constraint firstItem="HJF-Xw-CLE" firstAttribute="leading" secondItem="f5h-J3-8Bf" secondAttribute="trailing" id="h5x-IU-ONV"/>
  61. <constraint firstItem="HJF-Xw-CLE" firstAttribute="baseline" secondItem="f5h-J3-8Bf" secondAttribute="firstBaseline" id="js8-Br-f8z"/>
  62. <constraint firstItem="IvR-bM-kHO" firstAttribute="baseline" secondItem="f5h-J3-8Bf" secondAttribute="firstBaseline" id="kiN-iS-Hyc"/>
  63. <constraint firstItem="f5h-J3-8Bf" firstAttribute="leading" secondItem="IvR-bM-kHO" secondAttribute="trailing" constant="8" symbolic="YES" id="qT7-0O-upI"/>
  64. <constraint firstItem="f5h-J3-8Bf" firstAttribute="top" secondItem="IiE-NW-t0Y" secondAttribute="top" id="vca-Hx-D4X"/>
  65. <constraint firstItem="IvR-bM-kHO" firstAttribute="leading" secondItem="IiE-NW-t0Y" secondAttribute="leading" id="xfF-pE-uNG"/>
  66. </constraints>
  67. </view>
  68. </subviews>
  69. <constraints>
  70. <constraint firstAttribute="bottomMargin" secondItem="kJu-yV-b8g" secondAttribute="bottom" priority="750" constant="-8.5" id="Li5-kA-z6G"/>
  71. <constraint firstItem="kJu-yV-b8g" firstAttribute="top" secondItem="IiE-NW-t0Y" secondAttribute="bottom" constant="8" symbolic="YES" id="Mba-VQ-5e6"/>
  72. <constraint firstItem="IiE-NW-t0Y" firstAttribute="leading" secondItem="Kbo-oO-Hzt" secondAttribute="leadingMargin" id="P2o-zO-sjE"/>
  73. <constraint firstAttribute="trailingMargin" secondItem="IiE-NW-t0Y" secondAttribute="trailing" id="V7L-QA-Gp9"/>
  74. <constraint firstItem="kJu-yV-b8g" firstAttribute="leading" secondItem="Kbo-oO-Hzt" secondAttribute="leadingMargin" id="jKF-bq-IFQ"/>
  75. <constraint firstItem="IiE-NW-t0Y" firstAttribute="top" secondItem="Kbo-oO-Hzt" secondAttribute="topMargin" id="qPE-Tx-Kg7"/>
  76. <constraint firstAttribute="trailingMargin" secondItem="kJu-yV-b8g" secondAttribute="trailing" id="qn8-ji-60b"/>
  77. </constraints>
  78. </tableViewCellContentView>
  79. <connections>
  80. <outlet property="dateLabel" destination="IvR-bM-kHO" id="kZ6-T1-d3I"/>
  81. <outlet property="datePicker" destination="kJu-yV-b8g" id="zJ2-sH-wVW"/>
  82. <outlet property="datePickerHeightConstraint" destination="U4R-Ps-dsD" id="kcs-Bl-w4p"/>
  83. <outlet property="textField" destination="f5h-J3-8Bf" id="gap-5X-l7j"/>
  84. <outlet property="unitLabel" destination="HJF-Xw-CLE" id="wdV-aV-ngx"/>
  85. </connections>
  86. <point key="canvasLocation" x="182" y="215"/>
  87. </tableViewCell>
  88. </objects>
  89. </document>