IMChatViewController.xib 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136
  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" customClass="IMChatViewController" customModule="O2Platform" customModuleProvider="target">
  12. <connections>
  13. <outlet property="bottomBar" destination="sDg-us-Ed9" id="J1d-XZ-5Rt"/>
  14. <outlet property="bottomBarHeightConstraint" destination="qiu-7O-AwO" id="LWR-Ov-DMW"/>
  15. <outlet property="messageInputView" destination="8BW-XG-rBx" id="A8J-9I-MjT"/>
  16. <outlet property="tableView" destination="ZIb-3p-hnq" id="heR-v3-iUh"/>
  17. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  22. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sDg-us-Ed9">
  26. <rect key="frame" x="0.0" y="798" width="414" height="98"/>
  27. <subviews>
  28. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" borderStyle="roundedRect" placeholder="请输入消息..." textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="8BW-XG-rBx">
  29. <rect key="frame" x="14" y="12" width="328" height="36"/>
  30. <constraints>
  31. <constraint firstAttribute="height" constant="36" id="qe1-5v-UaD"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  34. <textInputTraits key="textInputTraits" returnKeyType="send"/>
  35. </textField>
  36. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oTD-nU-xkE">
  37. <rect key="frame" x="366" y="12" width="36" height="36"/>
  38. <constraints>
  39. <constraint firstAttribute="width" constant="36" id="AzT-Gm-fHl"/>
  40. <constraint firstAttribute="height" constant="36" id="PqN-1z-eCd"/>
  41. </constraints>
  42. <state key="normal" image="chat_emoji"/>
  43. <connections>
  44. <action selector="clickEmojiBtn:" destination="-1" eventType="touchUpInside" id="hZk-xk-g8t"/>
  45. </connections>
  46. </button>
  47. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" alignment="center" translatesAutoresizingMaskIntoConstraints="NO" id="H2g-NL-0Ps">
  48. <rect key="frame" x="14" y="53" width="386" height="36"/>
  49. <subviews>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dw7-Gt-B9S">
  51. <rect key="frame" x="0.0" y="2" width="96.5" height="32"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="32" id="L8w-G8-QcX"/>
  54. </constraints>
  55. <state key="normal" image="icon_yuyin"/>
  56. <connections>
  57. <action selector="micBtnClick:" destination="-1" eventType="touchUpInside" id="qN7-d7-8AE"/>
  58. </connections>
  59. </button>
  60. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="maW-x1-6ob">
  61. <rect key="frame" x="96.5" y="2" width="96.5" height="32"/>
  62. <constraints>
  63. <constraint firstAttribute="height" constant="32" id="NCL-G0-g4l"/>
  64. </constraints>
  65. <state key="normal" image="icon_tupian"/>
  66. <connections>
  67. <action selector="imgBtnClick:" destination="-1" eventType="touchUpInside" id="Jbr-NQ-U7b"/>
  68. </connections>
  69. </button>
  70. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zj7-bo-0tf">
  71. <rect key="frame" x="193" y="2" width="96.5" height="32"/>
  72. <constraints>
  73. <constraint firstAttribute="height" constant="32" id="mDx-JV-z4Q"/>
  74. </constraints>
  75. <state key="normal" image="icon_xiangji"/>
  76. <connections>
  77. <action selector="cameraBtnClick:" destination="-1" eventType="touchUpInside" id="v70-6D-pKx"/>
  78. </connections>
  79. </button>
  80. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="eXj-l2-Ioo">
  81. <rect key="frame" x="289.5" y="2" width="96.5" height="32"/>
  82. <constraints>
  83. <constraint firstAttribute="height" constant="32" id="Fae-3Q-Qrq"/>
  84. </constraints>
  85. <state key="normal" image="icon_ditu"/>
  86. <connections>
  87. <action selector="locationBtnClick:" destination="-1" eventType="touchUpInside" id="Jwe-pL-EpP"/>
  88. </connections>
  89. </button>
  90. </subviews>
  91. <constraints>
  92. <constraint firstAttribute="height" constant="36" id="xmi-XZ-ezm"/>
  93. </constraints>
  94. </stackView>
  95. </subviews>
  96. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  97. <constraints>
  98. <constraint firstItem="H2g-NL-0Ps" firstAttribute="top" secondItem="8BW-XG-rBx" secondAttribute="bottom" constant="5" id="1hG-6h-KgV"/>
  99. <constraint firstAttribute="trailing" secondItem="oTD-nU-xkE" secondAttribute="trailing" constant="12" id="BtK-YW-2fb"/>
  100. <constraint firstItem="oTD-nU-xkE" firstAttribute="top" secondItem="sDg-us-Ed9" secondAttribute="top" constant="12" id="JKE-h8-gll"/>
  101. <constraint firstItem="oTD-nU-xkE" firstAttribute="leading" secondItem="8BW-XG-rBx" secondAttribute="trailing" constant="24" id="Mzm-dM-gqy"/>
  102. <constraint firstItem="H2g-NL-0Ps" firstAttribute="leading" secondItem="sDg-us-Ed9" secondAttribute="leading" constant="14" id="Nkm-xr-kRS"/>
  103. <constraint firstItem="8BW-XG-rBx" firstAttribute="top" secondItem="sDg-us-Ed9" secondAttribute="top" constant="12" id="hnf-bY-DYH"/>
  104. <constraint firstItem="8BW-XG-rBx" firstAttribute="leading" secondItem="sDg-us-Ed9" secondAttribute="leading" constant="14" id="kAO-OU-1mN"/>
  105. <constraint firstAttribute="trailing" secondItem="H2g-NL-0Ps" secondAttribute="trailing" constant="14" id="nDu-Mf-6te"/>
  106. <constraint firstAttribute="height" constant="98" id="qiu-7O-AwO"/>
  107. </constraints>
  108. </view>
  109. <tableView clipsSubviews="YES" contentMode="scaleToFill" misplaced="YES" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="ZIb-3p-hnq">
  110. <rect key="frame" x="0.0" y="24" width="414" height="720"/>
  111. <color key="backgroundColor" red="0.95294117649999999" green="0.95294117649999999" blue="0.95294117649999999" alpha="1" colorSpace="calibratedRGB"/>
  112. <color key="sectionIndexBackgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  113. </tableView>
  114. </subviews>
  115. <color key="backgroundColor" systemColor="systemGray6Color" red="0.94901960780000005" green="0.94901960780000005" blue="0.96862745100000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  116. <constraints>
  117. <constraint firstItem="ZIb-3p-hnq" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="7kr-oh-NvU"/>
  118. <constraint firstAttribute="trailing" secondItem="sDg-us-Ed9" secondAttribute="trailing" id="SXj-Vg-GIC"/>
  119. <constraint firstAttribute="bottom" secondItem="sDg-us-Ed9" secondAttribute="bottom" id="ZjF-u3-yyV"/>
  120. <constraint firstItem="ZIb-3p-hnq" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="d3C-Up-hv7"/>
  121. <constraint firstItem="ZIb-3p-hnq" firstAttribute="trailing" secondItem="fnl-2z-Ty3" secondAttribute="trailing" id="igh-CL-C1S"/>
  122. <constraint firstItem="sDg-us-Ed9" firstAttribute="top" secondItem="ZIb-3p-hnq" secondAttribute="bottom" id="rTN-Zh-8i6"/>
  123. <constraint firstItem="sDg-us-Ed9" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="rqK-P9-wyk"/>
  124. </constraints>
  125. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  126. <point key="canvasLocation" x="131.8840579710145" y="138.61607142857142"/>
  127. </view>
  128. </objects>
  129. <resources>
  130. <image name="chat_emoji" width="24" height="24"/>
  131. <image name="icon_ditu" width="22" height="22"/>
  132. <image name="icon_tupian" width="22" height="22"/>
  133. <image name="icon_xiangji" width="22" height="22"/>
  134. <image name="icon_yuyin" width="22" height="22"/>
  135. </resources>
  136. </document>