SBTDownloadFailVCtr.xib 9.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107
  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="SBTDownloadFailVCtr" customModule="SolarBT" customModuleProvider="target">
  14. <connections>
  15. <outlet property="box" destination="Ifb-QW-BrX" id="8CT-bb-FCk"/>
  16. <outlet property="cancelBtn" destination="Aag-HV-a6k" id="2td-N6-yQJ"/>
  17. <outlet property="deviceLabel" destination="k5s-xp-J8A" id="LSh-K1-TjE"/>
  18. <outlet property="messageLabel" destination="ADw-lA-Zch" id="wIS-9D-5OM"/>
  19. <outlet property="redownloadBtn" destination="dxW-82-n4s" id="H1Z-zd-f7i"/>
  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="Ifb-QW-BrX">
  29. <rect key="frame" x="57" y="309.5" width="300" height="277"/>
  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="k5s-xp-J8A">
  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. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Aag-HV-a6k">
  38. <rect key="frame" x="25" y="229" width="250" height="29"/>
  39. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  40. <state key="normal" title="取消下载">
  41. <color key="titleColor" red="0.77647058823529413" green="0.77647058823529413" blue="0.77647058823529413" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  42. </state>
  43. <connections>
  44. <action selector="cancelAction:" destination="-1" eventType="touchUpInside" id="suL-6Y-yGI"/>
  45. </connections>
  46. </button>
  47. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="下载失败" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ADw-lA-Zch">
  48. <rect key="frame" x="25" y="126" width="250" height="20"/>
  49. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
  50. <nil key="textColor"/>
  51. <nil key="highlightedColor"/>
  52. </label>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dxW-82-n4s">
  54. <rect key="frame" x="13" y="178" width="274" height="40"/>
  55. <constraints>
  56. <constraint firstAttribute="height" constant="40" id="7Tq-SP-H1k"/>
  57. </constraints>
  58. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="12"/>
  59. <state key="normal" title="重新下载">
  60. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  61. </state>
  62. <connections>
  63. <action selector="redownloadAction:" destination="-1" eventType="touchUpInside" id="zm1-6h-SZv"/>
  64. </connections>
  65. </button>
  66. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="download_fail" translatesAutoresizingMaskIntoConstraints="NO" id="MaW-te-qzJ">
  67. <rect key="frame" x="110" y="46" width="80" height="70"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="70" id="3Gs-qz-wXB"/>
  70. <constraint firstAttribute="width" constant="80" id="U9C-GW-NDw"/>
  71. </constraints>
  72. </imageView>
  73. </subviews>
  74. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  75. <constraints>
  76. <constraint firstItem="k5s-xp-J8A" firstAttribute="top" secondItem="Ifb-QW-BrX" secondAttribute="top" constant="20" id="0xt-lR-gLv"/>
  77. <constraint firstAttribute="trailing" secondItem="k5s-xp-J8A" secondAttribute="trailing" constant="25" id="7l8-Og-hKu"/>
  78. <constraint firstItem="Aag-HV-a6k" firstAttribute="centerX" secondItem="Ifb-QW-BrX" secondAttribute="centerX" id="DmD-2A-eJ4"/>
  79. <constraint firstItem="MaW-te-qzJ" firstAttribute="centerX" secondItem="Ifb-QW-BrX" secondAttribute="centerX" id="EOa-ad-HaX"/>
  80. <constraint firstItem="ADw-lA-Zch" firstAttribute="leading" secondItem="Ifb-QW-BrX" secondAttribute="leading" constant="25" id="Iha-9t-3Rb"/>
  81. <constraint firstItem="ADw-lA-Zch" firstAttribute="top" secondItem="MaW-te-qzJ" secondAttribute="bottom" constant="10" id="Ihf-Ey-0u1"/>
  82. <constraint firstAttribute="width" constant="300" id="LEQ-08-Osd"/>
  83. <constraint firstItem="ADw-lA-Zch" firstAttribute="centerX" secondItem="Ifb-QW-BrX" secondAttribute="centerX" id="LsX-La-UEO"/>
  84. <constraint firstItem="dxW-82-n4s" firstAttribute="leading" secondItem="Ifb-QW-BrX" secondAttribute="leading" constant="13" id="YlS-cH-K7w"/>
  85. <constraint firstItem="dxW-82-n4s" firstAttribute="top" secondItem="ADw-lA-Zch" secondAttribute="bottom" constant="32" id="cjr-zn-pGQ"/>
  86. <constraint firstAttribute="trailing" secondItem="dxW-82-n4s" secondAttribute="trailing" constant="13" id="gOx-GL-x9O"/>
  87. <constraint firstItem="k5s-xp-J8A" firstAttribute="leading" secondItem="Ifb-QW-BrX" secondAttribute="leading" constant="25" id="os2-0t-OlO"/>
  88. <constraint firstAttribute="bottom" secondItem="Aag-HV-a6k" secondAttribute="bottom" constant="19" id="sW2-Qs-cSS"/>
  89. <constraint firstItem="Aag-HV-a6k" firstAttribute="top" secondItem="dxW-82-n4s" secondAttribute="bottom" constant="11" id="tG7-G4-7Lo"/>
  90. <constraint firstAttribute="height" constant="277" id="v1P-cU-y0X"/>
  91. <constraint firstItem="Aag-HV-a6k" firstAttribute="leading" secondItem="Ifb-QW-BrX" secondAttribute="leading" constant="25" id="y7z-Gb-L9m"/>
  92. </constraints>
  93. </view>
  94. </subviews>
  95. <color key="backgroundColor" red="0.6784360408782959" green="0.67842298746109009" blue="0.67843186855316162" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  96. <constraints>
  97. <constraint firstItem="Ifb-QW-BrX" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Daz-7H-BaR"/>
  98. <constraint firstItem="Ifb-QW-BrX" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="Rhd-uC-qrz"/>
  99. </constraints>
  100. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  101. <point key="canvasLocation" x="137.68115942028987" y="119.86607142857142"/>
  102. </view>
  103. </objects>
  104. <resources>
  105. <image name="download_fail" width="60" height="60"/>
  106. </resources>
  107. </document>