GroupSquareCell.xib 16 KB

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