diff options
Diffstat (limited to 'iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView')
6 files changed, 427 insertions, 0 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib new file mode 100644 index 0000000000..b6a7f04182 --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/BookmarksTab/MWMSearchBookmarksCell.xib @@ -0,0 +1,113 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="none" indentationWidth="10" reuseIdentifier="MWMSearchBookmarksCell" id="KGk-i7-Jjw" customClass="MWMSearchBookmarksCell"> + <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <tableViewCellContentView key="contentView" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <button opaque="NO" contentMode="center" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="aNc-6m-i8r" userLabel="VisibilityButton"> + <rect key="frame" x="0.0" y="0.0" width="60" height="44"/> + <constraints> + <constraint firstAttribute="width" constant="60" id="g2n-JI-FYq"/> + </constraints> + <state key="normal" image="ic_hide_light"> + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> + </state> + <state key="selected" image="ic_show_light"/> + <connections> + <action selector="toggleVisibility" destination="KGk-i7-Jjw" eventType="touchUpInside" id="kEx-DN-uuu"/> + </connections> + </button> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="My Places" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="180" translatesAutoresizingMaskIntoConstraints="NO" id="C8a-9A-ijG" userLabel="Title" customClass="MWMMultilineLabel"> + <rect key="frame" x="60" y="12" width="180" height="20"/> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> + </userDefinedRuntimeAttributes> + </label> + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="jI8-wj-W4t" userLabel="Separator"> + <rect key="frame" x="60" y="43" width="260" height="1"/> + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.12" colorSpace="calibratedRGB"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="CQ9-Xa-g1C"/> + </constraints> + </view> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="3" textAlignment="right" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="5ca-Zu-8k4" userLabel="BookmarksCount"> + <rect key="frame" x="244" y="14" width="40" height="16"/> + <constraints> + <constraint firstAttribute="width" constant="40" id="5tD-8h-iTV"/> + <constraint firstAttribute="height" constant="16" id="Ees-st-iT9"/> + </constraints> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="14"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> + </userDefinedRuntimeAttributes> + </label> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_carrot_light" translatesAutoresizingMaskIntoConstraints="NO" id="obB-B0-hzq" userLabel="OpenArrow"> + <rect key="frame" x="284" y="8" width="28" height="28"/> + <constraints> + <constraint firstAttribute="height" constant="28" id="G3F-hb-qym"/> + <constraint firstAttribute="width" constant="28" id="c9g-F6-qp8"/> + </constraints> + </imageView> + <button opaque="NO" contentMode="scaleToFill" contentHorizontalAlignment="center" contentVerticalAlignment="center" lineBreakMode="middleTruncation" translatesAutoresizingMaskIntoConstraints="NO" id="oya-sL-CmM" userLabel="OpenButton"> + <rect key="frame" x="60" y="0.0" width="260" height="43"/> + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + <state key="normal"> + <color key="titleShadowColor" white="0.5" alpha="1" colorSpace="calibratedWhite"/> + </state> + <connections> + <action selector="openBookmarks" destination="KGk-i7-Jjw" eventType="touchUpInside" id="ZFR-Zb-STa"/> + </connections> + </button> + </subviews> + <constraints> + <constraint firstAttribute="bottom" secondItem="aNc-6m-i8r" secondAttribute="bottom" id="7An-wA-kIp"/> + <constraint firstItem="5ca-Zu-8k4" firstAttribute="leading" secondItem="C8a-9A-ijG" secondAttribute="trailing" constant="4" id="A9e-7h-xhc"/> + <constraint firstItem="obB-B0-hzq" firstAttribute="leading" secondItem="5ca-Zu-8k4" secondAttribute="trailing" id="MLa-5I-VK8"/> + <constraint firstAttribute="centerY" secondItem="5ca-Zu-8k4" secondAttribute="centerY" id="PvB-UY-BHT"/> + <constraint firstItem="C8a-9A-ijG" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="12" id="RQK-Vh-9QV"/> + <constraint firstAttribute="centerY" secondItem="obB-B0-hzq" secondAttribute="centerY" id="RsM-af-CzV"/> + <constraint firstItem="jI8-wj-W4t" firstAttribute="top" secondItem="oya-sL-CmM" secondAttribute="bottom" id="SMP-Xq-yYT"/> + <constraint firstItem="jI8-wj-W4t" firstAttribute="leading" secondItem="C8a-9A-ijG" secondAttribute="leading" id="Tw3-pC-BHB"/> + <constraint firstAttribute="trailing" secondItem="obB-B0-hzq" secondAttribute="trailing" constant="8" id="URM-GC-wU3"/> + <constraint firstItem="jI8-wj-W4t" firstAttribute="leading" secondItem="oya-sL-CmM" secondAttribute="leading" id="UpO-nL-Km5"/> + <constraint firstAttribute="trailing" secondItem="jI8-wj-W4t" secondAttribute="trailing" id="a3j-02-ixe"/> + <constraint firstItem="oya-sL-CmM" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="dPf-Hy-Y5t"/> + <constraint firstAttribute="trailing" secondItem="oya-sL-CmM" secondAttribute="trailing" id="lIR-Mi-9dY"/> + <constraint firstAttribute="bottom" secondItem="jI8-wj-W4t" secondAttribute="bottom" id="ozZ-bY-T8b"/> + <constraint firstItem="aNc-6m-i8r" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="rPE-bc-2W5"/> + <constraint firstItem="oya-sL-CmM" firstAttribute="leading" secondItem="aNc-6m-i8r" secondAttribute="trailing" id="tlg-eC-xfe"/> + <constraint firstAttribute="bottom" secondItem="C8a-9A-ijG" secondAttribute="bottom" constant="12" id="uqy-Ik-W0e"/> + <constraint firstItem="aNc-6m-i8r" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" id="xpT-y7-ntU"/> + </constraints> + </tableViewCellContentView> + <connections> + <outlet property="countLabel" destination="5ca-Zu-8k4" id="USR-pA-xLd"/> + <outlet property="openArrow" destination="obB-B0-hzq" id="IMl-hQ-e7y"/> + <outlet property="titleLabel" destination="C8a-9A-ijG" id="XUf-wc-IPr"/> + <outlet property="visibilityButton" destination="aNc-6m-i8r" id="YkK-Ai-2cV"/> + </connections> + </tableViewCell> + </objects> + <resources> + <image name="ic_carrot_light" width="28" height="28"/> + <image name="ic_hide_light" width="28" height="28"/> + <image name="ic_show_light" width="28" height="28"/> + </resources> +</document> diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.xib new file mode 100644 index 0000000000..7d52fb7a7d --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/CategoriesTab/MWMSearchCategoryCell.xib @@ -0,0 +1,62 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="MWMSearchCategoryCell" id="KGk-i7-Jjw" customClass="MWMSearchCategoryCell"> + <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <tableViewCellContentView key="contentView" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_food_light" translatesAutoresizingMaskIntoConstraints="NO" id="Enr-Zg-Z5s" userLabel="Icon"> + <rect key="frame" x="16" y="8" width="28" height="28"/> + <constraints> + <constraint firstAttribute="height" constant="28" id="Ms6-Dt-ZN5"/> + <constraint firstAttribute="width" constant="28" id="sIw-t0-DIm"/> + </constraints> + </imageView> + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="WO3-AY-H0S" userLabel="Separator"> + <rect key="frame" x="60" y="43" width="260" height="1"/> + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.12" colorSpace="calibratedRGB"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="W6j-8r-VpK"/> + </constraints> + </view> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Food" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="ACg-C3-HtA" userLabel="Category label"> + <rect key="frame" x="60" y="12" width="244" height="20"/> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> + <color key="textColor" red="0.12941176469999999" green="0.12941176469999999" blue="0.12941176469999999" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> + </userDefinedRuntimeAttributes> + </label> + </subviews> + <constraints> + <constraint firstAttribute="centerY" secondItem="Enr-Zg-Z5s" secondAttribute="centerY" id="1q9-qQ-crG"/> + <constraint firstAttribute="bottom" secondItem="WO3-AY-H0S" secondAttribute="bottom" id="4A4-Tc-rGy"/> + <constraint firstAttribute="trailing" secondItem="WO3-AY-H0S" secondAttribute="trailing" id="9AW-4d-CWP"/> + <constraint firstAttribute="trailing" secondItem="ACg-C3-HtA" secondAttribute="trailing" constant="16" id="CG1-fx-Dcg"/> + <constraint firstItem="WO3-AY-H0S" firstAttribute="leading" secondItem="Enr-Zg-Z5s" secondAttribute="trailing" constant="16" id="c0m-Qo-lBf"/> + <constraint firstAttribute="centerY" secondItem="ACg-C3-HtA" secondAttribute="centerY" id="fS6-QL-LXH"/> + <constraint firstItem="Enr-Zg-Z5s" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="naz-Qh-tGQ"/> + <constraint firstItem="ACg-C3-HtA" firstAttribute="leading" secondItem="WO3-AY-H0S" secondAttribute="leading" id="uzK-Ai-LsP"/> + </constraints> + </tableViewCellContentView> + <connections> + <outlet property="icon" destination="Enr-Zg-Z5s" id="FFC-HZ-10q"/> + <outlet property="label" destination="ACg-C3-HtA" id="VP8-Tk-lNV"/> + </connections> + </tableViewCell> + </objects> + <resources> + <image name="ic_food_light" width="28" height="28"/> + </resources> +</document> diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/HistoryTab/MWMSearchHistoryClearCell.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/HistoryTab/MWMSearchHistoryClearCell.xib new file mode 100644 index 0000000000..3778b3315b --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/HistoryTab/MWMSearchHistoryClearCell.xib @@ -0,0 +1,58 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" id="KGk-i7-Jjw" customClass="MWMSearchHistoryClearCell"> + <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <tableViewCellContentView key="contentView" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_clear_light" translatesAutoresizingMaskIntoConstraints="NO" id="hch-c6-ulY" userLabel="Icon"> + <rect key="frame" x="16" y="8" width="28" height="28"/> + <constraints> + <constraint firstAttribute="height" constant="28" id="Fs9-lR-wuD"/> + <constraint firstAttribute="width" constant="28" id="sop-aE-OIT"/> + </constraints> + </imageView> + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="6x5-bn-Z1n" userLabel="Separator"> + <rect key="frame" x="60" y="43" width="260" height="1"/> + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.12" colorSpace="calibratedRGB"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="fa3-ZJ-pk5"/> + </constraints> + </view> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Clear History" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="uUE-gB-cha" userLabel="Clear label"> + <rect key="frame" x="60" y="12" width="244" height="20"/> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> + </userDefinedRuntimeAttributes> + </label> + </subviews> + <constraints> + <constraint firstAttribute="bottom" secondItem="6x5-bn-Z1n" secondAttribute="bottom" id="06Q-0q-3Tu"/> + <constraint firstAttribute="centerY" secondItem="hch-c6-ulY" secondAttribute="centerY" id="51N-L0-MsL"/> + <constraint firstItem="hch-c6-ulY" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="EmW-eh-qMa"/> + <constraint firstAttribute="trailing" secondItem="uUE-gB-cha" secondAttribute="trailing" constant="16" id="UyN-wL-XYy"/> + <constraint firstItem="uUE-gB-cha" firstAttribute="leading" secondItem="6x5-bn-Z1n" secondAttribute="leading" id="bJD-xj-etH"/> + <constraint firstAttribute="centerY" secondItem="uUE-gB-cha" secondAttribute="centerY" id="fvq-Ro-rpz"/> + <constraint firstItem="6x5-bn-Z1n" firstAttribute="leading" secondItem="hch-c6-ulY" secondAttribute="trailing" constant="16" id="z5E-on-8XQ"/> + <constraint firstAttribute="trailing" secondItem="6x5-bn-Z1n" secondAttribute="trailing" id="zbS-mM-SJH"/> + </constraints> + </tableViewCellContentView> + </tableViewCell> + </objects> + <resources> + <image name="ic_clear_light" width="28" height="28"/> + </resources> +</document> diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/HistoryTab/MWMSearchHistoryRequestCell.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/HistoryTab/MWMSearchHistoryRequestCell.xib new file mode 100644 index 0000000000..f9086708c1 --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/HistoryTab/MWMSearchHistoryRequestCell.xib @@ -0,0 +1,63 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <tableViewCell contentMode="scaleToFill" selectionStyle="default" indentationWidth="10" reuseIdentifier="MWMSearchHistoryRequestCell" rowHeight="44" id="KGk-i7-Jjw" customClass="MWMSearchHistoryRequestCell"> + <rect key="frame" x="0.0" y="0.0" width="320" height="44"/> + <autoresizingMask key="autoresizingMask" flexibleMaxX="YES" flexibleMaxY="YES"/> + <tableViewCellContentView key="contentView" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" tableViewCell="KGk-i7-Jjw" id="H2p-sc-9uM"> + <rect key="frame" x="0.0" y="0.0" width="320" height="43"/> + <autoresizingMask key="autoresizingMask"/> + <subviews> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" image="ic_history_label_light" translatesAutoresizingMaskIntoConstraints="NO" id="k5o-Xw-buz" userLabel="Icon"> + <rect key="frame" x="16" y="8" width="28" height="28"/> + <constraints> + <constraint firstAttribute="height" constant="28" id="Gjo-VG-g4T"/> + <constraint firstAttribute="width" constant="28" id="jp9-B7-91r"/> + </constraints> + </imageView> + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="L0x-sD-vTW" userLabel="Separator"> + <rect key="frame" x="60" y="43" width="260" height="1"/> + <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.12" colorSpace="calibratedRGB"/> + <constraints> + <constraint firstAttribute="height" constant="1" id="bSd-Nh-svm"/> + </constraints> + </view> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" lineBreakMode="wordWrap" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="244" translatesAutoresizingMaskIntoConstraints="NO" id="t8W-bQ-Jgd" userLabel="Request label" customClass="MWMMultilineLabel"> + <rect key="frame" x="60" y="12" width="244" height="20"/> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="17"/> + <color key="textColor" red="0.12941176470588234" green="0.12941176470588234" blue="0.12941176470588234" alpha="1" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular17"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> + </userDefinedRuntimeAttributes> + </label> + </subviews> + <constraints> + <constraint firstItem="k5o-Xw-buz" firstAttribute="centerY" secondItem="t8W-bQ-Jgd" secondAttribute="centerY" id="3Iy-eY-txd"/> + <constraint firstItem="t8W-bQ-Jgd" firstAttribute="leading" secondItem="L0x-sD-vTW" secondAttribute="leading" id="9Kd-5m-e66"/> + <constraint firstAttribute="trailing" secondItem="L0x-sD-vTW" secondAttribute="trailing" id="HKO-nm-dox"/> + <constraint firstAttribute="bottom" secondItem="L0x-sD-vTW" secondAttribute="bottom" id="IMW-TE-eBM"/> + <constraint firstAttribute="bottom" secondItem="t8W-bQ-Jgd" secondAttribute="bottom" constant="12" id="a6j-eH-Xha"/> + <constraint firstItem="L0x-sD-vTW" firstAttribute="leading" secondItem="k5o-Xw-buz" secondAttribute="trailing" constant="16" id="bqE-Pi-Dlv"/> + <constraint firstItem="k5o-Xw-buz" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="kRk-cw-mQt"/> + <constraint firstItem="t8W-bQ-Jgd" firstAttribute="top" secondItem="H2p-sc-9uM" secondAttribute="top" constant="12" id="nAw-8U-Ibx"/> + <constraint firstAttribute="trailing" secondItem="t8W-bQ-Jgd" secondAttribute="trailing" constant="16" id="w0g-Q7-D2m"/> + </constraints> + </tableViewCellContentView> + <connections> + <outlet property="icon" destination="k5o-Xw-buz" id="RKY-vZ-6lM"/> + <outlet property="title" destination="t8W-bQ-Jgd" id="yYX-rB-2pk"/> + </connections> + </tableViewCell> + </objects> + <resources> + <image name="ic_history_label_light" width="28" height="28"/> + </resources> +</document> diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/MWMSearchTabbedCollectionViewCell.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/MWMSearchTabbedCollectionViewCell.xib new file mode 100644 index 0000000000..6ccffad708 --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/MWMSearchTabbedCollectionViewCell.xib @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner"/> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <collectionViewCell clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center" id="gTV-IL-0wX" customClass="MWMSearchTabbedCollectionViewCell"> + <rect key="frame" x="0.0" y="0.0" width="320" height="460"/> + <autoresizingMask key="autoresizingMask"/> + <view key="contentView" opaque="NO" clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="center"> + <rect key="frame" x="0.0" y="0.0" width="320" height="460"/> + <subviews> + <tableView clipsSubviews="YES" contentMode="scaleToFill" alwaysBounceVertical="YES" keyboardDismissMode="onDrag" style="plain" separatorStyle="none" rowHeight="44" sectionHeaderHeight="22" sectionFooterHeight="22" translatesAutoresizingMaskIntoConstraints="NO" id="YiJ-rH-z7n"> + <rect key="frame" x="0.0" y="0.0" width="320" height="460"/> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + </tableView> + <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="bZi-Dr-fme"> + <rect key="frame" x="0.0" y="0.0" width="320" height="460"/> + <subviews> + <imageView userInteractionEnabled="NO" contentMode="scaleToFill" horizontalHuggingPriority="251" verticalHuggingPriority="251" translatesAutoresizingMaskIntoConstraints="NO" id="4et-v9-C1K" userLabel="image"> + <rect key="frame" x="80" y="30" width="160" height="160"/> + <constraints> + <constraint firstAttribute="height" constant="160" id="Elm-p4-rns"/> + <constraint firstAttribute="width" constant="160" id="pph-sj-ip8"/> + </constraints> + </imageView> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="288" translatesAutoresizingMaskIntoConstraints="NO" id="qRp-Py-eMV" userLabel="title"> + <rect key="frame" x="16" y="196" width="288" height="24"/> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="20"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.87" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular24"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackPrimaryText"/> + </userDefinedRuntimeAttributes> + </label> + <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Label" textAlignment="center" lineBreakMode="tailTruncation" numberOfLines="0" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" preferredMaxLayoutWidth="288" translatesAutoresizingMaskIntoConstraints="NO" id="9f9-p6-shw" userLabel="text"> + <rect key="frame" x="16" y="231" width="288" height="17"/> + <fontDescription key="fontDescription" name="HelveticaNeue" family="Helvetica Neue" pointSize="14"/> + <color key="textColor" red="0.0" green="0.0" blue="0.0" alpha="0.54000000000000004" colorSpace="calibratedRGB"/> + <nil key="highlightedColor"/> + <userDefinedRuntimeAttributes> + <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="regular14"/> + <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="blackSecondaryText"/> + </userDefinedRuntimeAttributes> + </label> + </subviews> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + <constraints> + <constraint firstItem="4et-v9-C1K" firstAttribute="centerX" secondItem="qRp-Py-eMV" secondAttribute="centerX" id="A8Z-gH-n7A"/> + <constraint firstItem="qRp-Py-eMV" firstAttribute="leading" secondItem="bZi-Dr-fme" secondAttribute="leading" constant="16" id="AO3-i4-W52"/> + <constraint firstItem="9f9-p6-shw" firstAttribute="top" secondItem="qRp-Py-eMV" secondAttribute="bottom" constant="12" id="F9Z-Ot-Tkr"/> + <constraint firstAttribute="trailing" secondItem="qRp-Py-eMV" secondAttribute="trailing" constant="16" id="OnQ-hw-8Qo"/> + <constraint firstItem="4et-v9-C1K" firstAttribute="top" secondItem="bZi-Dr-fme" secondAttribute="top" constant="30" id="PG3-C8-s7d"/> + <constraint firstItem="9f9-p6-shw" firstAttribute="leading" secondItem="bZi-Dr-fme" secondAttribute="leading" constant="16" id="QtL-o4-uh6"/> + <constraint firstItem="9f9-p6-shw" firstAttribute="centerX" secondItem="qRp-Py-eMV" secondAttribute="centerX" id="auk-Vm-3Fi"/> + <constraint firstItem="qRp-Py-eMV" firstAttribute="top" secondItem="bZi-Dr-fme" secondAttribute="top" constant="196" id="sBL-ds-ryp"/> + <constraint firstAttribute="centerX" secondItem="4et-v9-C1K" secondAttribute="centerX" id="vMr-Wp-rze"/> + <constraint firstAttribute="trailing" secondItem="9f9-p6-shw" secondAttribute="trailing" constant="16" id="wY3-ZC-5VD"/> + </constraints> + </view> + </subviews> + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + </view> + <color key="backgroundColor" white="1" alpha="1" colorSpace="calibratedWhite"/> + <constraints> + <constraint firstAttribute="bottom" secondItem="bZi-Dr-fme" secondAttribute="bottom" id="00h-aM-pMh"/> + <constraint firstItem="YiJ-rH-z7n" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="45o-kh-87P"/> + <constraint firstAttribute="trailing" secondItem="YiJ-rH-z7n" secondAttribute="trailing" id="ak8-yj-yjX"/> + <constraint firstAttribute="trailing" secondItem="bZi-Dr-fme" secondAttribute="trailing" id="eaC-cR-1Zf"/> + <constraint firstAttribute="bottom" secondItem="YiJ-rH-z7n" secondAttribute="bottom" id="fWe-9o-p8Q"/> + <constraint firstItem="bZi-Dr-fme" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="iAx-ah-Ee9"/> + <constraint firstItem="bZi-Dr-fme" firstAttribute="top" secondItem="gTV-IL-0wX" secondAttribute="top" id="jEf-rw-JMK"/> + <constraint firstItem="YiJ-rH-z7n" firstAttribute="leading" secondItem="gTV-IL-0wX" secondAttribute="leading" id="tGS-fN-aa6"/> + </constraints> + <connections> + <outlet property="noResultsImage" destination="4et-v9-C1K" id="juR-eQ-mKo"/> + <outlet property="noResultsText" destination="9f9-p6-shw" id="bMS-iT-D8w"/> + <outlet property="noResultsTitle" destination="qRp-Py-eMV" id="3EX-Hl-xV7"/> + <outlet property="noResultsView" destination="bZi-Dr-fme" id="U4e-0K-J3r"/> + <outlet property="tableView" destination="YiJ-rH-z7n" id="vpg-ar-l9Q"/> + <outlet property="titleTopOffset" destination="sBL-ds-ryp" id="AX1-li-yEV"/> + </connections> + </collectionViewCell> + </objects> +</document> diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/MWMSearchTabbedViewController.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/MWMSearchTabbedViewController.xib new file mode 100644 index 0000000000..f3fadfd194 --- /dev/null +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TabbedView/MWMSearchTabbedViewController.xib @@ -0,0 +1,42 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="7706" systemVersion="14F27" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES"> + <dependencies> + <deployment identifier="iOS"/> + <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="7703"/> + </dependencies> + <objects> + <placeholder placeholderIdentifier="IBFilesOwner" id="-1" userLabel="File's Owner" customClass="MWMSearchTabbedViewController"> + <connections> + <outlet property="tablesCollectionView" destination="8fs-wy-05c" id="ycC-Fg-Weg"/> + <outlet property="view" destination="i5M-Pr-FkT" id="sfx-zR-JGt"/> + </connections> + </placeholder> + <placeholder placeholderIdentifier="IBFirstResponder" id="-2" customClass="UIResponder"/> + <view contentMode="scaleToFill" id="i5M-Pr-FkT"> + <rect key="frame" x="0.0" y="0.0" width="320" height="504"/> + <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/> + <subviews> + <collectionView clipsSubviews="YES" multipleTouchEnabled="YES" contentMode="scaleToFill" bounces="NO" pagingEnabled="YES" showsHorizontalScrollIndicator="NO" showsVerticalScrollIndicator="NO" keyboardDismissMode="onDrag" dataMode="none" translatesAutoresizingMaskIntoConstraints="NO" id="8fs-wy-05c"> + <rect key="frame" x="0.0" y="0.0" width="320" height="504"/> + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + <collectionViewLayout key="collectionViewLayout" id="8ub-DU-GR0" customClass="MWMSearchTabbedViewLayout"/> + <connections> + <outlet property="dataSource" destination="-1" id="M1V-Fk-ceD"/> + <outlet property="delegate" destination="-1" id="W44-TW-xd0"/> + </connections> + </collectionView> + </subviews> + <color key="backgroundColor" white="0.0" alpha="0.0" colorSpace="calibratedWhite"/> + <constraints> + <constraint firstAttribute="trailing" secondItem="8fs-wy-05c" secondAttribute="trailing" id="6en-lL-YsF"/> + <constraint firstAttribute="bottom" secondItem="8fs-wy-05c" secondAttribute="bottom" id="V0V-yW-6Yp"/> + <constraint firstItem="8fs-wy-05c" firstAttribute="leading" secondItem="i5M-Pr-FkT" secondAttribute="leading" id="aVC-AK-3SI"/> + <constraint firstItem="8fs-wy-05c" firstAttribute="top" secondItem="i5M-Pr-FkT" secondAttribute="top" id="gub-1S-qGM"/> + </constraints> + <nil key="simulatedStatusBarMetrics"/> + <nil key="simulatedTopBarMetrics"/> + <nil key="simulatedBottomBarMetrics"/> + <freeformSimulatedSizeMetrics key="simulatedDestinationMetrics"/> + </view> + </objects> +</document> |