ChatMsgCollectionCell.xib 8.2 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788899091
  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="90"/>
  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="90"/>
  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="90"/>
  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="21" y="17" width="28.5" height="28.5"/>
  25. </imageView>
  26. <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">
  27. <rect key="frame" x="41.5" y="9" width="16" height="16"/>
  28. <color key="backgroundColor" systemColor="systemRedColor" red="1" green="0.23137254900000001" blue="0.18823529410000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  29. <constraints>
  30. <constraint firstAttribute="height" constant="16" id="JRf-LS-RCh"/>
  31. <constraint firstAttribute="width" constant="16" id="yH5-yX-Ho1"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  34. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  35. <nil key="highlightedColor"/>
  36. <userDefinedRuntimeAttributes>
  37. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  38. <integer key="value" value="8"/>
  39. </userDefinedRuntimeAttribute>
  40. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  41. </userDefinedRuntimeAttributes>
  42. </label>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="4EX-kh-Sh3">
  44. <rect key="frame" x="16.5" y="58.5" width="37.5" height="18"/>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. <view alpha="0.69999999999999996" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="T0P-rv-gzb">
  50. <rect key="frame" x="0.0" y="0.0" width="70" height="90"/>
  51. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  52. </view>
  53. </subviews>
  54. <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/>
  55. <constraints>
  56. <constraint firstItem="KnF-GQ-hHW" firstAttribute="centerY" secondItem="UcK-Mt-u7p" secondAttribute="top" id="3h8-j7-NY1"/>
  57. <constraint firstItem="KnF-GQ-hHW" firstAttribute="centerX" secondItem="UcK-Mt-u7p" secondAttribute="trailing" id="EpX-Sb-UmR"/>
  58. <constraint firstItem="UcK-Mt-u7p" firstAttribute="centerX" secondItem="1l4-pu-UQi" secondAttribute="centerX" id="Joh-85-wgI"/>
  59. <constraint firstItem="UcK-Mt-u7p" firstAttribute="top" secondItem="1l4-pu-UQi" secondAttribute="top" constant="17" id="KWq-iY-GpP"/>
  60. <constraint firstAttribute="bottom" secondItem="T0P-rv-gzb" secondAttribute="bottom" id="Qfu-58-p91"/>
  61. <constraint firstItem="T0P-rv-gzb" firstAttribute="top" secondItem="1l4-pu-UQi" secondAttribute="top" id="WP2-v0-hib"/>
  62. <constraint firstItem="4EX-kh-Sh3" firstAttribute="top" secondItem="1l4-pu-UQi" secondAttribute="top" constant="58.5" id="aNy-ro-nXa"/>
  63. <constraint firstAttribute="trailing" secondItem="T0P-rv-gzb" secondAttribute="trailing" id="hyf-SW-na4"/>
  64. <constraint firstItem="T0P-rv-gzb" firstAttribute="leading" secondItem="1l4-pu-UQi" secondAttribute="leading" id="uk9-hV-5bd"/>
  65. <constraint firstItem="4EX-kh-Sh3" firstAttribute="centerX" secondItem="1l4-pu-UQi" secondAttribute="centerX" id="vd7-g9-NHw"/>
  66. </constraints>
  67. </view>
  68. </subviews>
  69. </view>
  70. <constraints>
  71. <constraint firstAttribute="bottom" secondItem="1l4-pu-UQi" secondAttribute="bottom" id="1fZ-t9-OO6"/>
  72. <constraint firstAttribute="trailing" secondItem="1l4-pu-UQi" secondAttribute="trailing" id="7Z8-od-sjX"/>
  73. <constraint firstItem="1l4-pu-UQi" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="ReW-XN-e4S"/>
  74. <constraint firstItem="1l4-pu-UQi" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="TsI-sa-eER"/>
  75. </constraints>
  76. <viewLayoutGuide key="safeArea" id="SEy-5g-ep8"/>
  77. <connections>
  78. <outlet property="cell0IconImg" destination="UcK-Mt-u7p" id="lV7-8P-CDN"/>
  79. <outlet property="cell0MengCengView" destination="T0P-rv-gzb" id="oLi-7N-jVM"/>
  80. <outlet property="cell0ReadNumLabel" destination="KnF-GQ-hHW" id="7cd-tA-qWl"/>
  81. <outlet property="cell0TitleLabel" destination="4EX-kh-Sh3" id="saM-2C-exy"/>
  82. <outlet property="constant" destination="yH5-yX-Ho1" id="swQ-uU-fwt"/>
  83. </connections>
  84. <point key="canvasLocation" x="63.768115942028992" y="137.27678571428569"/>
  85. </collectionViewCell>
  86. </objects>
  87. <resources>
  88. <image name="chatmsg_ht_icon" width="28.5" height="28.5"/>
  89. </resources>
  90. </document>