RoomUserCell.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="32700.99.1234" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22684"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="RoomUserCell">
  14. <rect key="frame" x="0.0" y="0.0" width="71" height="115"/>
  15. <autoresizingMask key="autoresizingMask"/>
  16. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  17. <rect key="frame" x="0.0" y="0.0" width="71" height="115"/>
  18. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DqU-cj-HNB">
  21. <rect key="frame" x="-4.5" y="0.0" width="80" height="80"/>
  22. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  23. <constraints>
  24. <constraint firstAttribute="width" constant="80" id="H0r-vL-juw"/>
  25. <constraint firstAttribute="height" constant="80" id="HqI-Ff-YuF"/>
  26. </constraints>
  27. </view>
  28. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="DcI-KN-9zR">
  29. <rect key="frame" x="10.5" y="15" width="50" height="50"/>
  30. <constraints>
  31. <constraint firstAttribute="width" constant="50" id="fEe-c1-QP7"/>
  32. <constraint firstAttribute="height" constant="50" id="qdk-9D-cKi"/>
  33. </constraints>
  34. <userDefinedRuntimeAttributes>
  35. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  36. <integer key="value" value="25"/>
  37. </userDefinedRuntimeAttribute>
  38. </userDefinedRuntimeAttributes>
  39. </imageView>
  40. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="jBI-kp-bhn">
  41. <rect key="frame" x="-4.5" y="0.0" width="80" height="80"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="80" id="6R3-yV-6qY"/>
  44. <constraint firstAttribute="height" constant="80" id="SgL-Yd-cNM"/>
  45. </constraints>
  46. </imageView>
  47. <imageView hidden="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="yh" translatesAutoresizingMaskIntoConstraints="NO" id="koQ-Fl-C5z">
  48. <rect key="frame" x="45.5" y="50" width="12" height="12"/>
  49. <constraints>
  50. <constraint firstAttribute="width" constant="12" id="CJZ-Bj-wet"/>
  51. <constraint firstAttribute="height" constant="12" id="GQa-FO-9yC"/>
  52. </constraints>
  53. </imageView>
  54. <view autoresizesSubviews="NO" clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="DyH-if-YoQ">
  55. <rect key="frame" x="18.5" y="89" width="34.5" height="20"/>
  56. <subviews>
  57. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="VZW-zA-hbo">
  58. <rect key="frame" x="8" y="5" width="10" height="10"/>
  59. <constraints>
  60. <constraint firstAttribute="height" constant="10" id="3w0-XF-6OC"/>
  61. <constraint firstAttribute="width" constant="10" id="pC0-b2-syf"/>
  62. </constraints>
  63. </imageView>
  64. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" highlighted="YES" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XEV-5h-HoK">
  65. <rect key="frame" x="23" y="4" width="6.5" height="12"/>
  66. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  67. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. <nil key="highlightedColor"/>
  69. </label>
  70. </subviews>
  71. <color key="backgroundColor" white="1" alpha="0.098871970660000003" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  72. <constraints>
  73. <constraint firstAttribute="trailing" secondItem="XEV-5h-HoK" secondAttribute="trailing" constant="5" id="1mr-DI-lGd"/>
  74. <constraint firstItem="VZW-zA-hbo" firstAttribute="leading" secondItem="DyH-if-YoQ" secondAttribute="leading" constant="8" id="4jo-9Z-cT3"/>
  75. <constraint firstItem="XEV-5h-HoK" firstAttribute="centerY" secondItem="VZW-zA-hbo" secondAttribute="centerY" id="ArR-Wy-cN8"/>
  76. <constraint firstAttribute="height" constant="20" id="ERZ-hz-9Cb"/>
  77. <constraint firstItem="XEV-5h-HoK" firstAttribute="leading" secondItem="VZW-zA-hbo" secondAttribute="trailing" constant="5" id="p1A-4L-3Sb"/>
  78. <constraint firstItem="VZW-zA-hbo" firstAttribute="centerY" secondItem="DyH-if-YoQ" secondAttribute="centerY" id="vfV-oi-5a9"/>
  79. </constraints>
  80. <userDefinedRuntimeAttributes>
  81. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  82. <integer key="value" value="9"/>
  83. </userDefinedRuntimeAttribute>
  84. </userDefinedRuntimeAttributes>
  85. </view>
  86. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" fixedFrame="YES" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="yo6-Jf-WuJ">
  87. <rect key="frame" x="0.0" y="70" width="71" height="0.0"/>
  88. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  89. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="11"/>
  90. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  91. <nil key="highlightedColor"/>
  92. </label>
  93. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="XeP-QB-5QU">
  94. <rect key="frame" x="0.0" y="65" width="71" height="24"/>
  95. <subviews>
  96. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="tailTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="olf-gx-cHu" customClass="QMUIButton">
  97. <rect key="frame" x="0.0" y="-5" width="71" height="26"/>
  98. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  99. <state key="normal">
  100. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  101. </state>
  102. </button>
  103. </subviews>
  104. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  105. <constraints>
  106. <constraint firstItem="olf-gx-cHu" firstAttribute="centerX" secondItem="XeP-QB-5QU" secondAttribute="centerX" id="1u5-4z-e7D"/>
  107. <constraint firstItem="olf-gx-cHu" firstAttribute="leading" secondItem="XeP-QB-5QU" secondAttribute="leading" id="fqe-OI-KIn"/>
  108. <constraint firstAttribute="trailing" secondItem="olf-gx-cHu" secondAttribute="trailing" id="gJb-YE-bDa"/>
  109. <constraint firstAttribute="bottom" secondItem="olf-gx-cHu" secondAttribute="bottom" constant="3" id="sgD-xJ-WIE"/>
  110. <constraint firstAttribute="height" constant="24" id="wdQ-aL-lU6"/>
  111. </constraints>
  112. </view>
  113. </subviews>
  114. </view>
  115. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  116. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  117. <constraints>
  118. <constraint firstItem="DcI-KN-9zR" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="6LK-Ti-gDq"/>
  119. <constraint firstItem="jBI-kp-bhn" firstAttribute="centerY" secondItem="DcI-KN-9zR" secondAttribute="centerY" id="AMN-Qo-LdR"/>
  120. <constraint firstItem="DyH-if-YoQ" firstAttribute="top" secondItem="XeP-QB-5QU" secondAttribute="bottom" id="BX9-i9-3di"/>
  121. <constraint firstItem="XeP-QB-5QU" firstAttribute="top" secondItem="DcI-KN-9zR" secondAttribute="bottom" id="KH9-dY-u8V"/>
  122. <constraint firstItem="koQ-Fl-C5z" firstAttribute="trailing" secondItem="DcI-KN-9zR" secondAttribute="trailing" constant="-3" id="L2Z-FY-aC6"/>
  123. <constraint firstItem="DqU-cj-HNB" firstAttribute="centerY" secondItem="DcI-KN-9zR" secondAttribute="centerY" id="OiQ-bu-baU"/>
  124. <constraint firstItem="DqU-cj-HNB" firstAttribute="centerX" secondItem="DcI-KN-9zR" secondAttribute="centerX" id="Oiy-Y6-o5J"/>
  125. <constraint firstItem="DcI-KN-9zR" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" constant="15" id="Vtb-D5-UND"/>
  126. <constraint firstItem="jBI-kp-bhn" firstAttribute="centerX" secondItem="DcI-KN-9zR" secondAttribute="centerX" id="W6m-lA-f5y"/>
  127. <constraint firstItem="XeP-QB-5QU" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="c7K-Jj-fn8"/>
  128. <constraint firstItem="DyH-if-YoQ" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="cBn-rI-asZ"/>
  129. <constraint firstItem="XeP-QB-5QU" firstAttribute="centerX" secondItem="gTV-IL-0wX" secondAttribute="centerX" id="lkZ-u4-tAN"/>
  130. <constraint firstItem="koQ-Fl-C5z" firstAttribute="bottom" secondItem="DcI-KN-9zR" secondAttribute="bottom" constant="-3" id="yZQ-40-2v6"/>
  131. </constraints>
  132. <size key="customSize" width="71" height="112"/>
  133. <connections>
  134. <outlet property="breathView" destination="DqU-cj-HNB" id="IZm-kD-Tml"/>
  135. <outlet property="giftLabel" destination="XEV-5h-HoK" id="CNh-Gu-1Bc"/>
  136. <outlet property="giftSexImageView" destination="VZW-zA-hbo" id="icm-vn-rIh"/>
  137. <outlet property="giftView" destination="DyH-if-YoQ" id="I5S-Nh-I6V"/>
  138. <outlet property="headImageView" destination="jBI-kp-bhn" id="XcC-Lt-Fta"/>
  139. <outlet property="iconImageView" destination="DcI-KN-9zR" id="skI-n3-Wu0"/>
  140. <outlet property="muteImageView" destination="koQ-Fl-C5z" id="WWI-S8-mae"/>
  141. <outlet property="nameBtn" destination="olf-gx-cHu" id="LbT-pp-Use"/>
  142. <outlet property="nameLabel" destination="yo6-Jf-WuJ" id="HPS-ss-DDI"/>
  143. </connections>
  144. <point key="canvasLocation" x="-90.400000000000006" y="48.125937031484263"/>
  145. </collectionViewCell>
  146. </objects>
  147. <resources>
  148. <image name="yh" width="13" height="13"/>
  149. </resources>
  150. </document>