GeographicPickView.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="17701" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina6_1" orientation="portrait" appearance="light"/>
  4. <dependencies>
  5. <deployment identifier="iOS"/>
  6. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
  7. <capability name="Safe area layout guides" minToolsVersion="9.0"/>
  8. <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
  9. </dependencies>
  10. <objects>
  11. <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="GeographicPickView" customModule="BPML" customModuleProvider="target">
  12. <connections>
  13. <outlet property="all" destination="LTz-3H-NHQ" id="2pv-aZ-OfJ"/>
  14. <outlet property="cancel" destination="YP2-7e-ixY" id="SM9-bF-fyq"/>
  15. <outlet property="pickView" destination="RR6-Rl-sCp" id="3QN-SS-G3M"/>
  16. <outlet property="reault" destination="MST-Jp-rcz" id="VBz-04-PZP"/>
  17. <outlet property="sure" destination="f4K-ea-HEA" id="WNn-4F-WIt"/>
  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="414" height="896"/>
  24. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  25. <subviews>
  26. <view alpha="0.5" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="lAK-3d-uPf">
  27. <rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
  28. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  29. <gestureRecognizers/>
  30. <connections>
  31. <outletCollection property="gestureRecognizers" destination="CxS-0E-cP6" appends="YES" id="83J-Hs-CQ8"/>
  32. </connections>
  33. </view>
  34. <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="TwO-40-noe">
  35. <rect key="frame" x="0.0" y="632" width="414" height="264"/>
  36. <subviews>
  37. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="GU5-wx-4oB">
  38. <rect key="frame" x="0.0" y="0.0" width="414" height="44"/>
  39. <subviews>
  40. <stackView opaque="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CuF-0U-9Uh">
  41. <rect key="frame" x="10" y="0.0" width="394" height="44"/>
  42. <subviews>
  43. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="YP2-7e-ixY">
  44. <rect key="frame" x="0.0" y="0.0" width="100" height="44"/>
  45. <constraints>
  46. <constraint firstAttribute="width" constant="100" id="uoI-fD-Xfb"/>
  47. </constraints>
  48. <state key="normal" title="取消">
  49. <color key="titleColor" red="0.76470588235294112" green="0.63137254901960782" blue="0.42745098039215684" alpha="1" colorSpace="calibratedRGB"/>
  50. </state>
  51. <connections>
  52. <action selector="onButtonPressed:" destination="-1" eventType="touchUpInside" id="Y65-Bs-ZFk"/>
  53. </connections>
  54. </button>
  55. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="--" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="MST-Jp-rcz">
  56. <rect key="frame" x="100" y="0.0" width="194" height="44"/>
  57. <fontDescription key="fontDescription" type="system" pointSize="15"/>
  58. <color key="textColor" red="0.20784313725490194" green="0.17254901960784313" blue="0.12549019607843137" alpha="1" colorSpace="calibratedRGB"/>
  59. <nil key="highlightedColor"/>
  60. </label>
  61. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="LTz-3H-NHQ">
  62. <rect key="frame" x="294" y="0.0" width="50" height="44"/>
  63. <constraints>
  64. <constraint firstAttribute="width" constant="50" id="BTw-NL-2bK"/>
  65. </constraints>
  66. <state key="normal" title="全部">
  67. <color key="titleColor" red="1" green="0.36078431370000003" blue="0.43529411759999997" alpha="1" colorSpace="custom" customColorSpace="calibratedRGB"/>
  68. </state>
  69. <connections>
  70. <action selector="onButtonPressed:" destination="-1" eventType="touchUpInside" id="pcj-IX-hAl"/>
  71. </connections>
  72. </button>
  73. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="f4K-ea-HEA">
  74. <rect key="frame" x="344" y="0.0" width="50" height="44"/>
  75. <constraints>
  76. <constraint firstAttribute="width" constant="50" id="dWN-6S-EGh"/>
  77. </constraints>
  78. <state key="normal" title="确定">
  79. <color key="titleColor" red="0.76470588235294112" green="0.63137254901960782" blue="0.42745098039215684" alpha="1" colorSpace="calibratedRGB"/>
  80. </state>
  81. <connections>
  82. <action selector="onButtonPressed:" destination="-1" eventType="touchUpInside" id="veM-Za-I6S"/>
  83. </connections>
  84. </button>
  85. </subviews>
  86. <constraints>
  87. <constraint firstAttribute="height" constant="44" id="zvV-w6-qDl"/>
  88. </constraints>
  89. </stackView>
  90. </subviews>
  91. <color key="backgroundColor" red="0.91764705882352937" green="0.91764705882352937" blue="0.91764705882352937" alpha="1" colorSpace="calibratedRGB"/>
  92. <constraints>
  93. <constraint firstAttribute="bottom" secondItem="CuF-0U-9Uh" secondAttribute="bottom" id="flO-eF-dvN"/>
  94. <constraint firstItem="CuF-0U-9Uh" firstAttribute="leading" secondItem="GU5-wx-4oB" secondAttribute="leading" constant="10" id="utD-CL-Gcb"/>
  95. <constraint firstItem="CuF-0U-9Uh" firstAttribute="top" secondItem="GU5-wx-4oB" secondAttribute="top" id="vig-ai-pqT"/>
  96. <constraint firstAttribute="trailing" secondItem="CuF-0U-9Uh" secondAttribute="trailing" constant="10" id="vqG-dy-MYF"/>
  97. </constraints>
  98. </view>
  99. <pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="RR6-Rl-sCp">
  100. <rect key="frame" x="0.0" y="44" width="414" height="220"/>
  101. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  102. <constraints>
  103. <constraint firstAttribute="height" constant="220" id="AZC-1w-DrK"/>
  104. </constraints>
  105. <connections>
  106. <outlet property="dataSource" destination="-1" id="RXL-21-PLo"/>
  107. <outlet property="delegate" destination="-1" id="KaS-He-OuI"/>
  108. </connections>
  109. </pickerView>
  110. </subviews>
  111. </stackView>
  112. </subviews>
  113. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  114. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  115. <constraints>
  116. <constraint firstAttribute="trailing" secondItem="lAK-3d-uPf" secondAttribute="trailing" id="3dh-zH-bbs"/>
  117. <constraint firstAttribute="bottom" secondItem="lAK-3d-uPf" secondAttribute="bottom" id="8NV-1L-LgT"/>
  118. <constraint firstItem="lAK-3d-uPf" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="Uxe-uZ-qXh"/>
  119. <constraint firstItem="TwO-40-noe" firstAttribute="bottom" secondItem="lAK-3d-uPf" secondAttribute="bottom" id="Y18-oY-KDp"/>
  120. <constraint firstItem="lAK-3d-uPf" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="ajF-IB-W3I"/>
  121. <constraint firstItem="TwO-40-noe" firstAttribute="leading" secondItem="lAK-3d-uPf" secondAttribute="leading" id="kGg-BY-3HC"/>
  122. <constraint firstItem="TwO-40-noe" firstAttribute="trailing" secondItem="lAK-3d-uPf" secondAttribute="trailing" id="tmq-MH-kO9"/>
  123. </constraints>
  124. <point key="canvasLocation" x="141" y="127"/>
  125. </view>
  126. <tapGestureRecognizer id="CxS-0E-cP6">
  127. <connections>
  128. <action selector="onTapGestureRecognizer:" destination="-1" id="0Af-N2-j7r"/>
  129. </connections>
  130. </tapGestureRecognizer>
  131. </objects>
  132. </document>