KSPlatformDownloadAlert.xib 16 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="23094" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="23084"/>
  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="iN0-l3-epB" customClass="KSPlatformDownloadAlert">
  14. <rect key="frame" x="0.0" y="0.0" width="393" height="852"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="c7t-Gm-jfe">
  18. <rect key="frame" x="49" y="334" width="295" height="184"/>
  19. <subviews>
  20. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="下载成功" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="2hf-n1-Ei5">
  21. <rect key="frame" x="19.999999999999996" y="15" width="63.666666666666657" height="25"/>
  22. <constraints>
  23. <constraint firstAttribute="height" constant="25" id="WjL-hX-4pp"/>
  24. </constraints>
  25. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  26. <color key="textColor" red="0.1019607843" green="0.1019607843" blue="0.1019607843" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  27. <nil key="highlightedColor"/>
  28. </label>
  29. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="check_cancle" translatesAutoresizingMaskIntoConstraints="NO" id="Nud-jE-cnf">
  30. <rect key="frame" x="261" y="20.666666666666686" width="14" height="14"/>
  31. </imageView>
  32. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="cy0-H2-obW">
  33. <rect key="frame" x="245" y="10" width="40" height="40"/>
  34. <constraints>
  35. <constraint firstAttribute="height" constant="40" id="IU7-Go-73m"/>
  36. <constraint firstAttribute="width" constant="40" id="wc5-h6-hWi"/>
  37. </constraints>
  38. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  39. <connections>
  40. <action selector="cancelAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="4Ls-Kd-bIc"/>
  41. </connections>
  42. </button>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="文件已保存到以下地址" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DDJ-Jw-w5Y">
  44. <rect key="frame" x="20" y="55" width="159" height="26"/>
  45. <constraints>
  46. <constraint firstAttribute="height" constant="26" id="WXk-xA-TBs"/>
  47. </constraints>
  48. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  49. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  50. <nil key="highlightedColor"/>
  51. </label>
  52. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="1BL-ja-AeR">
  53. <rect key="frame" x="20" y="81" width="216" height="26"/>
  54. <constraints>
  55. <constraint firstAttribute="height" constant="26" id="UBx-mC-ier"/>
  56. </constraints>
  57. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  58. <color key="textColor" red="0.40000000000000002" green="0.40000000000000002" blue="0.40000000000000002" alpha="1" colorSpace="calibratedRGB"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="复制" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Dmz-RQ-nkZ">
  62. <rect key="frame" x="241" y="81" width="34" height="26"/>
  63. <constraints>
  64. <constraint firstAttribute="height" constant="26" id="jQx-R8-0Pg"/>
  65. <constraint firstAttribute="width" constant="34" id="yTB-ep-jGo"/>
  66. </constraints>
  67. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  68. <color key="textColor" red="0.0039215686269999999" green="0.75686274509999996" blue="0.70980392160000005" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="EXr-hD-kJe">
  72. <rect key="frame" x="20" y="124" width="120" height="40"/>
  73. <constraints>
  74. <constraint firstAttribute="height" constant="40" id="XdD-oe-Y8C"/>
  75. </constraints>
  76. <fontDescription key="fontDescription" type="system" pointSize="16"/>
  77. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  78. <state key="normal" title="取消">
  79. <color key="titleColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  80. </state>
  81. <userDefinedRuntimeAttributes>
  82. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  83. <real key="value" value="20"/>
  84. </userDefinedRuntimeAttribute>
  85. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  86. <real key="value" value="1"/>
  87. </userDefinedRuntimeAttribute>
  88. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  89. <color key="value" red="0.85882352939999995" green="0.85882352939999995" blue="0.85882352939999995" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  90. </userDefinedRuntimeAttribute>
  91. </userDefinedRuntimeAttributes>
  92. <connections>
  93. <action selector="cancelAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="8ga-jJ-oFT"/>
  94. </connections>
  95. </button>
  96. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bA6-PJ-a22">
  97. <rect key="frame" x="155" y="124" width="120" height="40"/>
  98. <color key="backgroundColor" red="0.1764705882" green="0.78039215689999997" blue="0.66666666669999997" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  99. <fontDescription key="fontDescription" type="system" weight="medium" pointSize="16"/>
  100. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  101. <state key="normal" title="打开文件"/>
  102. <userDefinedRuntimeAttributes>
  103. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  104. <real key="value" value="20"/>
  105. </userDefinedRuntimeAttribute>
  106. </userDefinedRuntimeAttributes>
  107. <connections>
  108. <action selector="sureAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="zv2-ae-cUz"/>
  109. </connections>
  110. </button>
  111. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="ukm-f4-rFL">
  112. <rect key="frame" x="238" y="67" width="40" height="40"/>
  113. <constraints>
  114. <constraint firstAttribute="width" constant="40" id="Ees-TR-Sve"/>
  115. <constraint firstAttribute="height" constant="40" id="VPK-El-Cr5"/>
  116. </constraints>
  117. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  118. <connections>
  119. <action selector="copyActipn:" destination="iN0-l3-epB" eventType="touchUpInside" id="8xM-bF-hsr"/>
  120. </connections>
  121. </button>
  122. </subviews>
  123. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  124. <constraints>
  125. <constraint firstItem="DDJ-Jw-w5Y" firstAttribute="top" secondItem="2hf-n1-Ei5" secondAttribute="bottom" constant="15" id="1hM-Uh-dvv"/>
  126. <constraint firstItem="EXr-hD-kJe" firstAttribute="leading" secondItem="c7t-Gm-jfe" secondAttribute="leading" constant="20" id="1z6-pp-z13"/>
  127. <constraint firstItem="2hf-n1-Ei5" firstAttribute="leading" secondItem="c7t-Gm-jfe" secondAttribute="leading" constant="20" id="2tp-mt-eJJ"/>
  128. <constraint firstItem="DDJ-Jw-w5Y" firstAttribute="leading" secondItem="c7t-Gm-jfe" secondAttribute="leading" constant="20" id="3cP-Mj-hzL"/>
  129. <constraint firstItem="1BL-ja-AeR" firstAttribute="top" secondItem="DDJ-Jw-w5Y" secondAttribute="bottom" id="5jy-qt-reM"/>
  130. <constraint firstAttribute="trailing" secondItem="bA6-PJ-a22" secondAttribute="trailing" constant="20" id="61S-2b-zxC"/>
  131. <constraint firstAttribute="height" constant="184" id="6Jj-X9-Kjg"/>
  132. <constraint firstAttribute="trailing" secondItem="Dmz-RQ-nkZ" secondAttribute="trailing" constant="20" id="7wo-e7-cTj"/>
  133. <constraint firstItem="bA6-PJ-a22" firstAttribute="height" secondItem="EXr-hD-kJe" secondAttribute="height" id="CvG-fX-A20"/>
  134. <constraint firstAttribute="bottom" secondItem="bA6-PJ-a22" secondAttribute="bottom" constant="20" id="DGm-o4-nVv"/>
  135. <constraint firstItem="Nud-jE-cnf" firstAttribute="centerY" secondItem="2hf-n1-Ei5" secondAttribute="centerY" id="FJE-px-sk7"/>
  136. <constraint firstAttribute="width" constant="295" id="Jsr-zU-YqZ"/>
  137. <constraint firstItem="bA6-PJ-a22" firstAttribute="leading" secondItem="EXr-hD-kJe" secondAttribute="trailing" constant="15" id="Kn7-px-hd2"/>
  138. <constraint firstItem="Dmz-RQ-nkZ" firstAttribute="bottom" secondItem="ukm-f4-rFL" secondAttribute="bottom" id="Mn3-4X-KMN"/>
  139. <constraint firstItem="1BL-ja-AeR" firstAttribute="leading" secondItem="DDJ-Jw-w5Y" secondAttribute="leading" id="QOd-0T-gmv"/>
  140. <constraint firstItem="Dmz-RQ-nkZ" firstAttribute="centerX" secondItem="ukm-f4-rFL" secondAttribute="centerX" id="Vzj-48-sGr"/>
  141. <constraint firstItem="Dmz-RQ-nkZ" firstAttribute="centerY" secondItem="1BL-ja-AeR" secondAttribute="centerY" id="coU-Ud-FFP"/>
  142. <constraint firstAttribute="bottom" secondItem="EXr-hD-kJe" secondAttribute="bottom" constant="20" id="eUT-Ev-P03"/>
  143. <constraint firstAttribute="trailing" secondItem="Nud-jE-cnf" secondAttribute="trailing" constant="20" id="fLJ-tU-nFH"/>
  144. <constraint firstAttribute="trailing" secondItem="cy0-H2-obW" secondAttribute="trailing" constant="10" id="nHk-hA-rIN"/>
  145. <constraint firstItem="cy0-H2-obW" firstAttribute="top" secondItem="c7t-Gm-jfe" secondAttribute="top" constant="10" id="nwU-KR-qxS"/>
  146. <constraint firstItem="bA6-PJ-a22" firstAttribute="width" secondItem="EXr-hD-kJe" secondAttribute="width" id="ryS-B6-n2o"/>
  147. <constraint firstItem="2hf-n1-Ei5" firstAttribute="top" secondItem="c7t-Gm-jfe" secondAttribute="top" constant="15" id="tRC-Ty-cDr"/>
  148. <constraint firstItem="Dmz-RQ-nkZ" firstAttribute="leading" secondItem="1BL-ja-AeR" secondAttribute="trailing" constant="5" id="uRz-hC-qZa"/>
  149. </constraints>
  150. <userDefinedRuntimeAttributes>
  151. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  152. <real key="value" value="20"/>
  153. </userDefinedRuntimeAttribute>
  154. </userDefinedRuntimeAttributes>
  155. </view>
  156. </subviews>
  157. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.59999999999999998" colorSpace="custom" customColorSpace="sRGB"/>
  158. <constraints>
  159. <constraint firstItem="c7t-Gm-jfe" firstAttribute="centerY" secondItem="iN0-l3-epB" secondAttribute="centerY" id="G2a-zB-TsK"/>
  160. <constraint firstItem="c7t-Gm-jfe" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="Zsq-XB-1at"/>
  161. </constraints>
  162. <nil key="simulatedTopBarMetrics"/>
  163. <nil key="simulatedBottomBarMetrics"/>
  164. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  165. <connections>
  166. <outlet property="containerView" destination="c7t-Gm-jfe" id="IW1-jT-SlI"/>
  167. <outlet property="descLabel" destination="1BL-ja-AeR" id="T6F-1E-8nZ"/>
  168. </connections>
  169. <point key="canvasLocation" x="29.770992366412212" y="19.718309859154932"/>
  170. </view>
  171. </objects>
  172. <resources>
  173. <image name="check_cancle" width="14" height="14"/>
  174. <systemColor name="systemBackgroundColor">
  175. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  176. </systemColor>
  177. </resources>
  178. </document>