SBTUpdateFailVCtr.xib 9.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  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="SBTUpdateFailVCtr" customModule="SolarBT" customModuleProvider="target">
  14. <connections>
  15. <outlet property="box" destination="c4C-Dd-a5J" id="Stz-SO-4h6"/>
  16. <outlet property="cancelBtn" destination="Btu-yz-fy7" id="KxJ-nX-CmH"/>
  17. <outlet property="deviceNameLabel" destination="gRJ-3X-IYH" id="2zi-r0-XXx"/>
  18. <outlet property="messageLabel" destination="gfr-M1-yDU" id="cdm-n9-7eq"/>
  19. <outlet property="reconnectBtn" destination="Gxl-zR-K6G" id="rBS-8s-htq"/>
  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="c4C-Dd-a5J">
  29. <rect key="frame" x="57" y="274.5" width="300" height="347"/>
  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="gRJ-3X-IYH">
  32. <rect key="frame" x="25" y="20" width="76" 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="Btu-yz-fy7">
  38. <rect key="frame" x="0.0" y="307" width="300" height="40"/>
  39. <constraints>
  40. <constraint firstAttribute="height" constant="40" id="yuQ-5E-M33"/>
  41. </constraints>
  42. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  43. <state key="normal" title="取消更新">
  44. <color key="titleColor" red="0.77647058823529413" green="0.77647058823529413" blue="0.77647058823529413" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  45. </state>
  46. <connections>
  47. <action selector="cancelAction:" destination="-1" eventType="touchUpInside" id="jAc-oE-pvw"/>
  48. </connections>
  49. </button>
  50. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Gxl-zR-K6G">
  51. <rect key="frame" x="13" y="259" width="274" height="40"/>
  52. <constraints>
  53. <constraint firstAttribute="height" constant="40" id="Pa9-bW-6yf"/>
  54. </constraints>
  55. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  56. <state key="normal" title="重新更新">
  57. <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  58. </state>
  59. <connections>
  60. <action selector="reconnectAction:" destination="-1" eventType="touchUpInside" id="WFI-zh-b2g"/>
  61. </connections>
  62. </button>
  63. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="更新失败" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gfr-M1-yDU">
  64. <rect key="frame" x="25" y="225" width="250" height="20"/>
  65. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
  66. <nil key="textColor"/>
  67. <nil key="highlightedColor"/>
  68. </label>
  69. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="update_fail" translatesAutoresizingMaskIntoConstraints="NO" id="C9h-6L-DsK">
  70. <rect key="frame" x="86.5" y="82" width="127" height="127"/>
  71. <constraints>
  72. <constraint firstAttribute="width" constant="127" id="41S-CM-S43"/>
  73. <constraint firstAttribute="height" constant="127" id="Hs9-ex-ODo"/>
  74. </constraints>
  75. </imageView>
  76. </subviews>
  77. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  78. <constraints>
  79. <constraint firstItem="Gxl-zR-K6G" firstAttribute="leading" secondItem="c4C-Dd-a5J" secondAttribute="leading" constant="13" id="5zt-rZ-FAk"/>
  80. <constraint firstItem="gfr-M1-yDU" firstAttribute="leading" secondItem="c4C-Dd-a5J" secondAttribute="leading" constant="25" id="66t-HW-5gr"/>
  81. <constraint firstItem="Btu-yz-fy7" firstAttribute="top" secondItem="Gxl-zR-K6G" secondAttribute="bottom" constant="8" id="9IV-cp-emJ"/>
  82. <constraint firstItem="gfr-M1-yDU" firstAttribute="centerX" secondItem="c4C-Dd-a5J" secondAttribute="centerX" id="Byg-FK-XG6"/>
  83. <constraint firstAttribute="trailing" secondItem="Gxl-zR-K6G" secondAttribute="trailing" constant="13" id="H0z-DY-wdw"/>
  84. <constraint firstItem="gRJ-3X-IYH" firstAttribute="leading" secondItem="c4C-Dd-a5J" secondAttribute="leading" constant="25" id="Iij-xV-r09"/>
  85. <constraint firstAttribute="trailing" secondItem="Btu-yz-fy7" secondAttribute="trailing" id="Q8X-fS-tzP"/>
  86. <constraint firstItem="Gxl-zR-K6G" firstAttribute="top" secondItem="gfr-M1-yDU" secondAttribute="bottom" constant="14" id="SEg-GF-uBw"/>
  87. <constraint firstAttribute="width" constant="300" id="Veb-VU-DPI"/>
  88. <constraint firstItem="Btu-yz-fy7" firstAttribute="leading" secondItem="c4C-Dd-a5J" secondAttribute="leading" id="Xp1-ZV-8rC"/>
  89. <constraint firstAttribute="bottom" secondItem="Btu-yz-fy7" secondAttribute="bottom" id="cDv-7g-hdK"/>
  90. <constraint firstItem="gRJ-3X-IYH" firstAttribute="top" secondItem="c4C-Dd-a5J" secondAttribute="top" constant="20" id="gCp-XB-9U6"/>
  91. <constraint firstAttribute="height" constant="347" id="n89-yG-g9k"/>
  92. <constraint firstItem="C9h-6L-DsK" firstAttribute="centerX" secondItem="c4C-Dd-a5J" secondAttribute="centerX" id="sqA-jk-CTL"/>
  93. <constraint firstItem="gfr-M1-yDU" firstAttribute="top" secondItem="C9h-6L-DsK" secondAttribute="bottom" constant="16" id="tHk-du-ZNi"/>
  94. </constraints>
  95. </view>
  96. </subviews>
  97. <color key="backgroundColor" red="0.6784360408782959" green="0.67842298746109009" blue="0.67843186855316162" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  98. <constraints>
  99. <constraint firstItem="c4C-Dd-a5J" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="46e-J8-ZXh"/>
  100. <constraint firstItem="c4C-Dd-a5J" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="MNV-uO-5Kd"/>
  101. </constraints>
  102. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  103. </view>
  104. </objects>
  105. <resources>
  106. <image name="update_fail" width="142" height="142"/>
  107. </resources>
  108. </document>