SBTConnectSuccessVCtr.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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="SBTConnectSuccessVCtr" customModule="SolarBT" customModuleProvider="target">
  14. <connections>
  15. <outlet property="Box" destination="1N3-ev-jzM" id="GZN-UT-hZM"/>
  16. <outlet property="device_name" destination="syf-dA-B7b" id="K9K-dO-j7t"/>
  17. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  18. </connections>
  19. </placeholder>
  20. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  21. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  22. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  23. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  24. <subviews>
  25. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="1N3-ev-jzM">
  26. <rect key="frame" x="57" y="323" width="300" height="250"/>
  27. <subviews>
  28. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="添加设备" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="clx-od-uks">
  29. <rect key="frame" x="25" y="20" width="68" height="24"/>
  30. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="17"/>
  31. <nil key="textColor"/>
  32. <nil key="highlightedColor"/>
  33. </label>
  34. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="HY设备1号" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="syf-dA-B7b">
  35. <rect key="frame" x="25" y="70" width="67" height="20"/>
  36. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="14"/>
  37. <color key="textColor" red="0.13333333333333333" green="0.13333333333333333" blue="0.13333333333333333" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  38. <nil key="highlightedColor"/>
  39. </label>
  40. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="连接成功" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TWT-Wu-QzK">
  41. <rect key="frame" x="232" y="71.5" width="48" height="17"/>
  42. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  43. <color key="textColor" red="0.16078431372549018" green="0.69019607843137254" blue="0.035294117647058823" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  44. <nil key="highlightedColor"/>
  45. </label>
  46. <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="添加设备成功" translatesAutoresizingMaskIntoConstraints="NO" id="IUO-8g-YCK">
  47. <rect key="frame" x="80" y="145" width="31" height="31"/>
  48. <constraints>
  49. <constraint firstAttribute="width" constant="31" id="q3j-RV-2pL"/>
  50. <constraint firstAttribute="height" constant="31" id="wjZ-YD-idI"/>
  51. </constraints>
  52. </imageView>
  53. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="vSd-c5-5Sn">
  54. <rect key="frame" x="0.0" y="206" width="300" height="44"/>
  55. <color key="backgroundColor" red="0.96862745098039216" green="0.96862745098039216" blue="0.96862745098039216" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  56. <constraints>
  57. <constraint firstAttribute="height" constant="44" id="1Sn-1b-YFH"/>
  58. </constraints>
  59. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  60. <state key="normal" title="确定">
  61. <color key="titleColor" red="0.53333333333333333" green="0.53333333333333333" blue="0.53333333333333333" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  62. </state>
  63. <connections>
  64. <action selector="confirmAction:" destination="-1" eventType="touchUpInside" id="JzL-9F-9lb"/>
  65. </connections>
  66. </button>
  67. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="mGh-H2-u21">
  68. <rect key="frame" x="22" y="110" width="256" height="1"/>
  69. <color key="backgroundColor" red="0.90588235294117647" green="0.88235294117647056" blue="0.88235294117647056" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  70. <constraints>
  71. <constraint firstAttribute="height" constant="1" id="ERP-BG-MpN"/>
  72. </constraints>
  73. </view>
  74. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="已成功连接设备" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XtQ-uI-2im">
  75. <rect key="frame" x="130" y="153" width="86" height="15"/>
  76. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  77. <color key="textColor" red="0.13333333333333333" green="0.13333333333333333" blue="0.13333333333333333" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  78. <nil key="highlightedColor"/>
  79. </label>
  80. </subviews>
  81. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  82. <constraints>
  83. <constraint firstItem="vSd-c5-5Sn" firstAttribute="leading" secondItem="1N3-ev-jzM" secondAttribute="leading" id="1gQ-ML-Vqo"/>
  84. <constraint firstItem="mGh-H2-u21" firstAttribute="centerX" secondItem="vSd-c5-5Sn" secondAttribute="centerX" id="2PN-rf-wKZ"/>
  85. <constraint firstAttribute="height" constant="250" id="4LH-Lj-Rbj"/>
  86. <constraint firstAttribute="trailing" secondItem="TWT-Wu-QzK" secondAttribute="trailing" constant="20" id="75Z-aV-W9k"/>
  87. <constraint firstItem="mGh-H2-u21" firstAttribute="top" secondItem="syf-dA-B7b" secondAttribute="bottom" constant="20" id="8PM-Dh-4XV"/>
  88. <constraint firstItem="syf-dA-B7b" firstAttribute="leading" secondItem="clx-od-uks" secondAttribute="leading" id="Cej-O4-q4G"/>
  89. <constraint firstItem="TWT-Wu-QzK" firstAttribute="centerY" secondItem="syf-dA-B7b" secondAttribute="centerY" id="EIP-lC-Pr6"/>
  90. <constraint firstItem="XtQ-uI-2im" firstAttribute="leading" secondItem="IUO-8g-YCK" secondAttribute="trailing" constant="19" id="KpN-bc-cwa"/>
  91. <constraint firstItem="clx-od-uks" firstAttribute="leading" secondItem="1N3-ev-jzM" secondAttribute="leading" constant="25" id="LuL-lM-a3u"/>
  92. <constraint firstAttribute="bottom" secondItem="vSd-c5-5Sn" secondAttribute="bottom" id="MUu-jA-Hty"/>
  93. <constraint firstItem="syf-dA-B7b" firstAttribute="top" secondItem="clx-od-uks" secondAttribute="bottom" constant="26" id="Qe2-Ae-rFr"/>
  94. <constraint firstItem="mGh-H2-u21" firstAttribute="leading" secondItem="1N3-ev-jzM" secondAttribute="leading" constant="22" id="S6m-Mm-8Rc"/>
  95. <constraint firstItem="XtQ-uI-2im" firstAttribute="centerY" secondItem="IUO-8g-YCK" secondAttribute="centerY" id="ZhZ-9g-R7J"/>
  96. <constraint firstAttribute="width" constant="300" id="ha9-LS-LKz"/>
  97. <constraint firstItem="clx-od-uks" firstAttribute="top" secondItem="1N3-ev-jzM" secondAttribute="top" constant="20" id="leT-h1-Dbt"/>
  98. <constraint firstItem="IUO-8g-YCK" firstAttribute="leading" secondItem="1N3-ev-jzM" secondAttribute="leading" constant="80" id="okK-iW-lct"/>
  99. <constraint firstItem="IUO-8g-YCK" firstAttribute="top" secondItem="mGh-H2-u21" secondAttribute="bottom" constant="34" id="q1O-xl-hFg"/>
  100. <constraint firstAttribute="trailing" secondItem="vSd-c5-5Sn" secondAttribute="trailing" id="vqi-V6-2Rh"/>
  101. </constraints>
  102. </view>
  103. </subviews>
  104. <color key="backgroundColor" red="0.66667133569717407" green="0.66665846109390259" blue="0.66666716337203979" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  105. <constraints>
  106. <constraint firstItem="1N3-ev-jzM" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="Att-x3-b9E"/>
  107. <constraint firstItem="1N3-ev-jzM" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="OwC-1w-H4X"/>
  108. </constraints>
  109. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  110. <point key="canvasLocation" x="47.826086956521742" y="35.491071428571423"/>
  111. </view>
  112. </objects>
  113. <resources>
  114. <image name="添加设备成功" width="30.5" height="30.5"/>
  115. </resources>
  116. </document>