IMChatMessageSendViewCell.xib 7.1 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="129" id="KGk-i7-Jjw" customClass="IMChatMessageSendViewCell" 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. <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="k0L-ig-bhB">
  21. <rect key="frame" x="14" y="5" width="292" height="18"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="18" id="MJ9-1n-RP4"/>
  24. </constraints>
  25. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  26. <color key="textColor" white="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="dRS-Ex-V2s">
  30. <rect key="frame" x="258" y="31" width="48" height="48"/>
  31. <constraints>
  32. <constraint firstAttribute="width" constant="48" id="ALp-AJ-k89"/>
  33. <constraint firstAttribute="height" constant="48" id="U0b-CA-lXO"/>
  34. </constraints>
  35. <userDefinedRuntimeAttributes>
  36. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  37. <real key="value" value="24"/>
  38. </userDefinedRuntimeAttribute>
  39. </userDefinedRuntimeAttributes>
  40. </imageView>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="姓名" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="O0d-aO-DEf">
  42. <rect key="frame" x="219" y="37" width="29" height="24"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="24" id="hV4-hf-Q8a"/>
  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="73U-Yu-hhb">
  51. <rect key="frame" x="72" y="69" width="176" height="42"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="42" id="9m9-a5-elu"/>
  54. <constraint firstAttribute="width" constant="176" id="B2b-ep-gRb"/>
  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="k0L-ig-bhB" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="5" id="59J-ml-PYh"/>
  61. <constraint firstItem="O0d-aO-DEf" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="37" id="6NB-9d-uAN"/>
  62. <constraint firstItem="k0L-ig-bhB" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="6QF-aq-QM6"/>
  63. <constraint firstItem="dRS-Ex-V2s" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="31" id="NCS-bP-NLG"/>
  64. <constraint firstAttribute="trailing" secondItem="dRS-Ex-V2s" secondAttribute="trailing" constant="14" id="gmx-Y3-81p"/>
  65. <constraint firstAttribute="trailing" secondItem="73U-Yu-hhb" secondAttribute="trailing" constant="72" id="kmb-aR-DfK"/>
  66. <constraint firstItem="dRS-Ex-V2s" firstAttribute="leading" secondItem="O0d-aO-DEf" secondAttribute="trailing" constant="10" id="ngR-6P-5QW"/>
  67. <constraint firstItem="73U-Yu-hhb" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="69" id="xdH-1U-slK"/>
  68. <constraint firstAttribute="trailing" secondItem="k0L-ig-bhB" secondAttribute="trailing" constant="14" id="y21-uR-MhX"/>
  69. </constraints>
  70. </tableViewCellContentView>
  71. <viewLayoutGuide key="safeArea" id="njF-e1-oar"/>
  72. <connections>
  73. <outlet property="avatarImageView" destination="dRS-Ex-V2s" id="Els-ei-27g"/>
  74. <outlet property="messageBackgroundView" destination="73U-Yu-hhb" id="JOP-eY-itl"/>
  75. <outlet property="messageBgHeight" destination="9m9-a5-elu" id="8Ly-ju-XTf"/>
  76. <outlet property="messageBgWidth" destination="B2b-ep-gRb" id="FSo-Zq-jds"/>
  77. <outlet property="nameLabel" destination="O0d-aO-DEf" id="Mqt-5X-zmf"/>
  78. <outlet property="timeLabel" destination="k0L-ig-bhB" id="ZJg-EA-Jw1"/>
  79. </connections>
  80. <point key="canvasLocation" x="57.971014492753625" y="111.49553571428571"/>
  81. </tableViewCell>
  82. </objects>
  83. </document>