AccompanyRemarkCell.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="20037" 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="20020"/>
  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="221" id="KGk-i7-Jjw" customClass="AccompanyRemarkCell">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="221"/>
  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="375" height="221"/>
  19. <autoresizingMask key="autoresizingMask"/>
  20. <subviews>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qyw-41-OgZ">
  22. <rect key="frame" x="14" y="0.0" width="347" height="209"/>
  23. <subviews>
  24. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="accell_left" translatesAutoresizingMaskIntoConstraints="NO" id="Nmt-3B-GQh">
  25. <rect key="frame" x="11" y="13" width="4" height="14"/>
  26. </imageView>
  27. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="作业点评" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lof-Tc-krl">
  28. <rect key="frame" x="20" y="10" width="58" height="20"/>
  29. <constraints>
  30. <constraint firstAttribute="height" constant="20" id="FEC-1Y-gGm"/>
  31. </constraints>
  32. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  33. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="calibratedRGB"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ehC-4r-0Vt">
  37. <rect key="frame" x="11" y="38" width="327" height="161"/>
  38. <subviews>
  39. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="W9z-ye-Ww2">
  40. <rect key="frame" x="0.0" y="0.0" width="327" height="161"/>
  41. <subviews>
  42. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="homework_placeholder" translatesAutoresizingMaskIntoConstraints="NO" id="44c-14-lXI">
  43. <rect key="frame" x="33" y="41.5" width="79" height="78"/>
  44. <constraints>
  45. <constraint firstAttribute="height" constant="78" id="3IW-Vv-GOP"/>
  46. <constraint firstAttribute="width" constant="79" id="bln-k4-dPI"/>
  47. </constraints>
  48. </imageView>
  49. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="您尚未点评作业" textAlignment="natural" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="M7Y-he-HQe">
  50. <rect key="frame" x="120" y="73" width="157" height="15.5"/>
  51. <fontDescription key="fontDescription" name="STSongti-SC-Regular" family="Songti SC" pointSize="13"/>
  52. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. </subviews>
  56. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  57. <constraints>
  58. <constraint firstItem="M7Y-he-HQe" firstAttribute="leading" secondItem="44c-14-lXI" secondAttribute="trailing" constant="8" id="1Ag-bV-qSy"/>
  59. <constraint firstAttribute="trailing" secondItem="M7Y-he-HQe" secondAttribute="trailing" constant="50" id="QeU-Ah-bkP"/>
  60. <constraint firstItem="44c-14-lXI" firstAttribute="centerY" secondItem="W9z-ye-Ww2" secondAttribute="centerY" id="bQB-oC-9NI"/>
  61. <constraint firstItem="M7Y-he-HQe" firstAttribute="centerY" secondItem="W9z-ye-Ww2" secondAttribute="centerY" id="khM-b5-QrM"/>
  62. <constraint firstItem="44c-14-lXI" firstAttribute="leading" secondItem="W9z-ye-Ww2" secondAttribute="leading" constant="33" id="vq5-de-jPS"/>
  63. </constraints>
  64. </view>
  65. </subviews>
  66. <color key="backgroundColor" red="0.96862745100000003" green="0.97254901959999995" blue="0.97647058819999999" alpha="1" colorSpace="calibratedRGB"/>
  67. <constraints>
  68. <constraint firstAttribute="height" relation="greaterThanOrEqual" constant="88" id="L9X-hq-5Cj"/>
  69. <constraint firstItem="W9z-ye-Ww2" firstAttribute="top" secondItem="ehC-4r-0Vt" secondAttribute="top" id="LmU-3Z-TK6"/>
  70. <constraint firstItem="W9z-ye-Ww2" firstAttribute="leading" secondItem="ehC-4r-0Vt" secondAttribute="leading" id="TG2-AT-S1D"/>
  71. <constraint firstAttribute="trailing" secondItem="W9z-ye-Ww2" secondAttribute="trailing" id="b8y-80-QsT"/>
  72. <constraint firstAttribute="bottom" secondItem="W9z-ye-Ww2" secondAttribute="bottom" id="eNf-PG-4d5"/>
  73. </constraints>
  74. <userDefinedRuntimeAttributes>
  75. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  76. <real key="value" value="4"/>
  77. </userDefinedRuntimeAttribute>
  78. </userDefinedRuntimeAttributes>
  79. </view>
  80. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZfR-Jo-QQv">
  81. <rect key="frame" x="285" y="2" width="51" height="36"/>
  82. <subviews>
  83. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="accompany_edit" translatesAutoresizingMaskIntoConstraints="NO" id="Ys6-Pq-GnK">
  84. <rect key="frame" x="5" y="12" width="12" height="12"/>
  85. <constraints>
  86. <constraint firstAttribute="height" constant="12" id="QJd-3F-Mmd"/>
  87. <constraint firstAttribute="width" constant="12" id="b4d-Cq-8gc"/>
  88. </constraints>
  89. </imageView>
  90. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="点评" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ymL-Uv-SHc">
  91. <rect key="frame" x="22" y="9.5" width="29" height="17"/>
  92. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="14"/>
  93. <color key="textColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="calibratedRGB"/>
  94. <nil key="highlightedColor"/>
  95. </label>
  96. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="WT0-J3-ujJ">
  97. <rect key="frame" x="0.0" y="0.0" width="51" height="36"/>
  98. <state key="normal" title="Button"/>
  99. <buttonConfiguration key="configuration" style="plain"/>
  100. </button>
  101. </subviews>
  102. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  103. <constraints>
  104. <constraint firstItem="WT0-J3-ujJ" firstAttribute="leading" secondItem="ZfR-Jo-QQv" secondAttribute="leading" id="55W-i9-V5F"/>
  105. <constraint firstAttribute="trailing" secondItem="ymL-Uv-SHc" secondAttribute="trailing" id="9KY-ZP-Zfh"/>
  106. <constraint firstItem="ymL-Uv-SHc" firstAttribute="leading" secondItem="Ys6-Pq-GnK" secondAttribute="trailing" constant="5" id="Nyz-q6-HVE"/>
  107. <constraint firstItem="Ys6-Pq-GnK" firstAttribute="leading" secondItem="ZfR-Jo-QQv" secondAttribute="leading" constant="5" id="Rlg-vV-FVR"/>
  108. <constraint firstItem="WT0-J3-ujJ" firstAttribute="top" secondItem="ZfR-Jo-QQv" secondAttribute="top" id="Shr-cS-4Ar"/>
  109. <constraint firstAttribute="trailing" secondItem="WT0-J3-ujJ" secondAttribute="trailing" id="TTu-BB-ARp"/>
  110. <constraint firstItem="Ys6-Pq-GnK" firstAttribute="centerY" secondItem="ZfR-Jo-QQv" secondAttribute="centerY" id="V7b-ND-9FW"/>
  111. <constraint firstItem="ymL-Uv-SHc" firstAttribute="centerY" secondItem="ZfR-Jo-QQv" secondAttribute="centerY" id="k0K-yc-3WP"/>
  112. <constraint firstAttribute="bottom" secondItem="WT0-J3-ujJ" secondAttribute="bottom" id="zN2-ff-ILn"/>
  113. </constraints>
  114. </view>
  115. </subviews>
  116. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  117. <constraints>
  118. <constraint firstItem="Nmt-3B-GQh" firstAttribute="leading" secondItem="qyw-41-OgZ" secondAttribute="leading" constant="11" id="1vg-Xu-dly"/>
  119. <constraint firstItem="Lof-Tc-krl" firstAttribute="centerY" secondItem="Nmt-3B-GQh" secondAttribute="centerY" id="855-0U-TnZ"/>
  120. <constraint firstAttribute="trailing" secondItem="ZfR-Jo-QQv" secondAttribute="trailing" constant="11" id="Gyh-Zw-dIZ"/>
  121. <constraint firstItem="Nmt-3B-GQh" firstAttribute="top" secondItem="qyw-41-OgZ" secondAttribute="top" constant="13" id="Hlw-dV-esz"/>
  122. <constraint firstItem="Lof-Tc-krl" firstAttribute="leading" secondItem="Nmt-3B-GQh" secondAttribute="trailing" constant="5" id="U3l-C1-sla"/>
  123. <constraint firstAttribute="trailing" secondItem="ehC-4r-0Vt" secondAttribute="trailing" constant="9" id="UGg-Vv-yct"/>
  124. <constraint firstItem="ZfR-Jo-QQv" firstAttribute="centerY" secondItem="Lof-Tc-krl" secondAttribute="centerY" id="UaP-aW-gTG"/>
  125. <constraint firstItem="ehC-4r-0Vt" firstAttribute="top" secondItem="ZfR-Jo-QQv" secondAttribute="bottom" id="bV3-FA-Wmf"/>
  126. <constraint firstItem="ehC-4r-0Vt" firstAttribute="top" secondItem="Lof-Tc-krl" secondAttribute="bottom" constant="8" id="c4A-7V-3jf"/>
  127. <constraint firstAttribute="bottom" secondItem="ehC-4r-0Vt" secondAttribute="bottom" constant="10" id="ghc-VL-2mE"/>
  128. <constraint firstItem="ehC-4r-0Vt" firstAttribute="leading" secondItem="qyw-41-OgZ" secondAttribute="leading" constant="11" id="lg4-q3-Py7"/>
  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. <constraints>
  138. <constraint firstAttribute="trailing" secondItem="qyw-41-OgZ" secondAttribute="trailing" constant="14" id="MJ6-BL-ggf"/>
  139. <constraint firstAttribute="bottom" secondItem="qyw-41-OgZ" secondAttribute="bottom" constant="12" id="QTx-dh-Ga2"/>
  140. <constraint firstItem="qyw-41-OgZ" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="jxk-Ie-3Ff"/>
  141. <constraint firstItem="qyw-41-OgZ" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="14" id="vWY-b7-XDC"/>
  142. </constraints>
  143. </tableViewCellContentView>
  144. <viewLayoutGuide key="safeArea" id="aW0-zy-SZf"/>
  145. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  146. <point key="canvasLocation" x="131.15942028985509" y="101.45089285714285"/>
  147. </tableViewCell>
  148. </objects>
  149. <resources>
  150. <image name="accell_left" width="4" height="14"/>
  151. <image name="accompany_edit" width="12" height="12"/>
  152. <image name="homework_placeholder" width="79" height="78"/>
  153. <systemColor name="systemBackgroundColor">
  154. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  155. </systemColor>
  156. </resources>
  157. </document>