GroupNoticeCell.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" 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="22504"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" rowHeight="183" id="KGk-i7-Jjw" customClass="GroupNoticeCell">
  15. <rect key="frame" x="0.0" y="0.0" width="359" height="183"/>
  16. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  17. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  18. <rect key="frame" x="0.0" y="0.0" width="359" height="183"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qWq-La-TpT">
  22. <rect key="frame" x="13" y="12" width="333" height="171"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="user_avatarRectangle" translatesAutoresizingMaskIntoConstraints="NO" id="Gkn-L8-UCb">
  25. <rect key="frame" x="16" y="12" width="60" height="60"/>
  26. <constraints>
  27. <constraint firstAttribute="height" constant="60" id="8bz-sK-gjT"/>
  28. <constraint firstAttribute="width" constant="60" id="VaV-68-izM"/>
  29. </constraints>
  30. <userDefinedRuntimeAttributes>
  31. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  32. <real key="value" value="6"/>
  33. </userDefinedRuntimeAttribute>
  34. </userDefinedRuntimeAttributes>
  35. </imageView>
  36. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="vad-UL-yLE">
  37. <rect key="frame" x="86" y="47" width="0.0" height="20"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="20" id="G1H-uK-NYV"/>
  40. </constraints>
  41. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  42. <color key="textColor" red="0.54117647058823526" green="0.54117647058823526" blue="0.54117647058823526" alpha="1" colorSpace="calibratedRGB"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="置顶" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Fse-Bd-Rui">
  46. <rect key="frame" x="92" y="47" width="40" height="20"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="20" id="eAd-Zt-CN7"/>
  49. <constraint firstAttribute="width" constant="40" id="gtu-Jt-duR"/>
  50. </constraints>
  51. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  52. <color key="textColor" red="0.99607843137254903" green="0.14117647058823529" blue="0.31764705882352939" alpha="1" colorSpace="calibratedRGB"/>
  53. <nil key="highlightedColor"/>
  54. <userDefinedRuntimeAttributes>
  55. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  56. <real key="value" value="10"/>
  57. </userDefinedRuntimeAttribute>
  58. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  59. <color key="value" red="0.99607843137254903" green="0.14117647058823529" blue="0.31764705882352939" alpha="1" colorSpace="calibratedRGB"/>
  60. </userDefinedRuntimeAttribute>
  61. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  62. <real key="value" value="1"/>
  63. </userDefinedRuntimeAttribute>
  64. </userDefinedRuntimeAttributes>
  65. </label>
  66. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Gv9-px-E4j">
  67. <rect key="frame" x="285" y="12.5" width="40" height="40"/>
  68. <constraints>
  69. <constraint firstAttribute="width" constant="40" id="0ay-Cx-fo8"/>
  70. <constraint firstAttribute="height" constant="40" id="v9h-3o-0Hd"/>
  71. </constraints>
  72. <state key="normal" image="notice_action"/>
  73. <connections>
  74. <action selector="editAction:" destination="KGk-i7-Jjw" eventType="touchUpInside" id="LKl-Wu-uAP"/>
  75. </connections>
  76. </button>
  77. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="038-4g-5JZ">
  78. <rect key="frame" x="16" y="88" width="301" height="1"/>
  79. <color key="backgroundColor" red="0.94901960784313721" green="0.94901960784313721" blue="0.94901960784313721" alpha="1" colorSpace="calibratedRGB"/>
  80. <constraints>
  81. <constraint firstAttribute="height" constant="1" id="3Wh-Ue-Sj3"/>
  82. </constraints>
  83. </view>
  84. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="749" text="" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gxd-9e-9Xw">
  85. <rect key="frame" x="16" y="105" width="301" height="38"/>
  86. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  87. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  88. <nil key="highlightedColor"/>
  89. </label>
  90. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="252" text="" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FWq-QF-ONl">
  91. <rect key="frame" x="16" y="156" width="301" height="0.0"/>
  92. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  93. <color key="textColor" red="0.46666666666666667" green="0.46666666666666667" blue="0.46666666666666667" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  94. <nil key="highlightedColor"/>
  95. </label>
  96. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2c3-yX-YxS">
  97. <rect key="frame" x="86" y="20" width="187" height="25"/>
  98. <constraints>
  99. <constraint firstAttribute="height" constant="25" id="dMw-tJ-YFP"/>
  100. </constraints>
  101. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="18"/>
  102. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  103. <nil key="highlightedColor"/>
  104. </label>
  105. </subviews>
  106. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  107. <constraints>
  108. <constraint firstAttribute="trailing" secondItem="038-4g-5JZ" secondAttribute="trailing" constant="16" id="ART-lR-s3C"/>
  109. <constraint firstItem="Gkn-L8-UCb" firstAttribute="leading" secondItem="qWq-La-TpT" secondAttribute="leading" constant="16" id="IYn-ew-2ea"/>
  110. <constraint firstItem="Gv9-px-E4j" firstAttribute="leading" secondItem="2c3-yX-YxS" secondAttribute="trailing" constant="12" id="Izw-tV-fyQ"/>
  111. <constraint firstItem="2c3-yX-YxS" firstAttribute="leading" secondItem="Gkn-L8-UCb" secondAttribute="trailing" constant="10" id="J3a-nQ-zqB"/>
  112. <constraint firstItem="vad-UL-yLE" firstAttribute="leading" secondItem="2c3-yX-YxS" secondAttribute="leading" id="JDu-Se-aI6"/>
  113. <constraint firstAttribute="trailing" secondItem="Gv9-px-E4j" secondAttribute="trailing" constant="8" id="N4A-xt-LAp"/>
  114. <constraint firstItem="vad-UL-yLE" firstAttribute="top" secondItem="2c3-yX-YxS" secondAttribute="bottom" constant="2" id="N7G-Ce-QIc"/>
  115. <constraint firstItem="gxd-9e-9Xw" firstAttribute="leading" secondItem="qWq-La-TpT" secondAttribute="leading" constant="16" id="NDs-Xr-hHO"/>
  116. <constraint firstItem="038-4g-5JZ" firstAttribute="top" secondItem="Gkn-L8-UCb" secondAttribute="bottom" constant="16" id="PH8-z7-60N"/>
  117. <constraint firstAttribute="trailing" secondItem="gxd-9e-9Xw" secondAttribute="trailing" constant="16" id="S2d-pS-kaY"/>
  118. <constraint firstItem="FWq-QF-ONl" firstAttribute="top" secondItem="gxd-9e-9Xw" secondAttribute="bottom" constant="13" id="Vf4-jv-WpV"/>
  119. <constraint firstItem="gxd-9e-9Xw" firstAttribute="top" secondItem="038-4g-5JZ" secondAttribute="bottom" constant="16" id="WdV-Qv-AqI"/>
  120. <constraint firstAttribute="bottom" secondItem="FWq-QF-ONl" secondAttribute="bottom" constant="15" id="YVP-D4-aqo"/>
  121. <constraint firstItem="2c3-yX-YxS" firstAttribute="top" secondItem="Gkn-L8-UCb" secondAttribute="top" constant="8" id="ay7-jB-Ghd"/>
  122. <constraint firstItem="Fse-Bd-Rui" firstAttribute="leading" secondItem="vad-UL-yLE" secondAttribute="trailing" constant="6" id="b7x-ei-t05"/>
  123. <constraint firstItem="038-4g-5JZ" firstAttribute="leading" secondItem="qWq-La-TpT" secondAttribute="leading" constant="16" id="bC8-ah-beD"/>
  124. <constraint firstItem="FWq-QF-ONl" firstAttribute="trailing" secondItem="gxd-9e-9Xw" secondAttribute="trailing" id="bcZ-KL-EUb"/>
  125. <constraint firstItem="Gv9-px-E4j" firstAttribute="centerY" secondItem="2c3-yX-YxS" secondAttribute="centerY" id="g8r-p1-BL2"/>
  126. <constraint firstItem="Fse-Bd-Rui" firstAttribute="centerY" secondItem="vad-UL-yLE" secondAttribute="centerY" id="lF9-xB-hfp"/>
  127. <constraint firstItem="FWq-QF-ONl" firstAttribute="leading" secondItem="gxd-9e-9Xw" secondAttribute="leading" id="mTh-u9-qZf"/>
  128. <constraint firstItem="Gkn-L8-UCb" firstAttribute="top" secondItem="qWq-La-TpT" secondAttribute="top" constant="12" id="vJe-1d-d4U"/>
  129. </constraints>
  130. <userDefinedRuntimeAttributes>
  131. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  132. <real key="value" value="10"/>
  133. </userDefinedRuntimeAttribute>
  134. </userDefinedRuntimeAttributes>
  135. </view>
  136. </subviews>
  137. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  138. <constraints>
  139. <constraint firstItem="qWq-La-TpT" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="12" id="3nM-FI-Z4T"/>
  140. <constraint firstAttribute="trailing" secondItem="qWq-La-TpT" secondAttribute="trailing" constant="13" id="4UE-wr-frc"/>
  141. <constraint firstItem="qWq-La-TpT" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="13" id="5XS-Wg-4HZ"/>
  142. <constraint firstAttribute="bottom" secondItem="qWq-La-TpT" secondAttribute="bottom" id="ghz-gf-5wb"/>
  143. </constraints>
  144. </tableViewCellContentView>
  145. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  146. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  147. <connections>
  148. <outlet property="focusLabel" destination="Fse-Bd-Rui" id="4Bj-LO-Iqv"/>
  149. <outlet property="modifyButton" destination="Gv9-px-E4j" id="pCi-TT-AY1"/>
  150. <outlet property="modifyTime" destination="vad-UL-yLE" id="gbq-gU-mih"/>
  151. <outlet property="noticeContent" destination="FWq-QF-ONl" id="dv5-Ce-l5g"/>
  152. <outlet property="noticeTitle" destination="gxd-9e-9Xw" id="MyW-Hj-SNd"/>
  153. <outlet property="userLogo" destination="Gkn-L8-UCb" id="Gj8-xH-KxL"/>
  154. <outlet property="userName" destination="2c3-yX-YxS" id="lOP-EJ-tfh"/>
  155. </connections>
  156. <point key="canvasLocation" x="125.36231884057972" y="215.29017857142856"/>
  157. </tableViewCell>
  158. </objects>
  159. <resources>
  160. <image name="notice_action" width="24" height="25"/>
  161. <image name="user_avatarRectangle" width="44" height="44"/>
  162. <systemColor name="systemBackgroundColor">
  163. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  164. </systemColor>
  165. </resources>
  166. </document>