IHWeeklyCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="16087"/>
  7. <capability name="Safe area layout guides" 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 contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="137" id="KGk-i7-Jjw" customClass="IHWeeklyCell" customModule="智能照明" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="321" height="137"/>
  15. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  16. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  17. <rect key="frame" x="0.0" y="0.0" width="321" height="137"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6Y5-fs-LZb">
  21. <rect key="frame" x="20" y="5" width="281" height="57"/>
  22. <subviews>
  23. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Q4p-11-3h4">
  24. <rect key="frame" x="15" y="26" width="5" height="5"/>
  25. <color key="backgroundColor" red="0.019607843137254902" green="0.81176470588235294" blue="0.6705882352941176" alpha="1" colorSpace="calibratedRGB"/>
  26. <constraints>
  27. <constraint firstAttribute="width" constant="5" id="Q66-Cx-vQw"/>
  28. <constraint firstAttribute="height" constant="5" id="bvi-Zm-mZh"/>
  29. </constraints>
  30. </view>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="一周的平均温度" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="WsK-GR-LK6">
  32. <rect key="frame" x="32" y="19" width="92" height="19"/>
  33. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
  34. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="27℃" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cQn-8P-rOf">
  38. <rect key="frame" x="229" y="15" width="40" height="27"/>
  39. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="19"/>
  40. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. </subviews>
  44. <color key="backgroundColor" red="0.96470588235294119" green="0.97254901960784312" blue="0.96862745098039216" alpha="1" colorSpace="calibratedRGB"/>
  45. <constraints>
  46. <constraint firstItem="WsK-GR-LK6" firstAttribute="leading" secondItem="Q4p-11-3h4" secondAttribute="trailing" constant="12" id="080-wP-SrG"/>
  47. <constraint firstItem="cQn-8P-rOf" firstAttribute="centerY" secondItem="6Y5-fs-LZb" secondAttribute="centerY" id="AjM-nY-k47"/>
  48. <constraint firstAttribute="trailing" secondItem="cQn-8P-rOf" secondAttribute="trailing" constant="12" id="NLT-JU-cx6"/>
  49. <constraint firstItem="Q4p-11-3h4" firstAttribute="centerY" secondItem="6Y5-fs-LZb" secondAttribute="centerY" id="Q2D-XN-UNh"/>
  50. <constraint firstItem="WsK-GR-LK6" firstAttribute="centerY" secondItem="6Y5-fs-LZb" secondAttribute="centerY" id="gsF-Jl-Lau"/>
  51. <constraint firstItem="Q4p-11-3h4" firstAttribute="leading" secondItem="6Y5-fs-LZb" secondAttribute="leading" constant="15" id="hiB-bJ-KUp"/>
  52. <constraint firstAttribute="height" constant="57" id="w45-sK-9tP"/>
  53. </constraints>
  54. <userDefinedRuntimeAttributes>
  55. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  56. <real key="value" value="2"/>
  57. </userDefinedRuntimeAttribute>
  58. </userDefinedRuntimeAttributes>
  59. </view>
  60. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jix-eD-1km">
  61. <rect key="frame" x="20" y="72" width="281" height="57"/>
  62. <subviews>
  63. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0Td-Ri-yWy">
  64. <rect key="frame" x="15" y="26" width="5" height="5"/>
  65. <color key="backgroundColor" red="0.019607843140000001" green="0.81176470590000005" blue="0.6705882353" alpha="1" colorSpace="calibratedRGB"/>
  66. <constraints>
  67. <constraint firstAttribute="height" constant="5" id="YZL-Aw-HE8"/>
  68. <constraint firstAttribute="width" constant="5" id="YhI-A7-2MI"/>
  69. </constraints>
  70. </view>
  71. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="一周的平均湿度" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="JvB-42-UYu">
  72. <rect key="frame" x="32" y="19" width="92" height="19"/>
  73. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="13"/>
  74. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  75. <nil key="highlightedColor"/>
  76. </label>
  77. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="384" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="a8M-Gr-0uS">
  78. <rect key="frame" x="234.5" y="15" width="34.5" height="27"/>
  79. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="19"/>
  80. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  81. <nil key="highlightedColor"/>
  82. </label>
  83. </subviews>
  84. <color key="backgroundColor" red="0.96470588239999999" green="0.97254901959999995" blue="0.96862745100000003" alpha="1" colorSpace="calibratedRGB"/>
  85. <constraints>
  86. <constraint firstItem="a8M-Gr-0uS" firstAttribute="centerY" secondItem="Jix-eD-1km" secondAttribute="centerY" id="5Wc-nD-b9D"/>
  87. <constraint firstItem="JvB-42-UYu" firstAttribute="centerY" secondItem="Jix-eD-1km" secondAttribute="centerY" id="Dex-Vy-JOx"/>
  88. <constraint firstAttribute="trailing" secondItem="a8M-Gr-0uS" secondAttribute="trailing" constant="12" id="IcY-cf-VMF"/>
  89. <constraint firstItem="JvB-42-UYu" firstAttribute="leading" secondItem="0Td-Ri-yWy" secondAttribute="trailing" constant="12" id="gil-Wc-OWU"/>
  90. <constraint firstItem="0Td-Ri-yWy" firstAttribute="centerY" secondItem="Jix-eD-1km" secondAttribute="centerY" id="prg-Lc-beF"/>
  91. <constraint firstAttribute="height" constant="57" id="uc2-11-LvW"/>
  92. <constraint firstItem="0Td-Ri-yWy" firstAttribute="leading" secondItem="Jix-eD-1km" secondAttribute="leading" constant="15" id="whe-SD-Tti"/>
  93. </constraints>
  94. <userDefinedRuntimeAttributes>
  95. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  96. <real key="value" value="2"/>
  97. </userDefinedRuntimeAttribute>
  98. </userDefinedRuntimeAttributes>
  99. </view>
  100. </subviews>
  101. <constraints>
  102. <constraint firstItem="6Y5-fs-LZb" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="7TE-jg-Kea"/>
  103. <constraint firstItem="6Y5-fs-LZb" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="Ond-Cz-xnd"/>
  104. <constraint firstItem="Jix-eD-1km" firstAttribute="top" secondItem="6Y5-fs-LZb" secondAttribute="bottom" constant="10" id="X9h-H0-fOr"/>
  105. <constraint firstAttribute="trailing" secondItem="6Y5-fs-LZb" secondAttribute="trailing" constant="20" id="Xw5-pi-dGR"/>
  106. <constraint firstAttribute="trailing" secondItem="Jix-eD-1km" secondAttribute="trailing" constant="20" id="dsw-qd-hTC"/>
  107. <constraint firstItem="Jix-eD-1km" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="hgw-Ox-vNt"/>
  108. </constraints>
  109. <userDefinedRuntimeAttributes>
  110. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  111. <real key="value" value="5"/>
  112. </userDefinedRuntimeAttribute>
  113. </userDefinedRuntimeAttributes>
  114. </tableViewCellContentView>
  115. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  116. <connections>
  117. <outlet property="humidityLabel" destination="a8M-Gr-0uS" id="ckO-9D-FAk"/>
  118. <outlet property="temperatureLabel" destination="cQn-8P-rOf" id="6bv-Tq-Sin"/>
  119. </connections>
  120. <point key="canvasLocation" x="138.40579710144928" y="138.95089285714286"/>
  121. </tableViewCell>
  122. </objects>
  123. </document>