IHCountryPicker.xib 6.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="16097" 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="16087"/>
  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="IHCountryPicker" customModule="智能照明" customModuleProvider="target">
  12. <connections>
  13. <outlet property="contentView" destination="HO3-VL-jDH" id="u39-4z-rbd"/>
  14. <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
  15. </connections>
  16. </placeholder>
  17. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  18. <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
  19. <rect key="frame" x="0.0" y="0.0" width="318" height="500"/>
  20. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  21. <subviews>
  22. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="i2A-jC-tWV">
  23. <rect key="frame" x="273" y="23" width="16" height="16"/>
  24. <constraints>
  25. <constraint firstAttribute="width" constant="16" id="GhK-YQ-gwy"/>
  26. <constraint firstAttribute="height" constant="16" id="kcF-I4-Td3"/>
  27. </constraints>
  28. <state key="normal" title="Button" image="ic_quxiao"/>
  29. <connections>
  30. <action selector="close:" destination="-1" eventType="touchUpInside" id="C5N-DU-7TB"/>
  31. </connections>
  32. </button>
  33. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="HO3-VL-jDH">
  34. <rect key="frame" x="0.0" y="60" width="318" height="340"/>
  35. <color key="backgroundColor" systemColor="systemOrangeColor" red="1" green="0.58431372550000005" blue="0.0" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  36. </view>
  37. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="sqt-Gz-nJH">
  38. <rect key="frame" x="20" y="424" width="278" height="40"/>
  39. <color key="backgroundColor" red="0.3411764706" green="0.2470588235" blue="0.58431372550000005" alpha="1" colorSpace="calibratedRGB"/>
  40. <constraints>
  41. <constraint firstAttribute="height" constant="40" id="Glx-EY-VMq"/>
  42. </constraints>
  43. <fontDescription key="fontDescription" name="PingFangSC-Semibold" family="PingFang SC" pointSize="17"/>
  44. <state key="normal" title="保存">
  45. <color key="titleColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  46. </state>
  47. <userDefinedRuntimeAttributes>
  48. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  49. <real key="value" value="5"/>
  50. </userDefinedRuntimeAttribute>
  51. </userDefinedRuntimeAttributes>
  52. <connections>
  53. <action selector="save:" destination="-1" eventType="touchUpInside" id="Kp4-wF-9aP"/>
  54. </connections>
  55. </button>
  56. </subviews>
  57. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  58. <constraints>
  59. <constraint firstItem="HO3-VL-jDH" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="60" id="AWP-tn-05C"/>
  60. <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="i2A-jC-tWV" secondAttribute="trailing" constant="29" id="H49-tk-ugx"/>
  61. <constraint firstAttribute="trailing" secondItem="HO3-VL-jDH" secondAttribute="trailing" id="TPt-9X-TSN"/>
  62. <constraint firstItem="HO3-VL-jDH" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="VGg-Bu-R2j"/>
  63. <constraint firstItem="i2A-jC-tWV" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" constant="23" id="czC-zh-Jda"/>
  64. <constraint firstAttribute="bottom" secondItem="sqt-Gz-nJH" secondAttribute="bottom" constant="36" id="d3U-vM-dKX"/>
  65. <constraint firstAttribute="trailing" secondItem="sqt-Gz-nJH" secondAttribute="trailing" constant="20" id="eFS-5E-sQc"/>
  66. <constraint firstItem="sqt-Gz-nJH" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" constant="20" id="hCv-jM-f9e"/>
  67. <constraint firstAttribute="bottom" secondItem="HO3-VL-jDH" secondAttribute="bottom" constant="100" id="qQZ-qY-ynF"/>
  68. </constraints>
  69. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  70. <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
  71. <point key="canvasLocation" x="59.420289855072468" y="-127.90178571428571"/>
  72. </view>
  73. </objects>
  74. <resources>
  75. <image name="ic_quxiao" width="16" height="16"/>
  76. </resources>
  77. </document>