/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
iphone/Maps/UI/Promo/PromoAfterBookingViewController.xib
113 строк
10 KB
Alexander Boriskov
[iOS] Refactored old styles
12 фев 2020, 14:37
12 фев 2020, 14:37
91d7242
Код
Авторство
О чём код?
<?xml version="1.0" encoding="UTF-8"?> <document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="15702" 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="15704"/> <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="PromoAfterBookingViewController" customModule="maps_me" customModuleProvider="target"> <connections> <outlet property="cityImageView" destination="sDQ-mR-Qzk" id="zGI-LE-s8P"/> <outlet property="descriptionLabel" destination="9tQ-SL-jQU" id="dzJ-7y-L2z"/> <outlet property="view" destination="BIK-1L-Jgv" id="j5K-AU-y0g"/> </connections> </placeholder> <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> <view clearsContextBeforeDrawing="NO" contentMode="scaleToFill" id="BIK-1L-Jgv"> <rect key="frame" x="0.0" y="0.0" width="307" height="339"/> <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> <subviews> <imageView clipsSubviews="YES" userInteractionEnabled="NO" contentMode="scaleAspectFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="img_booking_popup_pholder_light" translatesAutoresizingMaskIntoConstraints="NO" id="sDQ-mR-Qzk" userLabel="City Image"> <rect key="frame" x="0.0" y="0.0" width="307" height="128"/> <constraints> <constraint firstAttribute="height" constant="128" id="NJk-9b-9g9"/> </constraints> </imageView> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Booked a hotel?" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="rST-i3-ilM"> <rect key="frame" x="18" y="144" width="271" height="21.5"/> <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="18"/> <color key="textColor" white="0.0" alpha="0.86124785958904104" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <nil key="highlightedColor"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="popup_booking_download_guides_title"/> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="bold18:blackPrimaryText"/> </userDefinedRuntimeAttributes> </label> <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Take a look at ready-made trips around the place!" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="9tQ-SL-jQU"> <rect key="frame" x="18" y="173.5" width="271" height="33.5"/> <fontDescription key="fontDescription" type="system" pointSize="14"/> <color key="textColor" white="0.0" alpha="0.54000000000000004" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> <nil key="highlightedColor"/> </label> <button opaque="NO" clipsSubviews="YES" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="s7h-bI-mHW"> <rect key="frame" x="16" y="227" width="275" height="48"/> <color key="backgroundColor" red="0.11767578125" green="0.58980089430000004" blue="0.94108072916666663" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstAttribute="height" constant="48" id="2Aa-Ig-c33"/> <constraint firstAttribute="width" constant="275" id="2x0-bz-0O5"/> </constraints> <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> <state key="normal" title="Discover Guides"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="popup_mwm_download_guides_cta"/> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="FlatNormalButton:bold16"/> </userDefinedRuntimeAttributes> <connections> <action selector="onOk" destination="-1" eventType="touchUpInside" id="fNr-s9-Hg3"/> </connections> </button> <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" buttonType="roundedRect" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="3oa-Vj-n0Q"> <rect key="frame" x="16" y="285" width="275" height="40"/> <constraints> <constraint firstAttribute="height" constant="40" id="f8G-sC-CzS"/> </constraints> <fontDescription key="fontDescription" type="system" weight="semibold" pointSize="16"/> <state key="normal" title="Cancel"> <color key="titleColor" white="0.0" alpha="0.37976241438356162" colorSpace="custom" customColorSpace="genericGamma22GrayColorSpace"/> </state> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="cancel"/> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="FlatGrayTransButton"/> </userDefinedRuntimeAttributes> <connections> <action selector="onCancel" destination="-1" eventType="touchUpInside" id="cRZ-PQ-NWh"/> </connections> </button> </subviews> <color key="backgroundColor" red="1" green="1" blue="1" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> <constraints> <constraint firstItem="sDQ-mR-Qzk" firstAttribute="leading" secondItem="BIK-1L-Jgv" secondAttribute="leading" id="1gC-m1-Vt8"/> <constraint firstItem="sDQ-mR-Qzk" firstAttribute="top" secondItem="BIK-1L-Jgv" secondAttribute="top" id="2ew-IR-iMY"/> <constraint firstItem="3oa-Vj-n0Q" firstAttribute="top" secondItem="s7h-bI-mHW" secondAttribute="bottom" constant="10" id="3vS-Sf-cy1"/> <constraint firstItem="rST-i3-ilM" firstAttribute="top" secondItem="sDQ-mR-Qzk" secondAttribute="bottom" constant="16" id="6tG-Pi-hDQ"/> <constraint firstItem="rST-i3-ilM" firstAttribute="leading" secondItem="BIK-1L-Jgv" secondAttribute="leading" constant="18" id="75L-G4-PJ4"/> <constraint firstAttribute="trailing" secondItem="rST-i3-ilM" secondAttribute="trailing" constant="18" id="9g8-5m-yul"/> <constraint firstItem="3oa-Vj-n0Q" firstAttribute="leading" secondItem="BIK-1L-Jgv" secondAttribute="leading" constant="16" id="FoX-wo-jMZ"/> <constraint firstItem="s7h-bI-mHW" firstAttribute="top" secondItem="9tQ-SL-jQU" secondAttribute="bottom" constant="20" id="PbO-1K-3bN"/> <constraint firstItem="9tQ-SL-jQU" firstAttribute="top" secondItem="rST-i3-ilM" secondAttribute="bottom" constant="8" id="Sm7-8W-ZWh"/> <constraint firstAttribute="trailing" secondItem="9tQ-SL-jQU" secondAttribute="trailing" constant="18" id="WLR-t2-3Qp"/> <constraint firstAttribute="trailing" secondItem="s7h-bI-mHW" secondAttribute="trailing" constant="16" id="hU8-gZ-kny"/> <constraint firstItem="s7h-bI-mHW" firstAttribute="leading" secondItem="BIK-1L-Jgv" secondAttribute="leading" constant="16" id="kGK-rF-oHQ"/> <constraint firstItem="9tQ-SL-jQU" firstAttribute="leading" secondItem="BIK-1L-Jgv" secondAttribute="leading" constant="18" id="kxH-7p-4pU"/> <constraint firstAttribute="trailing" secondItem="3oa-Vj-n0Q" secondAttribute="trailing" constant="16" id="qx8-UG-zXp"/> <constraint firstItem="sDQ-mR-Qzk" firstAttribute="trailing" secondItem="BIK-1L-Jgv" secondAttribute="trailing" id="s8H-x9-uGL"/> <constraint firstAttribute="bottom" secondItem="3oa-Vj-n0Q" secondAttribute="bottom" constant="14" id="ykg-KU-alf"/> </constraints> <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> <viewLayoutGuide key="safeArea" id="KOL-sB-eMa"/> <userDefinedRuntimeAttributes> <userDefinedRuntimeAttribute type="number" keyPath="layer.cornerRadius"> <integer key="value" value="8"/> </userDefinedRuntimeAttribute> <userDefinedRuntimeAttribute type="string" keyPath="styleName" value="Background"/> </userDefinedRuntimeAttributes> <point key="canvasLocation" x="-779.46026986506752" y="-103.2"/> </view> </objects> <resources> <image name="img_booking_popup_pholder_light" width="307" height="128"/> </resources> </document>