ChatFriendCell.xib 14 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143
  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" 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="22685"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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" rowHeight="108" id="KGk-i7-Jjw" customClass="ChatFriendCell">
  14. <rect key="frame" x="0.0" y="0.0" width="373" height="60"/>
  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="373" height="60"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="msgBg" translatesAutoresizingMaskIntoConstraints="NO" id="zuS-f4-Yto">
  21. <rect key="frame" x="15" y="7.5" width="343" height="45"/>
  22. </imageView>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="com_preload_head_img" translatesAutoresizingMaskIntoConstraints="NO" id="uc8-f1-AM2">
  24. <rect key="frame" x="30" y="10" width="40" height="40"/>
  25. <constraints>
  26. <constraint firstAttribute="width" constant="40" id="EOI-OZ-N4k"/>
  27. <constraint firstAttribute="height" constant="40" id="h4h-Fs-g6h"/>
  28. </constraints>
  29. </imageView>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M6Y-DQ-zNq">
  31. <rect key="frame" x="78" y="10" width="0.0" height="0.0"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  33. <color key="textColor" red="0.10196078431372549" green="0.10196078431372549" blue="0.10196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="com_male_selected" translatesAutoresizingMaskIntoConstraints="NO" id="MGG-gQ-EAO">
  37. <rect key="frame" x="83" y="4" width="12" height="12"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="12" id="Pvd-ZG-Ghn"/>
  40. <constraint firstAttribute="width" constant="12" id="q7X-eu-EYD"/>
  41. </constraints>
  42. </imageView>
  43. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="rank_1" translatesAutoresizingMaskIntoConstraints="NO" id="hia-Ze-zXq">
  44. <rect key="frame" x="100" y="2.5" width="27" height="15"/>
  45. <constraints>
  46. <constraint firstAttribute="width" constant="27" id="aS8-Qv-PN2"/>
  47. <constraint firstAttribute="height" constant="15" id="wRh-vr-CJg"/>
  48. </constraints>
  49. </imageView>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Vgy-bb-Jif">
  51. <rect key="frame" x="343" y="41.5" width="0.0" height="0.0"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  53. <color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <view opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dAw-9F-sjX" customClass="M80AttributedLabel">
  57. <rect key="frame" x="78" y="33" width="215" height="17"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="17" id="6YO-ra-t2O"/>
  60. </constraints>
  61. </view>
  62. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="vw2-Yw-WKb">
  63. <rect key="frame" x="38" y="37" width="15" height="15"/>
  64. <constraints>
  65. <constraint firstAttribute="width" constant="15" id="G4y-d4-aVW"/>
  66. <constraint firstAttribute="height" constant="15" id="nPJ-eo-oua"/>
  67. </constraints>
  68. </imageView>
  69. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="85L-7m-3gS">
  70. <rect key="frame" x="306.5" y="0.0" width="36.5" height="20"/>
  71. <subviews>
  72. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xdq-9z-kmf" userLabel="unreadLabel">
  73. <rect key="frame" x="5" y="4" width="26.5" height="12"/>
  74. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  76. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <nil key="highlightedColor"/>
  78. </label>
  79. </subviews>
  80. <color key="backgroundColor" systemColor="systemRedColor"/>
  81. <constraints>
  82. <constraint firstAttribute="trailing" secondItem="xdq-9z-kmf" secondAttribute="trailing" constant="5" id="Iap-vb-1XM"/>
  83. <constraint firstItem="xdq-9z-kmf" firstAttribute="centerY" secondItem="85L-7m-3gS" secondAttribute="centerY" id="awr-B3-nNE"/>
  84. <constraint firstAttribute="height" constant="20" id="bpD-mr-FMk"/>
  85. <constraint firstItem="xdq-9z-kmf" firstAttribute="leading" secondItem="85L-7m-3gS" secondAttribute="leading" constant="5" id="rEA-ZQ-8Uy"/>
  86. </constraints>
  87. <userDefinedRuntimeAttributes>
  88. <userDefinedRuntimeAttribute type="number" keyPath="autoCornerRadius">
  89. <real key="value" value="10"/>
  90. </userDefinedRuntimeAttribute>
  91. </userDefinedRuntimeAttributes>
  92. </view>
  93. </subviews>
  94. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  95. <constraints>
  96. <constraint firstAttribute="bottom" secondItem="vw2-Yw-WKb" secondAttribute="bottom" constant="8" id="5x6-LL-qK0"/>
  97. <constraint firstItem="dAw-9F-sjX" firstAttribute="bottom" secondItem="uc8-f1-AM2" secondAttribute="bottom" id="DDD-OZ-Ef0"/>
  98. <constraint firstItem="hia-Ze-zXq" firstAttribute="leading" secondItem="MGG-gQ-EAO" secondAttribute="trailing" constant="5" id="DcD-Ne-0kj"/>
  99. <constraint firstItem="zuS-f4-Yto" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="15" id="EmK-th-Xg5"/>
  100. <constraint firstItem="zuS-f4-Yto" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="7.5" id="KpB-mf-N4e"/>
  101. <constraint firstItem="uc8-f1-AM2" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="30" id="Q8w-4B-Rlu"/>
  102. <constraint firstItem="MGG-gQ-EAO" firstAttribute="centerY" secondItem="M6Y-DQ-zNq" secondAttribute="centerY" id="QbH-fq-oC6"/>
  103. <constraint firstItem="hia-Ze-zXq" firstAttribute="centerY" secondItem="MGG-gQ-EAO" secondAttribute="centerY" id="T4T-Pg-0PR"/>
  104. <constraint firstItem="dAw-9F-sjX" firstAttribute="leading" secondItem="uc8-f1-AM2" secondAttribute="trailing" constant="8" id="ZGc-c9-K9H"/>
  105. <constraint firstItem="85L-7m-3gS" firstAttribute="centerY" secondItem="M6Y-DQ-zNq" secondAttribute="centerY" id="Zd5-b3-bAM"/>
  106. <constraint firstAttribute="trailing" secondItem="zuS-f4-Yto" secondAttribute="trailing" constant="15" id="bhQ-UW-gzD"/>
  107. <constraint firstItem="Vgy-bb-Jif" firstAttribute="trailing" secondItem="zuS-f4-Yto" secondAttribute="trailing" constant="-15" id="hTh-xi-4hX"/>
  108. <constraint firstItem="M6Y-DQ-zNq" firstAttribute="leading" secondItem="uc8-f1-AM2" secondAttribute="trailing" constant="8" id="jUM-eN-GVK"/>
  109. <constraint firstItem="MGG-gQ-EAO" firstAttribute="leading" secondItem="M6Y-DQ-zNq" secondAttribute="trailing" constant="5" id="oVO-8J-oIY"/>
  110. <constraint firstItem="zuS-f4-Yto" firstAttribute="trailing" secondItem="85L-7m-3gS" secondAttribute="trailing" constant="15" id="rK2-Lg-U1h"/>
  111. <constraint firstItem="uc8-f1-AM2" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="rVr-92-7nw"/>
  112. <constraint firstItem="zuS-f4-Yto" firstAttribute="trailing" secondItem="dAw-9F-sjX" secondAttribute="trailing" constant="65" id="sOP-PC-Hgv"/>
  113. <constraint firstItem="vw2-Yw-WKb" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="38" id="vdm-NP-uON"/>
  114. <constraint firstItem="Vgy-bb-Jif" firstAttribute="centerY" secondItem="dAw-9F-sjX" secondAttribute="centerY" id="xsP-f1-083"/>
  115. <constraint firstItem="M6Y-DQ-zNq" firstAttribute="top" secondItem="uc8-f1-AM2" secondAttribute="top" id="yct-fn-zKp"/>
  116. <constraint firstAttribute="bottom" secondItem="zuS-f4-Yto" secondAttribute="bottom" constant="7.5" id="zFm-LA-c5D"/>
  117. </constraints>
  118. </tableViewCellContentView>
  119. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  120. <connections>
  121. <outlet property="mheadimg" destination="uc8-f1-AM2" id="Gkj-GE-XFu"/>
  122. <outlet property="mlevel" destination="hia-Ze-zXq" id="M3z-2Y-gKy"/>
  123. <outlet property="mmsg" destination="dAw-9F-sjX" id="eFJ-yB-jmC"/>
  124. <outlet property="mname" destination="M6Y-DQ-zNq" id="61Q-1h-s09"/>
  125. <outlet property="msex" destination="MGG-gQ-EAO" id="cWz-lx-cjk"/>
  126. <outlet property="mtime" destination="Vgy-bb-Jif" id="NVj-PH-h1A"/>
  127. <outlet property="unReadLabel" destination="xdq-9z-kmf" id="S2p-jE-o62"/>
  128. <outlet property="unReadView" destination="85L-7m-3gS" id="wIQ-OQ-6KN"/>
  129. <outlet property="viconImageView" destination="vw2-Yw-WKb" id="YHR-LC-Fqp"/>
  130. </connections>
  131. <point key="canvasLocation" x="247.19999999999999" y="428.18590704647681"/>
  132. </tableViewCell>
  133. </objects>
  134. <resources>
  135. <image name="com_male_selected" width="10" height="10"/>
  136. <image name="com_preload_head_img" width="512" height="512"/>
  137. <image name="msgBg" width="345" height="70"/>
  138. <image name="rank_1" width="180" height="84"/>
  139. <systemColor name="systemRedColor">
  140. <color red="1" green="0.23137254901960785" blue="0.18823529411764706" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  141. </systemColor>
  142. </resources>
  143. </document>