SBTDownloadVCtr.xib 9.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14490.70" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <deployment identifier="iOS"/>
  8. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14490.49"/>
  9. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  10. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  11. </dependencies>
  12. <objects>
  13. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="SBTDownloadVCtr" customModule="SolarBT" customModuleProvider="target">
  14. <connections>
  15. <outlet property="box" destination="gg3-tz-mIL" id="eSs-qv-VpM"/>
  16. <outlet property="cancelLabel" destination="G9M-7a-BiS" id="0y9-3U-ctl"/>
  17. <outlet property="messageLabel" destination="tmi-s9-27C" id="Wqq-o2-fI1"/>
  18. <outlet property="progressView" destination="rqx-c6-hIw" id="Ncd-W5-fqb"/>
  19. <outlet property="titleLabel" destination="VIO-oX-Tpt" id="0Vc-CQ-KEG"/>
  20. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  21. </connections>
  22. </placeholder>
  23. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  24. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  25. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  26. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  27. <subviews>
  28. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gg3-tz-mIL">
  29. <rect key="frame" x="57" y="309" width="300" height="278"/>
  30. <subviews>
  31. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="下载固件" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="VIO-oX-Tpt">
  32. <rect key="frame" x="25" y="20" width="250" height="27"/>
  33. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="19"/>
  34. <nil key="textColor"/>
  35. <nil key="highlightedColor"/>
  36. </label>
  37. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="下载中,请稍后..." textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="tmi-s9-27C">
  38. <rect key="frame" x="25" y="167" width="250" height="20"/>
  39. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
  40. <nil key="textColor"/>
  41. <nil key="highlightedColor"/>
  42. </label>
  43. <progressView opaque="NO" contentMode="scaleToFill" verticalHuggingPriority="750" progress="0.5" translatesAutoresizingMaskIntoConstraints="NO" id="rqx-c6-hIw">
  44. <rect key="frame" x="22" y="151" width="256" height="2"/>
  45. <color key="progressTintColor" red="0.16078431369999999" green="0.69019607839999997" blue="0.035294117649999998" alpha="1" colorSpace="calibratedRGB"/>
  46. </progressView>
  47. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="down_loading" translatesAutoresizingMaskIntoConstraints="NO" id="wD4-CI-4qg">
  48. <rect key="frame" x="120" y="66" width="60" height="60"/>
  49. <constraints>
  50. <constraint firstAttribute="height" constant="60" id="1bh-74-6yy"/>
  51. <constraint firstAttribute="width" constant="60" id="nJx-la-eJI"/>
  52. </constraints>
  53. </imageView>
  54. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="G9M-7a-BiS">
  55. <rect key="frame" x="25" y="205" width="250" height="29"/>
  56. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  57. <state key="normal" title="取消下载">
  58. <color key="titleColor" red="0.77647058823529413" green="0.77647058823529413" blue="0.77647058823529413" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  59. </state>
  60. <connections>
  61. <action selector="cancelAction:" destination="-1" eventType="touchUpInside" id="BZL-hG-ksc"/>
  62. </connections>
  63. </button>
  64. </subviews>
  65. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  66. <constraints>
  67. <constraint firstAttribute="bottom" secondItem="G9M-7a-BiS" secondAttribute="bottom" constant="44" id="2WD-XG-kuZ"/>
  68. <constraint firstAttribute="width" constant="300" id="3TX-As-aCw"/>
  69. <constraint firstItem="wD4-CI-4qg" firstAttribute="centerX" secondItem="gg3-tz-mIL" secondAttribute="centerX" id="DMl-9B-Xdz"/>
  70. <constraint firstItem="rqx-c6-hIw" firstAttribute="leading" secondItem="gg3-tz-mIL" secondAttribute="leading" constant="22" id="KbO-Wu-GlB"/>
  71. <constraint firstItem="tmi-s9-27C" firstAttribute="leading" secondItem="gg3-tz-mIL" secondAttribute="leading" constant="25" id="L9r-vQ-IM6"/>
  72. <constraint firstItem="G9M-7a-BiS" firstAttribute="leading" secondItem="gg3-tz-mIL" secondAttribute="leading" constant="25" id="dDm-S8-GHv"/>
  73. <constraint firstItem="rqx-c6-hIw" firstAttribute="top" secondItem="wD4-CI-4qg" secondAttribute="bottom" constant="25" id="kyw-g2-okU"/>
  74. <constraint firstItem="tmi-s9-27C" firstAttribute="top" secondItem="rqx-c6-hIw" secondAttribute="bottom" constant="14" id="lZm-dr-b87"/>
  75. <constraint firstAttribute="trailing" secondItem="rqx-c6-hIw" secondAttribute="trailing" constant="22" id="mdY-cg-Rl5"/>
  76. <constraint firstAttribute="trailing" secondItem="VIO-oX-Tpt" secondAttribute="trailing" constant="25" id="qHx-dI-por"/>
  77. <constraint firstItem="VIO-oX-Tpt" firstAttribute="top" secondItem="gg3-tz-mIL" secondAttribute="top" constant="20" id="qK9-q0-Nbt"/>
  78. <constraint firstAttribute="height" constant="278" id="rnO-Sr-nR3"/>
  79. <constraint firstItem="tmi-s9-27C" firstAttribute="centerX" secondItem="gg3-tz-mIL" secondAttribute="centerX" id="wBE-is-OKW"/>
  80. <constraint firstItem="G9M-7a-BiS" firstAttribute="centerX" secondItem="gg3-tz-mIL" secondAttribute="centerX" id="wOI-6w-fDv"/>
  81. <constraint firstItem="VIO-oX-Tpt" firstAttribute="leading" secondItem="gg3-tz-mIL" secondAttribute="leading" constant="25" id="xVJ-Io-ce7"/>
  82. <constraint firstItem="G9M-7a-BiS" firstAttribute="top" secondItem="tmi-s9-27C" secondAttribute="bottom" constant="18" id="zFO-eo-ETP"/>
  83. </constraints>
  84. </view>
  85. </subviews>
  86. <color key="backgroundColor" red="0.6784360408782959" green="0.67842298746109009" blue="0.67843186855316162" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  87. <constraints>
  88. <constraint firstItem="gg3-tz-mIL" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="2dQ-DP-YnQ"/>
  89. <constraint firstItem="gg3-tz-mIL" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="zEL-U2-yov"/>
  90. </constraints>
  91. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  92. <point key="canvasLocation" x="-43.478260869565219" y="35.491071428571423"/>
  93. </view>
  94. </objects>
  95. <resources>
  96. <image name="down_loading" width="60" height="60"/>
  97. </resources>
  98. </document>