RQExerciseToolBarCell.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165
  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="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="KGk-i7-Jjw" customClass="RQExerciseToolBarCell">
  13. <rect key="frame" x="0.0" y="0.0" width="320" height="85"/>
  14. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  15. <tableViewCellContentView key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM">
  16. <rect key="frame" x="0.0" y="0.0" width="320" height="85"/>
  17. <autoresizingMask key="autoresizingMask"/>
  18. <subviews>
  19. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="1wX-EX-8qT">
  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="ZRl-Bw-ecq"/>
  24. </constraints>
  25. </imageView>
  26. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="Egy-x0-11f">
  27. <rect key="frame" x="0.0" y="28" width="80" height="45"/>
  28. <subviews>
  29. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="qPU-rq-8bX">
  30. <rect key="frame" x="20" y="0.0" width="40" height="22"/>
  31. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  32. <state key="normal" image="NotCollected">
  33. <color key="titleColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  34. </state>
  35. <state key="selected" image="Collected"/>
  36. </button>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="收藏" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="c38-Le-fJE">
  38. <rect key="frame" x="0.0" y="27" width="80" height="18"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="18" id="6fe-qC-DJf"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  43. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. </subviews>
  47. <constraints>
  48. <constraint firstItem="qPU-rq-8bX" firstAttribute="width" secondItem="Egy-x0-11f" secondAttribute="width" multiplier="0.5" id="KIj-bG-xxh"/>
  49. <constraint firstItem="c38-Le-fJE" firstAttribute="width" secondItem="Egy-x0-11f" secondAttribute="width" id="ZQB-4O-B8G"/>
  50. </constraints>
  51. </stackView>
  52. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="hYc-Fb-d1Y">
  53. <rect key="frame" x="80" y="28" width="80" height="45"/>
  54. <subviews>
  55. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="N37-JA-Xna">
  56. <rect key="frame" x="20" y="0.0" width="40" height="22"/>
  57. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  58. <state key="normal" image="试题详解">
  59. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  60. </state>
  61. </button>
  62. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="试题详解" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PdL-b2-Kac">
  63. <rect key="frame" x="7.5" y="27" width="65.5" height="18"/>
  64. <constraints>
  65. <constraint firstAttribute="height" constant="18" id="Fhf-lg-Bi6"/>
  66. </constraints>
  67. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  68. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. </subviews>
  72. <constraints>
  73. <constraint firstItem="N37-JA-Xna" firstAttribute="width" secondItem="hYc-Fb-d1Y" secondAttribute="width" multiplier="0.5" id="X94-Ie-H4e"/>
  74. </constraints>
  75. </stackView>
  76. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="M5R-Eo-ZB8">
  77. <rect key="frame" x="160" y="28" width="80" height="45"/>
  78. <subviews>
  79. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zqN-O2-cL7">
  80. <rect key="frame" x="20" y="0.0" width="40" height="22"/>
  81. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  82. <state key="normal" image="ReadingQuestions">
  83. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  84. </state>
  85. </button>
  86. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="读题" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="bgB-qH-O1S">
  87. <rect key="frame" x="23.5" y="27" width="33" height="18"/>
  88. <constraints>
  89. <constraint firstAttribute="height" constant="18" id="fGx-du-N4B"/>
  90. </constraints>
  91. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  92. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  93. <nil key="highlightedColor"/>
  94. </label>
  95. </subviews>
  96. <constraints>
  97. <constraint firstItem="zqN-O2-cL7" firstAttribute="width" secondItem="M5R-Eo-ZB8" secondAttribute="width" multiplier="0.5" id="c3p-24-ZmD"/>
  98. </constraints>
  99. </stackView>
  100. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="5" translatesAutoresizingMaskIntoConstraints="NO" id="zvi-3I-xDg">
  101. <rect key="frame" x="240" y="28" width="80" height="45"/>
  102. <subviews>
  103. <button opaque="NO" userInteractionEnabled="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="osc-u8-FsW">
  104. <rect key="frame" x="20" y="0.0" width="40" height="22"/>
  105. <fontDescription key="fontDescription" type="system" pointSize="13"/>
  106. <state key="normal" image="SkillExplanation">
  107. <color key="titleColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  108. </state>
  109. </button>
  110. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="技巧讲解" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="87r-eL-Y10">
  111. <rect key="frame" x="7.5" y="27" width="65.5" height="18"/>
  112. <constraints>
  113. <constraint firstAttribute="height" constant="18" id="ZJU-GE-RhD"/>
  114. </constraints>
  115. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  116. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  117. <nil key="highlightedColor"/>
  118. </label>
  119. </subviews>
  120. <constraints>
  121. <constraint firstItem="osc-u8-FsW" firstAttribute="width" secondItem="zvi-3I-xDg" secondAttribute="width" multiplier="0.5" id="nc4-oA-bnb"/>
  122. </constraints>
  123. </stackView>
  124. </subviews>
  125. <constraints>
  126. <constraint firstItem="Egy-x0-11f" firstAttribute="width" secondItem="H2p-sc-9uM" secondAttribute="width" multiplier="0.25" id="2Zz-ks-T9E"/>
  127. <constraint firstItem="hYc-Fb-d1Y" firstAttribute="leading" secondItem="Egy-x0-11f" secondAttribute="trailing" id="3Kt-Ff-LmT"/>
  128. <constraint firstItem="M5R-Eo-ZB8" firstAttribute="leading" secondItem="hYc-Fb-d1Y" secondAttribute="trailing" id="5Yn-JQ-o13"/>
  129. <constraint firstItem="hYc-Fb-d1Y" firstAttribute="width" secondItem="Egy-x0-11f" secondAttribute="width" id="63u-u3-vlU"/>
  130. <constraint firstAttribute="bottom" secondItem="Egy-x0-11f" secondAttribute="bottom" constant="12" id="8on-aQ-q1Z"/>
  131. <constraint firstItem="1wX-EX-8qT" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="9PX-oO-5bg"/>
  132. <constraint firstAttribute="trailing" secondItem="1wX-EX-8qT" secondAttribute="trailing" constant="16" id="9zs-ua-JQR"/>
  133. <constraint firstItem="zvi-3I-xDg" firstAttribute="width" secondItem="Egy-x0-11f" secondAttribute="width" id="B0X-el-bOD"/>
  134. <constraint firstAttribute="bottom" secondItem="hYc-Fb-d1Y" secondAttribute="bottom" constant="12" id="Whb-vz-vGh"/>
  135. <constraint firstItem="Egy-x0-11f" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="28" id="chy-my-v3n"/>
  136. <constraint firstItem="M5R-Eo-ZB8" firstAttribute="width" secondItem="Egy-x0-11f" secondAttribute="width" id="e35-uH-Djl"/>
  137. <constraint firstItem="M5R-Eo-ZB8" firstAttribute="width" secondItem="hYc-Fb-d1Y" secondAttribute="width" id="e8p-7m-OPB"/>
  138. <constraint firstItem="zvi-3I-xDg" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="28" id="fHc-K4-ubX"/>
  139. <constraint firstItem="1wX-EX-8qT" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="16" id="fk8-Gg-4lJ"/>
  140. <constraint firstAttribute="bottom" secondItem="M5R-Eo-ZB8" secondAttribute="bottom" constant="12" id="ftq-lW-YMJ"/>
  141. <constraint firstItem="Egy-x0-11f" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="gJt-D6-JuN"/>
  142. <constraint firstAttribute="bottom" secondItem="zvi-3I-xDg" secondAttribute="bottom" constant="12" id="j4O-1K-j7M"/>
  143. <constraint firstItem="zvi-3I-xDg" firstAttribute="leading" secondItem="M5R-Eo-ZB8" secondAttribute="trailing" id="psk-6f-fXF"/>
  144. <constraint firstAttribute="trailing" secondItem="zvi-3I-xDg" secondAttribute="trailing" id="sMu-Pf-1hU"/>
  145. <constraint firstItem="M5R-Eo-ZB8" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="28" id="yJ0-sh-8ao"/>
  146. <constraint firstItem="hYc-Fb-d1Y" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="28" id="yTC-TR-72b"/>
  147. </constraints>
  148. </tableViewCellContentView>
  149. <connections>
  150. <outlet property="collectBtn" destination="qPU-rq-8bX" id="Eoo-Ym-g59"/>
  151. <outlet property="readingQuestionsAndAnswersBtn" destination="N37-JA-Xna" id="Kya-ox-nM6"/>
  152. <outlet property="readingQuestionsBtn" destination="zqN-O2-cL7" id="hEV-Rk-LDY"/>
  153. <outlet property="skillExplanationBtn" destination="osc-u8-FsW" id="jUk-yz-uLl"/>
  154. </connections>
  155. <point key="canvasLocation" x="123" y="88"/>
  156. </tableViewCell>
  157. </objects>
  158. <resources>
  159. <image name="Collected" width="24" height="22"/>
  160. <image name="NotCollected" width="25.5" height="23.5"/>
  161. <image name="ReadingQuestions" width="16.5" height="22"/>
  162. <image name="SkillExplanation" width="18" height="22"/>
  163. <image name="试题详解" width="22" height="22"/>
  164. </resources>
  165. </document>