RQExerciseExamToolBarCell.xib 21 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19455" 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="19454"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="RXI-zj-5rR" customClass="RQExerciseExamToolBarCell">
  13. <rect key="frame" x="0.0" y="0.0" width="320" height="160"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="RXI-zj-5rR" id="6G9-b9-YLY">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="160"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="CUp-KJ-fqv">
  20. <rect key="frame" x="16" y="16" width="288" height="1"/>
  21. <color key="backgroundColor" red="0.90980392156862744" green="0.90980392156862744" blue="0.90980392156862744" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="1" id="x9i-fO-D06"/>
  24. </constraints>
  25. </imageView>
  26. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="zkK-x1-gFt">
  27. <rect key="frame" x="0.0" y="28" width="105.5" height="46"/>
  28. <subviews>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6tP-Or-Ko2">
  30. <rect key="frame" x="0.0" y="0.0" width="105.5" height="46"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  32. <state key="normal" title="收藏" image="NotCollected">
  33. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  34. </state>
  35. <state key="selected" title="收藏" image="Collected"/>
  36. </button>
  37. </subviews>
  38. <constraints>
  39. <constraint firstAttribute="trailing" secondItem="6tP-Or-Ko2" secondAttribute="trailing" id="E7a-9N-ZMk"/>
  40. <constraint firstAttribute="bottom" secondItem="6tP-Or-Ko2" secondAttribute="bottom" id="QsE-qI-sb8"/>
  41. <constraint firstItem="6tP-Or-Ko2" firstAttribute="top" secondItem="zkK-x1-gFt" secondAttribute="top" id="mRG-uA-Dgv"/>
  42. <constraint firstItem="6tP-Or-Ko2" firstAttribute="leading" secondItem="zkK-x1-gFt" secondAttribute="leading" id="qyD-WE-E1Q"/>
  43. </constraints>
  44. </stackView>
  45. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="vP3-2v-l10">
  46. <rect key="frame" x="105.5" y="28" width="105.5" height="46"/>
  47. <subviews>
  48. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qAl-uD-pv7">
  49. <rect key="frame" x="0.0" y="0.0" width="105.5" height="46"/>
  50. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  51. <color key="tintColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  52. <state key="normal" title="读题+答案" image="ReadingQuestionsAndAnswers">
  53. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  54. </state>
  55. <state key="selected" title="读题+答案">
  56. <color key="titleColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  57. </state>
  58. </button>
  59. </subviews>
  60. <constraints>
  61. <constraint firstAttribute="trailing" secondItem="qAl-uD-pv7" secondAttribute="trailing" id="QPT-N7-MaJ"/>
  62. <constraint firstItem="qAl-uD-pv7" firstAttribute="top" secondItem="vP3-2v-l10" secondAttribute="top" id="U3C-tp-WzB"/>
  63. <constraint firstItem="qAl-uD-pv7" firstAttribute="leading" secondItem="vP3-2v-l10" secondAttribute="leading" id="U3Y-14-ED1"/>
  64. <constraint firstAttribute="bottom" secondItem="qAl-uD-pv7" secondAttribute="bottom" id="Xsq-fu-oX9"/>
  65. </constraints>
  66. </stackView>
  67. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Het-ST-pJL">
  68. <rect key="frame" x="211" y="28" width="109" height="46"/>
  69. <subviews>
  70. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="S58-u4-HU7">
  71. <rect key="frame" x="0.0" y="0.0" width="109" height="46"/>
  72. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  73. <state key="normal" title="读题" image="ReadingQuestions">
  74. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  75. </state>
  76. <state key="selected">
  77. <color key="titleColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  78. </state>
  79. </button>
  80. </subviews>
  81. <constraints>
  82. <constraint firstAttribute="bottom" secondItem="S58-u4-HU7" secondAttribute="bottom" id="IK3-74-drQ"/>
  83. <constraint firstItem="S58-u4-HU7" firstAttribute="top" secondItem="Het-ST-pJL" secondAttribute="top" id="kFZ-xz-25L"/>
  84. <constraint firstItem="S58-u4-HU7" firstAttribute="leading" secondItem="Het-ST-pJL" secondAttribute="leading" id="wrf-jA-dFZ"/>
  85. <constraint firstAttribute="trailing" secondItem="S58-u4-HU7" secondAttribute="trailing" id="zet-F9-vbc"/>
  86. </constraints>
  87. </stackView>
  88. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="bCZ-NY-cpb">
  89. <rect key="frame" x="0.0" y="102" width="105.5" height="46"/>
  90. <subviews>
  91. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9To-Hs-czH">
  92. <rect key="frame" x="0.0" y="0.0" width="105.5" height="46"/>
  93. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  94. <state key="normal" title="上一题" image="LastQuestion">
  95. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  96. </state>
  97. <state key="selected" image="Collected"/>
  98. <connections>
  99. <action selector="lastQuestionBtnAction:" destination="RXI-zj-5rR" eventType="touchUpInside" id="als-KD-6Oa"/>
  100. </connections>
  101. </button>
  102. </subviews>
  103. <constraints>
  104. <constraint firstAttribute="bottom" secondItem="9To-Hs-czH" secondAttribute="bottom" id="7dm-aZ-iWs"/>
  105. <constraint firstItem="9To-Hs-czH" firstAttribute="leading" secondItem="bCZ-NY-cpb" secondAttribute="leading" id="9Cl-eD-uZY"/>
  106. <constraint firstItem="9To-Hs-czH" firstAttribute="top" secondItem="bCZ-NY-cpb" secondAttribute="top" id="X2t-rS-gzj"/>
  107. <constraint firstAttribute="trailing" secondItem="9To-Hs-czH" secondAttribute="trailing" id="hgH-CR-UEu"/>
  108. </constraints>
  109. </stackView>
  110. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="z7s-On-QJ4">
  111. <rect key="frame" x="107" y="102" width="106" height="46"/>
  112. <subviews>
  113. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="xkI-JR-2hA">
  114. <rect key="frame" x="26.5" y="0.0" width="53" height="23"/>
  115. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  116. <state key="normal" image="TotalNumberOfQuestions">
  117. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  118. </state>
  119. <state key="selected" image="Collected"/>
  120. <connections>
  121. <action selector="showCatalogueBtnAction:" destination="RXI-zj-5rR" eventType="touchUpInside" id="G0S-hu-WG5"/>
  122. </connections>
  123. </button>
  124. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0/100" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="06m-wa-GHZ">
  125. <rect key="frame" x="0.0" y="28" width="106" height="18"/>
  126. <constraints>
  127. <constraint firstAttribute="height" constant="18" id="1QI-bz-b4x"/>
  128. </constraints>
  129. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  130. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  131. <nil key="highlightedColor"/>
  132. </label>
  133. </subviews>
  134. <constraints>
  135. <constraint firstItem="xkI-JR-2hA" firstAttribute="width" secondItem="z7s-On-QJ4" secondAttribute="width" multiplier="0.5" id="URV-na-woE"/>
  136. <constraint firstItem="06m-wa-GHZ" firstAttribute="width" secondItem="z7s-On-QJ4" secondAttribute="width" id="fx1-An-yb0"/>
  137. </constraints>
  138. </stackView>
  139. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="TNT-6S-p3z">
  140. <rect key="frame" x="214.5" y="102" width="105.5" height="46"/>
  141. <subviews>
  142. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JXN-OQ-Ymc">
  143. <rect key="frame" x="0.0" y="0.0" width="105.5" height="46"/>
  144. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  145. <state key="normal" title="上一题" image="NextQuestion">
  146. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  147. </state>
  148. <state key="selected" image="Collected"/>
  149. <connections>
  150. <action selector="nextQuestionBtnAction:" destination="RXI-zj-5rR" eventType="touchUpInside" id="wrO-KV-8PB"/>
  151. </connections>
  152. </button>
  153. </subviews>
  154. <constraints>
  155. <constraint firstAttribute="bottom" secondItem="JXN-OQ-Ymc" secondAttribute="bottom" id="AmD-mM-RfO"/>
  156. <constraint firstAttribute="trailing" secondItem="JXN-OQ-Ymc" secondAttribute="trailing" id="GXE-tv-vMG"/>
  157. <constraint firstItem="JXN-OQ-Ymc" firstAttribute="top" secondItem="TNT-6S-p3z" secondAttribute="top" id="IvR-Es-0KC"/>
  158. <constraint firstItem="JXN-OQ-Ymc" firstAttribute="leading" secondItem="TNT-6S-p3z" secondAttribute="leading" id="WUG-mq-OTe"/>
  159. </constraints>
  160. </stackView>
  161. </subviews>
  162. <constraints>
  163. <constraint firstItem="bCZ-NY-cpb" firstAttribute="top" secondItem="zkK-x1-gFt" secondAttribute="bottom" constant="28" id="2ni-HN-OlS"/>
  164. <constraint firstItem="z7s-On-QJ4" firstAttribute="width" secondItem="zkK-x1-gFt" secondAttribute="width" id="454-yd-Vbj"/>
  165. <constraint firstItem="z7s-On-QJ4" firstAttribute="height" secondItem="zkK-x1-gFt" secondAttribute="height" id="BLf-kZ-dZ5"/>
  166. <constraint firstAttribute="bottom" secondItem="TNT-6S-p3z" secondAttribute="bottom" constant="12" id="Dav-ZD-0iG"/>
  167. <constraint firstItem="zkK-x1-gFt" firstAttribute="top" secondItem="6G9-b9-YLY" secondAttribute="top" constant="28" id="GMe-Po-7uS"/>
  168. <constraint firstItem="bCZ-NY-cpb" firstAttribute="height" secondItem="zkK-x1-gFt" secondAttribute="height" id="Kei-Bv-Fgz"/>
  169. <constraint firstItem="bCZ-NY-cpb" firstAttribute="leading" secondItem="zkK-x1-gFt" secondAttribute="leading" id="Me6-0h-b65"/>
  170. <constraint firstItem="z7s-On-QJ4" firstAttribute="centerX" secondItem="6G9-b9-YLY" secondAttribute="centerX" id="PZr-rh-fZs"/>
  171. <constraint firstAttribute="bottom" secondItem="bCZ-NY-cpb" secondAttribute="bottom" constant="12" id="QdU-sK-Lub"/>
  172. <constraint firstItem="bCZ-NY-cpb" firstAttribute="width" secondItem="zkK-x1-gFt" secondAttribute="width" id="TK8-zN-W4p"/>
  173. <constraint firstItem="TNT-6S-p3z" firstAttribute="top" secondItem="Het-ST-pJL" secondAttribute="bottom" constant="28" id="UY3-1P-mok"/>
  174. <constraint firstItem="vP3-2v-l10" firstAttribute="width" secondItem="zkK-x1-gFt" secondAttribute="width" id="UhQ-U3-0Zt"/>
  175. <constraint firstItem="TNT-6S-p3z" firstAttribute="width" secondItem="zkK-x1-gFt" secondAttribute="width" id="V1Q-Fe-WQo"/>
  176. <constraint firstAttribute="trailing" secondItem="CUp-KJ-fqv" secondAttribute="trailing" constant="16" id="ViP-ch-cOk"/>
  177. <constraint firstItem="Het-ST-pJL" firstAttribute="leading" secondItem="vP3-2v-l10" secondAttribute="trailing" id="bKC-3n-Dhp"/>
  178. <constraint firstItem="vP3-2v-l10" firstAttribute="leading" secondItem="zkK-x1-gFt" secondAttribute="trailing" id="bP8-Y2-Hy7"/>
  179. <constraint firstAttribute="trailing" secondItem="Het-ST-pJL" secondAttribute="trailing" id="cQk-1D-uEa"/>
  180. <constraint firstItem="CUp-KJ-fqv" firstAttribute="top" secondItem="6G9-b9-YLY" secondAttribute="top" constant="16" id="dx2-sG-BXj"/>
  181. <constraint firstItem="CUp-KJ-fqv" firstAttribute="leading" secondItem="6G9-b9-YLY" secondAttribute="leading" constant="16" id="g3n-Vk-AXS"/>
  182. <constraint firstItem="zkK-x1-gFt" firstAttribute="width" secondItem="6G9-b9-YLY" secondAttribute="width" multiplier="0.33" id="gIS-O4-cZC"/>
  183. <constraint firstItem="TNT-6S-p3z" firstAttribute="height" secondItem="zkK-x1-gFt" secondAttribute="height" id="hom-3T-2Nn"/>
  184. <constraint firstAttribute="trailing" secondItem="TNT-6S-p3z" secondAttribute="trailing" id="i6y-H5-rwx"/>
  185. <constraint firstItem="zkK-x1-gFt" firstAttribute="leading" secondItem="6G9-b9-YLY" secondAttribute="leading" id="ooq-6a-vAR"/>
  186. <constraint firstItem="Het-ST-pJL" firstAttribute="top" secondItem="6G9-b9-YLY" secondAttribute="top" constant="28" id="tLu-VJ-Q73"/>
  187. <constraint firstAttribute="bottom" secondItem="z7s-On-QJ4" secondAttribute="bottom" constant="12" id="y4N-oG-aJ7"/>
  188. <constraint firstItem="vP3-2v-l10" firstAttribute="top" secondItem="6G9-b9-YLY" secondAttribute="top" constant="28" id="yoG-fO-Owy"/>
  189. <constraint firstItem="z7s-On-QJ4" firstAttribute="top" secondItem="vP3-2v-l10" secondAttribute="bottom" constant="28" id="zkt-3V-5Tt"/>
  190. </constraints>
  191. </tableViewCellContentView>
  192. <connections>
  193. <outlet property="collectBtn" destination="6tP-Or-Ko2" id="DwK-Ej-ZEO"/>
  194. <outlet property="lastQuestionBtn" destination="9To-Hs-czH" id="QzS-nE-cvo"/>
  195. <outlet property="nextQuestionBtn" destination="JXN-OQ-Ymc" id="kNQ-eg-VTQ"/>
  196. <outlet property="numLabel" destination="06m-wa-GHZ" id="WEW-gm-p5N"/>
  197. <outlet property="readingQuestionsAndAnswersBtn" destination="qAl-uD-pv7" id="1c0-YY-mr5"/>
  198. <outlet property="readingQuestionsBtn" destination="S58-u4-HU7" id="jGt-7z-faU"/>
  199. <outlet property="totalNumberOfQuestionsBtn" destination="xkI-JR-2hA" id="OO8-cE-kIZ"/>
  200. <outlet property="totalNumberOfQuestionsLabbel" destination="06m-wa-GHZ" id="OzX-wD-qJc"/>
  201. </connections>
  202. <point key="canvasLocation" x="-52" y="83"/>
  203. </tableViewCell>
  204. </objects>
  205. <resources>
  206. <image name="Collected" width="24" height="22"/>
  207. <image name="LastQuestion" width="22" height="21.5"/>
  208. <image name="NextQuestion" width="22" height="21.5"/>
  209. <image name="NotCollected" width="25.5" height="23.5"/>
  210. <image name="ReadingQuestions" width="16.5" height="22"/>
  211. <image name="ReadingQuestionsAndAnswers" width="22" height="22"/>
  212. <image name="TotalNumberOfQuestions" width="20" height="22"/>
  213. </resources>
  214. </document>