IMChatMessageViewCell.xib 7.2 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283
  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="132" id="KGk-i7-Jjw" customClass="IMChatMessageViewCell" customModule="O2Platform" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="132"/>
  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="132"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="Mov-YP-dlA">
  21. <rect key="frame" x="14" y="31" width="48" height="48"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="48" id="gOa-23-wjh"/>
  24. <constraint firstAttribute="width" constant="48" id="hMb-yE-x70"/>
  25. </constraints>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  28. <real key="value" value="24"/>
  29. </userDefinedRuntimeAttribute>
  30. </userDefinedRuntimeAttributes>
  31. </imageView>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="06-09 13:02" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="fy3-Pu-FHB">
  33. <rect key="frame" x="14" y="5" width="292" height="18"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="18" id="c57-b5-RQY"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  38. <color key="textColor" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="姓名" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2r2-Sl-HFm">
  42. <rect key="frame" x="72" y="37" width="29" height="24"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="24" id="4T7-qw-JEB"/>
  45. </constraints>
  46. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  47. <nil key="textColor"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jxc-0S-MrS">
  51. <rect key="frame" x="72" y="69" width="176" height="42"/>
  52. <constraints>
  53. <constraint firstAttribute="width" constant="176" id="0aZ-iT-9wn"/>
  54. <constraint firstAttribute="height" constant="42" id="ah6-qa-1tp"/>
  55. </constraints>
  56. </view>
  57. </subviews>
  58. <color key="backgroundColor" red="0.95294117649999999" green="0.95294117649999999" blue="0.95294117649999999" alpha="1" colorSpace="calibratedRGB"/>
  59. <constraints>
  60. <constraint firstItem="Mov-YP-dlA" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="0dz-GG-NKV"/>
  61. <constraint firstItem="fy3-Pu-FHB" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="33C-sl-5B1"/>
  62. <constraint firstAttribute="trailing" secondItem="fy3-Pu-FHB" secondAttribute="trailing" constant="14" id="AQO-Yx-K4D"/>
  63. <constraint firstItem="jxc-0S-MrS" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="69" id="GLr-LT-32j"/>
  64. <constraint firstItem="2r2-Sl-HFm" firstAttribute="leading" secondItem="Mov-YP-dlA" secondAttribute="trailing" constant="10" id="JYE-0i-s5S"/>
  65. <constraint firstItem="fy3-Pu-FHB" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="VVF-dB-vnY"/>
  66. <constraint firstItem="jxc-0S-MrS" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="72" id="iJn-Op-hcs"/>
  67. <constraint firstItem="Mov-YP-dlA" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="31" id="ltH-hE-V43"/>
  68. <constraint firstItem="2r2-Sl-HFm" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="37" id="vM3-Gj-y2a"/>
  69. </constraints>
  70. </tableViewCellContentView>
  71. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  72. <connections>
  73. <outlet property="avatarImage" destination="Mov-YP-dlA" id="6a1-n4-fXG"/>
  74. <outlet property="messageBackgroundHeight" destination="ah6-qa-1tp" id="hJ4-Xt-3Op"/>
  75. <outlet property="messageBackgroundView" destination="jxc-0S-MrS" id="qTW-TG-fpN"/>
  76. <outlet property="messageBackgroundWidth" destination="0aZ-iT-9wn" id="5UI-71-ADV"/>
  77. <outlet property="timeLabel" destination="fy3-Pu-FHB" id="gvR-ts-fTh"/>
  78. <outlet property="titleLabel" destination="2r2-Sl-HFm" id="kIP-0d-kYX"/>
  79. </connections>
  80. <point key="canvasLocation" x="131.8840579710145" y="94.419642857142847"/>
  81. </tableViewCell>
  82. </objects>
  83. </document>