DatePicker.xib 11 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131
  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="retina4_7" 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"/>
  12. <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
  13. <view opaque="NO" contentMode="scaleToFill" id="iN0-l3-epB" customClass="DatePickerPopupView" customModule="BPML" customModuleProvider="target">
  14. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  15. <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
  16. <subviews>
  17. <view opaque="NO" alpha="0.59999999999999998" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="tAV-7F-d4P" userLabel="maskPopupView">
  18. <rect key="frame" x="0.0" y="0.0" width="375" height="667"/>
  19. <color key="backgroundColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  20. </view>
  21. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="2vQ-U3-34I" customClass="AnimatableView" customModule="IBAnimatable">
  22. <rect key="frame" x="0.0" y="667" width="375" height="0.0"/>
  23. <subviews>
  24. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="ozu-Z8-FFa" userLabel="titleView">
  25. <rect key="frame" x="0.0" y="0.0" width="375" height="0.0"/>
  26. <subviews>
  27. <toolbar opaque="NO" clearsContextBeforeDrawing="NO" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6zO-0F-rui">
  28. <rect key="frame" x="0.0" y="0.0" width="375" height="0.0"/>
  29. <items>
  30. <barButtonItem tag="100" title="取消" width="60" id="fCe-bL-3wO">
  31. <connections>
  32. <action selector="buttonOnPressed:" destination="iN0-l3-epB" id="iTz-BC-mvd"/>
  33. </connections>
  34. </barButtonItem>
  35. <barButtonItem tag="100" systemItem="flexibleSpace" id="PYb-GC-4mw">
  36. <connections>
  37. <action selector="buttonOnPressed:" destination="iN0-l3-epB" id="H20-2k-vGU"/>
  38. </connections>
  39. </barButtonItem>
  40. <barButtonItem title="请选择" id="MyH-mq-fM7">
  41. <color key="tintColor" white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  42. </barButtonItem>
  43. <barButtonItem tag="100" systemItem="flexibleSpace" id="G7H-FB-kKU">
  44. <connections>
  45. <action selector="buttonOnPressed:" destination="iN0-l3-epB" id="KTX-TF-yBp"/>
  46. </connections>
  47. </barButtonItem>
  48. <barButtonItem tag="101" title="完成" width="60" id="2Jr-2H-PT6">
  49. <connections>
  50. <action selector="buttonOnPressed:" destination="iN0-l3-epB" id="BXs-HO-3A4"/>
  51. </connections>
  52. </barButtonItem>
  53. </items>
  54. </toolbar>
  55. </subviews>
  56. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  57. <constraints>
  58. <constraint firstAttribute="bottom" secondItem="6zO-0F-rui" secondAttribute="bottom" id="899-CZ-BmU"/>
  59. <constraint firstAttribute="trailing" secondItem="6zO-0F-rui" secondAttribute="trailing" id="R1V-2U-hIG"/>
  60. <constraint firstItem="6zO-0F-rui" firstAttribute="leading" secondItem="ozu-Z8-FFa" secondAttribute="leading" id="bpU-Lr-vj3"/>
  61. <constraint firstItem="6zO-0F-rui" firstAttribute="top" secondItem="ozu-Z8-FFa" secondAttribute="top" id="eIr-RZ-lMl"/>
  62. </constraints>
  63. </view>
  64. <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="5We-Kz-B2W" userLabel="lineView">
  65. <rect key="frame" x="0.0" y="0.0" width="375" height="0.0"/>
  66. <color key="backgroundColor" systemColor="darkTextColor"/>
  67. <constraints>
  68. <constraint firstAttribute="height" priority="750" constant="0.5" id="XDb-cn-V1f"/>
  69. </constraints>
  70. </view>
  71. <datePicker contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" datePickerMode="date" useCurrentDate="NO" translatesAutoresizingMaskIntoConstraints="NO" id="PtC-9d-xeI">
  72. <rect key="frame" x="0.0" y="0.0" width="375" height="0.0"/>
  73. <date key="date" timeIntervalSinceReferenceDate="536486400.75026906">
  74. <!--2018-01-01 08:00:00 +0000-->
  75. </date>
  76. <locale key="locale" localeIdentifier="zh-Hans"/>
  77. </datePicker>
  78. </subviews>
  79. <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  80. <constraints>
  81. <constraint firstItem="ozu-Z8-FFa" firstAttribute="top" secondItem="2vQ-U3-34I" secondAttribute="top" id="3nv-da-BkR"/>
  82. <constraint firstItem="ozu-Z8-FFa" firstAttribute="leading" secondItem="2vQ-U3-34I" secondAttribute="leading" id="4Ju-O4-qIp"/>
  83. <constraint firstAttribute="trailing" secondItem="ozu-Z8-FFa" secondAttribute="trailing" id="5o1-Nw-z5F"/>
  84. <constraint firstItem="PtC-9d-xeI" firstAttribute="top" secondItem="5We-Kz-B2W" secondAttribute="bottom" id="79G-OJ-NbR"/>
  85. <constraint firstAttribute="trailing" secondItem="PtC-9d-xeI" secondAttribute="trailing" id="Bh0-Kp-uxF"/>
  86. <constraint firstItem="5We-Kz-B2W" firstAttribute="top" secondItem="ozu-Z8-FFa" secondAttribute="bottom" id="H2g-ZU-9uW"/>
  87. <constraint firstItem="PtC-9d-xeI" firstAttribute="leading" secondItem="2vQ-U3-34I" secondAttribute="leading" id="HSF-Ae-gXc"/>
  88. <constraint firstAttribute="height" priority="999" id="JOK-Rr-okX"/>
  89. <constraint firstAttribute="bottom" secondItem="PtC-9d-xeI" secondAttribute="bottom" id="SqB-f1-wRZ"/>
  90. <constraint firstAttribute="trailing" secondItem="5We-Kz-B2W" secondAttribute="trailing" id="dwY-hr-2Vb"/>
  91. <constraint firstItem="5We-Kz-B2W" firstAttribute="leading" secondItem="2vQ-U3-34I" secondAttribute="leading" id="v02-vZ-VPT"/>
  92. </constraints>
  93. <userDefinedRuntimeAttributes>
  94. <userDefinedRuntimeAttribute type="color" keyPath="borderColor">
  95. <color key="value" systemColor="darkTextColor"/>
  96. </userDefinedRuntimeAttribute>
  97. <userDefinedRuntimeAttribute type="number" keyPath="borderWidth">
  98. <real key="value" value="0.5"/>
  99. </userDefinedRuntimeAttribute>
  100. <userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
  101. <real key="value" value="10"/>
  102. </userDefinedRuntimeAttribute>
  103. </userDefinedRuntimeAttributes>
  104. </view>
  105. </subviews>
  106. <viewLayoutGuide key="safeArea" id="vUN-kp-3ea"/>
  107. <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  108. <constraints>
  109. <constraint firstItem="2vQ-U3-34I" firstAttribute="trailing" secondItem="vUN-kp-3ea" secondAttribute="trailing" id="7dt-Nk-NlP"/>
  110. <constraint firstItem="vUN-kp-3ea" firstAttribute="trailing" secondItem="tAV-7F-d4P" secondAttribute="trailing" id="9rj-lA-9sW"/>
  111. <constraint firstItem="2vQ-U3-34I" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="Cqv-qU-StR"/>
  112. <constraint firstItem="tAV-7F-d4P" firstAttribute="top" secondItem="vUN-kp-3ea" secondAttribute="top" id="UfL-6F-Urm"/>
  113. <constraint firstItem="tAV-7F-d4P" firstAttribute="leading" secondItem="vUN-kp-3ea" secondAttribute="leading" id="eev-dE-zVp"/>
  114. <constraint firstItem="2vQ-U3-34I" firstAttribute="bottom" secondItem="vUN-kp-3ea" secondAttribute="bottom" id="rDT-xD-59B"/>
  115. <constraint firstItem="vUN-kp-3ea" firstAttribute="bottom" secondItem="tAV-7F-d4P" secondAttribute="bottom" id="zHy-ea-Hxg"/>
  116. </constraints>
  117. <connections>
  118. <outlet property="backgroundView" destination="2vQ-U3-34I" id="8wa-Jx-M2I"/>
  119. <outlet property="datePicker" destination="PtC-9d-xeI" id="W6T-lR-g9W"/>
  120. <outlet property="heightConstraint" destination="JOK-Rr-okX" id="5IT-n0-MI1"/>
  121. <outlet property="maskPopupView" destination="tAV-7F-d4P" id="ft6-8l-bqY"/>
  122. </connections>
  123. <point key="canvasLocation" x="24.5" y="51.5"/>
  124. </view>
  125. </objects>
  126. <resources>
  127. <systemColor name="darkTextColor">
  128. <color white="0.0" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
  129. </systemColor>
  130. </resources>
  131. </document>