RDSHomeListCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" 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="21505"/>
  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" id="KGk-i7-Jjw" customClass="RDSHomeListCell">
  14. <rect key="frame" x="0.0" y="0.0" width="390" height="107"/>
  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="390" height="107"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="FmJ-d7-FJ0">
  21. <rect key="frame" x="20" y="10" width="350" height="87"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="my_home" translatesAutoresizingMaskIntoConstraints="NO" id="ap3-99-qVg">
  24. <rect key="frame" x="20" y="30.666666666666664" width="25" height="26"/>
  25. </imageView>
  26. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="fN4-0z-DtL">
  27. <rect key="frame" x="53" y="22.666666666666668" width="92" height="41.666666666666657"/>
  28. <subviews>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="山上的家" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="eja-hP-dqq">
  30. <rect key="frame" x="0.0" y="0.0" width="92" height="21.666666666666668"/>
  31. <fontDescription key="fontDescription" type="boldSystem" pointSize="18"/>
  32. <color key="textColor" red="0.23921568630000001" green="0.23921568630000001" blue="0.23921568630000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="eBh-Kr-TX6">
  36. <rect key="frame" x="0.0" y="21.666666666666671" width="92" height="20"/>
  37. <subviews>
  38. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_dot_offline" highlightedImage="icon_dot_online" translatesAutoresizingMaskIntoConstraints="NO" id="hyx-6n-2BD">
  39. <rect key="frame" x="0.0" y="6" width="8" height="8"/>
  40. <constraints>
  41. <constraint firstAttribute="width" constant="8" id="4aV-zO-1be"/>
  42. <constraint firstAttribute="height" constant="8" id="9zU-ag-nnL"/>
  43. </constraints>
  44. </imageView>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="在线" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tTS-nf-nNd">
  46. <rect key="frame" x="13.000000000000002" y="3.0000000000000009" width="24.666666666666671" height="14.333333333333336"/>
  47. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  48. <color key="textColor" red="0.15294117647058825" green="0.1803921568627451" blue="0.23137254901960785" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  49. <nil key="highlightedColor"/>
  50. </label>
  51. </subviews>
  52. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  53. <constraints>
  54. <constraint firstItem="hyx-6n-2BD" firstAttribute="centerY" secondItem="eBh-Kr-TX6" secondAttribute="centerY" id="FIq-qn-xet"/>
  55. <constraint firstAttribute="height" constant="20" id="Mde-MX-OAI"/>
  56. <constraint firstItem="hyx-6n-2BD" firstAttribute="leading" secondItem="eBh-Kr-TX6" secondAttribute="leading" id="VZB-5A-VNj"/>
  57. <constraint firstItem="tTS-nf-nNd" firstAttribute="centerY" secondItem="eBh-Kr-TX6" secondAttribute="centerY" id="nXm-eh-aZk"/>
  58. <constraint firstItem="tTS-nf-nNd" firstAttribute="leading" secondItem="hyx-6n-2BD" secondAttribute="trailing" constant="5" id="oxu-9b-aYO"/>
  59. </constraints>
  60. </view>
  61. </subviews>
  62. </stackView>
  63. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="center" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_go" translatesAutoresizingMaskIntoConstraints="NO" id="9G1-3o-vdQ">
  64. <rect key="frame" x="322.33333333333331" y="36.666666666666664" width="7.6666666666666856" height="14"/>
  65. </imageView>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="家庭成员:" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="krH-ds-EfP">
  67. <rect key="frame" x="244.00000000000003" y="36.333333333333336" width="61.333333333333343" height="14.333333333333336"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  69. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. </subviews>
  73. <color key="backgroundColor" red="0.94474679230000003" green="0.96078354119999998" blue="0.96078544860000004" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  74. <constraints>
  75. <constraint firstItem="ap3-99-qVg" firstAttribute="leading" secondItem="FmJ-d7-FJ0" secondAttribute="leading" constant="20" id="0Ix-Cx-nQd"/>
  76. <constraint firstItem="krH-ds-EfP" firstAttribute="centerY" secondItem="FmJ-d7-FJ0" secondAttribute="centerY" id="4Jc-3y-pvl"/>
  77. <constraint firstItem="9G1-3o-vdQ" firstAttribute="centerY" secondItem="FmJ-d7-FJ0" secondAttribute="centerY" id="Bl5-wL-iWC"/>
  78. <constraint firstItem="fN4-0z-DtL" firstAttribute="centerY" secondItem="FmJ-d7-FJ0" secondAttribute="centerY" id="LRU-29-8Fp"/>
  79. <constraint firstItem="9G1-3o-vdQ" firstAttribute="leading" secondItem="krH-ds-EfP" secondAttribute="trailing" constant="17" id="d4k-D8-4Tn"/>
  80. <constraint firstAttribute="trailing" secondItem="9G1-3o-vdQ" secondAttribute="trailing" constant="20" id="ltk-1a-CRc"/>
  81. <constraint firstItem="ap3-99-qVg" firstAttribute="centerY" secondItem="FmJ-d7-FJ0" secondAttribute="centerY" id="qLA-mc-OCd"/>
  82. <constraint firstItem="fN4-0z-DtL" firstAttribute="leading" secondItem="ap3-99-qVg" secondAttribute="trailing" constant="8" symbolic="YES" id="z4y-f7-QGl"/>
  83. </constraints>
  84. <userDefinedRuntimeAttributes>
  85. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="10"/>
  86. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  87. </userDefinedRuntimeAttributes>
  88. </view>
  89. </subviews>
  90. <constraints>
  91. <constraint firstAttribute="trailing" secondItem="FmJ-d7-FJ0" secondAttribute="trailing" constant="20" id="RjR-GW-7jf"/>
  92. <constraint firstItem="FmJ-d7-FJ0" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="Ucd-V2-plk"/>
  93. <constraint firstItem="FmJ-d7-FJ0" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="mhI-Q6-fH7"/>
  94. <constraint firstAttribute="bottom" secondItem="FmJ-d7-FJ0" secondAttribute="bottom" constant="10" id="pkN-dP-29X"/>
  95. </constraints>
  96. </tableViewCellContentView>
  97. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  98. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. <connections>
  100. <outlet property="memberLab" destination="krH-ds-EfP" id="L2U-zx-XEb"/>
  101. <outlet property="nameLab" destination="eja-hP-dqq" id="cog-Ur-gTf"/>
  102. <outlet property="onlineImg" destination="hyx-6n-2BD" id="61v-Hy-H2H"/>
  103. <outlet property="onlineLab" destination="tTS-nf-nNd" id="tSC-9v-ZnK"/>
  104. </connections>
  105. <point key="canvasLocation" x="138.93129770992365" y="-1.0563380281690142"/>
  106. </tableViewCell>
  107. </objects>
  108. <resources>
  109. <image name="icon_dot_offline" width="8" height="8"/>
  110. <image name="icon_dot_online" width="8" height="8"/>
  111. <image name="icon_go" width="7.6666665077209473" height="14"/>
  112. <image name="my_home" width="25" height="26"/>
  113. </resources>
  114. </document>