YXAddressViewController.xib 13 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137
  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_12" 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="YXAddressViewController">
  13. <connections>
  14. <outlet property="addressBgView" destination="qK7-ey-2eF" id="KcF-Eo-QcT"/>
  15. <outlet property="addressTextField" destination="BFe-AU-eM4" id="D2t-5d-XVo"/>
  16. <outlet property="cityBgView" destination="rhU-P4-qEB" id="53R-5m-lC0"/>
  17. <outlet property="cityLabel" destination="5fB-dO-9UD" id="rhZ-mC-SFs"/>
  18. <outlet property="sureBtn" destination="Ftt-hV-5yS" id="q8k-In-5td"/>
  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="393" height="852"/>
  25. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  26. <subviews>
  27. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="rhU-P4-qEB">
  28. <rect key="frame" x="0.0" y="89" width="393" height="60"/>
  29. <subviews>
  30. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="所在区域" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="8hI-c1-B0i">
  31. <rect key="frame" x="23.000000000000004" y="21" width="61.333333333333343" height="18"/>
  32. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  33. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  34. <nil key="highlightedColor"/>
  35. </label>
  36. <imageView clipsSubviews="YES" userInteractionEnabled="NO" alpha="0.5" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="icon_go" translatesAutoresizingMaskIntoConstraints="NO" id="jPS-NU-hD6">
  37. <rect key="frame" x="370" y="23" width="8" height="14"/>
  38. <constraints>
  39. <constraint firstAttribute="height" constant="14" id="Z9J-Lf-T4t"/>
  40. <constraint firstAttribute="width" constant="8" id="puC-FB-Wo6"/>
  41. </constraints>
  42. </imageView>
  43. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请选择" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5fB-dO-9UD">
  44. <rect key="frame" x="319" y="21" width="46" height="18"/>
  45. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  46. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="calibratedRGB"/>
  47. <nil key="highlightedColor"/>
  48. </label>
  49. </subviews>
  50. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  51. <constraints>
  52. <constraint firstItem="jPS-NU-hD6" firstAttribute="leading" secondItem="5fB-dO-9UD" secondAttribute="trailing" constant="5" id="INZ-bP-buU"/>
  53. <constraint firstAttribute="trailing" secondItem="jPS-NU-hD6" secondAttribute="trailing" constant="15" id="N0g-VP-Dzt"/>
  54. <constraint firstItem="8hI-c1-B0i" firstAttribute="leading" secondItem="rhU-P4-qEB" secondAttribute="leading" constant="23" id="P47-FZ-Wlo"/>
  55. <constraint firstAttribute="height" constant="60" id="ZQv-r3-lWZ"/>
  56. <constraint firstItem="8hI-c1-B0i" firstAttribute="centerY" secondItem="rhU-P4-qEB" secondAttribute="centerY" id="fcz-kx-GCc"/>
  57. <constraint firstItem="5fB-dO-9UD" firstAttribute="centerY" secondItem="rhU-P4-qEB" secondAttribute="centerY" id="tQo-cb-vJe"/>
  58. <constraint firstItem="jPS-NU-hD6" firstAttribute="centerY" secondItem="rhU-P4-qEB" secondAttribute="centerY" id="wto-PS-zCE"/>
  59. </constraints>
  60. <userDefinedRuntimeAttributes>
  61. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="8"/>
  62. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  63. </userDefinedRuntimeAttributes>
  64. </view>
  65. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="qK7-ey-2eF">
  66. <rect key="frame" x="0.0" y="169" width="393" height="60"/>
  67. <subviews>
  68. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="详细地址" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="hpq-22-5yB">
  69. <rect key="frame" x="23.000000000000004" y="21" width="61.333333333333343" height="18"/>
  70. <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
  71. <color key="textColor" red="0.20000000000000001" green="0.20000000000000001" blue="0.20000000000000001" alpha="1" colorSpace="custom" customColorSpace="displayP3"/>
  72. <nil key="highlightedColor"/>
  73. </label>
  74. <textField opaque="NO" contentMode="scaleToFill" horizontalHuggingPriority="248" contentHorizontalAlignment="left" contentVerticalAlignment="center" placeholder="请输入" textAlignment="right" minimumFontSize="17" translatesAutoresizingMaskIntoConstraints="NO" id="BFe-AU-eM4">
  75. <rect key="frame" x="104.33333333333334" y="15" width="268.66666666666663" height="30"/>
  76. <constraints>
  77. <constraint firstAttribute="height" constant="30" id="LoL-gl-Jip"/>
  78. </constraints>
  79. <color key="textColor" red="0.59999999999999998" green="0.59999999999999998" blue="0.59999999999999998" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  80. <fontDescription key="fontDescription" type="system" pointSize="14"/>
  81. <textInputTraits key="textInputTraits"/>
  82. </textField>
  83. </subviews>
  84. <color key="backgroundColor" systemColor="systemBackgroundColor"/>
  85. <constraints>
  86. <constraint firstItem="BFe-AU-eM4" firstAttribute="centerY" secondItem="qK7-ey-2eF" secondAttribute="centerY" id="2HC-Ne-v7R"/>
  87. <constraint firstItem="hpq-22-5yB" firstAttribute="leading" secondItem="qK7-ey-2eF" secondAttribute="leading" constant="23" id="8uC-1a-sww"/>
  88. <constraint firstItem="hpq-22-5yB" firstAttribute="centerY" secondItem="qK7-ey-2eF" secondAttribute="centerY" id="94q-dw-5Fg"/>
  89. <constraint firstAttribute="height" constant="60" id="DwB-km-CdX"/>
  90. <constraint firstAttribute="trailing" secondItem="BFe-AU-eM4" secondAttribute="trailing" constant="20" id="EvQ-pO-6pw"/>
  91. <constraint firstItem="BFe-AU-eM4" firstAttribute="leading" secondItem="hpq-22-5yB" secondAttribute="trailing" constant="20" id="IDH-Si-QYP"/>
  92. </constraints>
  93. <userDefinedRuntimeAttributes>
  94. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="8"/>
  95. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  96. </userDefinedRuntimeAttributes>
  97. </view>
  98. <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="Ftt-hV-5yS">
  99. <rect key="frame" x="40" y="723" width="313" height="45"/>
  100. <color key="backgroundColor" red="0.14901960780000001" green="0.47843137250000001" blue="1" alpha="1" colorSpace="calibratedRGB"/>
  101. <constraints>
  102. <constraint firstAttribute="height" constant="45" id="e9G-lQ-vEM"/>
  103. </constraints>
  104. <fontDescription key="fontDescription" type="boldSystem" pointSize="16"/>
  105. <state key="normal" title="确定">
  106. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  107. </state>
  108. <userDefinedRuntimeAttributes>
  109. <userDefinedRuntimeAttribute type="string" keyPath="layer.cornerRadius" value="22.5"/>
  110. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  111. </userDefinedRuntimeAttributes>
  112. </button>
  113. </subviews>
  114. <viewLayoutGuide key="safeArea" id="Q5M-cg-NOt"/>
  115. <color key="backgroundColor" red="0.97647058823529409" green="0.97647058823529409" blue="0.97647058823529409" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  116. <constraints>
  117. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="Ftt-hV-5yS" secondAttribute="trailing" constant="40" id="DxL-38-Epc"/>
  118. <constraint firstItem="qK7-ey-2eF" firstAttribute="top" secondItem="rhU-P4-qEB" secondAttribute="bottom" constant="20" id="HI3-8d-NJm"/>
  119. <constraint firstItem="Q5M-cg-NOt" firstAttribute="trailing" secondItem="rhU-P4-qEB" secondAttribute="trailing" id="J8i-pW-8hl"/>
  120. <constraint firstItem="qK7-ey-2eF" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" id="KQf-bm-TGc"/>
  121. <constraint firstItem="Ftt-hV-5yS" firstAttribute="centerX" secondItem="i5M-Pr-FkT" secondAttribute="centerX" id="SSw-vd-k8l"/>
  122. <constraint firstItem="Ftt-hV-5yS" firstAttribute="leading" secondItem="Q5M-cg-NOt" secondAttribute="leading" constant="40" id="lLx-c7-F0B"/>
  123. <constraint firstItem="qK7-ey-2eF" firstAttribute="trailing" secondItem="Q5M-cg-NOt" secondAttribute="trailing" id="lPE-oC-Bzl"/>
  124. <constraint firstItem="Q5M-cg-NOt" firstAttribute="bottom" secondItem="Ftt-hV-5yS" secondAttribute="bottom" constant="50" id="ofj-2s-ucW"/>
  125. <constraint firstItem="rhU-P4-qEB" firstAttribute="top" secondItem="Q5M-cg-NOt" secondAttribute="top" constant="30" id="xDk-D5-W5F"/>
  126. <constraint firstItem="rhU-P4-qEB" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="zwb-2Q-fDo"/>
  127. </constraints>
  128. <point key="canvasLocation" x="6" y="21"/>
  129. </view>
  130. </objects>
  131. <resources>
  132. <image name="icon_go" width="7.6666665077209473" height="14"/>
  133. <systemColor name="systemBackgroundColor">
  134. <color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  135. </systemColor>
  136. </resources>
  137. </document>