MessageHeaderV.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21679"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="MessageHeaderV">
  13. <rect key="frame" x="0.0" y="0.0" width="430" height="108"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HXD-TO-KNn" userLabel="背景">
  17. <rect key="frame" x="0.0" y="0.0" width="430" height="107.5"/>
  18. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  19. <constraints>
  20. <constraint firstAttribute="width" secondItem="HXD-TO-KNn" secondAttribute="height" multiplier="4:1" id="6TV-x6-AWX"/>
  21. </constraints>
  22. </view>
  23. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LZp-Sy-dKC" userLabel="粉丝">
  24. <rect key="frame" x="0.0" y="0.0" width="107.5" height="107.5"/>
  25. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  26. <state key="normal" title="粉丝" image="msg_fans.png">
  27. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  28. </state>
  29. <connections>
  30. <action selector="clickFansBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="xMg-aN-2gO"/>
  31. </connections>
  32. </button>
  33. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="S9J-PD-HEA" userLabel="fansPoint">
  34. <rect key="frame" x="68" y="15" width="18" height="18"/>
  35. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  36. <constraints>
  37. <constraint firstAttribute="height" constant="18" id="knY-wl-wFk"/>
  38. <constraint firstAttribute="width" constant="18" id="sdm-QU-Sns"/>
  39. </constraints>
  40. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  41. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  42. <nil key="highlightedColor"/>
  43. <userDefinedRuntimeAttributes>
  44. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  45. <real key="value" value="9"/>
  46. </userDefinedRuntimeAttribute>
  47. </userDefinedRuntimeAttributes>
  48. </label>
  49. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="XpQ-Wo-Liq" userLabel="赞">
  50. <rect key="frame" x="107.5" y="0.0" width="107.5" height="107.5"/>
  51. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  52. <state key="normal" title="赞" image="msg_zan.png">
  53. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  54. </state>
  55. <connections>
  56. <action selector="clickZanBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="Oqq-20-Eng"/>
  57. </connections>
  58. </button>
  59. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="6GY-OS-VGg" userLabel="zanPoint">
  60. <rect key="frame" x="175.5" y="15" width="18" height="18"/>
  61. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  62. <constraints>
  63. <constraint firstAttribute="width" constant="18" id="sXK-m7-r2S"/>
  64. </constraints>
  65. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  66. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  67. <nil key="highlightedColor"/>
  68. <userDefinedRuntimeAttributes>
  69. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  70. <real key="value" value="9"/>
  71. </userDefinedRuntimeAttribute>
  72. </userDefinedRuntimeAttributes>
  73. </label>
  74. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gjr-AQ-ysS" userLabel="@我的">
  75. <rect key="frame" x="215" y="0.0" width="107.5" height="107.5"/>
  76. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  77. <state key="normal" title="@我的" image="msg_linkme.png">
  78. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. </state>
  80. <connections>
  81. <action selector="clickAiTeBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="EVx-Hi-N7r"/>
  82. </connections>
  83. </button>
  84. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ifT-hO-l37" userLabel="atPoint">
  85. <rect key="frame" x="283" y="15" width="18" height="18"/>
  86. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  87. <constraints>
  88. <constraint firstAttribute="width" constant="18" id="Szj-8j-S3X"/>
  89. </constraints>
  90. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  91. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  92. <nil key="highlightedColor"/>
  93. <userDefinedRuntimeAttributes>
  94. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  95. <real key="value" value="9"/>
  96. </userDefinedRuntimeAttribute>
  97. </userDefinedRuntimeAttributes>
  98. </label>
  99. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xfa-Mf-xAs" userLabel="评论">
  100. <rect key="frame" x="322.5" y="0.0" width="107.5" height="107.5"/>
  101. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  102. <state key="normal" title="评论" image="msg_comment.png">
  103. <color key="titleColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  104. </state>
  105. <connections>
  106. <action selector="clickCommentBtn:" destination="iN0-l3-epB" eventType="touchUpInside" id="OZb-Tz-9vw"/>
  107. </connections>
  108. </button>
  109. <label hidden="YES" opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="kH0-mB-S3a" userLabel="comPoint">
  110. <rect key="frame" x="390.5" y="15" width="18" height="18"/>
  111. <color key="backgroundColor" red="1" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/>
  112. <constraints>
  113. <constraint firstAttribute="width" constant="18" id="o4n-mb-3gc"/>
  114. </constraints>
  115. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  116. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  117. <nil key="highlightedColor"/>
  118. <userDefinedRuntimeAttributes>
  119. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  120. <real key="value" value="9"/>
  121. </userDefinedRuntimeAttribute>
  122. </userDefinedRuntimeAttributes>
  123. </label>
  124. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VXn-xs-agk">
  125. <rect key="frame" x="0.0" y="103" width="430" height="5"/>
  126. <color key="backgroundColor" red="0.96078431369999995" green="0.96078431369999995" blue="0.96078431369999995" alpha="1" colorSpace="calibratedRGB"/>
  127. <constraints>
  128. <constraint firstAttribute="height" constant="5" id="DNL-y7-pek"/>
  129. </constraints>
  130. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  131. <color key="textColor" red="0.96078431369999995" green="0.96078431369999995" blue="0.96078431369999995" alpha="1" colorSpace="calibratedRGB"/>
  132. <nil key="highlightedColor"/>
  133. </label>
  134. </subviews>
  135. <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  136. <constraints>
  137. <constraint firstAttribute="bottom" secondItem="VXn-xs-agk" secondAttribute="bottom" id="08c-Xs-vSh"/>
  138. <constraint firstAttribute="trailing" secondItem="VXn-xs-agk" secondAttribute="trailing" id="0Tz-tF-Ifk"/>
  139. <constraint firstItem="xfa-Mf-xAs" firstAttribute="height" secondItem="LZp-Sy-dKC" secondAttribute="height" id="11G-OD-KJx"/>
  140. <constraint firstItem="kH0-mB-S3a" firstAttribute="centerX" secondItem="xfa-Mf-xAs" secondAttribute="centerX" priority="750" constant="23" id="1MB-vb-IHh"/>
  141. <constraint firstItem="VXn-xs-agk" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="3Bt-Hg-JCO"/>
  142. <constraint firstItem="LZp-Sy-dKC" firstAttribute="centerX" secondItem="HXD-TO-KNn" secondAttribute="centerX" multiplier="0.25" id="3YV-2h-cmH"/>
  143. <constraint firstItem="HXD-TO-KNn" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="5HT-ws-9mv"/>
  144. <constraint firstItem="LZp-Sy-dKC" firstAttribute="height" secondItem="HXD-TO-KNn" secondAttribute="height" id="87S-Db-jLM"/>
  145. <constraint firstItem="HXD-TO-KNn" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="9Gn-5v-jRn"/>
  146. <constraint firstItem="6GY-OS-VGg" firstAttribute="centerY" secondItem="S9J-PD-HEA" secondAttribute="centerY" id="Cbm-1X-RrY"/>
  147. <constraint firstItem="XpQ-Wo-Liq" firstAttribute="centerY" secondItem="LZp-Sy-dKC" secondAttribute="centerY" id="HVI-IK-pHj"/>
  148. <constraint firstItem="gjr-AQ-ysS" firstAttribute="width" secondItem="LZp-Sy-dKC" secondAttribute="width" id="LWz-H6-7iC"/>
  149. <constraint firstItem="LZp-Sy-dKC" firstAttribute="centerY" secondItem="HXD-TO-KNn" secondAttribute="centerY" id="RGP-eJ-Iwh"/>
  150. <constraint firstItem="XpQ-Wo-Liq" firstAttribute="centerX" secondItem="HXD-TO-KNn" secondAttribute="centerX" multiplier="0.75" id="Rdq-ax-iK2"/>
  151. <constraint firstItem="xfa-Mf-xAs" firstAttribute="width" secondItem="LZp-Sy-dKC" secondAttribute="width" id="Rft-y2-CMO"/>
  152. <constraint firstItem="gjr-AQ-ysS" firstAttribute="centerX" secondItem="HXD-TO-KNn" secondAttribute="centerX" multiplier="1.25" id="WLe-mf-2qu"/>
  153. <constraint firstItem="kH0-mB-S3a" firstAttribute="centerY" secondItem="S9J-PD-HEA" secondAttribute="centerY" id="XUg-wD-Aih"/>
  154. <constraint firstItem="ifT-hO-l37" firstAttribute="centerY" secondItem="S9J-PD-HEA" secondAttribute="centerY" id="XX8-B4-Iz6"/>
  155. <constraint firstItem="xfa-Mf-xAs" firstAttribute="centerY" secondItem="LZp-Sy-dKC" secondAttribute="centerY" id="XYV-Uh-eZl"/>
  156. <constraint firstItem="XpQ-Wo-Liq" firstAttribute="width" secondItem="LZp-Sy-dKC" secondAttribute="width" id="aia-Bw-HNL"/>
  157. <constraint firstItem="gjr-AQ-ysS" firstAttribute="height" secondItem="LZp-Sy-dKC" secondAttribute="height" id="awd-ir-Kmc"/>
  158. <constraint firstItem="S9J-PD-HEA" firstAttribute="centerX" secondItem="LZp-Sy-dKC" secondAttribute="centerX" priority="750" constant="23" id="fcB-Hp-YIl"/>
  159. <constraint firstItem="kH0-mB-S3a" firstAttribute="height" secondItem="S9J-PD-HEA" secondAttribute="height" id="go7-l9-OMC"/>
  160. <constraint firstItem="6GY-OS-VGg" firstAttribute="height" secondItem="S9J-PD-HEA" secondAttribute="height" id="kCs-nd-95L"/>
  161. <constraint firstItem="XpQ-Wo-Liq" firstAttribute="height" secondItem="LZp-Sy-dKC" secondAttribute="height" id="ltt-Jh-rah"/>
  162. <constraint firstItem="xfa-Mf-xAs" firstAttribute="centerX" secondItem="HXD-TO-KNn" secondAttribute="centerX" multiplier="1.75" id="oUn-xV-Aon"/>
  163. <constraint firstItem="ifT-hO-l37" firstAttribute="centerX" secondItem="gjr-AQ-ysS" secondAttribute="centerX" priority="750" constant="23" id="p87-bZ-LTI"/>
  164. <constraint firstItem="6GY-OS-VGg" firstAttribute="centerX" secondItem="XpQ-Wo-Liq" secondAttribute="centerX" priority="750" constant="23" id="s8L-Hb-WWT"/>
  165. <constraint firstItem="S9J-PD-HEA" firstAttribute="centerY" secondItem="LZp-Sy-dKC" secondAttribute="centerY" constant="-30" id="ssX-sG-DML"/>
  166. <constraint firstItem="gjr-AQ-ysS" firstAttribute="centerY" secondItem="LZp-Sy-dKC" secondAttribute="centerY" id="vyG-wO-veY"/>
  167. <constraint firstItem="ifT-hO-l37" firstAttribute="height" secondItem="S9J-PD-HEA" secondAttribute="height" id="wql-6x-qdF"/>
  168. <constraint firstItem="LZp-Sy-dKC" firstAttribute="width" secondItem="HXD-TO-KNn" secondAttribute="width" multiplier="1/4" id="xIU-OX-4oA"/>
  169. <constraint firstItem="HXD-TO-KNn" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" id="zPa-HL-PaF"/>
  170. </constraints>
  171. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  172. <connections>
  173. <outlet property="aiTeBtn" destination="gjr-AQ-ysS" id="YjA-AU-1dq"/>
  174. <outlet property="atPoint" destination="ifT-hO-l37" id="Cc3-Al-2QI"/>
  175. <outlet property="atPointWidth" destination="Szj-8j-S3X" id="jV7-bY-DO8"/>
  176. <outlet property="comPoint" destination="kH0-mB-S3a" id="er8-Xv-cZj"/>
  177. <outlet property="comPointWidth" destination="o4n-mb-3gc" id="aQi-vk-1je"/>
  178. <outlet property="commentBtn" destination="xfa-Mf-xAs" id="7jg-Dd-XgU"/>
  179. <outlet property="fanPointWidth" destination="sdm-QU-Sns" id="kxL-3s-IP2"/>
  180. <outlet property="fansBtn" destination="LZp-Sy-dKC" id="wN2-J9-qDy"/>
  181. <outlet property="fansPoint" destination="S9J-PD-HEA" id="I1Q-YQ-wyI"/>
  182. <outlet property="headerBgV" destination="HXD-TO-KNn" id="3pe-Im-yUU"/>
  183. <outlet property="zanBtn" destination="XpQ-Wo-Liq" id="ach-aN-5cC"/>
  184. <outlet property="zanPoint" destination="6GY-OS-VGg" id="j2D-D2-llq"/>
  185. <outlet property="zanPointWidth" destination="sXK-m7-r2S" id="8CP-U0-f4K"/>
  186. </connections>
  187. <point key="canvasLocation" x="60.799999999999997" y="91.754122938530742"/>
  188. </view>
  189. </objects>
  190. <resources>
  191. <image name="msg_comment.png" width="46" height="46"/>
  192. <image name="msg_fans.png" width="46" height="46"/>
  193. <image name="msg_linkme.png" width="46" height="46"/>
  194. <image name="msg_zan.png" width="46" height="46"/>
  195. </resources>
  196. </document>