GroupSquareCell.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168
  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="none" indentationWidth="10" reuseIdentifier="GroupSquareCell0" id="KGk-i7-Jjw" customClass="GroupSquareCell">
  14. <rect key="frame" x="0.0" y="0.0" width="320" height="60"/>
  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="60"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="推荐" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="IUO-3y-52v">
  21. <rect key="frame" x="146.5" y="22" width="27" height="16"/>
  22. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  23. <nil key="textColor"/>
  24. <nil key="highlightedColor"/>
  25. </label>
  26. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jt3-0J-uRL">
  27. <rect key="frame" x="0.0" y="21" width="4" height="18"/>
  28. <color key="backgroundColor" red="0.22352941176470587" green="0.47450980392156861" blue="0.82745098039215681" alpha="1" colorSpace="calibratedRGB"/>
  29. <constraints>
  30. <constraint firstAttribute="height" constant="18" id="5VZ-VH-hjB"/>
  31. <constraint firstAttribute="width" constant="4" id="dOe-Uu-y3c"/>
  32. </constraints>
  33. </view>
  34. </subviews>
  35. <constraints>
  36. <constraint firstItem="IUO-3y-52v" firstAttribute="centerX" secondItem="H2p-sc-9uM" secondAttribute="centerX" id="NdT-BC-ToG"/>
  37. <constraint firstItem="IUO-3y-52v" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="VDI-bI-kLc"/>
  38. <constraint firstItem="Jt3-0J-uRL" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="s0B-A1-Ys1"/>
  39. <constraint firstItem="Jt3-0J-uRL" firstAttribute="centerY" secondItem="H2p-sc-9uM" secondAttribute="centerY" id="tqc-d2-ant"/>
  40. </constraints>
  41. </tableViewCellContentView>
  42. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  43. <connections>
  44. <outlet property="BlueView" destination="Jt3-0J-uRL" id="tcV-NA-SoU"/>
  45. <outlet property="NameL" destination="IUO-3y-52v" id="8Ei-6Z-XFJ"/>
  46. </connections>
  47. <point key="canvasLocation" x="-42.028985507246382" y="51.5625"/>
  48. </tableViewCell>
  49. <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="GroupSquareCell1" id="m0g-R4-KYm" customClass="GroupSquareCell">
  50. <rect key="frame" x="0.0" y="0.0" width="320" height="98"/>
  51. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  52. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="m0g-R4-KYm" id="8O7-qq-kgw">
  53. <rect key="frame" x="0.0" y="0.0" width="320" height="98"/>
  54. <autoresizingMask key="autoresizingMask"/>
  55. <subviews>
  56. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="logo_60" translatesAutoresizingMaskIntoConstraints="NO" id="608-tF-hhd">
  57. <rect key="frame" x="20" y="29" width="40" height="40"/>
  58. <constraints>
  59. <constraint firstAttribute="height" constant="40" id="XMi-2M-zpD"/>
  60. <constraint firstAttribute="width" constant="40" id="f3L-NX-WlP"/>
  61. </constraints>
  62. <userDefinedRuntimeAttributes>
  63. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  64. <integer key="value" value="4"/>
  65. </userDefinedRuntimeAttribute>
  66. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  67. </userDefinedRuntimeAttributes>
  68. </imageView>
  69. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="推荐" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TJs-ec-C0M">
  70. <rect key="frame" x="76" y="20" width="33" height="19.5"/>
  71. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  72. <color key="textColor" red="0.039215686274509803" green="0.039215686274509803" blue="0.039215686274509803" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  73. <nil key="highlightedColor"/>
  74. </label>
  75. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wh1-mu-xeE">
  76. <rect key="frame" x="272" y="41" width="33" height="16"/>
  77. <constraints>
  78. <constraint firstAttribute="height" constant="16" id="JhP-1R-n4M"/>
  79. <constraint firstAttribute="width" constant="33" id="WJa-zn-dMU"/>
  80. </constraints>
  81. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  82. <state key="normal" title="加入">
  83. <color key="titleColor" red="0.074509803921568626" green="0.63921568627450975" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  84. </state>
  85. </button>
  86. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Source_user" translatesAutoresizingMaskIntoConstraints="NO" id="EYs-t5-72e">
  87. <rect key="frame" x="76" y="45.5" width="15" height="15"/>
  88. <constraints>
  89. <constraint firstAttribute="width" constant="15" id="KLP-P5-RmE"/>
  90. <constraint firstAttribute="height" constant="15" id="Y5c-IK-CxV"/>
  91. </constraints>
  92. </imageView>
  93. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="Source_topic" translatesAutoresizingMaskIntoConstraints="NO" id="YSh-ei-Qf9">
  94. <rect key="frame" x="132.5" y="45.5" width="15" height="15"/>
  95. <constraints>
  96. <constraint firstAttribute="width" constant="15" id="H1x-Yx-qeq"/>
  97. <constraint firstAttribute="height" constant="15" id="WzZ-s7-Lkl"/>
  98. </constraints>
  99. </imageView>
  100. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="1.8k" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="pn5-2V-TAk">
  101. <rect key="frame" x="96" y="46.5" width="21.5" height="13.5"/>
  102. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  103. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  104. <nil key="highlightedColor"/>
  105. </label>
  106. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="257" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="AXP-6R-fWZ">
  107. <rect key="frame" x="152.5" y="46.5" width="20" height="13.5"/>
  108. <fontDescription key="fontDescription" type="system" pointSize="11"/>
  109. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  110. <nil key="highlightedColor"/>
  111. </label>
  112. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="研究中国上下五千年的文化精粹的文化精粹" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="3ae-c4-8jn">
  113. <rect key="frame" x="76" y="68.5" width="229" height="16"/>
  114. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  115. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  116. <nil key="highlightedColor"/>
  117. </label>
  118. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="IPW-0p-Y4W">
  119. <rect key="frame" x="20" y="97.5" width="280" height="0.5"/>
  120. <color key="backgroundColor" red="0.89803921568627454" green="0.89803921568627454" blue="0.89803921568627454" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  121. <constraints>
  122. <constraint firstAttribute="height" constant="0.5" id="0TD-yR-K0a"/>
  123. </constraints>
  124. </view>
  125. </subviews>
  126. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  127. <constraints>
  128. <constraint firstItem="3ae-c4-8jn" firstAttribute="top" secondItem="EYs-t5-72e" secondAttribute="bottom" constant="8" id="2vq-db-0Tx"/>
  129. <constraint firstItem="pn5-2V-TAk" firstAttribute="leading" secondItem="EYs-t5-72e" secondAttribute="trailing" constant="5" id="3Sv-98-7Xm"/>
  130. <constraint firstItem="TJs-ec-C0M" firstAttribute="top" secondItem="8O7-qq-kgw" secondAttribute="top" constant="20" id="Gvg-Q8-aJK"/>
  131. <constraint firstAttribute="trailing" secondItem="IPW-0p-Y4W" secondAttribute="trailing" constant="20" id="HQe-6l-jp4"/>
  132. <constraint firstItem="YSh-ei-Qf9" firstAttribute="leading" secondItem="pn5-2V-TAk" secondAttribute="trailing" constant="15" id="M7y-QY-MRq"/>
  133. <constraint firstItem="3ae-c4-8jn" firstAttribute="leading" secondItem="TJs-ec-C0M" secondAttribute="leading" id="OMi-iO-31A"/>
  134. <constraint firstItem="EYs-t5-72e" firstAttribute="top" secondItem="TJs-ec-C0M" secondAttribute="bottom" constant="6" id="Pon-YU-ChP"/>
  135. <constraint firstAttribute="trailing" secondItem="3ae-c4-8jn" secondAttribute="trailing" constant="15" id="Rcd-Cq-jnD"/>
  136. <constraint firstAttribute="trailing" secondItem="Wh1-mu-xeE" secondAttribute="trailing" constant="15" id="UX7-7Y-NPz"/>
  137. <constraint firstItem="AXP-6R-fWZ" firstAttribute="leading" secondItem="YSh-ei-Qf9" secondAttribute="trailing" constant="5" id="Wcn-Dl-Cnh"/>
  138. <constraint firstItem="TJs-ec-C0M" firstAttribute="leading" secondItem="608-tF-hhd" secondAttribute="trailing" constant="16" id="ZUU-xo-Sx5"/>
  139. <constraint firstItem="EYs-t5-72e" firstAttribute="leading" secondItem="TJs-ec-C0M" secondAttribute="leading" id="ZYs-NO-eY0"/>
  140. <constraint firstItem="608-tF-hhd" firstAttribute="leading" secondItem="8O7-qq-kgw" secondAttribute="leading" constant="20" id="cPT-BI-3cq"/>
  141. <constraint firstItem="pn5-2V-TAk" firstAttribute="centerY" secondItem="EYs-t5-72e" secondAttribute="centerY" id="iJA-Eq-isr"/>
  142. <constraint firstItem="YSh-ei-Qf9" firstAttribute="centerY" secondItem="pn5-2V-TAk" secondAttribute="centerY" id="lUm-6c-mJb"/>
  143. <constraint firstAttribute="bottom" secondItem="IPW-0p-Y4W" secondAttribute="bottom" id="lu2-hJ-fHK"/>
  144. <constraint firstItem="Wh1-mu-xeE" firstAttribute="centerY" secondItem="8O7-qq-kgw" secondAttribute="centerY" id="ne2-3o-uXN"/>
  145. <constraint firstItem="IPW-0p-Y4W" firstAttribute="leading" secondItem="8O7-qq-kgw" secondAttribute="leading" constant="20" id="oZT-Z4-G59"/>
  146. <constraint firstItem="AXP-6R-fWZ" firstAttribute="centerY" secondItem="YSh-ei-Qf9" secondAttribute="centerY" id="qPO-Qv-k5m"/>
  147. <constraint firstItem="608-tF-hhd" firstAttribute="centerY" secondItem="8O7-qq-kgw" secondAttribute="centerY" id="x1U-Tv-Owv"/>
  148. </constraints>
  149. </tableViewCellContentView>
  150. <viewLayoutGuide key="safeArea" id="XWQ-8W-qk5"/>
  151. <connections>
  152. <outlet property="IconView" destination="608-tF-hhd" id="pw4-eK-c3b"/>
  153. <outlet property="JoinBtn" destination="Wh1-mu-xeE" id="bdW-O1-2c5"/>
  154. <outlet property="TopicCountL" destination="AXP-6R-fWZ" id="4El-vC-8jo"/>
  155. <outlet property="subTitleL" destination="3ae-c4-8jn" id="Zaq-hH-UZQ"/>
  156. <outlet property="titleL" destination="TJs-ec-C0M" id="AU3-i3-BPr"/>
  157. <outlet property="userCountL" destination="pn5-2V-TAk" id="exI-yu-Duu"/>
  158. </connections>
  159. <point key="canvasLocation" x="-42" y="212"/>
  160. </tableViewCell>
  161. </objects>
  162. <resources>
  163. <image name="Source_topic" width="15" height="15"/>
  164. <image name="Source_user" width="15" height="15"/>
  165. <image name="logo_60" width="60" height="60"/>
  166. </resources>
  167. </document>