RDSAddHomeVC.xib 10 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117
  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" 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="21505"/>
  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="RDSAddHomeVC">
  13. <connections>
  14. <outlet property="defaultHomeBtn" destination="zdh-SX-UgO" id="PCa-rr-wJI"/>
  15. <outlet property="nameTF" destination="EhQ-xT-gzN" id="Iqj-2p-WVY"/>
  16. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  17. </connections>
  18. </placeholder>
  19. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  20. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  21. <rect key="frame" x="0.0" y="0.0" width="390" height="844"/>
  22. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  23. <subviews>
  24. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="新建家庭" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="FOx-zR-Eaz">
  25. <rect key="frame" x="30" y="108.66666666666667" width="122" height="36.000000000000014"/>
  26. <fontDescription key="fontDescription" type="boldSystem" pointSize="30"/>
  27. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  28. <nil key="highlightedColor"/>
  29. </label>
  30. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="69u-CW-FRI">
  31. <rect key="frame" x="30" y="174.66666666666666" width="330" height="70"/>
  32. <subviews>
  33. <textField opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="left" contentVerticalAlignment="bottom" placeholder="请为家设置一个名称" textAlignment="natural" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="EhQ-xT-gzN">
  34. <rect key="frame" x="0.0" y="3" width="330" height="59"/>
  35. <color key="textColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  36. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  37. <textInputTraits key="textInputTraits" keyboardType="alphabet"/>
  38. </textField>
  39. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="YiQ-Em-6rQ">
  40. <rect key="frame" x="0.0" y="69" width="330" height="1"/>
  41. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.095756278129999997" colorSpace="custom" customColorSpace="calibratedRGB"/>
  42. <constraints>
  43. <constraint firstAttribute="height" constant="1" id="nO7-Ly-aiL"/>
  44. </constraints>
  45. <fontDescription key="fontDescription" type="system" pointSize="17"/>
  46. <nil key="textColor"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. </subviews>
  50. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  51. <constraints>
  52. <constraint firstItem="YiQ-Em-6rQ" firstAttribute="leading" secondItem="69u-CW-FRI" secondAttribute="leading" id="0uY-ne-RCg"/>
  53. <constraint firstAttribute="bottom" secondItem="YiQ-Em-6rQ" secondAttribute="bottom" id="93m-1V-7mV"/>
  54. <constraint firstItem="EhQ-xT-gzN" firstAttribute="top" secondItem="69u-CW-FRI" secondAttribute="top" constant="3" id="E0v-Wk-3ZI"/>
  55. <constraint firstAttribute="bottom" secondItem="EhQ-xT-gzN" secondAttribute="bottom" constant="8" id="EYA-Ic-7d0"/>
  56. <constraint firstAttribute="trailing" secondItem="YiQ-Em-6rQ" secondAttribute="trailing" id="J6q-fQ-W7b"/>
  57. <constraint firstItem="EhQ-xT-gzN" firstAttribute="centerX" secondItem="69u-CW-FRI" secondAttribute="centerX" id="O1z-hz-kTh"/>
  58. <constraint firstItem="EhQ-xT-gzN" firstAttribute="leading" secondItem="69u-CW-FRI" secondAttribute="leading" id="ljI-2K-1gv"/>
  59. <constraint firstAttribute="height" constant="70" id="rVw-C2-Wyp"/>
  60. </constraints>
  61. </view>
  62. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="zdh-SX-UgO">
  63. <rect key="frame" x="30" y="274.66666666666669" width="119" height="20"/>
  64. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="14"/>
  65. <inset key="imageEdgeInsets" minX="0.0" minY="0.0" maxX="2.2250738585072014e-308" maxY="0.0"/>
  66. <state key="normal" title=" 设置为默认的家" image="icon_check">
  67. <color key="titleColor" red="0.1529411765" green="0.18039215689999999" blue="0.23137254900000001" alpha="1" colorSpace="calibratedRGB"/>
  68. </state>
  69. <state key="selected" image="icon_check_sel"/>
  70. <connections>
  71. <action selector="onDefaultHomeClick:" destination="-1" eventType="touchUpInside" id="Jzh-6n-GIQ"/>
  72. </connections>
  73. </button>
  74. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Dar-ZY-SVe">
  75. <rect key="frame" x="40" y="379.66666666666669" width="310" height="48"/>
  76. <color key="backgroundColor" red="0.078431372550000003" green="0.78823529410000004" blue="0.78823529410000004" alpha="1" colorSpace="calibratedRGB"/>
  77. <constraints>
  78. <constraint firstAttribute="height" constant="48" id="JeE-EQ-nhv"/>
  79. </constraints>
  80. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  81. <state key="normal" title="确认">
  82. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  83. </state>
  84. <userDefinedRuntimeAttributes>
  85. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="8"/>
  86. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  87. </userDefinedRuntimeAttributes>
  88. <connections>
  89. <action selector="onSureClick:" destination="-1" eventType="touchUpInside" id="gaq-NZ-R9S"/>
  90. </connections>
  91. </button>
  92. </subviews>
  93. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  94. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  95. <constraints>
  96. <constraint firstItem="69u-CW-FRI" firstAttribute="top" secondItem="FOx-zR-Eaz" secondAttribute="bottom" constant="30" id="Dts-pT-G67"/>
  97. <constraint firstItem="zdh-SX-UgO" firstAttribute="top" secondItem="69u-CW-FRI" secondAttribute="bottom" constant="30" id="KX7-VO-T2I"/>
  98. <constraint firstItem="Dar-ZY-SVe" firstAttribute="top" secondItem="zdh-SX-UgO" secondAttribute="bottom" constant="85" id="Krv-bC-wRE"/>
  99. <constraint firstItem="FOx-zR-Eaz" firstAttribute="centerY" secondItem="i5M-Pr-FkT" secondAttribute="centerY" multiplier="0.3" id="SRR-qV-08A"/>
  100. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="69u-CW-FRI" secondAttribute="trailing" constant="30" id="Sto-ZI-6PF"/>
  101. <constraint firstItem="Dar-ZY-SVe" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="40" id="bzO-Cd-n2A"/>
  102. <constraint firstItem="zdh-SX-UgO" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="30" id="fXH-yK-dRx"/>
  103. <constraint firstItem="FOx-zR-Eaz" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="30" id="hxi-Ao-j57"/>
  104. <constraint firstItem="69u-CW-FRI" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="30" id="oxe-NZ-65P"/>
  105. <constraint firstItem="Dar-ZY-SVe" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="qPH-sY-leK"/>
  106. </constraints>
  107. <point key="canvasLocation" x="140" y="-1"/>
  108. </view>
  109. </objects>
  110. <resources>
  111. <image name="icon_check" width="16" height="16"/>
  112. <image name="icon_check_sel" width="16" height="16"/>
  113. <systemColor name="systemBackgroundColor">
  114. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  115. </systemColor>
  116. </resources>
  117. </document>