RDSAddView.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="21507" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES">
  3. <device id="retina6_12" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="21505"/>
  7. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  8. </dependencies>
  9. <objects>
  10. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/>
  11. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  12. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="RDSAddView">
  13. <rect key="frame" x="0.0" y="0.0" width="393" height="100"/>
  14. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  15. <subviews>
  16. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="QlE-M9-X00">
  17. <rect key="frame" x="0.0" y="0.0" width="393" height="100"/>
  18. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  19. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  20. <connections>
  21. <action selector="onOutsideClick:" destination="iN0-l3-epB" eventType="touchUpInside" id="Wy6-58-Cbz"/>
  22. </connections>
  23. </button>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="0nZ-Cu-17k">
  25. <rect key="frame" x="95" y="21" width="203" height="56"/>
  26. <subviews>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="oFE-KT-plI">
  28. <rect key="frame" x="0.0" y="0.0" width="101.66666666666667" height="56"/>
  29. <subviews>
  30. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="CKJ-ld-WdW">
  31. <rect key="frame" x="0.0" y="0.0" width="101.66666666666667" height="56"/>
  32. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  33. <inset key="titleEdgeInsets" minX="15" minY="0.0" maxX="0.0" maxY="0.0"/>
  34. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  35. <state key="normal" title="房间" image="icon_room_1">
  36. <color key="titleColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  37. </state>
  38. <connections>
  39. <action selector="onRoomAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="lbM-Hh-phZ"/>
  40. </connections>
  41. </button>
  42. </subviews>
  43. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstItem="CKJ-ld-WdW" firstAttribute="top" secondItem="oFE-KT-plI" secondAttribute="top" id="M9r-Sp-WyT"/>
  46. <constraint firstAttribute="bottom" secondItem="CKJ-ld-WdW" secondAttribute="bottom" id="VaM-ri-MSi"/>
  47. <constraint firstItem="CKJ-ld-WdW" firstAttribute="leading" secondItem="oFE-KT-plI" secondAttribute="leading" id="Zqy-f8-qli"/>
  48. <constraint firstAttribute="trailing" secondItem="CKJ-ld-WdW" secondAttribute="trailing" id="yo2-IW-l05"/>
  49. </constraints>
  50. </view>
  51. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="gkW-kc-e5O">
  52. <rect key="frame" x="101.66666666666666" y="0.0" width="101.33333333333334" height="56"/>
  53. <subviews>
  54. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="UlW-Hn-rEh">
  55. <rect key="frame" x="0.0" y="0.0" width="101.33333333333333" height="56"/>
  56. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  57. <inset key="titleEdgeInsets" minX="5" minY="0.0" maxX="0.0" maxY="0.0"/>
  58. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="15" maxY="0.0"/>
  59. <state key="normal" title="场景" image="icon_scene_1">
  60. <color key="titleColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  61. </state>
  62. <connections>
  63. <action selector="onSceneAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="M85-6E-dT4"/>
  64. </connections>
  65. </button>
  66. </subviews>
  67. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  68. <constraints>
  69. <constraint firstItem="UlW-Hn-rEh" firstAttribute="top" secondItem="gkW-kc-e5O" secondAttribute="top" id="OhR-rd-Mq0"/>
  70. <constraint firstAttribute="bottom" secondItem="UlW-Hn-rEh" secondAttribute="bottom" id="wP2-aF-g8P"/>
  71. <constraint firstAttribute="trailing" secondItem="UlW-Hn-rEh" secondAttribute="trailing" id="xp5-b0-2HO"/>
  72. <constraint firstItem="UlW-Hn-rEh" firstAttribute="leading" secondItem="gkW-kc-e5O" secondAttribute="leading" id="yQ6-hB-Zg3"/>
  73. </constraints>
  74. </view>
  75. </subviews>
  76. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  77. <constraints>
  78. <constraint firstItem="gkW-kc-e5O" firstAttribute="height" secondItem="0nZ-Cu-17k" secondAttribute="height" id="55J-tr-Lhr"/>
  79. <constraint firstItem="oFE-KT-plI" firstAttribute="leading" secondItem="0nZ-Cu-17k" secondAttribute="leading" id="72M-15-b8p"/>
  80. <constraint firstAttribute="bottom" secondItem="oFE-KT-plI" secondAttribute="bottom" id="7JA-5Q-KrH"/>
  81. <constraint firstItem="oFE-KT-plI" firstAttribute="height" secondItem="0nZ-Cu-17k" secondAttribute="height" id="JCu-pP-x6F"/>
  82. <constraint firstAttribute="width" constant="203" id="Sqs-oA-t5j"/>
  83. <constraint firstAttribute="trailing" secondItem="gkW-kc-e5O" secondAttribute="trailing" id="cql-bO-b8e"/>
  84. <constraint firstAttribute="height" constant="56" id="dhN-x7-JQc"/>
  85. <constraint firstItem="oFE-KT-plI" firstAttribute="width" secondItem="0nZ-Cu-17k" secondAttribute="width" multiplier="0.5" id="kYp-nC-ar4"/>
  86. <constraint firstAttribute="bottom" secondItem="gkW-kc-e5O" secondAttribute="bottom" id="nNI-uK-Fme"/>
  87. <constraint firstItem="gkW-kc-e5O" firstAttribute="leading" secondItem="oFE-KT-plI" secondAttribute="trailing" id="ucg-zh-ZrX"/>
  88. </constraints>
  89. <userDefinedRuntimeAttributes>
  90. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="28"/>
  91. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  92. </userDefinedRuntimeAttributes>
  93. </view>
  94. </subviews>
  95. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.29999999999999999" colorSpace="calibratedRGB"/>
  96. <accessibility key="accessibilityConfiguration">
  97. <accessibilityTraits key="traits" notEnabled="YES"/>
  98. </accessibility>
  99. <constraints>
  100. <constraint firstAttribute="bottom" secondItem="QlE-M9-X00" secondAttribute="bottom" id="0Zv-o5-zL4"/>
  101. <constraint firstItem="0nZ-Cu-17k" firstAttribute="centerX" secondItem="iN0-l3-epB" secondAttribute="centerX" id="IZE-TZ-Pc2"/>
  102. <constraint firstItem="QlE-M9-X00" firstAttribute="leading" secondItem="iN0-l3-epB" secondAttribute="leading" id="THr-Vf-kLd"/>
  103. <constraint firstAttribute="trailing" secondItem="QlE-M9-X00" secondAttribute="trailing" id="iGm-dD-LFL"/>
  104. <constraint firstAttribute="bottom" secondItem="0nZ-Cu-17k" secondAttribute="bottom" constant="23" id="on4-fA-R8S"/>
  105. <constraint firstItem="QlE-M9-X00" firstAttribute="top" secondItem="iN0-l3-epB" secondAttribute="top" id="uF1-e8-JnY"/>
  106. </constraints>
  107. <nil key="simulatedBottomBarMetrics"/>
  108. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  109. <point key="canvasLocation" x="139.69465648854961" y="-1.4084507042253522"/>
  110. </view>
  111. </objects>
  112. <resources>
  113. <image name="icon_room_1" width="22" height="22"/>
  114. <image name="icon_scene_1" width="22" height="22"/>
  115. </resources>
  116. </document>