forked from organicmaps/organicmaps
[ios] Removed unused code
Signed-off-by: Alexander Borsuk <me@alex.bio>
This commit is contained in:
parent
3ac3eb36e8
commit
32b6e1f0eb
8 changed files with 0 additions and 31 deletions
|
@ -29,7 +29,6 @@
|
|||
- (void)searchText:(NSString *_Nonnull)text;
|
||||
- (void)openDrivingOptions;
|
||||
|
||||
- (void)showRemoveAds;
|
||||
- (void)setPlacePageTopBound:(CGFloat)bound duration:(double)duration;
|
||||
|
||||
+ (void)setViewport:(double)lat lon:(double)lon zoomLevel:(int)zoomlevel;
|
||||
|
|
|
@ -481,9 +481,6 @@ NSString *const kPP2BookmarkEditingSegue = @"PP2BookmarkEditing";
|
|||
[self.navigationController pushViewController:vc animated:YES];
|
||||
}
|
||||
|
||||
- (void)showRemoveAds {
|
||||
}
|
||||
|
||||
- (void)processMyPositionStateModeEvent:(MWMMyPositionMode)mode {
|
||||
self.currentPositionMode = mode;
|
||||
[MWMLocationManager setMyPositionMode:mode];
|
||||
|
@ -524,8 +521,6 @@ NSString *const kPP2BookmarkEditingSegue = @"PP2BookmarkEditing";
|
|||
}
|
||||
}
|
||||
|
||||
#pragma mark - MWMRemoveAdsViewControllerDelegate
|
||||
|
||||
#pragma mark - MWMFrameworkDrapeObserver
|
||||
|
||||
- (void)processViewportCountryEvent:(CountryId const &)countryId {
|
||||
|
|
|
@ -97,10 +97,6 @@ class SearchStyleSheet: IStyleSheet {
|
|||
s.textAlignment = .natural
|
||||
}
|
||||
|
||||
theme.add(styleName: "SearchCellAds", from: "TableCell") { (s) -> Void in
|
||||
s.backgroundColor = colors.searchPromoBackground
|
||||
}
|
||||
|
||||
theme.add(styleName: "SearchCellAvaliable", from: "TableCell") { (s) -> Void in
|
||||
s.backgroundColor = colors.transparentGreen
|
||||
}
|
||||
|
|
|
@ -3,10 +3,6 @@ final class PlacePageDirectionView: UIView {
|
|||
@IBOutlet var label: UILabel!
|
||||
}
|
||||
|
||||
protocol PlacePagePreviewViewControllerDelegate: AnyObject {
|
||||
func previewDidPressRemoveAds()
|
||||
}
|
||||
|
||||
final class PlacePagePreviewViewController: UIViewController {
|
||||
@IBOutlet var stackView: UIStackView!
|
||||
@IBOutlet var popularView: UIView!
|
||||
|
@ -48,8 +44,6 @@ final class PlacePagePreviewViewController: UIViewController {
|
|||
}
|
||||
}
|
||||
|
||||
weak var delegate: PlacePagePreviewViewControllerDelegate?
|
||||
|
||||
private var distance: String? = nil
|
||||
private var speedAndAltitude: String? = nil
|
||||
private var heading: CGFloat? = nil
|
||||
|
|
|
@ -22,14 +22,6 @@ extension PlacePageInteractor: PlacePageInteractorProtocol {
|
|||
}
|
||||
}
|
||||
|
||||
// MARK: - PlacePagePreviewViewControllerDelegate
|
||||
|
||||
extension PlacePageInteractor: PlacePagePreviewViewControllerDelegate {
|
||||
func previewDidPressRemoveAds() {
|
||||
MWMPlacePageManagerHelper.showRemoveAds()
|
||||
}
|
||||
}
|
||||
|
||||
// MARK: - PlacePageInfoViewControllerDelegate
|
||||
|
||||
extension PlacePageInteractor: PlacePageInfoViewControllerDelegate {
|
||||
|
|
|
@ -34,7 +34,6 @@ class PlacePageCommonLayout: NSObject, IPlacePageLayout {
|
|||
lazy var previewViewController: PlacePagePreviewViewController = {
|
||||
let vc = storyboard.instantiateViewController(ofType: PlacePagePreviewViewController.self)
|
||||
vc.placePagePreviewData = placePageData.previewData
|
||||
vc.delegate = interactor
|
||||
return vc
|
||||
} ()
|
||||
|
||||
|
|
|
@ -29,7 +29,6 @@
|
|||
+ (void)avoidDirty;
|
||||
+ (void)avoidFerry;
|
||||
+ (void)avoidToll;
|
||||
+ (void)showRemoveAds;
|
||||
+ (void)openElevationDifficultPopup:(PlacePageData *)data;
|
||||
|
||||
@end
|
||||
|
|
|
@ -36,7 +36,6 @@
|
|||
- (void)avoidDirty;
|
||||
- (void)avoidFerry;
|
||||
- (void)avoidToll;
|
||||
- (void)showRemoveAds;
|
||||
- (void)openElevationDifficultPopup:(PlacePageData *)data;
|
||||
|
||||
@end
|
||||
|
@ -148,10 +147,6 @@
|
|||
[[MWMMapViewControlsManager manager].placePageManager avoidToll];
|
||||
}
|
||||
|
||||
+ (void)showRemoveAds {
|
||||
[[MWMMapViewControlsManager manager].placePageManager showRemoveAds];
|
||||
}
|
||||
|
||||
+ (void)openElevationDifficultPopup:(PlacePageData *)data {
|
||||
[[MWMMapViewControlsManager manager].placePageManager openElevationDifficultPopup:data];
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue