commCell.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225
  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. <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="commCELL" rowHeight="79" id="KGk-i7-Jjw" customClass="commCell">
  13. <rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="79"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bfe-VB-Y0R" userLabel="长按变色">
  20. <rect key="frame" x="5" y="5" width="305" height="68"/>
  21. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  22. </view>
  23. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="xjr-hL-b5Z" userLabel="头像">
  24. <rect key="frame" x="10" y="10" width="30" height="30"/>
  25. <constraints>
  26. <constraint firstAttribute="height" constant="30" id="7NP-uK-Ygh"/>
  27. <constraint firstAttribute="width" constant="30" id="ZPB-MY-Ov9"/>
  28. </constraints>
  29. <userDefinedRuntimeAttributes>
  30. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  31. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  32. <integer key="value" value="15"/>
  33. </userDefinedRuntimeAttribute>
  34. </userDefinedRuntimeAttributes>
  35. </imageView>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NC6-Io-P6a" userLabel="名字">
  37. <rect key="frame" x="45" y="10" width="35.5" height="17"/>
  38. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  39. <color key="textColor" red="0.58823529411764708" green="0.58823529411764708" blue="0.58823529411764708" alpha="1" colorSpace="calibratedRGB"/>
  40. <nil key="highlightedColor"/>
  41. </label>
  42. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="作者" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="UPK-m1-dm7" userLabel="作者">
  43. <rect key="frame" x="85.5" y="11.5" width="24" height="14"/>
  44. <color key="backgroundColor" red="1" green="0.0" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="14" id="h0t-jH-lGr"/>
  47. <constraint firstAttribute="width" constant="24" id="qFN-8X-Bma"/>
  48. </constraints>
  49. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  50. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  51. <nil key="highlightedColor"/>
  52. <userDefinedRuntimeAttributes>
  53. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  54. <real key="value" value="3"/>
  55. </userDefinedRuntimeAttribute>
  56. </userDefinedRuntimeAttributes>
  57. </label>
  58. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1234" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gWP-3x-fYL" userLabel="点赞数量">
  59. <rect key="frame" x="277" y="33.5" width="26" height="13.5"/>
  60. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  61. <color key="textColor" red="0.50980392156862742" green="0.50980392156862742" blue="0.50980392156862742" alpha="1" colorSpace="calibratedRGB"/>
  62. <nil key="highlightedColor"/>
  63. </label>
  64. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cMm-cD-gVn" userLabel="点赞">
  65. <rect key="frame" x="275" y="3.5" width="30" height="30"/>
  66. <constraints>
  67. <constraint firstAttribute="width" constant="30" id="7FH-H4-CNx"/>
  68. <constraint firstAttribute="height" constant="30" id="9GI-Fi-46Q"/>
  69. </constraints>
  70. <inset key="contentEdgeInsets" minX="5" minY="5" maxX="5" maxY="5"/>
  71. <state key="normal" image="likecomment.png"/>
  72. <connections>
  73. <action selector="zanBtnClick:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="r1A-dS-FYB"/>
  74. </connections>
  75. </button>
  76. <tableView contentMode="scaleToFill" alwaysBounceVertical="YES" scrollEnabled="NO" style="plain" separatorStyle="none" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" contentViewInsetsToSafeArea="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7PD-Wd-n1v" userLabel="回复评论Tab">
  77. <rect key="frame" x="45" y="72" width="275" height="0.0"/>
  78. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  79. <constraints>
  80. <constraint firstAttribute="height" id="VGt-k5-Gkq"/>
  81. </constraints>
  82. <connections>
  83. <outlet property="dataSource" destination="KGk-i7-Jjw" id="G2f-M4-Mzm"/>
  84. <outlet property="delegate" destination="KGk-i7-Jjw" id="ByJ-GI-vhN"/>
  85. </connections>
  86. </tableView>
  87. <view hidden="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="kxf-jE-O1Z" userLabel="线">
  88. <rect key="frame" x="10" y="78" width="295" height="1"/>
  89. <color key="backgroundColor" white="1" alpha="0.059999999999999998" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  90. <constraints>
  91. <constraint firstAttribute="height" constant="1" id="xnc-8J-7QU"/>
  92. </constraints>
  93. </view>
  94. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="M4B-R9-CGD">
  95. <rect key="frame" x="45" y="27" width="70" height="20"/>
  96. <subviews>
  97. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="RSf-TV-bAH">
  98. <rect key="frame" x="0.0" y="0.0" width="70" height="20"/>
  99. <state key="normal" image="commen-yuyin.png"/>
  100. <connections>
  101. <action selector="playVoice:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="Y6O-L3-a3Z"/>
  102. </connections>
  103. </button>
  104. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="comment_voice_nor.png" translatesAutoresizingMaskIntoConstraints="NO" id="DMJ-w7-8mr">
  105. <rect key="frame" x="8" y="6.5" width="7" height="7"/>
  106. <constraints>
  107. <constraint firstAttribute="width" constant="7" id="4q3-Zh-EyW"/>
  108. <constraint firstAttribute="height" constant="7" id="oTG-px-5EQ"/>
  109. </constraints>
  110. </imageView>
  111. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="5&quot;" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="e6o-76-boc">
  112. <rect key="frame" x="57" y="5" width="9" height="10"/>
  113. <fontDescription key="fontDescription" type="system" pointSize="8"/>
  114. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  115. <nil key="highlightedColor"/>
  116. </label>
  117. <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="be8-er-E5e" customClass="YYAnimatedImageView">
  118. <rect key="frame" x="28.5" y="5" width="13" height="10"/>
  119. <constraints>
  120. <constraint firstAttribute="height" constant="10" id="WM0-3x-eTD"/>
  121. <constraint firstAttribute="width" constant="13" id="Ycv-2a-rrj"/>
  122. </constraints>
  123. </imageView>
  124. </subviews>
  125. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  126. <constraints>
  127. <constraint firstItem="be8-er-E5e" firstAttribute="centerY" secondItem="M4B-R9-CGD" secondAttribute="centerY" id="4cT-bb-7nc"/>
  128. <constraint firstAttribute="trailing" secondItem="e6o-76-boc" secondAttribute="trailing" constant="4" id="7N0-yY-xRG"/>
  129. <constraint firstItem="RSf-TV-bAH" firstAttribute="height" secondItem="M4B-R9-CGD" secondAttribute="height" id="CdG-Vh-tTb"/>
  130. <constraint firstAttribute="height" constant="20" id="Iw3-Tw-Awo"/>
  131. <constraint firstItem="DMJ-w7-8mr" firstAttribute="centerY" secondItem="M4B-R9-CGD" secondAttribute="centerY" id="SAe-d5-qdn"/>
  132. <constraint firstItem="be8-er-E5e" firstAttribute="centerX" secondItem="M4B-R9-CGD" secondAttribute="centerX" id="cef-7L-EGL"/>
  133. <constraint firstAttribute="width" constant="70" id="hOO-Zi-3OH"/>
  134. <constraint firstItem="RSf-TV-bAH" firstAttribute="width" secondItem="M4B-R9-CGD" secondAttribute="width" id="iYw-Ox-ZRa"/>
  135. <constraint firstItem="e6o-76-boc" firstAttribute="centerY" secondItem="M4B-R9-CGD" secondAttribute="centerY" id="sCZ-q8-8pc"/>
  136. <constraint firstItem="DMJ-w7-8mr" firstAttribute="leading" secondItem="M4B-R9-CGD" secondAttribute="leading" constant="8" id="tPO-dN-Sdc"/>
  137. <constraint firstItem="RSf-TV-bAH" firstAttribute="centerY" secondItem="M4B-R9-CGD" secondAttribute="centerY" id="uR5-4r-7MV"/>
  138. <constraint firstItem="RSf-TV-bAH" firstAttribute="centerX" secondItem="M4B-R9-CGD" secondAttribute="centerX" id="veg-1L-c9x"/>
  139. </constraints>
  140. </view>
  141. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="uHZ-pP-rRE" userLabel="头像点击">
  142. <rect key="frame" x="5" y="5" width="40" height="40"/>
  143. <connections>
  144. <action selector="clickIconBtn:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="LZG-Np-VTi"/>
  145. </connections>
  146. </button>
  147. <view contentMode="scaleToFill" ambiguous="YES" translatesAutoresizingMaskIntoConstraints="NO" id="71r-8x-R6i" userLabel="内容" customClass="YYLabel">
  148. <rect key="frame" x="45" y="51" width="260" height="19"/>
  149. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  150. <userDefinedRuntimeAttributes>
  151. <userDefinedRuntimeAttribute type="number" keyPath="fontSize_">
  152. <real key="value" value="16"/>
  153. </userDefinedRuntimeAttribute>
  154. <userDefinedRuntimeAttribute type="number" keyPath="numberOfLines">
  155. <integer key="value" value="0"/>
  156. </userDefinedRuntimeAttribute>
  157. <userDefinedRuntimeAttribute type="number" keyPath="lineBreakMode">
  158. <integer key="value" value="1"/>
  159. </userDefinedRuntimeAttribute>
  160. <userDefinedRuntimeAttribute type="color" keyPath="textColor">
  161. <color key="value" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  162. </userDefinedRuntimeAttribute>
  163. </userDefinedRuntimeAttributes>
  164. </view>
  165. </subviews>
  166. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  167. <constraints>
  168. <constraint firstItem="7PD-Wd-n1v" firstAttribute="leading" secondItem="71r-8x-R6i" secondAttribute="leading" id="02j-YA-Mzu"/>
  169. <constraint firstItem="UPK-m1-dm7" firstAttribute="leading" secondItem="NC6-Io-P6a" secondAttribute="trailing" constant="5" id="0QN-mT-2md"/>
  170. <constraint firstItem="7PD-Wd-n1v" firstAttribute="top" secondItem="71r-8x-R6i" secondAttribute="bottom" constant="2" id="5PM-9l-Mke"/>
  171. <constraint firstItem="uHZ-pP-rRE" firstAttribute="width" secondItem="xjr-hL-b5Z" secondAttribute="width" constant="10" id="ADv-dX-REW"/>
  172. <constraint firstItem="cMm-cD-gVn" firstAttribute="centerY" secondItem="NC6-Io-P6a" secondAttribute="centerY" id="AwV-2I-vHs"/>
  173. <constraint firstAttribute="trailing" secondItem="7PD-Wd-n1v" secondAttribute="trailing" id="BbO-PQ-dbc"/>
  174. <constraint firstItem="kxf-jE-O1Z" firstAttribute="top" secondItem="7PD-Wd-n1v" secondAttribute="bottom" constant="6" id="L05-hK-oej"/>
  175. <constraint firstItem="uHZ-pP-rRE" firstAttribute="centerX" secondItem="xjr-hL-b5Z" secondAttribute="centerX" id="L9M-OU-DhN"/>
  176. <constraint firstItem="71r-8x-R6i" firstAttribute="leading" secondItem="NC6-Io-P6a" secondAttribute="leading" id="M0A-ag-7sU"/>
  177. <constraint firstItem="cMm-cD-gVn" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="71r-8x-R6i" secondAttribute="trailing" constant="15" id="Mgi-RM-Mu5"/>
  178. <constraint firstItem="gWP-3x-fYL" firstAttribute="top" secondItem="cMm-cD-gVn" secondAttribute="bottom" id="RQy-QO-clF"/>
  179. <constraint firstItem="UPK-m1-dm7" firstAttribute="centerY" secondItem="NC6-Io-P6a" secondAttribute="centerY" id="Wnj-kb-r5I"/>
  180. <constraint firstItem="M4B-R9-CGD" firstAttribute="top" secondItem="NC6-Io-P6a" secondAttribute="bottom" id="WoG-ET-5cH"/>
  181. <constraint firstAttribute="trailing" secondItem="cMm-cD-gVn" secondAttribute="trailing" constant="15" id="WqX-CQ-iqz"/>
  182. <constraint firstItem="kxf-jE-O1Z" firstAttribute="trailing" secondItem="cMm-cD-gVn" secondAttribute="trailing" id="XYO-ib-RhE"/>
  183. <constraint firstItem="bfe-VB-Y0R" firstAttribute="bottom" secondItem="71r-8x-R6i" secondAttribute="bottom" constant="3" id="Z08-ZW-Mad"/>
  184. <constraint firstAttribute="bottom" secondItem="kxf-jE-O1Z" secondAttribute="bottom" id="hpM-PA-QgE"/>
  185. <constraint firstItem="xjr-hL-b5Z" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="10" id="jJM-7F-DfT"/>
  186. <constraint firstItem="bfe-VB-Y0R" firstAttribute="top" secondItem="xjr-hL-b5Z" secondAttribute="top" constant="-5" id="jbS-wb-VsD"/>
  187. <constraint firstItem="uHZ-pP-rRE" firstAttribute="height" secondItem="xjr-hL-b5Z" secondAttribute="height" constant="10" id="jpt-6D-pcY"/>
  188. <constraint firstItem="M4B-R9-CGD" firstAttribute="leading" secondItem="NC6-Io-P6a" secondAttribute="leading" id="kU4-R6-NMp"/>
  189. <constraint firstItem="71r-8x-R6i" firstAttribute="top" secondItem="M4B-R9-CGD" secondAttribute="bottom" constant="4" id="lKv-Ft-D6C"/>
  190. <constraint firstItem="NC6-Io-P6a" firstAttribute="top" secondItem="xjr-hL-b5Z" secondAttribute="top" id="ln1-0R-dfN"/>
  191. <constraint firstItem="NC6-Io-P6a" firstAttribute="leading" secondItem="xjr-hL-b5Z" secondAttribute="trailing" constant="5" id="loi-wa-Zpy"/>
  192. <constraint firstItem="gWP-3x-fYL" firstAttribute="centerX" secondItem="cMm-cD-gVn" secondAttribute="centerX" id="mFQ-dY-hlP"/>
  193. <constraint firstItem="uHZ-pP-rRE" firstAttribute="centerY" secondItem="xjr-hL-b5Z" secondAttribute="centerY" id="mNl-Yn-BiL"/>
  194. <constraint firstItem="bfe-VB-Y0R" firstAttribute="trailing" secondItem="cMm-cD-gVn" secondAttribute="trailing" constant="5" id="p2y-K2-Ocu"/>
  195. <constraint firstItem="bfe-VB-Y0R" firstAttribute="leading" secondItem="xjr-hL-b5Z" secondAttribute="leading" constant="-5" id="sDq-c1-veD"/>
  196. <constraint firstItem="kxf-jE-O1Z" firstAttribute="leading" secondItem="xjr-hL-b5Z" secondAttribute="leading" id="utZ-d9-V4H"/>
  197. <constraint firstItem="xjr-hL-b5Z" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="10" id="x0U-TC-s8d"/>
  198. <constraint firstItem="cMm-cD-gVn" firstAttribute="leading" relation="greaterThanOrEqual" secondItem="NC6-Io-P6a" secondAttribute="trailing" constant="10" id="yic-Hh-V8b"/>
  199. </constraints>
  200. </tableViewCellContentView>
  201. <connections>
  202. <outlet property="animationView" destination="be8-er-E5e" id="bTu-VY-gl5"/>
  203. <outlet property="authorL" destination="UPK-m1-dm7" id="f3j-76-nFk"/>
  204. <outlet property="contentL" destination="71r-8x-R6i" id="IWO-qc-nE1"/>
  205. <outlet property="iconImgView" destination="xjr-hL-b5Z" id="akS-Q9-OXY"/>
  206. <outlet property="longPressView" destination="bfe-VB-Y0R" id="MRj-8q-fk4"/>
  207. <outlet property="nameL" destination="NC6-Io-P6a" id="Sgd-aM-Z1J"/>
  208. <outlet property="replyTable" destination="7PD-Wd-n1v" id="IBQ-D0-dl8"/>
  209. <outlet property="tableHeight" destination="VGt-k5-Gkq" id="H82-GT-r7m"/>
  210. <outlet property="voiceNorImgV" destination="DMJ-w7-8mr" id="JaE-gn-Lum"/>
  211. <outlet property="voiceTimeL" destination="e6o-76-boc" id="63G-dy-Vrx"/>
  212. <outlet property="voiceView" destination="M4B-R9-CGD" id="eaI-xN-6OD"/>
  213. <outlet property="voiceViewHeight" destination="Iw3-Tw-Awo" id="sdI-A8-CSp"/>
  214. <outlet property="zanBtn" destination="cMm-cD-gVn" id="0wX-KD-woO"/>
  215. <outlet property="zanNumL" destination="gWP-3x-fYL" id="hMy-S8-f0u"/>
  216. </connections>
  217. <point key="canvasLocation" x="129.59999999999999" y="56.221889055472268"/>
  218. </tableViewCell>
  219. </objects>
  220. <resources>
  221. <image name="commen-yuyin.png" width="280" height="80"/>
  222. <image name="comment_voice_nor.png" width="8" height="8"/>
  223. <image name="likecomment.png" width="25" height="25"/>
  224. </resources>
  225. </document>