ChatMsgCollectionCell.xib 8.8 KB

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