/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
iphone/Maps/UI/Search/GuestsPickerViewController.xib
417 строк
41 KB
Alexander Boriskov
[iOS] Fixed date picker and guest picker in horizontal orientation
21 окт 2020, 17:29
21 окт 2020, 17:29
e517138
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15705" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" useSafeAreas="YES" colorMatched="YES"> <device id="retina4_7" orientation="portrait" appearance="light"/> <dependencies> <deployment identifier="iOS"/> <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="15706"/> <capability name="Safe area layout guides" minToolsVersion="9.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="GuestsPickerViewController" customModule="maps_me" customModuleProvider="target"> <connections> <outlet property="adultsStepper" destination="Iih-wx-HWd" id="hwy-iS-k7t"/> <outlet property="childrenStepper" destination="9lH-D3-kHh" id="tTO-Du-gAf"/> <outlet property="infantsStepper" destination="bxZ-h9-CGP" id="faU-U3-0gU"/> <outlet property="roomsStepper" destination="UuG-Jq-Ceh" id="4d0-qt-bKi"/> <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="320"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="iE2-RE-OWd"> <rect key="frame" x="0.0" y="0.0" width="414" height="320"/> <color key="backgroundColor" systemColor="systemBackgroundColor" cocoaTouchSystemColor="whiteColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Background"/> </userDefinedRuntimeAttributes> </view> <stackView opaque="NO" contentMode="scaleToFill" axis="vertical" translatesAutoresizingMaskIntoConstraints="NO" id="3ZC-cU-MNM"> <rect key="frame" x="0.0" y="0.0" width="414" height="320"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="xyR-57-dCD"> <rect key="frame" x="0.0" y="0.0" width="414" height="54"/> <subviews> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" text="Family" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="TG5-PM-toX"> <rect key="frame" x="16" y="10" width="382" height="33"/> <fontDescription key="fontDescription" type="boldSystem" pointSize="20"/> <nil key="textColor"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="bold20:blackPrimaryText"/> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="Family"/> </userDefinedRuntimeAttributes> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="apc-aI-IJI"> <rect key="frame" x="16" y="53" width="398" height="1"/> <color key="backgroundColor" systemColor="separatorColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.28999999999999998" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="1" id="BRZ-qD-EIb"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Divider"/> </userDefinedRuntimeAttributes> </view> </subviews> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstAttribute="trailing" secondItem="apc-aI-IJI" secondAttribute="trailing" id="6hS-JO-3ti"/> <constraint firstAttribute="trailing" secondItem="TG5-PM-toX" secondAttribute="trailing" constant="16" id="OX7-EM-Uno"/> <constraint firstItem="TG5-PM-toX" firstAttribute="leading" secondItem="xyR-57-dCD" secondAttribute="leading" constant="16" id="S3L-Uc-9La"/> <constraint firstItem="apc-aI-IJI" firstAttribute="leading" secondItem="xyR-57-dCD" secondAttribute="leading" constant="16" id="YBL-40-Y0b"/> <constraint firstAttribute="bottom" secondItem="apc-aI-IJI" secondAttribute="bottom" id="c7o-Qq-Gr7"/> <constraint firstItem="TG5-PM-toX" firstAttribute="top" secondItem="xyR-57-dCD" secondAttribute="top" constant="10" id="vhz-a8-9hP"/> <constraint firstItem="apc-aI-IJI" firstAttribute="top" secondItem="TG5-PM-toX" secondAttribute="bottom" constant="10" id="zdt-qK-Ubw"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="8cM-v0-O7k"> <rect key="frame" x="0.0" y="54" width="414" height="47.5"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9md-9e-Ze0"> <rect key="frame" x="56" y="46.5" width="358" height="1"/> <color key="backgroundColor" systemColor="separatorColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.28999999999999998" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="1" id="ySS-I1-GZF"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Divider"/> </userDefinedRuntimeAttributes> </view> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_booking_room" translatesAutoresizingMaskIntoConstraints="NO" id="vYB-zA-nJQ"> <rect key="frame" x="16" y="12" width="24" height="24"/> <color key="tintColor" white="0.33333333333333331" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstAttribute="height" constant="24" id="6aD-2h-Vgl"/> <constraint firstAttribute="width" constant="24" id="o7Z-29-OIH"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="MWMBlack"/> </userDefinedRuntimeAttributes> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Rooms" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="gnR-wq-ESo"> <rect key="frame" x="56" y="14" width="234" height="19.5"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <nil key="textColor"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="regular16:blackPrimaryText"/> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="guests_picker_rooms"/> </userDefinedRuntimeAttributes> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="UuG-Jq-Ceh" customClass="ValueStepperView" customModule="maps_me" customModuleProvider="target"> <rect key="frame" x="306" y="5" width="100" height="38"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstAttribute="height" constant="38" id="AKR-Yw-d97"/> <constraint firstAttribute="width" constant="100" id="KqJ-Cs-Aug"/> </constraints> <connections> <action selector="onStepperValueChanged:" destination="-1" eventType="valueChanged" id="v6h-4b-t3o"/> </connections> </view> </subviews> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstItem="gnR-wq-ESo" firstAttribute="top" secondItem="8cM-v0-O7k" secondAttribute="top" constant="14" id="0fc-IZ-YIl"/> <constraint firstItem="9md-9e-Ze0" firstAttribute="leading" secondItem="8cM-v0-O7k" secondAttribute="leading" constant="56" id="0zT-nJ-4ly"/> <constraint firstItem="vYB-zA-nJQ" firstAttribute="leading" secondItem="8cM-v0-O7k" secondAttribute="leading" constant="16" id="3pi-YI-1ai"/> <constraint firstItem="UuG-Jq-Ceh" firstAttribute="leading" secondItem="gnR-wq-ESo" secondAttribute="trailing" constant="16" id="81u-my-mbt"/> <constraint firstItem="vYB-zA-nJQ" firstAttribute="centerY" secondItem="8cM-v0-O7k" secondAttribute="centerY" id="Ejr-SE-2So"/> <constraint firstAttribute="trailing" secondItem="9md-9e-Ze0" secondAttribute="trailing" id="SE3-Bm-5lR"/> <constraint firstItem="UuG-Jq-Ceh" firstAttribute="centerY" secondItem="8cM-v0-O7k" secondAttribute="centerY" id="cKz-zn-z2o"/> <constraint firstAttribute="bottom" secondItem="gnR-wq-ESo" secondAttribute="bottom" constant="14" id="e8U-f5-1HP"/> <constraint firstAttribute="trailing" secondItem="UuG-Jq-Ceh" secondAttribute="trailing" constant="8" id="mBb-w4-VSw"/> <constraint firstAttribute="bottom" secondItem="9md-9e-Ze0" secondAttribute="bottom" id="oh3-V5-EYZ"/> <constraint firstItem="gnR-wq-ESo" firstAttribute="leading" secondItem="vYB-zA-nJQ" secondAttribute="trailing" constant="16" id="vW6-Y3-Wa4"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="LZa-Gy-akP"> <rect key="frame" x="0.0" y="101.5" width="414" height="47.5"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="CqJ-mp-Yqh"> <rect key="frame" x="56" y="46.5" width="358" height="1"/> <color key="backgroundColor" systemColor="separatorColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.28999999999999998" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="1" id="Fye-yR-j29"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Divider"/> </userDefinedRuntimeAttributes> </view> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_booking_people" translatesAutoresizingMaskIntoConstraints="NO" id="xgI-wP-Ash"> <rect key="frame" x="16" y="12" width="24" height="24"/> <color key="tintColor" white="0.13233090750000001" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="height" constant="24" id="Uq7-1Q-nj7"/> <constraint firstAttribute="width" constant="24" id="cQA-nc-8Mi"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="MWMBlack"/> </userDefinedRuntimeAttributes> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Adults" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="NwB-tL-w2R"> <rect key="frame" x="56" y="14" width="234" height="19.5"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <nil key="textColor"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="regular16:blackPrimaryText"/> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="guests_picker_adults"/> </userDefinedRuntimeAttributes> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="Iih-wx-HWd" customClass="ValueStepperView" customModule="maps_me" customModuleProvider="target"> <rect key="frame" x="306" y="5" width="100" height="38"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstAttribute="width" constant="100" id="H6l-kr-84N"/> <constraint firstAttribute="height" constant="38" id="sap-u6-Aam"/> </constraints> <connections> <action selector="onStepperValueChanged:" destination="-1" eventType="valueChanged" id="t6F-CW-gcf"/> </connections> </view> </subviews> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstItem="NwB-tL-w2R" firstAttribute="leading" secondItem="xgI-wP-Ash" secondAttribute="trailing" constant="16" id="0Av-Mo-fnf"/> <constraint firstAttribute="trailing" secondItem="Iih-wx-HWd" secondAttribute="trailing" constant="8" id="Izy-FU-4zt"/> <constraint firstAttribute="bottom" secondItem="CqJ-mp-Yqh" secondAttribute="bottom" id="O5m-hG-MhD"/> <constraint firstItem="xgI-wP-Ash" firstAttribute="centerY" secondItem="LZa-Gy-akP" secondAttribute="centerY" id="R7q-3M-LbP"/> <constraint firstAttribute="bottom" secondItem="NwB-tL-w2R" secondAttribute="bottom" constant="14" id="STT-9V-J4p"/> <constraint firstAttribute="trailing" secondItem="CqJ-mp-Yqh" secondAttribute="trailing" id="huu-2l-2Nf"/> <constraint firstItem="Iih-wx-HWd" firstAttribute="centerY" secondItem="LZa-Gy-akP" secondAttribute="centerY" id="ilg-Cg-1wv"/> <constraint firstItem="CqJ-mp-Yqh" firstAttribute="leading" secondItem="LZa-Gy-akP" secondAttribute="leading" constant="56" id="l3P-Ss-rBb"/> <constraint firstItem="xgI-wP-Ash" firstAttribute="leading" secondItem="LZa-Gy-akP" secondAttribute="leading" constant="16" id="oAS-CR-Mkt"/> <constraint firstItem="NwB-tL-w2R" firstAttribute="top" secondItem="LZa-Gy-akP" secondAttribute="top" constant="14" id="p2r-EU-WTE"/> <constraint firstItem="Iih-wx-HWd" firstAttribute="leading" secondItem="NwB-tL-w2R" secondAttribute="trailing" constant="16" id="r3D-nT-DnG"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="anq-ba-UQj"> <rect key="frame" x="0.0" y="149" width="414" height="64"/> <subviews> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="aPf-Rn-p74"> <rect key="frame" x="56" y="63" width="358" height="1"/> <color key="backgroundColor" systemColor="separatorColor" red="0.23529411759999999" green="0.23529411759999999" blue="0.26274509800000001" alpha="0.28999999999999998" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="1" id="M0d-Hd-6yC"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Divider"/> </userDefinedRuntimeAttributes> </view> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_booking_child" translatesAutoresizingMaskIntoConstraints="NO" id="Cdq-pg-7gf"> <rect key="frame" x="16" y="20" width="24" height="24"/> <color key="tintColor" white="0.13233090750000001" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="height" constant="24" id="OnL-Gt-bZB"/> <constraint firstAttribute="width" constant="24" id="hKl-6X-TNP"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="MWMBlack"/> </userDefinedRuntimeAttributes> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="Children" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="Wr6-1j-Dsw"> <rect key="frame" x="56" y="10" width="234" height="19.5"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <nil key="textColor"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="regular16:blackPrimaryText"/> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="guests_picker_children_title"/> </userDefinedRuntimeAttributes> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="9lH-D3-kHh" customClass="ValueStepperView" customModule="maps_me" customModuleProvider="target"> <rect key="frame" x="306" y="13" width="100" height="38"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstAttribute="height" constant="38" id="84Q-Ml-uR6"/> <constraint firstAttribute="width" constant="100" id="QLu-c2-LGX"/> </constraints> <connections> <action selector="onStepperValueChanged:" destination="-1" eventType="valueChanged" id="8WU-RP-hOq"/> </connections> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="3 - 16 years old" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5sc-U2-ZDP"> <rect key="frame" x="56" y="33.5" width="234" height="19.5"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="regular16:blackSecondaryText"/> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="guests_picker_children_subtitle"/> </userDefinedRuntimeAttributes> </label> </subviews> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstItem="Wr6-1j-Dsw" firstAttribute="top" secondItem="anq-ba-UQj" secondAttribute="top" constant="10" id="1dm-JZ-PiN"/> <constraint firstItem="9lH-D3-kHh" firstAttribute="centerY" secondItem="anq-ba-UQj" secondAttribute="centerY" id="7H9-0j-tMf"/> <constraint firstItem="aPf-Rn-p74" firstAttribute="leading" secondItem="anq-ba-UQj" secondAttribute="leading" constant="56" id="9LA-0S-UKK"/> <constraint firstItem="9lH-D3-kHh" firstAttribute="leading" secondItem="Wr6-1j-Dsw" secondAttribute="trailing" constant="16" id="9uM-si-f98"/> <constraint firstItem="5sc-U2-ZDP" firstAttribute="trailing" secondItem="Wr6-1j-Dsw" secondAttribute="trailing" id="Jci-Tc-Aws"/> <constraint firstItem="Cdq-pg-7gf" firstAttribute="centerY" secondItem="anq-ba-UQj" secondAttribute="centerY" id="Pg8-O9-CTi"/> <constraint firstItem="aPf-Rn-p74" firstAttribute="top" secondItem="5sc-U2-ZDP" secondAttribute="bottom" constant="10" id="Xrc-Im-Kc1"/> <constraint firstAttribute="bottom" secondItem="aPf-Rn-p74" secondAttribute="bottom" id="fzF-zE-YAj"/> <constraint firstAttribute="trailing" secondItem="9lH-D3-kHh" secondAttribute="trailing" constant="8" id="gSn-fH-Rm4"/> <constraint firstItem="Wr6-1j-Dsw" firstAttribute="leading" secondItem="Cdq-pg-7gf" secondAttribute="trailing" constant="16" id="he4-IF-jej"/> <constraint firstAttribute="trailing" secondItem="aPf-Rn-p74" secondAttribute="trailing" id="o8J-ge-Rnn"/> <constraint firstItem="Cdq-pg-7gf" firstAttribute="leading" secondItem="anq-ba-UQj" secondAttribute="leading" constant="16" id="pne-xW-Ltc"/> <constraint firstItem="5sc-U2-ZDP" firstAttribute="top" secondItem="Wr6-1j-Dsw" secondAttribute="bottom" constant="4" id="qL8-ck-aRX"/> <constraint firstItem="5sc-U2-ZDP" firstAttribute="leading" secondItem="Wr6-1j-Dsw" secondAttribute="leading" id="t1Z-dF-yMg"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="sXC-XH-KBh"> <rect key="frame" x="0.0" y="213" width="414" height="63"/> <subviews> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFit" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_booking_infant" translatesAutoresizingMaskIntoConstraints="NO" id="hdJ-0V-roa"> <rect key="frame" x="16" y="19.5" width="24" height="24"/> <color key="tintColor" white="0.13233090750000001" alpha="1" colorSpace="calibratedWhite"/> <constraints> <constraint firstAttribute="height" constant="24" id="Jn6-vT-YDb"/> <constraint firstAttribute="width" constant="24" id="uCv-qA-4Bs"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="MWMBlack"/> </userDefinedRuntimeAttributes> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="Infants" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="aBx-bJ-dzK"> <rect key="frame" x="56" y="10" width="234" height="19.5"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <nil key="textColor"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="regular16:blackPrimaryText"/> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="guests_picker_infants_title"/> </userDefinedRuntimeAttributes> </label> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bxZ-h9-CGP" customClass="ValueStepperView" customModule="maps_me" customModuleProvider="target"> <rect key="frame" x="306" y="12.5" width="100" height="38"/> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstAttribute="width" constant="100" id="1IX-Nt-R6h"/> <constraint firstAttribute="height" constant="38" id="ycS-ih-Kec"/> </constraints> <connections> <action selector="onStepperValueChanged:" destination="-1" eventType="valueChanged" id="1lY-4P-4fL"/> </connections> </view> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" verticalCompressionResistancePriority="751" text="0 - 3 years old" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="s1L-9S-yeM"> <rect key="frame" x="56" y="33.5" width="234" height="19.5"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <color key="textColor" white="0.33333333329999998" alpha="1" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="regular16:blackSecondaryText"/> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="guests_picker_infants_subtitle"/> </userDefinedRuntimeAttributes> </label> </subviews> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstItem="s1L-9S-yeM" firstAttribute="leading" secondItem="aBx-bJ-dzK" secondAttribute="leading" id="8nt-8R-bic"/> <constraint firstItem="aBx-bJ-dzK" firstAttribute="leading" secondItem="hdJ-0V-roa" secondAttribute="trailing" constant="16" id="FWg-hH-poB"/> <constraint firstItem="hdJ-0V-roa" firstAttribute="leading" secondItem="sXC-XH-KBh" secondAttribute="leading" constant="16" id="FjA-rd-kNo"/> <constraint firstAttribute="trailing" secondItem="bxZ-h9-CGP" secondAttribute="trailing" constant="8" id="Kry-QK-eot"/> <constraint firstItem="bxZ-h9-CGP" firstAttribute="centerY" secondItem="sXC-XH-KBh" secondAttribute="centerY" id="OOO-UM-IJ9"/> <constraint firstItem="s1L-9S-yeM" firstAttribute="trailing" secondItem="aBx-bJ-dzK" secondAttribute="trailing" id="aSi-LJ-kGA"/> <constraint firstItem="hdJ-0V-roa" firstAttribute="centerY" secondItem="sXC-XH-KBh" secondAttribute="centerY" id="eEK-Fr-UaN"/> <constraint firstItem="aBx-bJ-dzK" firstAttribute="top" secondItem="sXC-XH-KBh" secondAttribute="top" constant="10" id="iik-fX-UWu"/> <constraint firstItem="bxZ-h9-CGP" firstAttribute="leading" secondItem="aBx-bJ-dzK" secondAttribute="trailing" constant="16" id="ixD-zq-0r1"/> <constraint firstAttribute="bottom" secondItem="s1L-9S-yeM" secondAttribute="bottom" constant="10" id="zY1-tA-erm"/> <constraint firstItem="s1L-9S-yeM" firstAttribute="top" secondItem="aBx-bJ-dzK" secondAttribute="bottom" constant="4" id="zjY-NQ-M77"/> </constraints> </view> <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="OfS-TX-VYl"> <rect key="frame" x="0.0" y="276" width="414" height="44"/> <subviews> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="bFt-QV-4xW"> <rect key="frame" x="16" y="0.0" width="50" height="44"/> <fontDescription key="fontDescription" type="system" pointSize="16"/> <state key="normal" title="Cancel"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="cancel"/> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="BookingDatePickerCancel"/> </userDefinedRuntimeAttributes> <connections> <action selector="onCancel:" destination="-1" eventType="touchUpInside" id="48U-HW-s2o"/> </connections> </button> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="fHT-lb-4BE"> <rect key="frame" x="358" y="0.0" width="40" height="44"/> <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> <state key="normal" title="Done"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="done"/> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="BookingDatePickerDone"/> </userDefinedRuntimeAttributes> <connections> <action selector="onDone:" destination="-1" eventType="touchUpInside" id="wfn-Vb-gfH"/> </connections> </button> </subviews> <color key="backgroundColor" systemColor="secondarySystemBackgroundColor" red="0.94901960780000005" green="0.94901960780000005" blue="0.96862745100000003" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstItem="bFt-QV-4xW" firstAttribute="leading" secondItem="OfS-TX-VYl" secondAttribute="leading" constant="16" id="2Gl-z9-lO0"/> <constraint firstAttribute="trailing" secondItem="fHT-lb-4BE" secondAttribute="trailing" constant="16" id="3kG-DN-oq6"/> <constraint firstAttribute="height" constant="44" id="9C5-e4-7fm"/> <constraint firstItem="fHT-lb-4BE" firstAttribute="top" secondItem="OfS-TX-VYl" secondAttribute="top" id="MH5-2A-564"/> <constraint firstItem="bFt-QV-4xW" firstAttribute="top" secondItem="OfS-TX-VYl" secondAttribute="top" id="SfP-Wl-FUE"/> <constraint firstAttribute="bottom" secondItem="fHT-lb-4BE" secondAttribute="bottom" id="Smw-14-s7P"/> <constraint firstAttribute="bottom" secondItem="bFt-QV-4xW" secondAttribute="bottom" id="Vuk-vX-VYh"/> </constraints> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Border"/> </userDefinedRuntimeAttributes> </view> </subviews> <constraints> <constraint firstAttribute="height" constant="320" id="Z4S-Eo-vxK"/> <constraint firstAttribute="width" constant="350" id="gJY-Sg-qaN"/> </constraints> <variation key="default"> <mask key="constraints"> <exclude reference="gJY-Sg-qaN"/> </mask> </variation> <variation key="heightClass=compact"> <mask key="constraints"> <include reference="gJY-Sg-qaN"/> </mask> </variation> </stackView> </subviews> <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <constraints> <constraint firstItem="iE2-RE-OWd" firstAttribute="trailing" secondItem="3ZC-cU-MNM" secondAttribute="trailing" id="2bX-R0-ETI"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="bottom" secondItem="3ZC-cU-MNM" secondAttribute="bottom" id="AzB-Y2-R3U"/> <constraint firstItem="iE2-RE-OWd" firstAttribute="top" secondItem="3ZC-cU-MNM" secondAttribute="top" id="B0O-V2-7U1"/> <constraint firstItem="iE2-RE-OWd" firstAttribute="leading" secondItem="3ZC-cU-MNM" secondAttribute="leading" id="DYO-z4-s32"/> <constraint firstAttribute="bottom" secondItem="iE2-RE-OWd" secondAttribute="bottom" id="Ifr-hn-5ex"/> <constraint firstItem="3ZC-cU-MNM" firstAttribute="leading" secondItem="fnl-2z-Ty3" secondAttribute="leading" id="VXy-sp-VfJ"/> <constraint firstItem="fnl-2z-Ty3" firstAttribute="trailing" secondItem="3ZC-cU-MNM" secondAttribute="trailing" id="lj2-YQ-0bF"/> </constraints> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> <viewLayoutGuide key="safeArea" id="fnl-2z-Ty3"/> <variation key="default"> <mask key="constraints"> <exclude reference="lj2-YQ-0bF"/> </mask> </variation> <variation key="heightClass=regular"> <mask key="constraints"> <include reference="lj2-YQ-0bF"/> </mask> </variation> <point key="canvasLocation" x="134.40000000000001" y="349.92503748125938"/> </view> </objects> <resources> <image name="ic_booking_child" width="20" height="20"/> <image name="ic_booking_infant" width="20" height="21"/> <image name="ic_booking_people" width="22" height="15"/> <image name="ic_booking_room" width="20" height="13"/> </resources> </document>