diff options
author | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-12-09 11:14:21 +0300 |
---|---|---|
committer | Ilya Grechuhin <i.grechuhin@gmail.com> | 2016-12-09 11:30:09 +0300 |
commit | ca6af3a386028c597be4b517241d801840cdc774 (patch) | |
tree | 50d84815824a134e7d9a03f0be8c7d89ab299405 /iphone/Maps/Classes | |
parent | 347c661a99e13ce78de1acf622ceb5bedb859b10 (diff) |
[MAPSME-3176] [ios] Removed outdated code.
Diffstat (limited to 'iphone/Maps/Classes')
4 files changed, 0 insertions, 92 deletions
diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.h b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.h deleted file mode 100644 index 7d2c93c5d2..0000000000 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.h +++ /dev/null @@ -1,7 +0,0 @@ -#import "MWMTableViewCell.h" - -@interface MWMSearchShowOnMapCell : MWMTableViewCell - -+ (CGFloat)cellHeight; - -@end diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.mm deleted file mode 100644 index 94b9e99f72..0000000000 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.mm +++ /dev/null @@ -1,21 +0,0 @@ -#import "MWMSearchShowOnMapCell.h" -#import "UIColor+MapsMeColor.h" - -@implementation MWMSearchShowOnMapCell - -- (void)awakeFromNib -{ - [super awakeFromNib]; - if (IPAD) - self.contentView.backgroundColor = [UIColor white]; - CALayer * sl = self.layer; - sl.shouldRasterize = YES; - sl.rasterizationScale = UIScreen.mainScreen.scale; -} - -+ (CGFloat)cellHeight -{ - return 44.0; -} - -@end diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.xib b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.xib deleted file mode 100644 index 71385844e3..0000000000 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchShowOnMapCell.xib +++ /dev/null @@ -1,63 +0,0 @@ -<?xml version="1.0" encoding="UTF-8"?> -<document type="com.apple.InterfaceBuilder3.CocoaTouch.XIB" version="3.0" toolsVersion="11542" systemVersion="16B2555" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" colorMatched="YES"> - <device id="retina4_7" orientation="portrait"> - <adaptation id="fullscreen"/> - </device> - <dependencies> - <deployment identifier="iOS"/> - <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="11524"/> - <capability name="documents saved in the Xcode 8 format" minToolsVersion="8.0"/> - </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="MWMSearchShowOnMapCell"> - <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> - <label opaque="NO" userInteractionEnabled="NO" contentMode="left" horizontalHuggingPriority="251" verticalHuggingPriority="251" text="Show On Map" textAlignment="natural" lineBreakMode="tailTruncation" baselineAdjustment="alignBaselines" adjustsFontSizeToFit="NO" translatesAutoresizingMaskIntoConstraints="NO" id="0Ch-mz-VzP"> - <rect key="frame" x="16" y="11.5" width="288" height="20.5"/> - <fontDescription key="fontDescription" name="HelveticaNeue-Bold" family="Helvetica Neue" pointSize="17"/> - <color key="textColor" red="0.12549019610000001" green="0.58823529409999997" blue="0.95294117649999999" alpha="1" colorSpace="custom" customColorSpace="sRGB"/> - <nil key="highlightedColor"/> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="fontName" value="bold17"/> - <userDefinedRuntimeAttribute type="string" keyPath="colorName" value="linkBlue"/> - <userDefinedRuntimeAttribute type="string" keyPath="localizedText" value="search_on_map"/> - </userDefinedRuntimeAttributes> - </label> - <view contentMode="scaleToFill" translatesAutoresizingMaskIntoConstraints="NO" id="e49-Z8-rFG" userLabel="Separator"> - <rect key="frame" x="0.0" y="42.5" width="320" height="1"/> - <color key="backgroundColor" red="0.0" green="0.0" blue="0.0" alpha="0.12" colorSpace="custom" customColorSpace="sRGB"/> - <constraints> - <constraint firstAttribute="height" constant="1" id="xjZ-xF-fdl"/> - </constraints> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="blackDividers"/> - </userDefinedRuntimeAttributes> - </view> - </subviews> - <constraints> - <constraint firstAttribute="trailing" secondItem="e49-Z8-rFG" secondAttribute="trailing" id="1vY-HD-IIu"/> - <constraint firstItem="e49-Z8-rFG" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" id="31g-To-Oi7"/> - <constraint firstAttribute="centerY" secondItem="0Ch-mz-VzP" secondAttribute="centerY" id="Krw-QC-Jef"/> - <constraint firstItem="0Ch-mz-VzP" firstAttribute="leading" secondItem="H2p-sc-9uM" secondAttribute="leading" constant="16" id="Obg-8I-SAB"/> - <constraint firstAttribute="bottom" secondItem="e49-Z8-rFG" secondAttribute="bottom" id="WDR-Pz-C0s"/> - <constraint firstItem="e49-Z8-rFG" firstAttribute="leading" secondItem="0Ch-mz-VzP" secondAttribute="leading" id="eDx-cK-3LA"/> - <constraint firstAttribute="trailing" secondItem="0Ch-mz-VzP" secondAttribute="trailing" constant="16" id="xgg-OV-LnW"/> - </constraints> - <variation key="default"> - <mask key="constraints"> - <exclude reference="eDx-cK-3LA"/> - </mask> - </variation> - </tableViewCellContentView> - <userDefinedRuntimeAttributes> - <userDefinedRuntimeAttribute type="string" keyPath="backgroundColorName" value="white"/> - </userDefinedRuntimeAttributes> - </tableViewCell> - </objects> -</document> diff --git a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchTableViewController.mm b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchTableViewController.mm index cb830f7f0c..8abe2218a2 100644 --- a/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchTableViewController.mm +++ b/iphone/Maps/Classes/CustomViews/MapViewControls/Search/TableView/MWMSearchTableViewController.mm @@ -2,7 +2,6 @@ #import "MWMLocationManager.h" #import "MWMSearchChangeModeView.h" #import "MWMSearchCommonCell.h" -#import "MWMSearchShowOnMapCell.h" #import "MWMSearchSuggestionCell.h" #import "MWMSearchTableView.h" #import "Macros.h" |