ChatMsgCollectionCell.xib 9.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17156" 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="17125"/>
  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. <collectionViewCell opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" reuseIdentifier="ChatMsgCollectionCell" id="gTV-IL-0wX" customClass="ChatMsgCollectionCell">
  15. <rect key="frame" x="0.0" y="0.0" width="70" height="98"/>
  16. <autoresizingMask key="autoresizingMask"/>
  17. <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center">
  18. <rect key="frame" x="0.0" y="0.0" width="70" height="98"/>
  19. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1l4-pu-UQi">
  22. <rect key="frame" x="0.0" y="0.0" width="70" height="98"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="chatmsg_ht_icon" translatesAutoresizingMaskIntoConstraints="NO" id="UcK-Mt-u7p">
  25. <rect key="frame" x="24.5" y="12" width="21" height="21"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="21" id="UON-XY-NG0"/>
  28. <constraint firstAttribute="width" constant="21" id="YeZ-VL-YeK"/>
  29. </constraints>
  30. </imageView>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="KnF-GQ-hHW">
  32. <rect key="frame" x="37.5" y="4" width="16" height="16"/>
  33. <color key="backgroundColor" systemColor="systemRedColor"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="16" id="JRf-LS-RCh"/>
  36. <constraint firstAttribute="width" constant="16" id="yH5-yX-Ho1"/>
  37. </constraints>
  38. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  39. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  40. <nil key="highlightedColor"/>
  41. <userDefinedRuntimeAttributes>
  42. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  43. <integer key="value" value="8"/>
  44. </userDefinedRuntimeAttribute>
  45. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  46. </userDefinedRuntimeAttributes>
  47. </label>
  48. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4EX-kh-Sh3">
  49. <rect key="frame" x="16.5" y="41" width="37.5" height="18"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  51. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <view alpha="0.69999999999999996" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T0P-rv-gzb">
  55. <rect key="frame" x="0.0" y="0.0" width="70" height="98"/>
  56. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  57. </view>
  58. </subviews>
  59. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  60. <constraints>
  61. <constraint firstItem="KnF-GQ-hHW" firstAttribute="centerY" secondItem="UcK-Mt-u7p" secondAttribute="top" id="3h8-j7-NY1"/>
  62. <constraint firstItem="KnF-GQ-hHW" firstAttribute="centerX" secondItem="UcK-Mt-u7p" secondAttribute="trailing" id="EpX-Sb-UmR"/>
  63. <constraint firstItem="UcK-Mt-u7p" firstAttribute="centerX" secondItem="1l4-pu-UQi" secondAttribute="centerX" id="Joh-85-wgI"/>
  64. <constraint firstItem="UcK-Mt-u7p" firstAttribute="top" secondItem="1l4-pu-UQi" secondAttribute="top" constant="12" id="KWq-iY-GpP"/>
  65. <constraint firstItem="4EX-kh-Sh3" firstAttribute="top" secondItem="UcK-Mt-u7p" secondAttribute="bottom" constant="8" id="Nbx-kl-FJO"/>
  66. <constraint firstAttribute="bottom" secondItem="T0P-rv-gzb" secondAttribute="bottom" id="Qfu-58-p91"/>
  67. <constraint firstItem="T0P-rv-gzb" firstAttribute="top" secondItem="1l4-pu-UQi" secondAttribute="top" id="WP2-v0-hib"/>
  68. <constraint firstAttribute="trailing" secondItem="T0P-rv-gzb" secondAttribute="trailing" id="hyf-SW-na4"/>
  69. <constraint firstItem="T0P-rv-gzb" firstAttribute="leading" secondItem="1l4-pu-UQi" secondAttribute="leading" id="uk9-hV-5bd"/>
  70. <constraint firstItem="4EX-kh-Sh3" firstAttribute="centerX" secondItem="1l4-pu-UQi" secondAttribute="centerX" id="vd7-g9-NHw"/>
  71. </constraints>
  72. </view>
  73. </subviews>
  74. </view>
  75. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  76. <constraints>
  77. <constraint firstAttribute="bottom" secondItem="1l4-pu-UQi" secondAttribute="bottom" id="1fZ-t9-OO6"/>
  78. <constraint firstAttribute="trailing" secondItem="1l4-pu-UQi" secondAttribute="trailing" id="7Z8-od-sjX"/>
  79. <constraint firstItem="1l4-pu-UQi" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="ReW-XN-e4S"/>
  80. <constraint firstItem="1l4-pu-UQi" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="TsI-sa-eER"/>
  81. </constraints>
  82. <connections>
  83. <outlet property="cell0IconImg" destination="UcK-Mt-u7p" id="lV7-8P-CDN"/>
  84. <outlet property="cell0MengCengView" destination="T0P-rv-gzb" id="oLi-7N-jVM"/>
  85. <outlet property="cell0ReadNumLabel" destination="KnF-GQ-hHW" id="7cd-tA-qWl"/>
  86. <outlet property="cell0TitleLabel" destination="4EX-kh-Sh3" id="saM-2C-exy"/>
  87. <outlet property="constant" destination="yH5-yX-Ho1" id="swQ-uU-fwt"/>
  88. <outlet property="imagH" destination="UON-XY-NG0" id="14c-vi-UCJ"/>
  89. <outlet property="imagW" destination="YeZ-VL-YeK" id="h7B-Ud-8IH"/>
  90. <outlet property="titleConstant" destination="Nbx-kl-FJO" id="AMC-RL-0zF"/>
  91. </connections>
  92. <point key="canvasLocation" x="63.768115942028992" y="137.27678571428569"/>
  93. </collectionViewCell>
  94. </objects>
  95. <resources>
  96. <image name="chatmsg_ht_icon" width="36" height="36"/>
  97. <systemColor name="systemBackgroundColor">
  98. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. </systemColor>
  100. <systemColor name="systemRedColor">
  101. <color red="1" green="0.23137254901960785" blue="0.18823529411764706" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  102. </systemColor>
  103. </resources>
  104. </document>