JCHATMoreView.xib 8.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
  9. <capability name="Aspect ratio constraints" minToolsVersion="5.1"/>
  10. <capability name="Constraints with non-1.0 multipliers" minToolsVersion="5.1"/>
  11. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  12. </dependencies>
  13. <objects>
  14. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="JCHATChatViewController"/>
  15. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  16. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="JCHATMoreView">
  17. <rect key="frame" x="0.0" y="0.0" width="374" height="94"/>
  18. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  19. <subviews>
  20. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XW3-Sc-UxH" userLabel="图片">
  21. <rect key="frame" x="0.0" y="0.0" width="93.5" height="94"/>
  22. <constraints>
  23. <constraint firstAttribute="width" secondItem="XW3-Sc-UxH" secondAttribute="height" multiplier="1:1" id="8M1-YN-y9d"/>
  24. </constraints>
  25. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  26. <state key="normal" title="图片" image="chat_tool_album.png">
  27. <color key="titleColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  28. </state>
  29. <connections>
  30. <action selector="photoBtnClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="bgw-Xi-u12"/>
  31. </connections>
  32. </button>
  33. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Juz-wz-A0c" userLabel="相机">
  34. <rect key="frame" x="93.5" y="0.0" width="93.5" height="94"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  36. <state key="normal" title="相机" image="chat_tool_camera.png">
  37. <color key="titleColor" red="0.58823529411764708" green="0.58823529411764708" blue="0.58823529411764708" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  38. </state>
  39. <connections>
  40. <action selector="cameraBtnClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="FfB-f9-GNg"/>
  41. </connections>
  42. </button>
  43. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3ps-Xf-sgy" userLabel="语音">
  44. <rect key="frame" x="187" y="0.0" width="93.5" height="94"/>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <state key="normal" title="语音" image="chat_tool_v_input.png">
  47. <color key="titleColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  48. </state>
  49. <connections>
  50. <action selector="clickVoiceInputBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="2WH-VF-QUQ"/>
  51. </connections>
  52. </button>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GM1-Oz-LCG" userLabel="位置">
  54. <rect key="frame" x="280.5" y="0.0" width="93.5" height="94"/>
  55. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  56. <state key="normal" title="位置" image="chat_tool_location.png">
  57. <color key="titleColor" red="0.58823529409999997" green="0.58823529409999997" blue="0.58823529409999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  58. </state>
  59. <connections>
  60. <action selector="clickLoactionBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="gpS-Xx-OXE"/>
  61. </connections>
  62. </button>
  63. </subviews>
  64. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  65. <constraints>
  66. <constraint firstItem="GM1-Oz-LCG" firstAttribute="width" secondItem="XW3-Sc-UxH" secondAttribute="width" id="0Ok-J4-Qfb"/>
  67. <constraint firstItem="Juz-wz-A0c" firstAttribute="centerY" secondItem="XW3-Sc-UxH" secondAttribute="centerY" id="2Cj-Af-SpR"/>
  68. <constraint firstItem="Juz-wz-A0c" firstAttribute="height" secondItem="XW3-Sc-UxH" secondAttribute="height" id="6Gx-XH-pwH"/>
  69. <constraint firstItem="Juz-wz-A0c" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" multiplier="0.75" id="LcY-jV-Go0"/>
  70. <constraint firstItem="XW3-Sc-UxH" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="MAK-5T-s19"/>
  71. <constraint firstItem="XW3-Sc-UxH" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" multiplier="0.25" id="Umc-Cf-Pin"/>
  72. <constraint firstItem="3ps-Xf-sgy" firstAttribute="height" secondItem="XW3-Sc-UxH" secondAttribute="height" id="XBg-yw-5dy"/>
  73. <constraint firstItem="XW3-Sc-UxH" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="1/4" id="Z6d-Qd-ud4"/>
  74. <constraint firstItem="GM1-Oz-LCG" firstAttribute="centerY" secondItem="XW3-Sc-UxH" secondAttribute="centerY" id="anq-GK-sRW"/>
  75. <constraint firstItem="3ps-Xf-sgy" firstAttribute="width" secondItem="XW3-Sc-UxH" secondAttribute="width" id="bHy-Ti-1Jd"/>
  76. <constraint firstItem="3ps-Xf-sgy" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" multiplier="1.25" id="fzc-N6-abo"/>
  77. <constraint firstItem="3ps-Xf-sgy" firstAttribute="centerY" secondItem="XW3-Sc-UxH" secondAttribute="centerY" id="hbP-cf-Qkp"/>
  78. <constraint firstItem="GM1-Oz-LCG" firstAttribute="height" secondItem="XW3-Sc-UxH" secondAttribute="height" id="n9T-BT-iCJ"/>
  79. <constraint firstItem="Juz-wz-A0c" firstAttribute="width" secondItem="XW3-Sc-UxH" secondAttribute="width" id="qeD-XV-PvJ"/>
  80. <constraint firstItem="GM1-Oz-LCG" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" multiplier="1.75" id="rs8-zQ-Phd"/>
  81. </constraints>
  82. <nil key="simulatedStatusBarMetrics"/>
  83. <nil key="simulatedTopBarMetrics"/>
  84. <nil key="simulatedBottomBarMetrics"/>
  85. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  86. <connections>
  87. <outlet property="cameraBtn" destination="Juz-wz-A0c" id="zjt-KI-Q3q"/>
  88. <outlet property="locationBtn" destination="GM1-Oz-LCG" id="M3p-GM-Kae"/>
  89. <outlet property="photoBtn" destination="XW3-Sc-UxH" id="zhm-tl-b8T"/>
  90. <outlet property="voiceInputBtn" destination="3ps-Xf-sgy" id="O7d-Y4-L09"/>
  91. </connections>
  92. <point key="canvasLocation" x="464" y="-170"/>
  93. </view>
  94. </objects>
  95. <resources>
  96. <image name="chat_tool_album.png" width="44" height="44"/>
  97. <image name="chat_tool_camera.png" width="44" height="44"/>
  98. <image name="chat_tool_location.png" width="44" height="44"/>
  99. <image name="chat_tool_v_input.png" width="44" height="44"/>
  100. </resources>
  101. </document>