SBTAddDeviceVCtr.xib 9.7 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="retina4_7" 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="SBTAddDeviceVCtr" customModule="SolarBT" customModuleProvider="target">
  14. <connections>
  15. <outlet property="addDeviceLabel" destination="hW4-DP-r63" id="5mX-Y6-dg8"/>
  16. <outlet property="closeBtn" destination="dPn-5z-0u8" id="xMx-q9-Gwo"/>
  17. <outlet property="reScanBtn" destination="JMz-TR-DBb" id="8Ok-ID-clq"/>
  18. <outlet property="tableView" destination="WAH-0W-K4L" id="B1d-u9-WZc"/>
  19. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  20. </connections>
  21. </placeholder>
  22. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  23. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  24. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  25. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  26. <subviews>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ZGH-yi-tbP">
  28. <rect key="frame" x="37.5" y="163" width="300" height="341"/>
  29. <subviews>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="dPn-5z-0u8">
  31. <rect key="frame" x="0.0" y="294" width="300" height="47"/>
  32. <color key="backgroundColor" red="0.96471244096755981" green="0.9646943211555481" blue="0.96470659971237183" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  33. <constraints>
  34. <constraint firstAttribute="height" constant="47" id="66f-Dq-ogZ"/>
  35. </constraints>
  36. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  37. <state key="normal" title="关闭">
  38. <color key="titleColor" red="0.53333333333333333" green="0.53333333333333333" blue="0.53333333333333333" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  39. </state>
  40. <connections>
  41. <action selector="close:" destination="-1" eventType="touchUpInside" id="Oeb-O2-fXr"/>
  42. </connections>
  43. </button>
  44. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="req-YV-04j">
  45. <rect key="frame" x="0.0" y="0.0" width="300" height="58"/>
  46. <subviews>
  47. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JMz-TR-DBb">
  48. <rect key="frame" x="230" y="15.5" width="50" height="27"/>
  49. <fontDescription key="fontDescription" type="system" pointSize="12"/>
  50. <state key="normal" title="重新搜索">
  51. <color key="titleColor" red="0.62352941176470589" green="0.62352941176470589" blue="0.62352941176470589" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  52. </state>
  53. <connections>
  54. <action selector="recontect:" destination="-1" eventType="touchUpInside" id="AYU-Hf-gjA"/>
  55. </connections>
  56. </button>
  57. </subviews>
  58. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  59. <constraints>
  60. <constraint firstAttribute="trailing" secondItem="JMz-TR-DBb" secondAttribute="trailing" constant="20" id="l0a-df-kca"/>
  61. <constraint firstAttribute="height" constant="58" id="oc1-nr-rDb"/>
  62. <constraint firstItem="JMz-TR-DBb" firstAttribute="centerY" secondItem="req-YV-04j" secondAttribute="centerY" id="uvV-Lx-BGq"/>
  63. </constraints>
  64. </view>
  65. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="添加设备" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hW4-DP-r63">
  66. <rect key="frame" x="25" y="20" width="77.5" height="23"/>
  67. <fontDescription key="fontDescription" type="system" pointSize="19"/>
  68. <color key="textColor" red="0.13333333333333333" green="0.13333333333333333" blue="0.13333333333333333" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  69. <nil key="highlightedColor"/>
  70. </label>
  71. <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" style="plain" separatorStyle="default" rowHeight="-1" estimatedRowHeight="-1" sectionHeaderHeight="28" sectionFooterHeight="28" translatesAutoresizingMaskIntoConstraints="NO" id="WAH-0W-K4L">
  72. <rect key="frame" x="0.0" y="58" width="300" height="236"/>
  73. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  74. </tableView>
  75. </subviews>
  76. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <constraints>
  78. <constraint firstItem="dPn-5z-0u8" firstAttribute="leading" secondItem="ZGH-yi-tbP" secondAttribute="leading" id="CTx-JA-Uic"/>
  79. <constraint firstItem="dPn-5z-0u8" firstAttribute="top" secondItem="WAH-0W-K4L" secondAttribute="bottom" id="DDP-4T-YE7"/>
  80. <constraint firstItem="hW4-DP-r63" firstAttribute="leading" secondItem="ZGH-yi-tbP" secondAttribute="leading" constant="25" id="Lqi-L4-XSV"/>
  81. <constraint firstItem="WAH-0W-K4L" firstAttribute="leading" secondItem="ZGH-yi-tbP" secondAttribute="leading" id="MuQ-NW-axf"/>
  82. <constraint firstAttribute="height" constant="341" id="U2l-wv-gPc"/>
  83. <constraint firstItem="req-YV-04j" firstAttribute="leading" secondItem="ZGH-yi-tbP" secondAttribute="leading" id="WEU-Qy-4ff"/>
  84. <constraint firstItem="req-YV-04j" firstAttribute="top" secondItem="ZGH-yi-tbP" secondAttribute="top" id="aoB-zh-cbU"/>
  85. <constraint firstAttribute="bottom" secondItem="dPn-5z-0u8" secondAttribute="bottom" id="cXE-Sn-KP0"/>
  86. <constraint firstItem="hW4-DP-r63" firstAttribute="top" secondItem="ZGH-yi-tbP" secondAttribute="top" constant="20" id="e1K-sw-Fwe"/>
  87. <constraint firstItem="WAH-0W-K4L" firstAttribute="top" secondItem="req-YV-04j" secondAttribute="bottom" id="jXL-bR-cB1"/>
  88. <constraint firstAttribute="width" constant="300" id="lmj-rW-gMp"/>
  89. <constraint firstAttribute="trailing" secondItem="req-YV-04j" secondAttribute="trailing" id="pQY-CO-PlQ"/>
  90. <constraint firstAttribute="trailing" secondItem="dPn-5z-0u8" secondAttribute="trailing" id="sAK-we-BcW"/>
  91. <constraint firstAttribute="trailing" secondItem="WAH-0W-K4L" secondAttribute="trailing" id="sW0-TS-quP"/>
  92. </constraints>
  93. <userDefinedRuntimeAttributes>
  94. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  95. <real key="value" value="5"/>
  96. </userDefinedRuntimeAttribute>
  97. </userDefinedRuntimeAttributes>
  98. </view>
  99. </subviews>
  100. <color key="backgroundColor" red="0.6980440616607666" green="0.69803071022033691" blue="0.698039710521698" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  101. <constraints>
  102. <constraint firstItem="ZGH-yi-tbP" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="qiQ-xV-iEx"/>
  103. <constraint firstItem="ZGH-yi-tbP" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="rsg-8s-fPz"/>
  104. </constraints>
  105. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  106. </view>
  107. </objects>
  108. </document>