DateAndDurationSteppableTableViewCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097.3" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  6. <capability name="Named colors" minToolsVersion="9.0"/>
  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="244" id="g8V-eF-Mfe" customClass="DateAndDurationSteppableTableViewCell" customModule="LoopKitUI" customModuleProvider="target">
  13. <rect key="frame" x="0.0" y="0.0" width="375" height="244"/>
  14. <autoresizingMask key="autoresizingMask"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="g8V-eF-Mfe" id="5ZV-xx-TUU">
  16. <rect key="frame" x="0.0" y="0.0" width="375" height="244"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="R2S-Ub-M7W">
  20. <rect key="frame" x="15" y="11" width="350" height="32"/>
  21. <subviews>
  22. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Date" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" minimumScaleFactor="0.5" adjustsFontForContentSizeCategory="YES" translatesAutoresizingMaskIntoConstraints="NO" id="lrl-hk-6Uj">
  23. <rect key="frame" x="0.0" y="0.0" width="36" height="32"/>
  24. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  25. <nil key="textColor"/>
  26. <nil key="highlightedColor"/>
  27. </label>
  28. <stackView opaque="NO" contentMode="scaleToFill" alignment="center" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="d1M-nk-qhn">
  29. <rect key="frame" x="228" y="0.0" width="122" height="32"/>
  30. <subviews>
  31. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="fill" contentVerticalAlignment="fill" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ote-tm-pgI">
  32. <rect key="frame" x="0.0" y="0.0" width="32" height="32"/>
  33. <constraints>
  34. <constraint firstAttribute="width" secondItem="ote-tm-pgI" secondAttribute="height" multiplier="1:1" id="V86-CD-dmV"/>
  35. </constraints>
  36. <color key="tintColor" name="accent"/>
  37. <inset key="contentEdgeInsets" minX="1" minY="2" maxX="2" maxY="2"/>
  38. <state key="normal" image="minus.circle.fill" catalog="system">
  39. <color key="titleColor" name="accent"/>
  40. </state>
  41. <connections>
  42. <action selector="decrementTime:" destination="g8V-eF-Mfe" eventType="touchUpInside" id="vdi-I5-q5I"/>
  43. </connections>
  44. </button>
  45. <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="AQf-Rb-UwO">
  46. <rect key="frame" x="40" y="6" width="42" height="20.5"/>
  47. <fontDescription key="fontDescription" style="UICTFontTextStyleBody"/>
  48. <color key="textColor" systemColor="secondaryLabelColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="fill" contentVerticalAlignment="fill" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Lpk-PK-o2M">
  52. <rect key="frame" x="90" y="0.0" width="32" height="32"/>
  53. <constraints>
  54. <constraint firstAttribute="width" secondItem="Lpk-PK-o2M" secondAttribute="height" multiplier="1:1" id="nS6-5o-8tF"/>
  55. </constraints>
  56. <color key="tintColor" name="accent"/>
  57. <inset key="contentEdgeInsets" minX="1" minY="2" maxX="2" maxY="2"/>
  58. <state key="normal" image="plus.circle.fill" catalog="system"/>
  59. <connections>
  60. <action selector="incrementTime:" destination="g8V-eF-Mfe" eventType="touchUpInside" id="c1E-S8-3Rs"/>
  61. </connections>
  62. </button>
  63. </subviews>
  64. <constraints>
  65. <constraint firstItem="Lpk-PK-o2M" firstAttribute="height" secondItem="d1M-nk-qhn" secondAttribute="height" id="AKs-5D-nDd"/>
  66. <constraint firstItem="Lpk-PK-o2M" firstAttribute="height" secondItem="ote-tm-pgI" secondAttribute="height" id="VqA-Fc-A7h"/>
  67. </constraints>
  68. </stackView>
  69. </subviews>
  70. <constraints>
  71. <constraint firstItem="lrl-hk-6Uj" firstAttribute="top" secondItem="R2S-Ub-M7W" secondAttribute="top" id="3uk-QP-JjL"/>
  72. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="32" id="7Jq-HV-uMc"/>
  73. <constraint firstAttribute="bottom" secondItem="d1M-nk-qhn" secondAttribute="bottom" id="Mau-7w-CNE"/>
  74. <constraint firstItem="d1M-nk-qhn" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="lrl-hk-6Uj" secondAttribute="trailing" constant="8" symbolic="YES" id="PJR-dn-1xq"/>
  75. <constraint firstItem="lrl-hk-6Uj" firstAttribute="leading" secondItem="R2S-Ub-M7W" secondAttribute="leading" id="dhX-4T-BRJ"/>
  76. <constraint firstItem="d1M-nk-qhn" firstAttribute="top" secondItem="R2S-Ub-M7W" secondAttribute="top" id="phS-mS-1Zl"/>
  77. <constraint firstAttribute="bottom" secondItem="lrl-hk-6Uj" secondAttribute="bottom" id="y2J-K7-2r6"/>
  78. <constraint firstAttribute="trailing" secondItem="d1M-nk-qhn" secondAttribute="trailing" id="zPg-74-Dja"/>
  79. </constraints>
  80. </view>
  81. <datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="dateAndTime" minuteInterval="1" style="wheels" translatesAutoresizingMaskIntoConstraints="NO" id="uHg-qt-dX0">
  82. <rect key="frame" x="0.0" y="47" width="375" height="194"/>
  83. <constraints>
  84. <constraint firstAttribute="height" priority="750" constant="200" id="V2S-yZ-Wpl"/>
  85. </constraints>
  86. <connections>
  87. <action selector="dateChanged:" destination="g8V-eF-Mfe" eventType="valueChanged" id="eHp-Or-G7k"/>
  88. </connections>
  89. </datePicker>
  90. </subviews>
  91. <constraints>
  92. <constraint firstItem="uHg-qt-dX0" firstAttribute="leading" secondItem="5ZV-xx-TUU" secondAttribute="leading" id="8mt-Np-dQX"/>
  93. <constraint firstAttribute="trailing" secondItem="uHg-qt-dX0" secondAttribute="trailing" id="DIU-Dd-v1R"/>
  94. <constraint firstItem="uHg-qt-dX0" firstAttribute="top" secondItem="R2S-Ub-M7W" secondAttribute="bottom" constant="4" id="Fb5-66-uiW"/>
  95. <constraint firstAttribute="bottomMargin" secondItem="uHg-qt-dX0" secondAttribute="bottom" priority="750" constant="-8" id="U4P-Ys-AuD"/>
  96. <constraint firstItem="R2S-Ub-M7W" firstAttribute="leading" secondItem="5ZV-xx-TUU" secondAttribute="leadingMargin" id="VSV-R2-CjN"/>
  97. <constraint firstAttribute="trailingMargin" secondItem="R2S-Ub-M7W" secondAttribute="trailing" constant="-5" id="fmT-fS-Gar"/>
  98. <constraint firstItem="R2S-Ub-M7W" firstAttribute="top" secondItem="5ZV-xx-TUU" secondAttribute="topMargin" id="kfl-01-9t8"/>
  99. </constraints>
  100. </tableViewCellContentView>
  101. <connections>
  102. <outlet property="dateLabel" destination="AQf-Rb-UwO" id="2Zm-Dx-YYA"/>
  103. <outlet property="datePicker" destination="uHg-qt-dX0" id="Ejf-tw-dz0"/>
  104. <outlet property="datePickerHeightConstraint" destination="V2S-yZ-Wpl" id="8lN-gu-CDh"/>
  105. <outlet property="decrementButton" destination="ote-tm-pgI" id="Oo0-ja-Uma"/>
  106. <outlet property="incrementButton" destination="Lpk-PK-o2M" id="Khv-e9-a3n"/>
  107. <outlet property="titleLabel" destination="lrl-hk-6Uj" id="aBm-pc-R9W"/>
  108. </connections>
  109. <point key="canvasLocation" x="138" y="141"/>
  110. </tableViewCell>
  111. </objects>
  112. <resources>
  113. <image name="minus.circle.fill" catalog="system" width="128" height="121"/>
  114. <image name="plus.circle.fill" catalog="system" width="128" height="121"/>
  115. <namedColor name="accent">
  116. <color red="0.36500000953674316" green="0.47499999403953552" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  117. </namedColor>
  118. </resources>
  119. </document>