RDSAddRoomVC.xib 18 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="22505" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_0" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="22504"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="System colors in document resources" minToolsVersion="11.0"/>
  9. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  10. </dependencies>
  11. <objects>
  12. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="RDSAddRoomVC">
  13. <connections>
  14. <outlet property="deviceIDTF" destination="r96-Xm-Hnh" id="tXc-47-D4Q"/>
  15. <outlet property="homeNameLab" destination="5qP-k7-oW7" id="usF-jt-KPD"/>
  16. <outlet property="roomNameTF" destination="sDr-9O-ohW" id="LWp-fM-no3"/>
  17. <outlet property="scanDeviceName" destination="nou-NF-lGc" id="sOh-Zc-2LT"/>
  18. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  19. </connections>
  20. </placeholder>
  21. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  22. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  23. <rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
  24. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25. <subviews>
  26. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="JgY-fI-Msh">
  27. <rect key="frame" x="39" y="707" width="312" height="48"/>
  28. <color key="backgroundColor" red="0.078431372550000003" green="0.78823529410000004" blue="0.78823529410000004" alpha="1" colorSpace="calibratedRGB"/>
  29. <constraints>
  30. <constraint firstAttribute="height" constant="48" id="OHF-n3-DaO"/>
  31. <constraint firstAttribute="width" constant="312" id="s0C-JJ-zDA"/>
  32. </constraints>
  33. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  34. <state key="normal" title="下一步">
  35. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  36. </state>
  37. <userDefinedRuntimeAttributes>
  38. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="14"/>
  39. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  40. </userDefinedRuntimeAttributes>
  41. <connections>
  42. <action selector="onNextBtnClick" destination="-1" eventType="touchUpInside" id="f3s-ro-KI7"/>
  43. </connections>
  44. </button>
  45. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="n6u-nP-NxE">
  46. <rect key="frame" x="20" y="52" width="350" height="210"/>
  47. <subviews>
  48. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="hGD-Xo-TnU">
  49. <rect key="frame" x="0.0" y="0.0" width="350" height="70"/>
  50. <subviews>
  51. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uv2-JZ-Q6W">
  52. <rect key="frame" x="0.0" y="69" width="350" height="1"/>
  53. <color key="backgroundColor" systemColor="systemGray3Color"/>
  54. <constraints>
  55. <constraint firstAttribute="height" constant="1" id="EBh-Z5-f5e"/>
  56. </constraints>
  57. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  58. <nil key="textColor"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="我的家" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5qP-k7-oW7">
  62. <rect key="frame" x="1" y="41.666666666666671" width="49" height="19.333333333333329"/>
  63. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  64. <color key="textColor" red="0.15294117647058825" green="0.1803921568627451" blue="0.23137254901960785" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  65. <color key="highlightedColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  66. </label>
  67. </subviews>
  68. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  69. <constraints>
  70. <constraint firstAttribute="trailing" secondItem="uv2-JZ-Q6W" secondAttribute="trailing" id="CFl-uD-FP4"/>
  71. <constraint firstItem="5qP-k7-oW7" firstAttribute="leading" secondItem="hGD-Xo-TnU" secondAttribute="leading" constant="1" id="Jrc-qJ-s8r"/>
  72. <constraint firstAttribute="bottom" secondItem="uv2-JZ-Q6W" secondAttribute="bottom" id="hXU-M2-IJh"/>
  73. <constraint firstItem="uv2-JZ-Q6W" firstAttribute="leading" secondItem="hGD-Xo-TnU" secondAttribute="leading" id="qX0-UP-BsB"/>
  74. <constraint firstAttribute="height" constant="70" id="tHf-JP-TCf"/>
  75. <constraint firstItem="uv2-JZ-Q6W" firstAttribute="top" secondItem="5qP-k7-oW7" secondAttribute="bottom" constant="8" id="vdd-dr-2a6"/>
  76. </constraints>
  77. </view>
  78. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rGX-O7-jsd">
  79. <rect key="frame" x="0.0" y="70" width="350" height="70"/>
  80. <subviews>
  81. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="l0H-Ke-IrN">
  82. <rect key="frame" x="0.0" y="69" width="350" height="1"/>
  83. <color key="backgroundColor" systemColor="systemGray3Color"/>
  84. <constraints>
  85. <constraint firstAttribute="height" constant="1" id="fXO-fK-qIY"/>
  86. </constraints>
  87. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  88. <nil key="textColor"/>
  89. <nil key="highlightedColor"/>
  90. </label>
  91. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="bottom" placeholder="输入房间名称" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="sDr-9O-ohW">
  92. <rect key="frame" x="1" y="20" width="329" height="41"/>
  93. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  94. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  95. <textInputTraits key="textInputTraits"/>
  96. </textField>
  97. </subviews>
  98. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  99. <constraints>
  100. <constraint firstAttribute="bottom" secondItem="l0H-Ke-IrN" secondAttribute="bottom" id="5PL-YD-Dbn"/>
  101. <constraint firstItem="sDr-9O-ohW" firstAttribute="leading" secondItem="rGX-O7-jsd" secondAttribute="leading" constant="1" id="JUa-GV-L8x"/>
  102. <constraint firstItem="sDr-9O-ohW" firstAttribute="top" secondItem="rGX-O7-jsd" secondAttribute="top" constant="20" id="K64-GB-OCB"/>
  103. <constraint firstItem="l0H-Ke-IrN" firstAttribute="top" secondItem="sDr-9O-ohW" secondAttribute="bottom" constant="8" id="bnS-DZ-eI8"/>
  104. <constraint firstAttribute="height" constant="70" id="fHF-XQ-KTG"/>
  105. <constraint firstItem="l0H-Ke-IrN" firstAttribute="leading" secondItem="rGX-O7-jsd" secondAttribute="leading" id="gZc-g7-IPL"/>
  106. <constraint firstAttribute="trailing" secondItem="l0H-Ke-IrN" secondAttribute="trailing" id="h11-Vf-yaD"/>
  107. <constraint firstAttribute="trailing" secondItem="sDr-9O-ohW" secondAttribute="trailing" constant="20" id="xVF-i3-F4T"/>
  108. </constraints>
  109. </view>
  110. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="nou-NF-lGc">
  111. <rect key="frame" x="0.0" y="140" width="350" height="70"/>
  112. <subviews>
  113. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DRk-IG-zHL">
  114. <rect key="frame" x="0.0" y="69" width="350" height="1"/>
  115. <color key="backgroundColor" systemColor="systemGray3Color"/>
  116. <constraints>
  117. <constraint firstAttribute="height" constant="1" id="SWE-0x-22k"/>
  118. </constraints>
  119. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  120. <nil key="textColor"/>
  121. <nil key="highlightedColor"/>
  122. </label>
  123. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="bottom" placeholder="输入控制面板编号" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="r96-Xm-Hnh">
  124. <rect key="frame" x="1" y="20" width="264" height="41"/>
  125. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  126. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  127. <textInputTraits key="textInputTraits"/>
  128. </textField>
  129. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Wqu-7G-Kjm">
  130. <rect key="frame" x="305" y="30" width="40" height="40"/>
  131. <constraints>
  132. <constraint firstAttribute="width" constant="40" id="8hc-AD-wKe"/>
  133. <constraint firstAttribute="height" constant="40" id="jM0-ow-C67"/>
  134. </constraints>
  135. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  136. <state key="normal" title="" image="icon_scan"/>
  137. <connections>
  138. <action selector="onScanBtnClick" destination="-1" eventType="touchUpInside" id="NoX-Ci-x8y"/>
  139. </connections>
  140. </button>
  141. </subviews>
  142. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  143. <constraints>
  144. <constraint firstItem="r96-Xm-Hnh" firstAttribute="leading" secondItem="nou-NF-lGc" secondAttribute="leading" constant="1" id="7vz-io-hgR"/>
  145. <constraint firstItem="Wqu-7G-Kjm" firstAttribute="leading" secondItem="r96-Xm-Hnh" secondAttribute="trailing" constant="40" id="DqD-gX-ad1"/>
  146. <constraint firstItem="r96-Xm-Hnh" firstAttribute="top" secondItem="nou-NF-lGc" secondAttribute="top" constant="20" id="EDg-FJ-4Wd"/>
  147. <constraint firstAttribute="bottom" secondItem="Wqu-7G-Kjm" secondAttribute="bottom" id="J0W-3b-y8p"/>
  148. <constraint firstItem="DRk-IG-zHL" firstAttribute="leading" secondItem="nou-NF-lGc" secondAttribute="leading" id="SST-tu-ZXW"/>
  149. <constraint firstAttribute="trailing" secondItem="DRk-IG-zHL" secondAttribute="trailing" id="jaO-eo-QYf"/>
  150. <constraint firstAttribute="height" constant="70" id="me6-hM-jLS"/>
  151. <constraint firstItem="DRk-IG-zHL" firstAttribute="top" secondItem="r96-Xm-Hnh" secondAttribute="bottom" constant="8" id="uyk-dR-HOS"/>
  152. <constraint firstAttribute="bottom" secondItem="DRk-IG-zHL" secondAttribute="bottom" id="yZn-pA-NvK"/>
  153. <constraint firstAttribute="trailing" secondItem="Wqu-7G-Kjm" secondAttribute="trailing" constant="5" id="yyF-Tb-re8"/>
  154. </constraints>
  155. </view>
  156. </subviews>
  157. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  158. <constraints>
  159. <constraint firstAttribute="trailing" secondItem="hGD-Xo-TnU" secondAttribute="trailing" id="C3D-96-KXM"/>
  160. <constraint firstItem="hGD-Xo-TnU" firstAttribute="leading" secondItem="n6u-nP-NxE" secondAttribute="leading" id="Y7D-mf-g5q"/>
  161. <constraint firstItem="hGD-Xo-TnU" firstAttribute="top" secondItem="n6u-nP-NxE" secondAttribute="top" id="xsA-v7-3VT"/>
  162. </constraints>
  163. </stackView>
  164. </subviews>
  165. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  166. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  167. <constraints>
  168. <constraint firstItem="n6u-nP-NxE" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="5" id="Owt-GL-O37"/>
  169. <constraint firstItem="Q5M-cg-NOt" firstAttribute="bottom" secondItem="JgY-fI-Msh" secondAttribute="bottom" constant="55" id="cue-pZ-eJh"/>
  170. <constraint firstItem="n6u-nP-NxE" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="20" id="daq-Yk-BIb"/>
  171. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="n6u-nP-NxE" secondAttribute="trailing" constant="20" id="fab-UH-854"/>
  172. <constraint firstItem="JgY-fI-Msh" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="wLJ-9f-uaJ"/>
  173. </constraints>
  174. <point key="canvasLocation" x="7.6923076923076916" y="-1.4218009478672986"/>
  175. </view>
  176. </objects>
  177. <resources>
  178. <image name="icon_scan" width="20" height="18.666666030883789"/>
  179. <systemColor name="systemBackgroundColor">
  180. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  181. </systemColor>
  182. <systemColor name="systemGray3Color">
  183. <color red="0.78039215689999997" green="0.78039215689999997" blue="0.80000000000000004" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  184. </systemColor>
  185. </resources>
  186. </document>