123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236 |
- <?xml version="1.0" encoding="UTF-8"?>
- <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="14313.18" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" colorMatched="YES">
- <device id="retina4_7" orientation="portrait">
- <adaptation id="fullscreen"/>
- </device>
- <dependencies>
- <deployment identifier="iOS"/>
- <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="14283.14"/>
- <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
- </dependencies>
- <objects>
- <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="THDatePickerViewController">
- <connections>
- <outlet property="calendarDaysView" destination="49" id="50"/>
- <outlet property="clearBtn" destination="7" id="66"/>
- <outlet property="closeBtn" destination="6" id="65"/>
- <outlet property="monthLabel" destination="12" id="51"/>
- <outlet property="nextMonthBtn" destination="7Cu-FS-eEE" id="aSI-OW-kKl"/>
- <outlet property="nextYearBtn" destination="11" id="65Z-3M-xNL"/>
- <outlet property="okBtn" destination="8" id="67"/>
- <outlet property="prevMonthBtn" destination="FBs-ue-0FL" id="r1e-o5-dpK"/>
- <outlet property="prevYearBtn" destination="9" id="eap-a6-4dN"/>
- <outlet property="titleLabel" destination="wv9-lp-lWG" id="6HO-dW-hLB"/>
- <outlet property="toolbarBackgroundView" destination="g6a-bo-Ej7" id="qL0-W5-WAM"/>
- <outlet property="view" destination="5" id="48"/>
- <outlet property="weekdaysView" destination="68" id="69"/>
- </connections>
- </placeholder>
- <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
- <view autoresizesSubviews="NO" contentMode="scaleToFill" id="5">
- <rect key="frame" x="0.0" y="0.0" width="320" height="320"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <subviews>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jpp-kp-HO9" userLabel="BottomView">
- <rect key="frame" x="0.0" y="0.0" width="320" height="320"/>
- <subviews>
- <view alpha="0.29999999999999999" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="g6a-bo-Ej7">
- <rect key="frame" x="0.0" y="0.0" width="320" height="40"/>
- <color key="backgroundColor" red="0.66666668653488159" green="0.66666668653488159" blue="0.66666668653488159" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="height" constant="40" id="oz9-qC-l6D"/>
- </constraints>
- </view>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="s0u-MY-tL4" userLabel="ControlView">
- <rect key="frame" x="0.0" y="0.0" width="320" height="320"/>
- <subviews>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="6">
- <rect key="frame" x="0.0" y="3" width="50" height="36"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
- <state key="normal" title="取消">
- <color key="titleColor" red="0.13725490200000001" green="0.62745098040000002" blue="0.89019607840000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <state key="highlighted">
- <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="closePressed:" destination="-1" eventType="touchUpInside" id="60"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="9">
- <rect key="frame" x="0.0" y="42" width="37" height="37"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
- <state key="normal" image="date_arrow_left">
- <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <state key="highlighted">
- <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="prevYearPressed:" destination="-1" eventType="touchUpInside" id="kqc-B4-XPt"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="FBs-ue-0FL">
- <rect key="frame" x="50" y="42" width="37" height="37"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
- <state key="normal" image="arrow_up">
- <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <state key="highlighted">
- <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="prevMonthPressed:" destination="-1" eventType="touchUpInside" id="hnT-oW-HbF"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="11">
- <rect key="frame" x="283" y="42" width="37" height="37"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
- <state key="normal" image="date_arrow_right">
- <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <state key="highlighted">
- <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="nextYearPressed:" destination="-1" eventType="touchUpInside" id="a0A-iD-HIW"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7Cu-FS-eEE">
- <rect key="frame" x="246" y="42" width="37" height="37"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
- <state key="normal" image="arrow_down">
- <color key="titleColor" red="0.19607843459999999" green="0.30980393290000002" blue="0.52156865600000002" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <state key="highlighted">
- <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="nextMonthPressed:" destination="-1" eventType="touchUpInside" id="sms-WQ-l4b"/>
- </connections>
- </button>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="68">
- <rect key="frame" x="0.0" y="89" width="320" height="18"/>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </view>
- <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="49">
- <rect key="frame" x="2" y="113" width="320" height="207"/>
- <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.0" colorSpace="custom" customColorSpace="sRGB"/>
- </view>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="7">
- <rect key="frame" x="101" y="3" width="120" height="36"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
- <state key="normal" image="dialog_clear">
- <color key="titleColor" red="0.13725490200000001" green="0.62745098040000002" blue="0.89019607840000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <state key="disabled" image="calendar_clear-disabled"/>
- <state key="highlighted">
- <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="clearPressed:" destination="-1" eventType="touchUpInside" id="59"/>
- </connections>
- </button>
- <button opaque="NO" contentMode="scaleToFill" fixedFrame="YES" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="8">
- <rect key="frame" x="270" y="3" width="50" height="36"/>
- <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/>
- <fontDescription key="fontDescription" type="boldSystem" pointSize="15"/>
- <state key="normal" title="确认">
- <color key="titleColor" red="0.13725490200000001" green="0.62745098040000002" blue="0.89019607840000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <color key="titleShadowColor" red="0.5" green="0.5" blue="0.5" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <state key="disabled" image="calendar_ok-disabled"/>
- <state key="highlighted">
- <color key="titleColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- </state>
- <connections>
- <action selector="okPressed:" destination="-1" eventType="touchUpInside" id="61"/>
- </connections>
- </button>
- <label opaque="NO" clipsSubviews="YES" userInteractionEnabled="NO" contentMode="left" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="2" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="12">
- <rect key="frame" x="135.5" y="40" width="49.5" height="41"/>
- <string key="text">Year
- Month</string>
- <fontDescription key="fontDescription" type="system" pointSize="17"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Title" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="wv9-lp-lWG">
- <rect key="frame" x="145" y="11" width="30" height="18"/>
- <fontDescription key="fontDescription" type="system" pointSize="15"/>
- <color key="textColor" cocoaTouchSystemColor="darkTextColor"/>
- <nil key="highlightedColor"/>
- </label>
- </subviews>
- <constraints>
- <constraint firstAttribute="bottom" secondItem="12" secondAttribute="bottom" constant="239" id="2Jl-7G-Tgc"/>
- <constraint firstItem="7Cu-FS-eEE" firstAttribute="height" secondItem="9" secondAttribute="height" id="2Tb-sn-lc1"/>
- <constraint firstItem="49" firstAttribute="width" secondItem="s0u-MY-tL4" secondAttribute="width" id="4PU-ia-owg"/>
- <constraint firstItem="12" firstAttribute="top" secondItem="s0u-MY-tL4" secondAttribute="top" constant="40" id="5rh-If-VVz"/>
- <constraint firstItem="7Cu-FS-eEE" firstAttribute="width" secondItem="9" secondAttribute="width" id="8Qd-WG-Bnt"/>
- <constraint firstItem="wv9-lp-lWG" firstAttribute="top" secondItem="s0u-MY-tL4" secondAttribute="top" constant="11" id="BsT-EG-lC5"/>
- <constraint firstItem="49" firstAttribute="top" secondItem="s0u-MY-tL4" secondAttribute="top" constant="113" id="GLm-BB-v5S"/>
- <constraint firstItem="68" firstAttribute="width" secondItem="s0u-MY-tL4" secondAttribute="width" id="H2g-oq-w6S"/>
- <constraint firstAttribute="bottom" secondItem="68" secondAttribute="bottom" constant="213" id="NdA-QF-J1e"/>
- <constraint firstAttribute="bottom" secondItem="49" secondAttribute="bottom" id="O1h-xt-sfU"/>
- <constraint firstItem="FBs-ue-0FL" firstAttribute="leading" secondItem="9" secondAttribute="trailing" constant="13" id="PYS-2g-JkP"/>
- <constraint firstItem="49" firstAttribute="leading" secondItem="s0u-MY-tL4" secondAttribute="leading" constant="2" id="TzG-CE-iUu"/>
- <constraint firstItem="FBs-ue-0FL" firstAttribute="width" secondItem="9" secondAttribute="width" id="VOs-3s-ULJ"/>
- <constraint firstItem="68" firstAttribute="top" secondItem="s0u-MY-tL4" secondAttribute="top" constant="89" id="Z3T-gx-Kur"/>
- <constraint firstItem="11" firstAttribute="centerY" secondItem="12" secondAttribute="centerY" id="aMg-LX-Yet"/>
- <constraint firstItem="7Cu-FS-eEE" firstAttribute="centerY" secondItem="12" secondAttribute="centerY" id="aw9-73-UrK"/>
- <constraint firstItem="11" firstAttribute="height" secondItem="9" secondAttribute="height" id="bRa-TK-eTF"/>
- <constraint firstItem="FBs-ue-0FL" firstAttribute="height" secondItem="9" secondAttribute="height" id="cFX-fx-v3c"/>
- <constraint firstItem="11" firstAttribute="leading" secondItem="7Cu-FS-eEE" secondAttribute="trailing" id="cyj-Xn-ga0"/>
- <constraint firstItem="9" firstAttribute="centerY" secondItem="12" secondAttribute="centerY" id="ipK-96-QiU"/>
- <constraint firstItem="9" firstAttribute="leading" secondItem="s0u-MY-tL4" secondAttribute="leading" id="jbp-zt-cFi"/>
- <constraint firstAttribute="trailing" secondItem="11" secondAttribute="trailing" id="jld-92-hmU"/>
- <constraint firstItem="wv9-lp-lWG" firstAttribute="centerX" secondItem="s0u-MY-tL4" secondAttribute="centerX" id="q0h-ME-a8Z"/>
- <constraint firstItem="12" firstAttribute="centerX" secondItem="s0u-MY-tL4" secondAttribute="centerX" id="q3n-bx-NPJ"/>
- <constraint firstItem="FBs-ue-0FL" firstAttribute="centerY" secondItem="12" secondAttribute="centerY" id="wEB-Mg-HQb"/>
- <constraint firstItem="11" firstAttribute="width" secondItem="9" secondAttribute="width" id="xZZ-UF-Dgi"/>
- <constraint firstItem="68" firstAttribute="leading" secondItem="s0u-MY-tL4" secondAttribute="leading" id="ydA-kz-e6w"/>
- </constraints>
- </view>
- </subviews>
- <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/>
- <constraints>
- <constraint firstAttribute="centerX" secondItem="s0u-MY-tL4" secondAttribute="centerX" id="1tT-TN-bjo"/>
- <constraint firstAttribute="height" constant="320" id="Arj-FB-Tcv"/>
- <constraint firstItem="s0u-MY-tL4" firstAttribute="width" secondItem="Jpp-kp-HO9" secondAttribute="width" id="L0O-ot-vDK"/>
- <constraint firstItem="g6a-bo-Ej7" firstAttribute="leading" secondItem="Jpp-kp-HO9" secondAttribute="leading" id="Mf8-jj-tbF"/>
- <constraint firstAttribute="bottom" secondItem="s0u-MY-tL4" secondAttribute="bottom" id="QKd-6Q-2bt"/>
- <constraint firstAttribute="trailing" secondItem="g6a-bo-Ej7" secondAttribute="trailing" id="TUj-Ym-lCi"/>
- <constraint firstItem="g6a-bo-Ej7" firstAttribute="top" secondItem="Jpp-kp-HO9" secondAttribute="top" id="Ts5-Bk-YKE"/>
- <constraint firstItem="s0u-MY-tL4" firstAttribute="top" secondItem="Jpp-kp-HO9" secondAttribute="top" id="fvW-qI-UaB"/>
- </constraints>
- </view>
- </subviews>
- <constraints>
- <constraint firstAttribute="trailing" secondItem="Jpp-kp-HO9" secondAttribute="trailing" id="IVJ-wh-h8u"/>
- <constraint firstItem="Jpp-kp-HO9" firstAttribute="leading" secondItem="5" secondAttribute="leading" id="XhB-6E-W3s"/>
- <constraint firstAttribute="bottom" secondItem="Jpp-kp-HO9" secondAttribute="bottom" id="hgJ-JC-x30"/>
- </constraints>
- <nil key="simulatedStatusBarMetrics"/>
- <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/>
- <point key="canvasLocation" x="564.79999999999995" y="345.42728635682164"/>
- </view>
- </objects>
- <resources>
- <image name="arrow_down" width="37" height="37"/>
- <image name="arrow_up" width="37" height="37"/>
- <image name="calendar_clear-disabled" width="37" height="37"/>
- <image name="calendar_ok-disabled" width="37" height="37"/>
- <image name="date_arrow_left" width="37" height="37"/>
- <image name="date_arrow_right" width="37" height="37"/>
- <image name="dialog_clear" width="37" height="37"/>
- </resources>
- </document>
|