RQErrorExerciseToolBarView.xib 22 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229
  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" 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="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. <view contentMode="scaleToFill" id="O97-gL-WCb" customClass="RQErrorExerciseToolBarView">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <stackView opaque="NO" contentMode="scaleToFill" distribution="fillEqually" spacing="8" translatesAutoresizingMaskIntoConstraints="NO" id="WrY-p4-0S0">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="50"/>
  19. <subviews>
  20. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="COV-Sm-mrH">
  21. <rect key="frame" x="0.0" y="0.0" width="88" height="50"/>
  22. <subviews>
  23. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="删除" translatesAutoresizingMaskIntoConstraints="NO" id="dra-Sz-7Sc">
  24. <rect key="frame" x="33" y="7" width="22" height="22"/>
  25. <constraints>
  26. <constraint firstAttribute="height" constant="22" id="P5V-uB-D7u"/>
  27. <constraint firstAttribute="width" secondItem="dra-Sz-7Sc" secondAttribute="height" multiplier="1:1" id="Qrt-ue-d9z"/>
  28. </constraints>
  29. </imageView>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="删除" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FSZ-Oi-hJQ">
  31. <rect key="frame" x="30.5" y="32" width="27" height="14"/>
  32. <constraints>
  33. <constraint firstAttribute="height" constant="14" id="bI9-Zz-E6U"/>
  34. </constraints>
  35. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  36. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. </subviews>
  40. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  41. <constraints>
  42. <constraint firstAttribute="bottom" secondItem="FSZ-Oi-hJQ" secondAttribute="bottom" constant="4" id="00h-Fg-uYm"/>
  43. <constraint firstItem="FSZ-Oi-hJQ" firstAttribute="centerX" secondItem="COV-Sm-mrH" secondAttribute="centerX" id="9P3-Pn-8Pb"/>
  44. <constraint firstItem="dra-Sz-7Sc" firstAttribute="top" secondItem="COV-Sm-mrH" secondAttribute="top" constant="7" id="Bdh-R6-vQq"/>
  45. <constraint firstItem="dra-Sz-7Sc" firstAttribute="centerX" secondItem="COV-Sm-mrH" secondAttribute="centerX" id="d89-Jy-WZG"/>
  46. </constraints>
  47. </view>
  48. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Ftq-Yp-wdX">
  49. <rect key="frame" x="96" y="0.0" width="87.5" height="50"/>
  50. <subviews>
  51. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="CorrectOption" translatesAutoresizingMaskIntoConstraints="NO" id="0bZ-fN-Vg3">
  52. <rect key="frame" x="13.5" y="7" width="22" height="22"/>
  53. <constraints>
  54. <constraint firstAttribute="height" constant="22" id="Bf7-gB-OkT"/>
  55. <constraint firstAttribute="width" secondItem="0bZ-fN-Vg3" secondAttribute="height" multiplier="1:1" id="oZq-wK-gmA"/>
  56. </constraints>
  57. </imageView>
  58. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ch2-Xn-00f">
  59. <rect key="frame" x="20.5" y="32" width="8.5" height="14"/>
  60. <constraints>
  61. <constraint firstAttribute="height" constant="14" id="wOA-am-njW"/>
  62. </constraints>
  63. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  64. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  65. <nil key="highlightedColor"/>
  66. </label>
  67. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ErrorOption" translatesAutoresizingMaskIntoConstraints="NO" id="jjy-mR-cnT">
  68. <rect key="frame" x="51.5" y="7" width="22" height="22"/>
  69. <constraints>
  70. <constraint firstAttribute="height" constant="22" id="Xe8-x8-wUP"/>
  71. <constraint firstAttribute="width" secondItem="jjy-mR-cnT" secondAttribute="height" multiplier="1:1" id="hqt-Qy-s7D"/>
  72. </constraints>
  73. </imageView>
  74. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Hhc-vH-t2D">
  75. <rect key="frame" x="58.5" y="32" width="8.5" height="14"/>
  76. <constraints>
  77. <constraint firstAttribute="height" constant="14" id="Bad-tt-Sh4"/>
  78. </constraints>
  79. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  80. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  81. <nil key="highlightedColor"/>
  82. </label>
  83. </subviews>
  84. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  85. <constraints>
  86. <constraint firstItem="jjy-mR-cnT" firstAttribute="width" secondItem="jjy-mR-cnT" secondAttribute="height" multiplier="1:1" id="1Kz-lA-PaT"/>
  87. <constraint firstItem="0bZ-fN-Vg3" firstAttribute="top" secondItem="Ftq-Yp-wdX" secondAttribute="top" constant="7" id="1Vq-UD-pVI"/>
  88. <constraint firstItem="Hhc-vH-t2D" firstAttribute="centerX" secondItem="jjy-mR-cnT" secondAttribute="centerX" id="A8D-nS-7am"/>
  89. <constraint firstAttribute="bottom" secondItem="ch2-Xn-00f" secondAttribute="bottom" constant="4" id="I3V-NT-Heb"/>
  90. <constraint firstAttribute="bottom" secondItem="Hhc-vH-t2D" secondAttribute="bottom" constant="4" id="IkM-YB-65p"/>
  91. <constraint firstItem="ch2-Xn-00f" firstAttribute="centerX" secondItem="0bZ-fN-Vg3" secondAttribute="centerX" id="KVa-WR-9Gx"/>
  92. <constraint firstItem="jjy-mR-cnT" firstAttribute="leading" secondItem="0bZ-fN-Vg3" secondAttribute="trailing" constant="16" id="Kw3-7m-GcP"/>
  93. <constraint firstItem="0bZ-fN-Vg3" firstAttribute="centerX" secondItem="Ftq-Yp-wdX" secondAttribute="centerX" constant="-19" id="c23-Db-Pam"/>
  94. <constraint firstItem="jjy-mR-cnT" firstAttribute="top" secondItem="Ftq-Yp-wdX" secondAttribute="top" constant="7" id="tgO-aR-1fY"/>
  95. </constraints>
  96. </view>
  97. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9rK-GX-5vY">
  98. <rect key="frame" x="191.5" y="0.0" width="88" height="50"/>
  99. <subviews>
  100. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="TotalNumberOfQuestions" translatesAutoresizingMaskIntoConstraints="NO" id="ZuS-AR-jUI">
  101. <rect key="frame" x="34" y="7" width="20" height="22"/>
  102. <constraints>
  103. <constraint firstAttribute="width" secondItem="ZuS-AR-jUI" secondAttribute="height" multiplier="20:22" id="6zU-zI-7BC"/>
  104. <constraint firstAttribute="height" constant="22" id="Qrx-cB-aeL"/>
  105. </constraints>
  106. </imageView>
  107. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0/1" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="7WZ-pE-2L4">
  108. <rect key="frame" x="35" y="32" width="18" height="14"/>
  109. <constraints>
  110. <constraint firstAttribute="height" constant="14" id="cyv-f2-eT1"/>
  111. </constraints>
  112. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  113. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  114. <nil key="highlightedColor"/>
  115. </label>
  116. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="CNI-Qh-a10">
  117. <rect key="frame" x="35" y="32" width="0.0" height="14"/>
  118. <constraints>
  119. <constraint firstAttribute="height" constant="14" id="JEQ-nM-i0R"/>
  120. </constraints>
  121. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  122. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  123. <nil key="highlightedColor"/>
  124. </label>
  125. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Jxr-SG-X10">
  126. <rect key="frame" x="53" y="32" width="0.0" height="14"/>
  127. <constraints>
  128. <constraint firstAttribute="height" constant="14" id="VIT-tj-sIv"/>
  129. </constraints>
  130. <fontDescription key="fontDescription" type="system" pointSize="10"/>
  131. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  132. <nil key="highlightedColor"/>
  133. </label>
  134. </subviews>
  135. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  136. <constraints>
  137. <constraint firstItem="Jxr-SG-X10" firstAttribute="centerY" secondItem="7WZ-pE-2L4" secondAttribute="centerY" id="0bt-sB-fMR"/>
  138. <constraint firstItem="7WZ-pE-2L4" firstAttribute="leading" secondItem="CNI-Qh-a10" secondAttribute="trailing" id="2St-xN-x38"/>
  139. <constraint firstItem="ZuS-AR-jUI" firstAttribute="top" secondItem="9rK-GX-5vY" secondAttribute="top" constant="7" id="45d-cF-NHA"/>
  140. <constraint firstItem="7WZ-pE-2L4" firstAttribute="centerX" secondItem="9rK-GX-5vY" secondAttribute="centerX" id="JHa-V3-fhW"/>
  141. <constraint firstAttribute="bottom" secondItem="7WZ-pE-2L4" secondAttribute="bottom" constant="4" id="bjN-IG-ECA"/>
  142. <constraint firstItem="Jxr-SG-X10" firstAttribute="leading" secondItem="7WZ-pE-2L4" secondAttribute="trailing" id="qSR-2B-gJf"/>
  143. <constraint firstItem="CNI-Qh-a10" firstAttribute="centerY" secondItem="7WZ-pE-2L4" secondAttribute="centerY" id="qnf-nL-UV8"/>
  144. <constraint firstItem="ZuS-AR-jUI" firstAttribute="centerX" secondItem="9rK-GX-5vY" secondAttribute="centerX" id="t2c-Dm-ecF"/>
  145. </constraints>
  146. </view>
  147. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yw5-xW-ZCI">
  148. <rect key="frame" x="287.5" y="0.0" width="87.5" height="50"/>
  149. <subviews>
  150. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="OfficialInterpretation" translatesAutoresizingMaskIntoConstraints="NO" id="a8k-xT-nC2">
  151. <rect key="frame" x="32.5" y="7" width="22" height="22"/>
  152. <constraints>
  153. <constraint firstAttribute="width" secondItem="a8k-xT-nC2" secondAttribute="height" multiplier="22:22" id="HuO-e8-fof"/>
  154. <constraint firstAttribute="height" constant="22" id="ZvW-oj-Rd0"/>
  155. </constraints>
  156. </imageView>
  157. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="官方解释" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RfJ-G2-nru">
  158. <rect key="frame" x="17" y="32" width="53.5" height="14"/>
  159. <constraints>
  160. <constraint firstAttribute="height" constant="14" id="wc8-Lk-1Rx"/>
  161. </constraints>
  162. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  163. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  164. <nil key="highlightedColor"/>
  165. </label>
  166. </subviews>
  167. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  168. <constraints>
  169. <constraint firstAttribute="bottom" secondItem="RfJ-G2-nru" secondAttribute="bottom" constant="4" id="5o5-7l-dmd"/>
  170. <constraint firstItem="a8k-xT-nC2" firstAttribute="centerX" secondItem="yw5-xW-ZCI" secondAttribute="centerX" id="Cu0-Jl-4el"/>
  171. <constraint firstItem="RfJ-G2-nru" firstAttribute="centerX" secondItem="yw5-xW-ZCI" secondAttribute="centerX" id="G25-IZ-fJg"/>
  172. <constraint firstItem="a8k-xT-nC2" firstAttribute="top" secondItem="yw5-xW-ZCI" secondAttribute="top" constant="7" id="au6-oZ-tu5"/>
  173. </constraints>
  174. </view>
  175. </subviews>
  176. <constraints>
  177. <constraint firstItem="Ftq-Yp-wdX" firstAttribute="height" secondItem="WrY-p4-0S0" secondAttribute="height" id="1Pe-KS-7Aw"/>
  178. <constraint firstItem="9rK-GX-5vY" firstAttribute="height" secondItem="WrY-p4-0S0" secondAttribute="height" id="I7F-3G-yWT"/>
  179. <constraint firstItem="yw5-xW-ZCI" firstAttribute="height" secondItem="WrY-p4-0S0" secondAttribute="height" id="Ix6-9b-5M2"/>
  180. <constraint firstItem="COV-Sm-mrH" firstAttribute="height" secondItem="WrY-p4-0S0" secondAttribute="height" id="bFD-9c-k9b"/>
  181. </constraints>
  182. </stackView>
  183. </subviews>
  184. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  185. <constraints>
  186. <constraint firstItem="WrY-p4-0S0" firstAttribute="top" secondItem="O97-gL-WCb" secondAttribute="top" id="0D4-3z-062"/>
  187. <constraint firstAttribute="trailing" secondItem="WrY-p4-0S0" secondAttribute="trailing" id="3ZY-w7-Wvy"/>
  188. <constraint firstAttribute="bottom" secondItem="WrY-p4-0S0" secondAttribute="bottom" id="KVO-9K-Roz"/>
  189. <constraint firstItem="WrY-p4-0S0" firstAttribute="leading" secondItem="O97-gL-WCb" secondAttribute="leading" id="mAu-Hf-1pV"/>
  190. </constraints>
  191. <nil key="simulatedTopBarMetrics"/>
  192. <nil key="simulatedBottomBarMetrics"/>
  193. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  194. <userDefinedRuntimeAttributes>
  195. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowRadius">
  196. <integer key="value" value="3"/>
  197. </userDefinedRuntimeAttribute>
  198. <userDefinedRuntimeAttribute type="number" keyPath="layer.shadowOpacity">
  199. <integer key="value" value="1"/>
  200. </userDefinedRuntimeAttribute>
  201. <userDefinedRuntimeAttribute type="size" keyPath="layer.shadowOffset">
  202. <size key="value" width="1" height="-1"/>
  203. </userDefinedRuntimeAttribute>
  204. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="NO"/>
  205. </userDefinedRuntimeAttributes>
  206. <connections>
  207. <outlet property="allQuestionNumLabel" destination="Jxr-SG-X10" id="1lj-rG-5Y9"/>
  208. <outlet property="correctOptionNumLabel" destination="ch2-Xn-00f" id="Pem-GS-huL"/>
  209. <outlet property="currentQuestionNumLabel" destination="CNI-Qh-a10" id="yIP-2o-V81"/>
  210. <outlet property="deleteView" destination="COV-Sm-mrH" id="JVP-Jo-hrD"/>
  211. <outlet property="errorOptionNumLabel" destination="Hhc-vH-t2D" id="zjz-bC-ETP"/>
  212. <outlet property="officialInterpretationView" destination="yw5-xW-ZCI" id="wcr-Dr-70L"/>
  213. <outlet property="totalNumberOfQuestionsLabel" destination="7WZ-pE-2L4" id="dTc-WS-1Fk"/>
  214. <outlet property="totalNumberOfQuestionsView" destination="9rK-GX-5vY" id="unC-T9-Uk9"/>
  215. </connections>
  216. <point key="canvasLocation" x="121.0144927536232" y="103.125"/>
  217. </view>
  218. </objects>
  219. <resources>
  220. <image name="CorrectOption" width="22" height="22"/>
  221. <image name="ErrorOption" width="22" height="22"/>
  222. <image name="OfficialInterpretation" width="22" height="22"/>
  223. <image name="TotalNumberOfQuestions" width="20" height="22"/>
  224. <image name="删除" width="22" height="22"/>
  225. <systemColor name="systemBackgroundColor">
  226. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  227. </systemColor>
  228. </resources>
  229. </document>