IMConversationItemCell.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  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="64" id="KGk-i7-Jjw" customClass="IMConversationItemCell" customModule="O2Platform" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="320" height="64"/>
  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="320" height="64"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="i51-Sc-dds">
  22. <rect key="frame" x="10" y="10" width="44" height="44"/>
  23. <constraints>
  24. <constraint firstAttribute="width" constant="44" id="0Cn-m9-oMp"/>
  25. <constraint firstAttribute="height" constant="44" id="Eds-PW-EC8"/>
  26. </constraints>
  27. <userDefinedRuntimeAttributes>
  28. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  29. <real key="value" value="22"/>
  30. </userDefinedRuntimeAttribute>
  31. </userDefinedRuntimeAttributes>
  32. </imageView>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bOp-mm-qCN">
  34. <rect key="frame" x="66" y="10" width="153" height="0.0"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  36. <nil key="textColor"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="URQ-HD-MDc">
  40. <rect key="frame" x="231" y="10" width="84" height="0.0"/>
  41. <constraints>
  42. <constraint firstAttribute="width" constant="84" id="jM2-ye-nzP"/>
  43. </constraints>
  44. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  45. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  46. <nil key="highlightedColor"/>
  47. </label>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="I3j-lM-VtV">
  49. <rect key="frame" x="70" y="54" width="245" height="0.0"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  51. <color key="textColor" systemColor="systemGrayColor"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="pgV-nP-wwV">
  55. <rect key="frame" x="70" y="34" width="22" height="22"/>
  56. <constraints>
  57. <constraint firstAttribute="width" constant="22" id="GMk-WU-WAB"/>
  58. <constraint firstAttribute="height" constant="22" id="wqz-nd-Maf"/>
  59. </constraints>
  60. </imageView>
  61. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ckc-YE-j5q">
  62. <rect key="frame" x="66" y="63" width="254" height="1"/>
  63. <color key="backgroundColor" systemColor="opaqueSeparatorColor"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="1" id="szG-5G-RRm"/>
  66. </constraints>
  67. </view>
  68. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="99.." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9Ff-Wo-dWM">
  69. <rect key="frame" x="34" y="10" width="20" height="20"/>
  70. <color key="backgroundColor" systemColor="systemRedColor"/>
  71. <constraints>
  72. <constraint firstAttribute="width" constant="20" id="XU3-CN-tXR"/>
  73. <constraint firstAttribute="height" constant="20" id="Yfh-b5-N7U"/>
  74. </constraints>
  75. <fontDescription key="fontDescription" type="system" weight="thin" pointSize="11"/>
  76. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <nil key="highlightedColor"/>
  78. <userDefinedRuntimeAttributes>
  79. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  80. <real key="value" value="10"/>
  81. </userDefinedRuntimeAttribute>
  82. </userDefinedRuntimeAttributes>
  83. </label>
  84. </subviews>
  85. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  86. <constraints>
  87. <constraint firstAttribute="bottom" secondItem="I3j-lM-VtV" secondAttribute="bottom" constant="10" id="0mD-L5-TRo"/>
  88. <constraint firstAttribute="trailing" secondItem="ckc-YE-j5q" secondAttribute="trailing" id="2LG-5s-Yui"/>
  89. <constraint firstItem="pgV-nP-wwV" firstAttribute="leading" secondItem="i51-Sc-dds" secondAttribute="trailing" constant="16" id="4Ao-s1-kAM"/>
  90. <constraint firstItem="I3j-lM-VtV" firstAttribute="leading" secondItem="i51-Sc-dds" secondAttribute="trailing" constant="16" id="BFD-a2-hUs"/>
  91. <constraint firstItem="9Ff-Wo-dWM" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="Frj-Mc-oGy"/>
  92. <constraint firstItem="URQ-HD-MDc" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="IES-nF-jpE"/>
  93. <constraint firstAttribute="trailing" secondItem="URQ-HD-MDc" secondAttribute="trailing" constant="5" id="Jeh-u4-Tnd"/>
  94. <constraint firstAttribute="trailing" secondItem="I3j-lM-VtV" secondAttribute="trailing" constant="5" id="PJD-Jd-y3N"/>
  95. <constraint firstItem="bOp-mm-qCN" firstAttribute="leading" secondItem="i51-Sc-dds" secondAttribute="trailing" constant="12" id="RCn-dh-ggD"/>
  96. <constraint firstItem="i51-Sc-dds" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="Z9Q-tH-mWi"/>
  97. <constraint firstAttribute="bottom" secondItem="i51-Sc-dds" secondAttribute="bottom" constant="10" id="Zew-6c-hWd"/>
  98. <constraint firstItem="9Ff-Wo-dWM" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="34" id="cM0-LZ-1iA"/>
  99. <constraint firstItem="bOp-mm-qCN" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="iUq-ik-5sX"/>
  100. <constraint firstAttribute="bottom" secondItem="ckc-YE-j5q" secondAttribute="bottom" id="nX2-Nw-uiy"/>
  101. <constraint firstItem="URQ-HD-MDc" firstAttribute="leading" secondItem="bOp-mm-qCN" secondAttribute="trailing" constant="12" id="obm-on-urU"/>
  102. <constraint firstItem="ckc-YE-j5q" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="66" id="t0M-PG-f03"/>
  103. <constraint firstAttribute="bottom" secondItem="pgV-nP-wwV" secondAttribute="bottom" constant="8" id="tXP-Lu-4aH"/>
  104. <constraint firstItem="i51-Sc-dds" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="xep-37-rIl"/>
  105. </constraints>
  106. <userDefinedRuntimeAttributes>
  107. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  108. <real key="value" value="20"/>
  109. </userDefinedRuntimeAttribute>
  110. </userDefinedRuntimeAttributes>
  111. </tableViewCellContentView>
  112. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  113. <connections>
  114. <outlet property="avatarImg" destination="i51-Sc-dds" id="k5V-7P-msX"/>
  115. <outlet property="emojiImg" destination="pgV-nP-wwV" id="RRM-lj-KXN"/>
  116. <outlet property="messageLabel" destination="I3j-lM-VtV" id="6z4-xX-xTv"/>
  117. <outlet property="nameLabel" destination="bOp-mm-qCN" id="iqM-q2-qcC"/>
  118. <outlet property="timeLabel" destination="URQ-HD-MDc" id="NbV-D2-ATA"/>
  119. <outlet property="unreadNumberLabel" destination="9Ff-Wo-dWM" id="z3x-wN-Bfv"/>
  120. </connections>
  121. <point key="canvasLocation" x="-65.217391304347828" y="-31.473214285714285"/>
  122. </tableViewCell>
  123. </objects>
  124. <resources>
  125. <systemColor name="opaqueSeparatorColor">
  126. <color red="0.77647058823529413" green="0.77647058823529413" blue="0.78431372549019607" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  127. </systemColor>
  128. <systemColor name="systemGrayColor">
  129. <color red="0.55686274509803924" green="0.55686274509803924" blue="0.57647058823529407" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  130. </systemColor>
  131. <systemColor name="systemRedColor">
  132. <color red="1" green="0.23137254901960785" blue="0.18823529411764706" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  133. </systemColor>
  134. </resources>
  135. </document>