YXMyDeviceTableViewCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="96" id="KGk-i7-Jjw" customClass="YXMyDeviceTableViewCell">
  15. <rect key="frame" x="0.0" y="0.0" width="357" height="96"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="357" height="96"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8NF-l7-Wzi">
  22. <rect key="frame" x="15" y="0.0" width="327" height="96"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="avf-CR-GMZ">
  25. <rect key="frame" x="15" y="28" width="40" height="40"/>
  26. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  27. <constraints>
  28. <constraint firstAttribute="width" constant="40" id="ot5-9T-NUz"/>
  29. <constraint firstAttribute="height" constant="40" id="u7p-gB-YIy"/>
  30. </constraints>
  31. </view>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="26℃|38%" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Sgr-Er-zyV">
  33. <rect key="frame" x="70" y="48" width="167" height="25"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="25" id="p8H-qN-7oc"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  38. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="主控制器" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pdh-yG-atY">
  42. <rect key="frame" x="70" y="23" width="167" height="25"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="25" id="4f6-il-tBU"/>
  45. </constraints>
  46. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  47. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="kta-PK-3mQ">
  51. <rect key="frame" x="252" y="33" width="60" height="30"/>
  52. <color key="backgroundColor" red="0.9137254901960784" green="0.94509803921568625" blue="1" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  53. <constraints>
  54. <constraint firstAttribute="width" constant="60" id="bZQ-4Y-xc2"/>
  55. <constraint firstAttribute="height" constant="30" id="yeW-ch-NIZ"/>
  56. </constraints>
  57. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  58. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  59. <state key="normal" title="重置">
  60. <color key="titleColor" red="0.14901960784313725" green="0.47843137254901957" blue="1" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  61. </state>
  62. <userDefinedRuntimeAttributes>
  63. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  64. <integer key="value" value="8"/>
  65. </userDefinedRuntimeAttribute>
  66. </userDefinedRuntimeAttributes>
  67. </button>
  68. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kFR-YV-xMr">
  69. <rect key="frame" x="70" y="95" width="242" height="1"/>
  70. <color key="backgroundColor" red="0.90196078431372551" green="0.90196078431372551" blue="0.90196078431372551" alpha="1" colorSpace="calibratedRGB"/>
  71. <constraints>
  72. <constraint firstAttribute="height" constant="1" id="9oe-XC-L5V"/>
  73. </constraints>
  74. </view>
  75. </subviews>
  76. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  77. <constraints>
  78. <constraint firstItem="Sgr-Er-zyV" firstAttribute="leading" secondItem="avf-CR-GMZ" secondAttribute="trailing" constant="15" id="1ce-oZ-e1Z"/>
  79. <constraint firstItem="pdh-yG-atY" firstAttribute="top" secondItem="avf-CR-GMZ" secondAttribute="top" constant="-5" id="3Pc-0U-lhb"/>
  80. <constraint firstAttribute="trailing" secondItem="kta-PK-3mQ" secondAttribute="trailing" constant="15" id="3V3-Ua-ipK"/>
  81. <constraint firstItem="kFR-YV-xMr" firstAttribute="leading" secondItem="Sgr-Er-zyV" secondAttribute="leading" id="7xl-Ba-mQX"/>
  82. <constraint firstItem="avf-CR-GMZ" firstAttribute="centerY" secondItem="8NF-l7-Wzi" secondAttribute="centerY" id="9Q4-09-QRh"/>
  83. <constraint firstItem="kta-PK-3mQ" firstAttribute="leading" secondItem="pdh-yG-atY" secondAttribute="trailing" constant="15" id="Ecd-sw-JlY"/>
  84. <constraint firstItem="kta-PK-3mQ" firstAttribute="centerY" secondItem="8NF-l7-Wzi" secondAttribute="centerY" id="PF2-Ie-v9F"/>
  85. <constraint firstItem="kta-PK-3mQ" firstAttribute="leading" secondItem="Sgr-Er-zyV" secondAttribute="trailing" constant="15" id="QVv-Sj-wq5"/>
  86. <constraint firstAttribute="bottom" secondItem="kFR-YV-xMr" secondAttribute="bottom" id="ZY8-Vf-BV5"/>
  87. <constraint firstItem="kta-PK-3mQ" firstAttribute="trailing" secondItem="kFR-YV-xMr" secondAttribute="trailing" id="eDI-K9-IMh"/>
  88. <constraint firstItem="Sgr-Er-zyV" firstAttribute="bottom" secondItem="avf-CR-GMZ" secondAttribute="bottom" constant="5" id="gjB-ZQ-D0u"/>
  89. <constraint firstItem="pdh-yG-atY" firstAttribute="leading" secondItem="avf-CR-GMZ" secondAttribute="trailing" constant="15" id="llt-zh-mCo"/>
  90. <constraint firstItem="avf-CR-GMZ" firstAttribute="leading" secondItem="8NF-l7-Wzi" secondAttribute="leading" constant="15" id="odW-lM-7yw"/>
  91. </constraints>
  92. </view>
  93. </subviews>
  94. <color key="backgroundColor" red="0.97647058823529409" green="0.97647058823529409" blue="0.97647058823529409" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  95. <constraints>
  96. <constraint firstItem="8NF-l7-Wzi" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="GOb-f9-HVm"/>
  97. <constraint firstAttribute="trailing" secondItem="8NF-l7-Wzi" secondAttribute="trailing" constant="15" id="SAd-Y6-IKC"/>
  98. <constraint firstItem="8NF-l7-Wzi" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="Xk6-5X-8tx"/>
  99. <constraint firstAttribute="bottom" secondItem="8NF-l7-Wzi" secondAttribute="bottom" id="hp5-Vh-Zgs"/>
  100. </constraints>
  101. </tableViewCellContentView>
  102. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  103. <connections>
  104. <outlet property="detailLabel" destination="Sgr-Er-zyV" id="SVI-7j-dhy"/>
  105. <outlet property="lineView" destination="kFR-YV-xMr" id="xm0-rT-iHt"/>
  106. <outlet property="rateView" destination="avf-CR-GMZ" id="nYe-7P-sqD"/>
  107. <outlet property="resetBtn" destination="kta-PK-3mQ" id="9hO-QY-Btn"/>
  108. <outlet property="titleLabel" destination="pdh-yG-atY" id="HHZ-Uk-PwJ"/>
  109. </connections>
  110. <point key="canvasLocation" x="167.17557251908397" y="38.028169014084511"/>
  111. </tableViewCell>
  112. </objects>
  113. <resources>
  114. <systemColor name="systemBackgroundColor">
  115. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  116. </systemColor>
  117. </resources>
  118. </document>