ChatFriendCell.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23727" 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="23721"/>
  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="com_preload_head_img" translatesAutoresizingMaskIntoConstraints="NO" id="uc8-f1-AM2">
  21. <rect key="frame" x="20" y="6.5" width="47" height="47"/>
  22. <constraints>
  23. <constraint firstAttribute="width" constant="47" id="EOI-OZ-N4k"/>
  24. <constraint firstAttribute="height" constant="47" id="h4h-Fs-g6h"/>
  25. </constraints>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="www" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M6Y-DQ-zNq">
  28. <rect key="frame" x="75" y="6.5" width="36.5" height="20"/>
  29. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  30. <color key="textColor" red="0.10196078431372549" green="0.10196078431372549" blue="0.10196078431372549" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  31. <nil key="highlightedColor"/>
  32. </label>
  33. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="com_male_selected" translatesAutoresizingMaskIntoConstraints="NO" id="MGG-gQ-EAO">
  34. <rect key="frame" x="116.5" y="10.5" width="12" height="12"/>
  35. <constraints>
  36. <constraint firstAttribute="height" constant="12" id="Pvd-ZG-Ghn"/>
  37. <constraint firstAttribute="width" constant="12" id="q7X-eu-EYD"/>
  38. </constraints>
  39. </imageView>
  40. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="rank_1" translatesAutoresizingMaskIntoConstraints="NO" id="hia-Ze-zXq">
  41. <rect key="frame" x="133.5" y="9" width="27" height="15"/>
  42. <constraints>
  43. <constraint firstAttribute="width" constant="27" id="aS8-Qv-PN2"/>
  44. <constraint firstAttribute="height" constant="15" id="wRh-vr-CJg"/>
  45. </constraints>
  46. </imageView>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="12:43" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Vgy-bb-Jif">
  48. <rect key="frame" x="321" y="9.5" width="32" height="14.5"/>
  49. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  50. <color key="textColor" red="0.66666666666666663" green="0.66666666666666663" blue="0.66666666666666663" alpha="0.84705882352941175" colorSpace="calibratedRGB"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <view opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dAw-9F-sjX" customClass="M80AttributedLabel">
  54. <rect key="frame" x="75" y="29.5" width="278" height="19.5"/>
  55. </view>
  56. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="vw2-Yw-WKb">
  57. <rect key="frame" x="38" y="37" width="15" height="15"/>
  58. <constraints>
  59. <constraint firstAttribute="width" constant="15" id="G4y-d4-aVW"/>
  60. <constraint firstAttribute="height" constant="15" id="nPJ-eo-oua"/>
  61. </constraints>
  62. </imageView>
  63. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="85L-7m-3gS">
  64. <rect key="frame" x="50.5" y="6.5" width="16.5" height="16"/>
  65. <subviews>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="xdq-9z-kmf" userLabel="unreadLabel">
  67. <rect key="frame" x="5" y="2" width="6.5" height="12"/>
  68. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  70. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  71. <nil key="highlightedColor"/>
  72. </label>
  73. </subviews>
  74. <color key="backgroundColor" systemColor="systemRedColor"/>
  75. <constraints>
  76. <constraint firstAttribute="width" relation="greaterThanOrEqual" constant="16" id="AgQ-wE-HZ9"/>
  77. <constraint firstAttribute="trailing" secondItem="xdq-9z-kmf" secondAttribute="trailing" constant="5" id="Iap-vb-1XM"/>
  78. <constraint firstItem="xdq-9z-kmf" firstAttribute="centerY" secondItem="85L-7m-3gS" secondAttribute="centerY" id="awr-B3-nNE"/>
  79. <constraint firstAttribute="height" constant="16" id="bpD-mr-FMk"/>
  80. <constraint firstItem="xdq-9z-kmf" firstAttribute="leading" secondItem="85L-7m-3gS" secondAttribute="leading" constant="5" id="rEA-ZQ-8Uy"/>
  81. </constraints>
  82. <userDefinedRuntimeAttributes>
  83. <userDefinedRuntimeAttribute type="number" keyPath="autoCornerRadius">
  84. <real key="value" value="10"/>
  85. </userDefinedRuntimeAttribute>
  86. </userDefinedRuntimeAttributes>
  87. </view>
  88. </subviews>
  89. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  90. <constraints>
  91. <constraint firstAttribute="bottom" secondItem="vw2-Yw-WKb" secondAttribute="bottom" constant="8" id="5x6-LL-qK0"/>
  92. <constraint firstItem="hia-Ze-zXq" firstAttribute="leading" secondItem="MGG-gQ-EAO" secondAttribute="trailing" constant="5" id="DcD-Ne-0kj"/>
  93. <constraint firstItem="dAw-9F-sjX" firstAttribute="bottom" secondItem="H2p-sc-9uM" secondAttribute="bottomMargin" id="HWn-Os-Ape"/>
  94. <constraint firstItem="Vgy-bb-Jif" firstAttribute="centerY" secondItem="M6Y-DQ-zNq" secondAttribute="centerY" id="O9Z-eU-ehV"/>
  95. <constraint firstItem="uc8-f1-AM2" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="20" id="Q8w-4B-Rlu"/>
  96. <constraint firstItem="MGG-gQ-EAO" firstAttribute="centerY" secondItem="M6Y-DQ-zNq" secondAttribute="centerY" id="QbH-fq-oC6"/>
  97. <constraint firstItem="dAw-9F-sjX" firstAttribute="leading" secondItem="M6Y-DQ-zNq" secondAttribute="leading" id="REL-BF-kWc"/>
  98. <constraint firstItem="hia-Ze-zXq" firstAttribute="centerY" secondItem="MGG-gQ-EAO" secondAttribute="centerY" id="T4T-Pg-0PR"/>
  99. <constraint firstAttribute="trailing" secondItem="Vgy-bb-Jif" secondAttribute="trailing" constant="20" id="TAV-Xd-229"/>
  100. <constraint firstItem="dAw-9F-sjX" firstAttribute="trailing" secondItem="Vgy-bb-Jif" secondAttribute="trailing" id="V4h-1P-DTG"/>
  101. <constraint firstItem="85L-7m-3gS" firstAttribute="top" secondItem="uc8-f1-AM2" secondAttribute="top" id="Vl6-1N-DiX"/>
  102. <constraint firstItem="M6Y-DQ-zNq" firstAttribute="leading" secondItem="uc8-f1-AM2" secondAttribute="trailing" constant="8" id="jUM-eN-GVK"/>
  103. <constraint firstItem="85L-7m-3gS" firstAttribute="trailing" secondItem="uc8-f1-AM2" secondAttribute="trailing" id="kT6-KQ-jDY"/>
  104. <constraint firstItem="MGG-gQ-EAO" firstAttribute="leading" secondItem="M6Y-DQ-zNq" secondAttribute="trailing" constant="5" id="oVO-8J-oIY"/>
  105. <constraint firstItem="uc8-f1-AM2" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="rVr-92-7nw"/>
  106. <constraint firstItem="vw2-Yw-WKb" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="38" id="vdm-NP-uON"/>
  107. <constraint firstItem="M6Y-DQ-zNq" firstAttribute="top" secondItem="uc8-f1-AM2" secondAttribute="top" id="yct-fn-zKp"/>
  108. <constraint firstItem="dAw-9F-sjX" firstAttribute="top" secondItem="M6Y-DQ-zNq" secondAttribute="bottom" constant="3" id="zao-eo-Bn0"/>
  109. </constraints>
  110. </tableViewCellContentView>
  111. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  112. <connections>
  113. <outlet property="mheadimg" destination="uc8-f1-AM2" id="Gkj-GE-XFu"/>
  114. <outlet property="mlevel" destination="hia-Ze-zXq" id="M3z-2Y-gKy"/>
  115. <outlet property="mmsg" destination="dAw-9F-sjX" id="eFJ-yB-jmC"/>
  116. <outlet property="mname" destination="M6Y-DQ-zNq" id="61Q-1h-s09"/>
  117. <outlet property="msex" destination="MGG-gQ-EAO" id="cWz-lx-cjk"/>
  118. <outlet property="mtime" destination="Vgy-bb-Jif" id="NVj-PH-h1A"/>
  119. <outlet property="unReadLabel" destination="xdq-9z-kmf" id="S2p-jE-o62"/>
  120. <outlet property="unReadView" destination="85L-7m-3gS" id="wIQ-OQ-6KN"/>
  121. <outlet property="viconImageView" destination="vw2-Yw-WKb" id="YHR-LC-Fqp"/>
  122. </connections>
  123. <point key="canvasLocation" x="247.19999999999999" y="428.18590704647681"/>
  124. </tableViewCell>
  125. </objects>
  126. <resources>
  127. <image name="com_male_selected" width="10" height="10"/>
  128. <image name="com_preload_head_img" width="112" height="112"/>
  129. <image name="rank_1" width="180" height="84"/>
  130. <systemColor name="systemRedColor">
  131. <color red="1" green="0.23137254901960785" blue="0.18823529411764706" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  132. </systemColor>
  133. </resources>
  134. </document>