1 Star 0 Fork 0

鲜文华/pickerview

加入 Gitee
与超过 1200万 开发者一起发现、参与优秀开源项目,私有仓库也完全免费 :)
免费加入
文件
该仓库未声明开源许可证文件(LICENSE),使用请关注具体项目描述及其代码上游依赖。
克隆/下载
YTimePicker.xib 12.12 KB
一键复制 编辑 原始数据 按行查看 历史
鲜文华 提交于 2021-04-09 10:13 . commit
<?xml version="1.0" encoding="UTF-8"?>
<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">
<device id="retina6_1" orientation="portrait" appearance="light"/>
<dependencies>
<deployment identifier="iOS"/>
<plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="17703"/>
<capability name="Safe area layout guides" minToolsVersion="9.0"/>
<capability name="Stack View standard spacing" minToolsVersion="9.0"/>
<capability name="System colors in document resources" minToolsVersion="11.0"/>
<capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/>
</dependencies>
<objects>
<placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="YTimePicker" customModule="friends" customModuleProvider="target">
<connections>
<outlet property="containerView" destination="yFW-hX-HFq" id="kNG-sq-GhX"/>
<outlet property="pickerView" destination="i9T-5U-QSD" id="C5c-xr-U3g"/>
<outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/>
</connections>
</placeholder>
<placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/>
<view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="i5M-Pr-FkT">
<rect key="frame" x="0.0" y="0.0" width="414" height="896"/>
<autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
<subviews>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="td2-oc-qSL">
<rect key="frame" x="0.0" y="44" width="414" height="556"/>
<color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
<connections>
<outletCollection property="gestureRecognizers" destination="jW2-kY-keV" appends="YES" id="GHg-6C-3bi"/>
</connections>
</view>
<view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="yFW-hX-HFq">
<rect key="frame" x="0.0" y="600" width="414" height="296"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="Kbs-zu-CKF">
<rect key="frame" x="0.0" y="0.0" width="414" height="266"/>
<subviews>
<stackView opaque="NO" contentMode="scaleToFill" distribution="equalSpacing" spacingType="standard" translatesAutoresizingMaskIntoConstraints="NO" id="nuE-L6-Pby">
<rect key="frame" x="0.0" y="0.0" width="414" height="50"/>
<subviews>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="u1O-l2-IbF">
<rect key="frame" x="0.0" y="0.0" width="80" height="50"/>
<constraints>
<constraint firstAttribute="width" constant="80" id="7J4-LW-GTa"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<state key="normal" title="取消">
<color key="titleColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</state>
<connections>
<action selector="cancelAction:" destination="-1" eventType="touchUpInside" id="v9Z-ZY-bsQ"/>
</connections>
</button>
<label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="请选择时间" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="SeV-yJ-Kbz">
<rect key="frame" x="163.5" y="0.0" width="87" height="50"/>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<nil key="textColor"/>
<nil key="highlightedColor"/>
</label>
<button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="system" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="gAB-4L-COg">
<rect key="frame" x="334" y="0.0" width="80" height="50"/>
<constraints>
<constraint firstAttribute="width" constant="80" id="u1j-9D-e0N"/>
</constraints>
<fontDescription key="fontDescription" type="system" pointSize="17"/>
<state key="normal" title="确定"/>
<connections>
<action selector="submitAction:" destination="-1" eventType="touchUpInside" id="Kxw-3c-R7V"/>
</connections>
</button>
</subviews>
<constraints>
<constraint firstAttribute="height" constant="50" id="Fd4-cD-d2X"/>
</constraints>
</stackView>
<pickerView contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="i9T-5U-QSD">
<rect key="frame" x="0.0" y="50" width="414" height="216"/>
<constraints>
<constraint firstAttribute="height" constant="216" id="RAh-9n-rqd"/>
</constraints>
<connections>
<outlet property="dataSource" destination="-1" id="JBs-Yz-UI8"/>
<outlet property="delegate" destination="-1" id="ET2-GR-5QN"/>
</connections>
</pickerView>
</subviews>
</stackView>
</subviews>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstItem="Kbs-zu-CKF" firstAttribute="leading" secondItem="yFW-hX-HFq" secondAttribute="leading" id="3hI-E6-C5F"/>
<constraint firstAttribute="trailing" secondItem="Kbs-zu-CKF" secondAttribute="trailing" id="5jk-D0-WJr"/>
<constraint firstItem="Kbs-zu-CKF" firstAttribute="top" secondItem="yFW-hX-HFq" secondAttribute="top" id="Lgk-w0-zo3"/>
<constraint firstAttribute="bottom" secondItem="Kbs-zu-CKF" secondAttribute="bottom" constant="30" id="TCJ-0A-fQq"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="shadowRadius">
<real key="value" value="1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="size" keyPath="shadowOffset">
<size key="value" width="0.0" height="-1"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="color" keyPath="shadowColor">
<color key="value" white="0.66666666666666663" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</userDefinedRuntimeAttribute>
<userDefinedRuntimeAttribute type="number" keyPath="shadowOpacity">
<real key="value" value="0.20000000000000001"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
<view clipsSubviews="YES" contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Jr5-4G-7gO">
<rect key="frame" x="0.0" y="590" width="414" height="20"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<constraints>
<constraint firstAttribute="height" constant="20" id="cfO-X1-KXa"/>
</constraints>
<userDefinedRuntimeAttributes>
<userDefinedRuntimeAttribute type="number" keyPath="cornerRadius">
<real key="value" value="10"/>
</userDefinedRuntimeAttribute>
</userDefinedRuntimeAttributes>
</view>
</subviews>
<viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/>
<color key="backgroundColor" systemColor="systemBackgroundColor"/>
<gestureRecognizers/>
<constraints>
<constraint firstItem="td2-oc-qSL" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="0kz-rv-Q63"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="td2-oc-qSL" secondAttribute="trailing" id="5WM-hu-8i9"/>
<constraint firstItem="Jr5-4G-7gO" firstAttribute="trailing" secondItem="yFW-hX-HFq" secondAttribute="trailing" id="BO7-Zd-GTT"/>
<constraint firstItem="yFW-hX-HFq" firstAttribute="top" secondItem="td2-oc-qSL" secondAttribute="bottom" id="Hqh-PV-v3G"/>
<constraint firstItem="Jr5-4G-7gO" firstAttribute="top" secondItem="yFW-hX-HFq" secondAttribute="top" constant="-10" id="YlN-CE-c0g"/>
<constraint firstItem="yFW-hX-HFq" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="t2c-ic-r9C"/>
<constraint firstItem="td2-oc-qSL" firstAttribute="top" secondItem="fnl-2z-Ty3" secondAttribute="top" id="uCK-fA-kVe"/>
<constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="yFW-hX-HFq" secondAttribute="trailing" id="wGG-I6-Uo9"/>
<constraint firstAttribute="bottom" secondItem="yFW-hX-HFq" secondAttribute="bottom" id="ydd-Sq-sli"/>
<constraint firstItem="Jr5-4G-7gO" firstAttribute="leading" secondItem="yFW-hX-HFq" secondAttribute="leading" id="zRH-xn-PAH"/>
</constraints>
<point key="canvasLocation" x="137.68115942028987" y="89.732142857142847"/>
</view>
<tapGestureRecognizer id="jW2-kY-keV">
<connections>
<action selector="cancelAction:" destination="-1" id="3uw-3K-e1n"/>
</connections>
</tapGestureRecognizer>
</objects>
<resources>
<systemColor name="systemBackgroundColor">
<color white="1" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/>
</systemColor>
</resources>
</document>
Loading...
马建仓 AI 助手
尝试更多
代码解读
代码找茬
代码优化
Swift
1
https://gitee.com/HONEPIECEH/pickerview.git
git@gitee.com:HONEPIECEH/pickerview.git
HONEPIECEH
pickerview
pickerview
master

搜索帮助

0d507c66 1850385 C8b1a773 1850385