SBTHomeCell.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  14. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  15. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="104" id="KGk-i7-Jjw" customClass="SBTHomeCell" customModule="SolarBT" customModuleProvider="target">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="104"/>
  17. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  18. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  19. <rect key="frame" x="0.0" y="0.0" width="320" height="103.5"/>
  20. <autoresizingMask key="autoresizingMask"/>
  21. <subviews>
  22. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="solor_controller_online" translatesAutoresizingMaskIntoConstraints="NO" id="kFT-86-gYX">
  23. <rect key="frame" x="25" y="32" width="40" height="40"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="40" id="Exq-Zm-gQz"/>
  26. <constraint firstAttribute="width" constant="40" id="gVi-b0-wBB"/>
  27. </constraints>
  28. </imageView>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="燕州街321号" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vaw-Ao-wBY">
  30. <rect key="frame" x="75" y="32" width="204" height="23"/>
  31. <constraints>
  32. <constraint firstAttribute="height" constant="23" id="gAw-PZ-IxP"/>
  33. </constraints>
  34. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
  35. <nil key="textColor"/>
  36. <nil key="highlightedColor"/>
  37. </label>
  38. <stackView hidden="YES" opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ael-oF-WWY">
  39. <rect key="frame" x="75" y="27" width="200" height="50"/>
  40. <subviews>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="j36-U7-MH8" userLabel="Label1">
  42. <rect key="frame" x="0.0" y="0.0" width="40.5" height="50"/>
  43. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
  44. <nil key="textColor"/>
  45. <nil key="highlightedColor"/>
  46. </label>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="v3w-YY-KRL" userLabel="Label2">
  48. <rect key="frame" x="40.5" y="0.0" width="159.5" height="50"/>
  49. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="16"/>
  50. <color key="textColor" red="0.62352941179999999" green="0.62352941179999999" blue="0.62352941179999999" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. </subviews>
  54. <constraints>
  55. <constraint firstAttribute="bottom" secondItem="v3w-YY-KRL" secondAttribute="bottom" id="CIF-xs-FSm"/>
  56. <constraint firstAttribute="trailing" secondItem="v3w-YY-KRL" secondAttribute="trailing" id="W2X-ra-uHq"/>
  57. <constraint firstAttribute="height" constant="50" id="W2w-up-nhD"/>
  58. <constraint firstItem="j36-U7-MH8" firstAttribute="leading" secondItem="Ael-oF-WWY" secondAttribute="leading" id="Y9e-Gx-ERJ"/>
  59. <constraint firstItem="v3w-YY-KRL" firstAttribute="top" secondItem="Ael-oF-WWY" secondAttribute="top" id="aA0-QY-1M0"/>
  60. <constraint firstAttribute="bottom" secondItem="j36-U7-MH8" secondAttribute="bottom" id="jfM-r4-KBa"/>
  61. <constraint firstItem="j36-U7-MH8" firstAttribute="top" secondItem="Ael-oF-WWY" secondAttribute="top" id="oYW-DB-XWK"/>
  62. </constraints>
  63. </stackView>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="太阳能控制器" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="G6u-Qr-fSa">
  65. <rect key="frame" x="75" y="57" width="61.5" height="12"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  67. <color key="textColor" red="0.57647460699081421" green="0.57646340131759644" blue="0.57647103071212769" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kwy-tb-ibt">
  71. <rect key="frame" x="25" y="102.5" width="270" height="1"/>
  72. <color key="backgroundColor" red="0.88235294117647056" green="0.88235294117647056" blue="0.88235294117647056" alpha="1" colorSpace="calibratedRGB"/>
  73. <constraints>
  74. <constraint firstAttribute="height" constant="1" id="Ufo-Qr-omk"/>
  75. </constraints>
  76. </view>
  77. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iot-hu-88v">
  78. <rect key="frame" x="285" y="52" width="10" height="10"/>
  79. <color key="backgroundColor" red="0.34018170833587646" green="0.67879563570022583" blue="0.20377501845359802" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  80. <constraints>
  81. <constraint firstAttribute="width" constant="10" id="Phm-qG-7e0"/>
  82. <constraint firstAttribute="height" constant="10" id="YMO-1B-c8V"/>
  83. </constraints>
  84. </view>
  85. </subviews>
  86. <constraints>
  87. <constraint firstItem="kFT-86-gYX" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="0cL-1D-tig"/>
  88. <constraint firstAttribute="trailing" secondItem="kwy-tb-ibt" secondAttribute="trailing" constant="25" id="8vW-3w-vlS"/>
  89. <constraint firstAttribute="bottom" secondItem="kwy-tb-ibt" secondAttribute="bottom" id="HaE-rS-6xq"/>
  90. <constraint firstItem="vaw-Ao-wBY" firstAttribute="top" secondItem="kFT-86-gYX" secondAttribute="top" id="OVP-GW-xb8"/>
  91. <constraint firstItem="iot-hu-88v" firstAttribute="leading" secondItem="Ael-oF-WWY" secondAttribute="trailing" constant="10" id="Scd-q2-xy0"/>
  92. <constraint firstItem="G6u-Qr-fSa" firstAttribute="leading" secondItem="vaw-Ao-wBY" secondAttribute="leading" id="YKw-YF-eQK"/>
  93. <constraint firstItem="kwy-tb-ibt" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="25" id="c1e-N0-POr"/>
  94. <constraint firstItem="Ael-oF-WWY" firstAttribute="leading" secondItem="kFT-86-gYX" secondAttribute="trailing" constant="10" id="cfN-pa-Chw"/>
  95. <constraint firstItem="kFT-86-gYX" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="25" id="dF5-1C-fKQ"/>
  96. <constraint firstAttribute="trailing" secondItem="iot-hu-88v" secondAttribute="trailing" constant="25" id="f7l-0E-yDw"/>
  97. <constraint firstItem="G6u-Qr-fSa" firstAttribute="bottom" secondItem="kFT-86-gYX" secondAttribute="bottom" constant="-3" id="ftu-eY-eMW"/>
  98. <constraint firstItem="iot-hu-88v" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" constant="5" id="q28-fL-JfJ"/>
  99. <constraint firstItem="Ael-oF-WWY" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="qb3-9Y-Y4g"/>
  100. <constraint firstItem="vaw-Ao-wBY" firstAttribute="leading" secondItem="kFT-86-gYX" secondAttribute="trailing" constant="10" id="yVE-4R-t2d"/>
  101. <constraint firstAttribute="trailingMargin" secondItem="vaw-Ao-wBY" secondAttribute="trailing" constant="25" id="z29-F8-NUp"/>
  102. </constraints>
  103. </tableViewCellContentView>
  104. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  105. <connections>
  106. <outlet property="deviceName" destination="vaw-Ao-wBY" id="maG-6d-G7c"/>
  107. <outlet property="labelBox" destination="Ael-oF-WWY" id="JsF-4n-DH7"/>
  108. <outlet property="old_device_typelabel" destination="v3w-YY-KRL" id="gtP-xH-AFO"/>
  109. <outlet property="ole_typelabel" destination="j36-U7-MH8" id="L6A-XB-bZc"/>
  110. <outlet property="statusView" destination="iot-hu-88v" id="h00-Yd-7UE"/>
  111. <outlet property="typeImageView" destination="kFT-86-gYX" id="DXd-fg-9wf"/>
  112. <outlet property="typeName" destination="G6u-Qr-fSa" id="eVi-OA-n85"/>
  113. </connections>
  114. <point key="canvasLocation" x="137.59999999999999" y="136.73163418290855"/>
  115. </tableViewCell>
  116. </objects>
  117. <resources>
  118. <image name="solor_controller_online" width="45" height="45"/>
  119. </resources>
  120. </document>