YXDeviceInfoCell.xib 7.7 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  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="91" id="KGk-i7-Jjw" customClass="YXDeviceInfoCell">
  15. <rect key="frame" x="0.0" y="0.0" width="344" height="91"/>
  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="344" height="91"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="p7W-KX-PGW">
  22. <rect key="frame" x="0.0" y="0.0" width="344" height="91"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="home_right_arrow" translatesAutoresizingMaskIntoConstraints="NO" id="KbA-gP-Uju">
  25. <rect key="frame" x="316" y="36.666666666666664" width="18" height="18"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="18" id="CIy-Ee-ACQ"/>
  28. <constraint firstAttribute="width" constant="18" id="leT-4A-n5f"/>
  29. </constraints>
  30. </imageView>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="客厅" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9XX-f1-cl4">
  32. <rect key="frame" x="20" y="5" width="150" height="81"/>
  33. <constraints>
  34. <constraint firstAttribute="width" constant="150" id="Xlj-Tu-y9H"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  37. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2个设备" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pCb-Bj-bqZ">
  41. <rect key="frame" x="111" y="5" width="200" height="81"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="200" id="btM-Pu-5a3"/>
  44. </constraints>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. </subviews>
  50. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  51. <constraints>
  52. <constraint firstItem="9XX-f1-cl4" firstAttribute="top" secondItem="p7W-KX-PGW" secondAttribute="top" constant="5" id="1Bi-wf-bUu"/>
  53. <constraint firstItem="KbA-gP-Uju" firstAttribute="leading" secondItem="pCb-Bj-bqZ" secondAttribute="trailing" constant="5" id="746-0o-KMh"/>
  54. <constraint firstItem="pCb-Bj-bqZ" firstAttribute="centerY" secondItem="9XX-f1-cl4" secondAttribute="centerY" id="7c7-qP-chZ"/>
  55. <constraint firstItem="pCb-Bj-bqZ" firstAttribute="height" secondItem="9XX-f1-cl4" secondAttribute="height" id="Eko-NM-kUa"/>
  56. <constraint firstAttribute="trailing" secondItem="KbA-gP-Uju" secondAttribute="trailing" constant="10" id="SIf-mf-3GV"/>
  57. <constraint firstAttribute="bottom" secondItem="9XX-f1-cl4" secondAttribute="bottom" constant="5" id="j74-8G-6Sx"/>
  58. <constraint firstItem="KbA-gP-Uju" firstAttribute="centerY" secondItem="p7W-KX-PGW" secondAttribute="centerY" id="ljJ-r9-6YD"/>
  59. <constraint firstItem="9XX-f1-cl4" firstAttribute="leading" secondItem="p7W-KX-PGW" secondAttribute="leading" constant="20" id="zz2-81-WAA"/>
  60. </constraints>
  61. <userDefinedRuntimeAttributes>
  62. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  63. <integer key="value" value="5"/>
  64. </userDefinedRuntimeAttribute>
  65. </userDefinedRuntimeAttributes>
  66. </view>
  67. </subviews>
  68. <constraints>
  69. <constraint firstItem="p7W-KX-PGW" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="1Bw-Dg-Zfr"/>
  70. <constraint firstAttribute="trailing" secondItem="p7W-KX-PGW" secondAttribute="trailing" id="AYb-vU-cHY"/>
  71. <constraint firstItem="p7W-KX-PGW" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="Wbb-oX-Nrq"/>
  72. <constraint firstAttribute="bottom" secondItem="p7W-KX-PGW" secondAttribute="bottom" id="ohZ-Lp-XMg"/>
  73. </constraints>
  74. </tableViewCellContentView>
  75. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  76. <connections>
  77. <outlet property="detailLabel" destination="pCb-Bj-bqZ" id="skt-Nf-VFW"/>
  78. <outlet property="titleLabel" destination="9XX-f1-cl4" id="ZfL-C8-5sW"/>
  79. </connections>
  80. <point key="canvasLocation" x="157.25190839694656" y="36.267605633802816"/>
  81. </tableViewCell>
  82. </objects>
  83. <resources>
  84. <image name="home_right_arrow" width="8.6666669845581055" height="14"/>
  85. <systemColor name="systemBackgroundColor">
  86. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  87. </systemColor>
  88. </resources>
  89. </document>