SBTUpateDeviceNameVCtr.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110
  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="SBTUpateDeviceNameVCtr" customModule="SolarBT" customModuleProvider="target">
  14. <connections>
  15. <outlet property="DeviceNameLabel" destination="FwJ-QX-Mhx" id="QNA-Sn-dWi"/>
  16. <outlet property="backLabel" destination="f8s-Qw-CdS" id="jc3-F0-SGJ"/>
  17. <outlet property="box" destination="tOb-RS-lVw" id="Abc-ff-qtj"/>
  18. <outlet property="devicenameTextfield" destination="E6r-Lz-gYo" id="bnO-yR-927"/>
  19. <outlet property="placeHolder" destination="XHN-uf-T2T" id="xmc-kM-pbG"/>
  20. <outlet property="saveBtn" destination="seN-Co-WwJ" id="hae-Ag-iJA"/>
  21. <outlet property="textBox" destination="uKh-3V-Qmf" id="LKg-7K-sAS"/>
  22. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  23. </connections>
  24. </placeholder>
  25. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  26. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  27. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  28. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  29. <subviews>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tOb-RS-lVw">
  31. <rect key="frame" x="57" y="325.5" width="300" height="245"/>
  32. <subviews>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="设备名称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FwJ-QX-Mhx">
  34. <rect key="frame" x="25" y="20" width="76" height="27"/>
  35. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="19"/>
  36. <color key="textColor" red="0.13333333333333333" green="0.13333333333333333" blue="0.13333333333333333" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="返回" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="f8s-Qw-CdS">
  40. <rect key="frame" x="251" y="20" width="24" height="17"/>
  41. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  42. <color key="textColor" red="0.62352941176470589" green="0.62352941176470589" blue="0.62352941176470589" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  43. <nil key="highlightedColor"/>
  44. </label>
  45. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="seN-Co-WwJ">
  46. <rect key="frame" x="13" y="181" width="274" height="40"/>
  47. <constraints>
  48. <constraint firstAttribute="height" constant="40" id="CQn-DD-ZgT"/>
  49. </constraints>
  50. <state key="normal" title="保存">
  51. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  52. </state>
  53. <connections>
  54. <action selector="saveAction:" destination="-1" eventType="touchUpInside" id="Drc-Uo-tJT"/>
  55. </connections>
  56. </button>
  57. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="uKh-3V-Qmf">
  58. <rect key="frame" x="25" y="100" width="250" height="50"/>
  59. <subviews>
  60. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="center" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="E6r-Lz-gYo">
  61. <rect key="frame" x="10" y="16.5" width="230" height="17"/>
  62. <nil key="textColor"/>
  63. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  64. <textInputTraits key="textInputTraits"/>
  65. </textField>
  66. </subviews>
  67. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. <constraints>
  69. <constraint firstAttribute="height" constant="50" id="7zp-aA-gti"/>
  70. <constraint firstAttribute="trailing" secondItem="E6r-Lz-gYo" secondAttribute="trailing" constant="10" id="Cye-5U-FTH"/>
  71. <constraint firstItem="E6r-Lz-gYo" firstAttribute="centerY" secondItem="uKh-3V-Qmf" secondAttribute="centerY" id="HiC-K5-sE7"/>
  72. <constraint firstItem="E6r-Lz-gYo" firstAttribute="leading" secondItem="uKh-3V-Qmf" secondAttribute="leading" constant="10" id="eFe-YO-Q7p"/>
  73. </constraints>
  74. </view>
  75. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请输入设备名称" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="XHN-uf-T2T">
  76. <rect key="frame" x="25" y="55" width="84" height="17"/>
  77. <fontDescription key="fontDescription" name="PingFangSC-Regular" family="PingFang SC" pointSize="12"/>
  78. <nil key="textColor"/>
  79. <nil key="highlightedColor"/>
  80. </label>
  81. </subviews>
  82. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. <constraints>
  84. <constraint firstItem="FwJ-QX-Mhx" firstAttribute="top" secondItem="tOb-RS-lVw" secondAttribute="top" constant="20" id="2IV-oR-vby"/>
  85. <constraint firstItem="uKh-3V-Qmf" firstAttribute="leading" secondItem="tOb-RS-lVw" secondAttribute="leading" constant="25" id="BbU-6U-28S"/>
  86. <constraint firstItem="f8s-Qw-CdS" firstAttribute="top" secondItem="tOb-RS-lVw" secondAttribute="top" constant="20" id="Fmq-o5-exg"/>
  87. <constraint firstItem="FwJ-QX-Mhx" firstAttribute="leading" secondItem="tOb-RS-lVw" secondAttribute="leading" constant="25" id="KX8-y4-aSC"/>
  88. <constraint firstAttribute="width" constant="300" id="KxZ-xo-NNk"/>
  89. <constraint firstItem="uKh-3V-Qmf" firstAttribute="top" secondItem="XHN-uf-T2T" secondAttribute="bottom" constant="28" id="U4i-cc-4r6"/>
  90. <constraint firstItem="seN-Co-WwJ" firstAttribute="top" secondItem="uKh-3V-Qmf" secondAttribute="bottom" constant="31" id="UyC-wY-ESZ"/>
  91. <constraint firstAttribute="trailing" secondItem="uKh-3V-Qmf" secondAttribute="trailing" constant="25" id="WVa-dQ-rLU"/>
  92. <constraint firstItem="seN-Co-WwJ" firstAttribute="leading" secondItem="tOb-RS-lVw" secondAttribute="leading" constant="13" id="Z0J-DS-eNO"/>
  93. <constraint firstAttribute="trailing" secondItem="seN-Co-WwJ" secondAttribute="trailing" constant="13" id="dZF-va-hPr"/>
  94. <constraint firstAttribute="height" constant="245" id="l2R-ad-ryX"/>
  95. <constraint firstItem="XHN-uf-T2T" firstAttribute="leading" secondItem="tOb-RS-lVw" secondAttribute="leading" constant="25" id="oKO-wR-06B"/>
  96. <constraint firstAttribute="trailing" secondItem="f8s-Qw-CdS" secondAttribute="trailing" constant="25" id="tot-m1-izw"/>
  97. <constraint firstItem="XHN-uf-T2T" firstAttribute="top" secondItem="FwJ-QX-Mhx" secondAttribute="bottom" constant="8" id="wFO-WX-XeQ"/>
  98. </constraints>
  99. </view>
  100. </subviews>
  101. <color key="backgroundColor" red="0.68627923727035522" green="0.68626612424850464" blue="0.68627506494522095" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  102. <constraints>
  103. <constraint firstItem="tOb-RS-lVw" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="IF4-0X-PmY"/>
  104. <constraint firstItem="tOb-RS-lVw" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" id="ie9-eP-Gnc"/>
  105. </constraints>
  106. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  107. <point key="canvasLocation" x="137.68115942028987" y="118.52678571428571"/>
  108. </view>
  109. </objects>
  110. </document>