RQTestResultsViewController.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="19162" 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="19144"/>
  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" customClass="RQTestResultsViewController">
  12. <connections>
  13. <outlet property="commentLabel" destination="Lts-AO-anu" id="kiB-6x-DcM"/>
  14. <outlet property="containerView" destination="ODM-u3-RBR" id="eI5-3Y-tuh"/>
  15. <outlet property="greetingsLabel" destination="Lt6-sh-2P2" id="bAv-XY-b3L"/>
  16. <outlet property="headerImageView" destination="uPC-9K-Jvr" id="eko-nj-EjQ"/>
  17. <outlet property="imageViewTopToSuperView" destination="VMj-Sk-OHO" id="Gln-Em-3Ab"/>
  18. <outlet property="repeatBtnTopToNoteLabel" destination="4WJ-Vk-dW6" id="2dy-LP-kEu"/>
  19. <outlet property="ruleLabel" destination="Ei0-9U-NFh" id="ohT-VQ-43f"/>
  20. <outlet property="scoreLabel" destination="RrF-5F-oJk" id="Ine-3F-lUY"/>
  21. <outlet property="useTimeLabel" destination="tgv-rs-9Gv" id="g83-Uj-hbh"/>
  22. <outlet property="view" destination="IdV-Tr-GEr" id="dad-cq-6hn"/>
  23. </connections>
  24. </placeholder>
  25. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  26. <view contentMode="scaleToFill" id="IdV-Tr-GEr" customClass="UIScrollView">
  27. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  28. <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
  29. <subviews>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ODM-u3-RBR">
  31. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  32. <subviews>
  33. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="passTheExam" translatesAutoresizingMaskIntoConstraints="NO" id="uPC-9K-Jvr">
  34. <rect key="frame" x="71" y="29.5" width="272" height="238.5"/>
  35. <constraints>
  36. <constraint firstAttribute="width" secondItem="uPC-9K-Jvr" secondAttribute="height" multiplier="246:216" id="bhJ-73-4d6"/>
  37. </constraints>
  38. </imageView>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="恭喜你,测试通过~" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lt6-sh-2P2">
  40. <rect key="frame" x="132.5" y="290.5" width="149" height="21"/>
  41. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  42. <color key="textColor" red="0.36078431372549019" green="0.37647058823529411" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="98" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="RrF-5F-oJk">
  46. <rect key="frame" x="167.5" y="338.5" width="79" height="44.5"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="44.5" id="NbI-OI-0KY"/>
  49. </constraints>
  50. <fontDescription key="fontDescription" type="boldSystem" pointSize="60"/>
  51. <color key="textColor" red="0.99215686274509807" green="0.28235294117647058" blue="0.30980392156862746" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  52. <nil key="highlightedColor"/>
  53. </label>
  54. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="分" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="cbX-yP-bkV">
  55. <rect key="frame" x="251.5" y="362" width="18" height="21"/>
  56. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  57. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  58. <nil key="highlightedColor"/>
  59. </label>
  60. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="(满分:100;合格:90)" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Ei0-9U-NFh">
  61. <rect key="frame" x="117" y="389" width="180" height="21"/>
  62. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  63. <color key="textColor" red="0.54117647058823526" green="0.56470588235294117" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  64. <nil key="highlightedColor"/>
  65. </label>
  66. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="用时:0分2秒" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tgv-rs-9Gv">
  67. <rect key="frame" x="153.5" y="421" width="107" height="21"/>
  68. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  69. <color key="textColor" red="0.28627450980392155" green="0.55686274509803924" blue="0.96078431372549022" alpha="1" colorSpace="deviceRGB"/>
  70. <nil key="highlightedColor"/>
  71. </label>
  72. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="天赋异禀、骨骼惊奇,想来是百年难得一见的考试奇才。" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Lts-AO-anu">
  73. <rect key="frame" x="16" y="473" width="382" height="41"/>
  74. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  75. <color key="textColor" red="0.36078431372549019" green="0.37647058823529411" blue="0.40000000000000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  76. <nil key="highlightedColor"/>
  77. </label>
  78. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="hMo-xH-fzJ">
  79. <rect key="frame" x="56" y="569" width="141" height="40"/>
  80. <color key="backgroundColor" red="0.28627450980392155" green="0.55686274509803924" blue="0.96078431372549022" alpha="1" colorSpace="deviceRGB"/>
  81. <constraints>
  82. <constraint firstAttribute="height" constant="40" id="SBt-BA-Lcz"/>
  83. </constraints>
  84. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  85. <state key="normal" title="错题重做">
  86. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  87. </state>
  88. <userDefinedRuntimeAttributes>
  89. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  90. <integer key="value" value="20"/>
  91. </userDefinedRuntimeAttribute>
  92. </userDefinedRuntimeAttributes>
  93. <connections>
  94. <action selector="redoWrongQuestionBtnAction:" destination="-1" eventType="touchUpInside" id="mVt-JQ-nFD"/>
  95. </connections>
  96. </button>
  97. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="PgX-iA-cGh">
  98. <rect key="frame" x="217" y="569" width="141" height="40"/>
  99. <color key="backgroundColor" red="0.0039215686274509803" green="0.75686274509803919" blue="0.55294117647058827" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  100. <constraints>
  101. <constraint firstAttribute="height" constant="40" id="fqJ-st-8um"/>
  102. </constraints>
  103. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="17"/>
  104. <state key="normal" title="重新测试">
  105. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  106. </state>
  107. <userDefinedRuntimeAttributes>
  108. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  109. <integer key="value" value="20"/>
  110. </userDefinedRuntimeAttribute>
  111. </userDefinedRuntimeAttributes>
  112. <connections>
  113. <action selector="retestBtnAction:" destination="-1" eventType="touchUpInside" id="RoW-tq-FQY"/>
  114. </connections>
  115. </button>
  116. </subviews>
  117. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  118. <constraints>
  119. <constraint firstItem="Ei0-9U-NFh" firstAttribute="top" secondItem="RrF-5F-oJk" secondAttribute="bottom" constant="6" id="0ok-Wi-fRH"/>
  120. <constraint firstItem="uPC-9K-Jvr" firstAttribute="width" secondItem="ODM-u3-RBR" secondAttribute="width" multiplier="246:375" id="2Ks-2M-aeQ"/>
  121. <constraint firstItem="PgX-iA-cGh" firstAttribute="leading" secondItem="hMo-xH-fzJ" secondAttribute="trailing" constant="20" id="37J-15-3BX"/>
  122. <constraint firstItem="hMo-xH-fzJ" firstAttribute="top" secondItem="Lts-AO-anu" secondAttribute="bottom" constant="55" id="4WJ-Vk-dW6"/>
  123. <constraint firstItem="tgv-rs-9Gv" firstAttribute="top" secondItem="Ei0-9U-NFh" secondAttribute="bottom" constant="11" id="AWe-8j-zQ9"/>
  124. <constraint firstItem="Lt6-sh-2P2" firstAttribute="centerX" secondItem="uPC-9K-Jvr" secondAttribute="centerX" id="El4-ti-aeA"/>
  125. <constraint firstItem="uPC-9K-Jvr" firstAttribute="centerX" secondItem="ODM-u3-RBR" secondAttribute="centerX" id="Grm-Qg-2iZ"/>
  126. <constraint firstItem="PgX-iA-cGh" firstAttribute="trailing" secondItem="Lts-AO-anu" secondAttribute="trailing" constant="-40" id="HJS-lp-Hpt"/>
  127. <constraint firstItem="Lt6-sh-2P2" firstAttribute="top" secondItem="uPC-9K-Jvr" secondAttribute="bottom" constant="22.5" id="NEc-L1-wh5"/>
  128. <constraint firstItem="cbX-yP-bkV" firstAttribute="bottom" secondItem="RrF-5F-oJk" secondAttribute="bottom" id="TKZ-sa-Yhh"/>
  129. <constraint firstItem="uPC-9K-Jvr" firstAttribute="top" secondItem="ODM-u3-RBR" secondAttribute="top" constant="29.5" id="VMj-Sk-OHO"/>
  130. <constraint firstItem="tgv-rs-9Gv" firstAttribute="centerX" secondItem="uPC-9K-Jvr" secondAttribute="centerX" id="Ywi-YX-9sh"/>
  131. <constraint firstItem="PgX-iA-cGh" firstAttribute="width" secondItem="hMo-xH-fzJ" secondAttribute="width" id="cs8-Tw-B48"/>
  132. <constraint firstItem="Ei0-9U-NFh" firstAttribute="centerX" secondItem="uPC-9K-Jvr" secondAttribute="centerX" id="dRt-Kq-riP"/>
  133. <constraint firstItem="RrF-5F-oJk" firstAttribute="top" secondItem="Lt6-sh-2P2" secondAttribute="bottom" constant="27" id="h10-LD-a0I"/>
  134. <constraint firstAttribute="trailing" secondItem="Lts-AO-anu" secondAttribute="trailing" constant="16" id="in6-lC-jMt"/>
  135. <constraint firstItem="hMo-xH-fzJ" firstAttribute="leading" secondItem="Lts-AO-anu" secondAttribute="leading" constant="40" id="k8m-6H-AGm"/>
  136. <constraint firstItem="RrF-5F-oJk" firstAttribute="centerX" secondItem="uPC-9K-Jvr" secondAttribute="centerX" id="kwu-qa-jgE"/>
  137. <constraint firstItem="cbX-yP-bkV" firstAttribute="leading" secondItem="RrF-5F-oJk" secondAttribute="trailing" constant="5" id="nvd-cp-HbA"/>
  138. <constraint firstItem="Lts-AO-anu" firstAttribute="leading" secondItem="ODM-u3-RBR" secondAttribute="leading" constant="16" id="qbW-Sl-ZbE"/>
  139. <constraint firstItem="Lts-AO-anu" firstAttribute="top" secondItem="tgv-rs-9Gv" secondAttribute="bottom" constant="31" id="w1Q-gz-7QS"/>
  140. <constraint firstItem="PgX-iA-cGh" firstAttribute="top" secondItem="hMo-xH-fzJ" secondAttribute="top" id="wxu-nO-B9k"/>
  141. </constraints>
  142. </view>
  143. </subviews>
  144. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  145. <constraints>
  146. <constraint firstItem="ODM-u3-RBR" firstAttribute="height" secondItem="IdV-Tr-GEr" secondAttribute="height" id="H7B-sa-cmY"/>
  147. <constraint firstItem="ODM-u3-RBR" firstAttribute="width" secondItem="IdV-Tr-GEr" secondAttribute="width" id="IYC-vN-dFK"/>
  148. <constraint firstItem="ODM-u3-RBR" firstAttribute="centerX" secondItem="IdV-Tr-GEr" secondAttribute="centerX" id="RkY-sw-Sle"/>
  149. <constraint firstItem="ODM-u3-RBR" firstAttribute="centerY" secondItem="IdV-Tr-GEr" secondAttribute="centerY" id="WCN-I8-AXj"/>
  150. </constraints>
  151. <point key="canvasLocation" x="25" y="11"/>
  152. </view>
  153. </objects>
  154. <resources>
  155. <image name="passTheExam" width="246" height="216"/>
  156. <systemColor name="systemBackgroundColor">
  157. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  158. </systemColor>
  159. </resources>
  160. </document>