RQExercisExplainCell.xib 15 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="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="21505"/>
  7. <capability name="System colors in document resources" minToolsVersion="11.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="default" indentationWidth="10" rowHeight="108" id="KGk-i7-Jjw" customClass="RQExercisExplainCell">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="308"/>
  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="375" height="308"/>
  18. <autoresizingMask key="autoresizingMask"/>
  19. <subviews>
  20. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jwa-R1-dek">
  21. <rect key="frame" x="16" y="19.5" width="5" height="19"/>
  22. <color key="backgroundColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  23. <constraints>
  24. <constraint firstAttribute="width" secondItem="jwa-R1-dek" secondAttribute="height" multiplier="5:19" id="176-kj-Q3h"/>
  25. </constraints>
  26. <userDefinedRuntimeAttributes>
  27. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  28. <real key="value" value="2.5"/>
  29. </userDefinedRuntimeAttribute>
  30. </userDefinedRuntimeAttributes>
  31. </view>
  32. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="题目解析" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="LA6-0b-sYf">
  33. <rect key="frame" x="29" y="16" width="82" height="26"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="26" id="O79-Zs-2w4"/>
  36. </constraints>
  37. <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/>
  38. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="难度" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="47X-b7-Qau">
  42. <rect key="frame" x="29" y="274" width="31" height="18"/>
  43. <constraints>
  44. <constraint firstAttribute="height" constant="18" id="aP7-yh-el4"/>
  45. </constraints>
  46. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  47. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  48. <nil key="highlightedColor"/>
  49. </label>
  50. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="学员错误率" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ueu-uT-HVS">
  51. <rect key="frame" x="225.5" y="274" width="76.5" height="18"/>
  52. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  53. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  54. <nil key="highlightedColor"/>
  55. </label>
  56. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="6.4%" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="lvo-jc-Kgm">
  57. <rect key="frame" x="310" y="274" width="36" height="18"/>
  58. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  59. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  60. <nil key="highlightedColor"/>
  61. </label>
  62. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="4" translatesAutoresizingMaskIntoConstraints="NO" id="kaR-8F-IU9">
  63. <rect key="frame" x="68" y="276.5" width="86" height="13"/>
  64. <subviews>
  65. <button opaque="NO" contentMode="scaleToFill" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="j2c-LP-IMg">
  66. <rect key="frame" x="0.0" y="0.0" width="14" height="13"/>
  67. <constraints>
  68. <constraint firstAttribute="width" secondItem="j2c-LP-IMg" secondAttribute="height" multiplier="14/12.91" id="Cyh-vS-VjM"/>
  69. </constraints>
  70. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  71. <state key="normal" image="收藏灰"/>
  72. <state key="selected" image="收藏黄"/>
  73. </button>
  74. <button opaque="NO" contentMode="scaleToFill" selected="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="MyG-4f-MGP">
  75. <rect key="frame" x="18" y="0.0" width="14" height="13"/>
  76. <constraints>
  77. <constraint firstAttribute="width" secondItem="MyG-4f-MGP" secondAttribute="height" multiplier="14/12.91" id="M7r-Jr-HGu"/>
  78. </constraints>
  79. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  80. <state key="normal" image="收藏灰"/>
  81. <state key="selected" image="收藏黄"/>
  82. </button>
  83. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Z7N-b1-0nS">
  84. <rect key="frame" x="36" y="0.0" width="14" height="13"/>
  85. <constraints>
  86. <constraint firstAttribute="width" secondItem="Z7N-b1-0nS" secondAttribute="height" multiplier="14/12.91" id="4LV-7u-fRy"/>
  87. </constraints>
  88. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  89. <state key="normal" image="收藏灰"/>
  90. <state key="selected" image="收藏黄"/>
  91. </button>
  92. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6qC-Kq-2em">
  93. <rect key="frame" x="54" y="0.0" width="14" height="13"/>
  94. <constraints>
  95. <constraint firstAttribute="width" secondItem="6qC-Kq-2em" secondAttribute="height" multiplier="14/12.91" id="zSX-KV-aM4"/>
  96. </constraints>
  97. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  98. <state key="normal" image="收藏灰"/>
  99. <state key="selected" image="收藏黄"/>
  100. </button>
  101. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="GEa-k0-He8">
  102. <rect key="frame" x="72" y="0.0" width="14" height="13"/>
  103. <constraints>
  104. <constraint firstAttribute="width" secondItem="GEa-k0-He8" secondAttribute="height" multiplier="14/12.91" id="fFK-pX-mnB"/>
  105. </constraints>
  106. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  107. <state key="normal" image="收藏灰"/>
  108. <state key="selected" image="收藏黄"/>
  109. </button>
  110. </subviews>
  111. </stackView>
  112. <view userInteractionEnabled="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HYO-dZ-VkF" customClass="YYLabel">
  113. <rect key="frame" x="29" y="58" width="317" height="200"/>
  114. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  115. <userDefinedRuntimeAttributes>
  116. <userDefinedRuntimeAttribute type="number" keyPath="numberOfLines">
  117. <integer key="value" value="0"/>
  118. </userDefinedRuntimeAttribute>
  119. </userDefinedRuntimeAttributes>
  120. </view>
  121. </subviews>
  122. <constraints>
  123. <constraint firstItem="jwa-R1-dek" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" multiplier="5/375" id="0yD-8n-sVY"/>
  124. <constraint firstItem="lvo-jc-Kgm" firstAttribute="leading" secondItem="ueu-uT-HVS" secondAttribute="trailing" constant="8" id="2gb-gc-adB"/>
  125. <constraint firstAttribute="trailing" secondItem="lvo-jc-Kgm" secondAttribute="trailing" constant="29" id="5jo-R1-8jk"/>
  126. <constraint firstItem="kaR-8F-IU9" firstAttribute="centerY" secondItem="47X-b7-Qau" secondAttribute="centerY" id="FDe-W0-ZfV"/>
  127. <constraint firstItem="lvo-jc-Kgm" firstAttribute="top" secondItem="HYO-dZ-VkF" secondAttribute="bottom" constant="16" id="FaO-rD-lmp"/>
  128. <constraint firstAttribute="bottom" secondItem="lvo-jc-Kgm" secondAttribute="bottom" constant="16" id="LsZ-AY-47T"/>
  129. <constraint firstItem="jwa-R1-dek" firstAttribute="centerY" secondItem="LA6-0b-sYf" secondAttribute="centerY" id="MmE-5r-vhc"/>
  130. <constraint firstAttribute="trailing" secondItem="HYO-dZ-VkF" secondAttribute="trailing" constant="29" id="Mna-i4-HUo"/>
  131. <constraint firstItem="ueu-uT-HVS" firstAttribute="centerY" secondItem="lvo-jc-Kgm" secondAttribute="centerY" id="QnY-mg-c7E"/>
  132. <constraint firstItem="HYO-dZ-VkF" firstAttribute="top" secondItem="LA6-0b-sYf" secondAttribute="bottom" constant="16" id="Sxh-w8-ziG"/>
  133. <constraint firstAttribute="bottom" secondItem="47X-b7-Qau" secondAttribute="bottom" constant="16" id="TOS-IV-AQ4"/>
  134. <constraint firstItem="kaR-8F-IU9" firstAttribute="leading" secondItem="47X-b7-Qau" secondAttribute="trailing" constant="8" id="Yld-D8-AkE"/>
  135. <constraint firstItem="LA6-0b-sYf" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="16" id="ceT-xU-MDR"/>
  136. <constraint firstItem="LA6-0b-sYf" firstAttribute="leading" secondItem="jwa-R1-dek" secondAttribute="trailing" constant="8" id="d67-dQ-Byi"/>
  137. <constraint firstItem="47X-b7-Qau" firstAttribute="top" secondItem="HYO-dZ-VkF" secondAttribute="bottom" constant="16" id="omw-oU-hSi"/>
  138. <constraint firstItem="HYO-dZ-VkF" firstAttribute="leading" secondItem="LA6-0b-sYf" secondAttribute="leading" id="rGe-WW-mR3"/>
  139. <constraint firstItem="47X-b7-Qau" firstAttribute="leading" secondItem="LA6-0b-sYf" secondAttribute="leading" id="sAF-yz-6ft"/>
  140. <constraint firstItem="jwa-R1-dek" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="wPk-1t-Tbh"/>
  141. </constraints>
  142. </tableViewCellContentView>
  143. <constraints>
  144. <constraint firstItem="kaR-8F-IU9" firstAttribute="height" secondItem="KGk-i7-Jjw" secondAttribute="width" multiplier="12.91/375" id="tdy-jm-MoG"/>
  145. </constraints>
  146. <connections>
  147. <outlet property="errorRateLabel" destination="lvo-jc-Kgm" id="SxW-0k-CXV"/>
  148. <outlet property="explainLabel" destination="HYO-dZ-VkF" id="PBM-YG-SfE"/>
  149. <outlet property="starFiveBtn" destination="GEa-k0-He8" id="9Li-vQ-pIx"/>
  150. <outlet property="starFourBtn" destination="6qC-Kq-2em" id="kPh-Qs-Q0G"/>
  151. <outlet property="starOneBtn" destination="j2c-LP-IMg" id="Wpj-Af-Ow1"/>
  152. <outlet property="starThreeBtn" destination="Z7N-b1-0nS" id="to3-oo-83l"/>
  153. <outlet property="starTwoBtn" destination="MyG-4f-MGP" id="dps-s6-mNc"/>
  154. </connections>
  155. <point key="canvasLocation" x="136.95652173913044" y="158.03571428571428"/>
  156. </tableViewCell>
  157. </objects>
  158. <resources>
  159. <image name="收藏灰" width="14" height="13"/>
  160. <image name="收藏黄" width="22" height="20.5"/>
  161. <systemColor name="systemBackgroundColor">
  162. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  163. </systemColor>
  164. </resources>
  165. </document>