IMConversationItemCell.xib 11 KB

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