DatePickerView.xib 7.7 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687
  1. <?xml version="1.0" encoding="UTF-8"?>
  2. <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14113" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES">
  3. <device id="retina4_7" orientation="portrait">
  4. <adaptation id="fullscreen"/>
  5. </device>
  6. <dependencies>
  7. <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14088"/>
  8. <capability name="Safe area layout guides" minToolsVersion="9.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"/>
  13. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  14. <view contentMode="scaleToFill" id="iN0-l3-epB" customClass="DatePickerView" customModule="DemoSwift" customModuleProvider="target">
  15. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  16. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  17. <subviews>
  18. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Zbh-XM-EQl" userLabel="bottomView">
  19. <rect key="frame" x="10" y="667" width="355" height="270"/>
  20. <subviews>
  21. <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="R3v-9H-OxP">
  22. <rect key="frame" x="0.0" y="226" width="355" height="44"/>
  23. <color key="backgroundColor" red="0.0" green="0.47843137250000001" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  24. <constraints>
  25. <constraint firstAttribute="height" constant="44" id="TkW-1l-2a4"/>
  26. </constraints>
  27. <fontDescription key="fontDescription" type="system" pointSize="18"/>
  28. <state key="normal" title="确定"/>
  29. <connections>
  30. <action selector="onSureButtonAction:" destination="iN0-l3-epB" eventType="touchUpInside" id="Fw5-tw-eN7"/>
  31. </connections>
  32. </button>
  33. <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="2018" textAlignment="center" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="DZX-GV-tbR">
  34. <rect key="frame" x="0.0" y="0.0" width="355" height="226"/>
  35. <fontDescription key="fontDescription" type="system" pointSize="110"/>
  36. <color key="textColor" red="0.9137254901960784" green="0.92941176470588238" blue="0.94509803921568625" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
  37. <nil key="highlightedColor"/>
  38. </label>
  39. <pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="vSU-6A-C7g">
  40. <rect key="frame" x="0.0" y="0.0" width="355" height="226"/>
  41. </pickerView>
  42. </subviews>
  43. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  44. <constraints>
  45. <constraint firstItem="DZX-GV-tbR" firstAttribute="leading" secondItem="Zbh-XM-EQl" secondAttribute="leading" id="46a-wQ-vNN"/>
  46. <constraint firstAttribute="trailing" secondItem="vSU-6A-C7g" secondAttribute="trailing" id="CWr-OV-Wza"/>
  47. <constraint firstAttribute="bottom" secondItem="R3v-9H-OxP" secondAttribute="bottom" id="Dmg-44-zMt"/>
  48. <constraint firstItem="DZX-GV-tbR" firstAttribute="top" secondItem="Zbh-XM-EQl" secondAttribute="top" id="ELj-zf-CTm"/>
  49. <constraint firstItem="vSU-6A-C7g" firstAttribute="top" secondItem="Zbh-XM-EQl" secondAttribute="top" id="Qah-dd-TpS"/>
  50. <constraint firstAttribute="height" constant="270" id="UI3-bE-Vtk"/>
  51. <constraint firstAttribute="trailing" secondItem="DZX-GV-tbR" secondAttribute="trailing" id="cMZ-e5-yIs"/>
  52. <constraint firstItem="DZX-GV-tbR" firstAttribute="leading" secondItem="Zbh-XM-EQl" secondAttribute="leading" id="hjp-X7-8QM"/>
  53. <constraint firstItem="DZX-GV-tbR" firstAttribute="top" secondItem="Zbh-XM-EQl" secondAttribute="top" id="iDO-7b-l1x"/>
  54. <constraint firstItem="R3v-9H-OxP" firstAttribute="leading" secondItem="Zbh-XM-EQl" secondAttribute="leading" id="mID-TV-o4r"/>
  55. <constraint firstAttribute="trailing" secondItem="R3v-9H-OxP" secondAttribute="trailing" id="p6Z-Qi-17I"/>
  56. <constraint firstItem="vSU-6A-C7g" firstAttribute="leading" secondItem="Zbh-XM-EQl" secondAttribute="leading" id="pXv-CW-j2k"/>
  57. <constraint firstAttribute="trailing" secondItem="DZX-GV-tbR" secondAttribute="trailing" id="qXS-MY-Kqb"/>
  58. <constraint firstItem="R3v-9H-OxP" firstAttribute="top" secondItem="DZX-GV-tbR" secondAttribute="bottom" id="tnz-g0-A7o"/>
  59. <constraint firstItem="R3v-9H-OxP" firstAttribute="top" secondItem="DZX-GV-tbR" secondAttribute="bottom" id="wbM-b3-vUz"/>
  60. <constraint firstItem="R3v-9H-OxP" firstAttribute="top" secondItem="vSU-6A-C7g" secondAttribute="bottom" id="zq6-CW-xJv"/>
  61. </constraints>
  62. <userDefinedRuntimeAttributes>
  63. <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius">
  64. <integer key="value" value="10"/>
  65. </userDefinedRuntimeAttribute>
  66. <userDefinedRuntimeAttribute type="boolean" keyPath="layer.masksToBounds" value="YES"/>
  67. </userDefinedRuntimeAttributes>
  68. </view>
  69. </subviews>
  70. <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.39891909246575341" colorSpace="custom" customColorSpace="sRGB"/>
  71. <constraints>
  72. <constraint firstItem="Zbh-XM-EQl" firstAttribute="trailing" secondItem="vUN-kp-3ea" secondAttribute="trailing" constant="-10" id="99N-VZ-z5O"/>
  73. <constraint firstItem="Zbh-XM-EQl" firstAttribute="bottom" secondItem="vUN-kp-3ea" secondAttribute="bottom" constant="270" id="9SI-WK-9PN"/>
  74. <constraint firstItem="Zbh-XM-EQl" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" constant="10" id="NoH-yQ-ehr"/>
  75. </constraints>
  76. <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
  77. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  78. <connections>
  79. <outlet property="bottomView" destination="Zbh-XM-EQl" id="HNs-GZ-1UF"/>
  80. <outlet property="bottomViewBottom" destination="9SI-WK-9PN" id="X12-X0-epH"/>
  81. <outlet property="pickerView" destination="vSU-6A-C7g" id="9Pi-cX-oFM"/>
  82. <outlet property="sureButton" destination="R3v-9H-OxP" id="GLO-oX-7QC"/>
  83. <outlet property="yearLabel" destination="DZX-GV-tbR" id="Rz5-PZ-P4y"/>
  84. </connections>
  85. </view>
  86. </objects>
  87. </document>