RQUpdateView.xib 20 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21225" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_7" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21207"/>
  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" insetsLayoutMarginsFromSafeArea="NO" id="iN0-l3-epB" customClass="RQUpdateView">
  14. <rect key="frame" x="0.0" y="0.0" width="428" height="926"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5x4-xh-S0B">
  18. <rect key="frame" x="48.666666666666657" y="260.33333333333337" width="330.66666666666674" height="405.33333333333337"/>
  19. <subviews>
  20. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="升级题库背景" translatesAutoresizingMaskIntoConstraints="NO" id="jam-bv-ghP">
  21. <rect key="frame" x="0.0" y="0.0" width="330.66666666666669" height="131.33333333333334"/>
  22. <constraints>
  23. <constraint firstAttribute="width" secondItem="jam-bv-ghP" secondAttribute="height" multiplier="290/115" id="m4F-cK-QAr"/>
  24. </constraints>
  25. </imageView>
  26. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" distribution="fillProportionally" alignment="top" translatesAutoresizingMaskIntoConstraints="NO" id="GRm-UL-Ff7">
  27. <rect key="frame" x="16" y="23.999999999999996" width="153" height="46.666666666666657"/>
  28. <subviews>
  29. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="题库下载" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MZr-Ge-AIb">
  30. <rect key="frame" x="0.0" y="0.0" width="97.333333333333329" height="28.666666666666668"/>
  31. <fontDescription key="fontDescription" type="boldSystem" pointSize="24"/>
  32. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  33. <nil key="highlightedColor"/>
  34. </label>
  35. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="让你距离拿本更进一步" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ewA-ZE-Dp0">
  36. <rect key="frame" x="0.0" y="28.666666666666686" width="153" height="18"/>
  37. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  38. <color key="textColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  39. <nil key="highlightedColor"/>
  40. </label>
  41. </subviews>
  42. </stackView>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="发现新版本" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="QQE-zq-t75">
  44. <rect key="frame" x="16" y="147.33333333333337" width="298.66666666666669" height="28.666666666666657"/>
  45. <fontDescription key="fontDescription" type="boldSystem" pointSize="24"/>
  46. <color key="textColor" red="0.039215686270000001" green="0.1019607843" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="全新版本,全新体验,赶快更新吧" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="iFt-gJ-97C">
  50. <rect key="frame" x="16" y="184" width="298.66666666666669" height="18"/>
  51. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  52. <color key="textColor" red="0.54117647059999996" green="0.56470588239999997" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  53. <nil key="highlightedColor"/>
  54. </label>
  55. <stackView hidden="YES" opaque="NO" contentMode="scaleToFill" axis="vertical" alignment="center" spacing="16" translatesAutoresizingMaskIntoConstraints="NO" id="9gL-9v-lx3">
  56. <rect key="frame" x="16" y="222" width="298.66666666666669" height="43"/>
  57. <subviews>
  58. <progressView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="750" translatesAutoresizingMaskIntoConstraints="NO" id="f0i-xB-chf">
  59. <rect key="frame" x="0.0" y="0.0" width="298.66666666666669" height="4"/>
  60. <color key="progressTintColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  61. <color key="trackTintColor" red="0.91764705882352937" green="0.92156862745098034" blue="0.92941176470588238" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  62. </progressView>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="0%" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gce-6e-vmG">
  64. <rect key="frame" x="135" y="20" width="28.666666666666657" height="23"/>
  65. <fontDescription key="fontDescription" type="system" pointSize="19"/>
  66. <color key="textColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  67. <nil key="highlightedColor"/>
  68. </label>
  69. </subviews>
  70. <constraints>
  71. <constraint firstItem="f0i-xB-chf" firstAttribute="width" secondItem="9gL-9v-lx3" secondAttribute="width" id="fs7-Yc-RYd"/>
  72. </constraints>
  73. </stackView>
  74. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="下载中,请稍候..." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8Og-qZ-742">
  75. <rect key="frame" x="16" y="335.66666666666669" width="298.66666666666669" height="45.666666666666686"/>
  76. <fontDescription key="fontDescription" type="system" pointSize="19"/>
  77. <color key="textColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  78. <nil key="highlightedColor"/>
  79. </label>
  80. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="jfd-zu-BD4">
  81. <rect key="frame" x="16" y="335.66666666666669" width="298.66666666666669" height="45.666666666666686"/>
  82. <color key="backgroundColor" red="0.28627450980000002" green="0.5568627451" blue="0.96078431369999995" alpha="1" colorSpace="deviceRGB"/>
  83. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  84. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  85. <state key="normal" title="立即下载"/>
  86. </button>
  87. <imageView hidden="YES" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="下载完成" translatesAutoresizingMaskIntoConstraints="NO" id="7nc-RU-GTi">
  88. <rect key="frame" x="133.33333333333334" y="202" width="64" height="64"/>
  89. <constraints>
  90. <constraint firstAttribute="width" secondItem="7nc-RU-GTi" secondAttribute="height" id="sls-rE-pxj"/>
  91. </constraints>
  92. </imageView>
  93. </subviews>
  94. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  95. <constraints>
  96. <constraint firstItem="9gL-9v-lx3" firstAttribute="leading" secondItem="5x4-xh-S0B" secondAttribute="leading" constant="16" id="5KF-Le-jeR"/>
  97. <constraint firstAttribute="trailing" secondItem="jam-bv-ghP" secondAttribute="trailing" id="8YP-0s-VUJ"/>
  98. <constraint firstItem="7nc-RU-GTi" firstAttribute="top" secondItem="QQE-zq-t75" secondAttribute="bottom" constant="26" id="8fN-lC-gvX"/>
  99. <constraint firstAttribute="bottom" secondItem="8Og-qZ-742" secondAttribute="bottom" constant="24" id="DV3-WX-ncE"/>
  100. <constraint firstItem="iFt-gJ-97C" firstAttribute="trailing" secondItem="QQE-zq-t75" secondAttribute="trailing" id="Frh-uE-Tdk"/>
  101. <constraint firstItem="QQE-zq-t75" firstAttribute="top" secondItem="jam-bv-ghP" secondAttribute="bottom" constant="16" id="GCq-t8-5SH"/>
  102. <constraint firstItem="jfd-zu-BD4" firstAttribute="leading" secondItem="5x4-xh-S0B" secondAttribute="leading" constant="16" id="HTU-Mn-9Mk"/>
  103. <constraint firstItem="7nc-RU-GTi" firstAttribute="width" secondItem="5x4-xh-S0B" secondAttribute="width" multiplier="56/290" id="IX8-gP-lCF"/>
  104. <constraint firstAttribute="trailing" secondItem="QQE-zq-t75" secondAttribute="trailing" constant="16" id="MQw-iI-umI"/>
  105. <constraint firstItem="jam-bv-ghP" firstAttribute="top" secondItem="5x4-xh-S0B" secondAttribute="top" id="Pe8-9a-5Df"/>
  106. <constraint firstItem="GRm-UL-Ff7" firstAttribute="top" secondItem="5x4-xh-S0B" secondAttribute="top" constant="24" id="PwN-OB-yac"/>
  107. <constraint firstItem="iFt-gJ-97C" firstAttribute="leading" secondItem="QQE-zq-t75" secondAttribute="leading" id="SaF-t4-1tE"/>
  108. <constraint firstItem="GRm-UL-Ff7" firstAttribute="leading" secondItem="5x4-xh-S0B" secondAttribute="leading" constant="16" id="UTm-uz-ikY"/>
  109. <constraint firstAttribute="trailing" secondItem="9gL-9v-lx3" secondAttribute="trailing" constant="16" id="Urc-ar-eGq"/>
  110. <constraint firstAttribute="trailing" secondItem="jfd-zu-BD4" secondAttribute="trailing" constant="16" id="YK3-R1-glG"/>
  111. <constraint firstAttribute="bottom" secondItem="jfd-zu-BD4" secondAttribute="bottom" constant="24" id="Z2o-dx-761"/>
  112. <constraint firstAttribute="width" secondItem="5x4-xh-S0B" secondAttribute="height" multiplier="290:355" id="aqJ-Px-DWc"/>
  113. <constraint firstItem="8Og-qZ-742" firstAttribute="leading" secondItem="5x4-xh-S0B" secondAttribute="leading" constant="16" id="nKL-2b-JfM"/>
  114. <constraint firstItem="9gL-9v-lx3" firstAttribute="top" secondItem="QQE-zq-t75" secondAttribute="bottom" constant="46" id="pXF-gY-bgZ"/>
  115. <constraint firstItem="jam-bv-ghP" firstAttribute="leading" secondItem="5x4-xh-S0B" secondAttribute="leading" id="qzt-d2-XDq"/>
  116. <constraint firstItem="iFt-gJ-97C" firstAttribute="top" secondItem="QQE-zq-t75" secondAttribute="bottom" constant="8" id="rTQ-Sv-1wv"/>
  117. <constraint firstItem="7nc-RU-GTi" firstAttribute="centerX" secondItem="5x4-xh-S0B" secondAttribute="centerX" id="u1z-fm-jAQ"/>
  118. <constraint firstItem="QQE-zq-t75" firstAttribute="leading" secondItem="5x4-xh-S0B" secondAttribute="leading" constant="16" id="wfV-TZ-Awy"/>
  119. <constraint firstItem="jam-bv-ghP" firstAttribute="width" secondItem="5x4-xh-S0B" secondAttribute="width" id="xL7-Ha-boz"/>
  120. <constraint firstAttribute="trailing" secondItem="8Og-qZ-742" secondAttribute="trailing" constant="16" id="ya0-V5-jqU"/>
  121. </constraints>
  122. <userDefinedRuntimeAttributes>
  123. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  124. <integer key="value" value="10"/>
  125. </userDefinedRuntimeAttribute>
  126. </userDefinedRuntimeAttributes>
  127. </view>
  128. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="版本更新图" translatesAutoresizingMaskIntoConstraints="NO" id="AjS-HA-UnH">
  129. <rect key="frame" x="48.666666666666657" y="219.66666666666663" width="330.66666666666674" height="170"/>
  130. <constraints>
  131. <constraint firstAttribute="width" secondItem="AjS-HA-UnH" secondAttribute="height" multiplier="290:149" id="rK1-ux-6QR"/>
  132. </constraints>
  133. </imageView>
  134. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="rMg-eR-Zca">
  135. <rect key="frame" x="196" y="695.66666666666663" width="36" height="36"/>
  136. <constraints>
  137. <constraint firstAttribute="width" secondItem="rMg-eR-Zca" secondAttribute="height" id="3dk-NU-hB1"/>
  138. <constraint firstAttribute="height" constant="36" id="Fqk-u9-GYS"/>
  139. </constraints>
  140. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  141. <state key="normal" backgroundImage="关闭"/>
  142. <connections>
  143. <action selector="closeBtnAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="PwS-ub-gdK"/>
  144. </connections>
  145. </button>
  146. </subviews>
  147. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  148. <constraints>
  149. <constraint firstItem="8Og-qZ-742" firstAttribute="height" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="40/375" id="AOT-EH-nNn"/>
  150. <constraint firstItem="5x4-xh-S0B" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="290/375" id="R7A-nz-rpw"/>
  151. <constraint firstItem="jfd-zu-BD4" firstAttribute="height" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="40/375" id="SF4-Sm-1Ap"/>
  152. <constraint firstItem="5x4-xh-S0B" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="XR7-KR-LHY"/>
  153. <constraint firstItem="AjS-HA-UnH" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="drz-8N-ywx"/>
  154. <constraint firstItem="QQE-zq-t75" firstAttribute="top" secondItem="AjS-HA-UnH" secondAttribute="bottom" constant="18" id="hSR-Zm-S5T"/>
  155. <constraint firstItem="rMg-eR-Zca" firstAttribute="top" secondItem="5x4-xh-S0B" secondAttribute="bottom" constant="30" id="jEH-Fe-cUt"/>
  156. <constraint firstItem="5x4-xh-S0B" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="mtP-TC-W33"/>
  157. <constraint firstItem="AjS-HA-UnH" firstAttribute="width" secondItem="iN0-l3-epB" secondAttribute="width" multiplier="290/375" id="oWH-x9-WMg"/>
  158. <constraint firstItem="rMg-eR-Zca" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="qiv-Cs-9nV"/>
  159. </constraints>
  160. <nil key="simulatedTopBarMetrics"/>
  161. <nil key="simulatedBottomBarMetrics"/>
  162. <connections>
  163. <outlet property="closeBtn" destination="rMg-eR-Zca" id="nfs-vi-Ddj"/>
  164. <outlet property="completeImageView" destination="7nc-RU-GTi" id="m2M-Hj-qJh"/>
  165. <outlet property="downloadBtn" destination="jfd-zu-BD4" id="iZ4-dy-UG4"/>
  166. <outlet property="headerTitleLabel" destination="ewA-ZE-Dp0" id="KdV-YI-SAx"/>
  167. <outlet property="headerTitleView" destination="GRm-UL-Ff7" id="Ugy-pO-iZg"/>
  168. <outlet property="myProgress" destination="f0i-xB-chf" id="jgt-a8-6Xa"/>
  169. <outlet property="progressLabel" destination="gce-6e-vmG" id="2ap-jP-Bcn"/>
  170. <outlet property="progressView" destination="9gL-9v-lx3" id="2E4-nZ-2WM"/>
  171. <outlet property="requestLabel" destination="8Og-qZ-742" id="2MO-Yy-rf2"/>
  172. <outlet property="subTitleLabel" destination="iFt-gJ-97C" id="Uko-bn-yeD"/>
  173. <outlet property="titleLabel" destination="QQE-zq-t75" id="Z16-Vl-fOq"/>
  174. <outlet property="updateHeadImageView" destination="AjS-HA-UnH" id="yW0-qP-i2Q"/>
  175. </connections>
  176. <point key="canvasLocation" x="136.95652173913044" y="266.85267857142856"/>
  177. </view>
  178. </objects>
  179. <resources>
  180. <image name="下载完成" width="56" height="56"/>
  181. <image name="关闭" width="16" height="16"/>
  182. <image name="升级题库背景" width="290" height="115"/>
  183. <image name="版本更新图" width="290" height="149"/>
  184. <systemColor name="systemBackgroundColor">
  185. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  186. </systemColor>
  187. </resources>
  188. </document>