forked from organicmaps/organicmaps
[release-74-visible-area] [ios] Removed obsolete code.
This commit is contained in:
parent
33e9867346
commit
903562d2d9
6 changed files with 0 additions and 31 deletions
|
@ -22,10 +22,6 @@ typedef NS_ENUM(NSUInteger, MWMNavigationInfoViewState) {
|
|||
|
||||
@property(nonatomic) CGFloat topBound;
|
||||
@property(nonatomic) CGFloat leftBound;
|
||||
@property(nonatomic, readonly) CGFloat leftHeight;
|
||||
@property(nonatomic, readonly) CGFloat rightHeight;
|
||||
@property(nonatomic, readonly) CGFloat bottom;
|
||||
@property(nonatomic, readonly) CGFloat left;
|
||||
@property(nonatomic, readonly) NavigationSearchState searchState;
|
||||
@property(nonatomic) MWMNavigationInfoViewState state;
|
||||
@property(weak, nonatomic) UIView * ownerView;
|
||||
|
|
|
@ -110,16 +110,6 @@ BOOL defaultOrientation(CGSize const & size)
|
|||
}
|
||||
}
|
||||
|
||||
- (CGFloat)leftHeight { return self.turnsView.maxY; }
|
||||
- (CGFloat)rightHeight { return self.streetNameView.hidden ? 0 : self.streetNameView.maxY; }
|
||||
- (CGFloat)bottom { return self.toastView.minY; }
|
||||
- (CGFloat)left
|
||||
{
|
||||
auto sv = self.superview;
|
||||
BOOL const isLandscape = sv.width > sv.height;
|
||||
return isLandscape ? self.searchMainButton.maxX : 0;
|
||||
}
|
||||
|
||||
- (void)setMapSearch { [self setSearchState:NavigationSearchState::MinimizedSearch animated:YES]; }
|
||||
- (void)updateToastView
|
||||
{
|
||||
|
|
|
@ -4,7 +4,6 @@
|
|||
|
||||
@property (nonatomic) CGFloat topBound;
|
||||
@property (nonatomic) CGFloat leftBound;
|
||||
@property (nonatomic, readonly) CGFloat visibleHeight;
|
||||
@property (nonatomic) CGFloat defaultHeight;
|
||||
@property (nonatomic, readonly) BOOL isVisible;
|
||||
@property (nonatomic) UIView * statusbarBackground;
|
||||
|
|
|
@ -84,12 +84,4 @@
|
|||
[self setNeedsLayout];
|
||||
}
|
||||
|
||||
- (CGFloat)visibleHeight
|
||||
{
|
||||
CGFloat height = self.contentView.height;
|
||||
if ([self.statusbarBackground.superview isEqual:self])
|
||||
height += self.statusbarBackground.height;
|
||||
return height;
|
||||
}
|
||||
|
||||
@end
|
||||
|
|
|
@ -231,9 +231,6 @@
|
|||
34574A661E3B85F80061E839 /* ThemeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34574A651E3B85F80061E839 /* ThemeManager.swift */; };
|
||||
34574A671E3B85F80061E839 /* ThemeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34574A651E3B85F80061E839 /* ThemeManager.swift */; };
|
||||
34574A681E3B85F80061E839 /* ThemeManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 34574A651E3B85F80061E839 /* ThemeManager.swift */; };
|
||||
345D661D1F0665880069E925 /* MAPSME.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8D1107310486CEB800E47090 /* MAPSME.plist */; };
|
||||
345D661E1F0665890069E925 /* MAPSME.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8D1107310486CEB800E47090 /* MAPSME.plist */; };
|
||||
345D661F1F0665890069E925 /* MAPSME.plist in Resources */ = {isa = PBXBuildFile; fileRef = 8D1107310486CEB800E47090 /* MAPSME.plist */; };
|
||||
3462258E1DDC5DBA001E8752 /* MWMSearchNoResultsAlert.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3462258D1DDC5DBA001E8752 /* MWMSearchNoResultsAlert.mm */; };
|
||||
3462258F1DDC5DBA001E8752 /* MWMSearchNoResultsAlert.mm in Sources */ = {isa = PBXBuildFile; fileRef = 3462258D1DDC5DBA001E8752 /* MWMSearchNoResultsAlert.mm */; };
|
||||
346225911DDC5FBA001E8752 /* MWMSearchNoResultsAlert.xib in Resources */ = {isa = PBXBuildFile; fileRef = 346225901DDC5FBA001E8752 /* MWMSearchNoResultsAlert.xib */; };
|
||||
|
@ -4724,7 +4721,6 @@
|
|||
349A13841DEC138C00C7DB60 /* MWMMobileInternetAlert.xib in Resources */,
|
||||
34D3B04A1E389D05004100F9 /* MWMNoteCell.xib in Resources */,
|
||||
F6E2FDEE1E097BA00083EBEC /* MWMOpeningHoursAddClosedTableViewCell.xib in Resources */,
|
||||
345D661D1F0665880069E925 /* MAPSME.plist in Resources */,
|
||||
F6E2FDF41E097BA00083EBEC /* MWMOpeningHoursAddScheduleTableViewCell.xib in Resources */,
|
||||
F6E2FDFA1E097BA00083EBEC /* MWMOpeningHoursAllDayTableViewCell.xib in Resources */,
|
||||
F6E2FE751E097BA00083EBEC /* MWMOpeningHoursCell.xib in Resources */,
|
||||
|
@ -4903,7 +4899,6 @@
|
|||
F6E2FDEF1E097BA00083EBEC /* MWMOpeningHoursAddClosedTableViewCell.xib in Resources */,
|
||||
F6E2FDF51E097BA00083EBEC /* MWMOpeningHoursAddScheduleTableViewCell.xib in Resources */,
|
||||
F6E2FDFB1E097BA00083EBEC /* MWMOpeningHoursAllDayTableViewCell.xib in Resources */,
|
||||
345D661E1F0665890069E925 /* MAPSME.plist in Resources */,
|
||||
342639361EA0E60A0025EB89 /* local_ads_symbols.txt in Resources */,
|
||||
4554B6EC1E55F0EF0084017F /* drules_proto_vehicle_clear.bin in Resources */,
|
||||
F6E2FE761E097BA00083EBEC /* MWMOpeningHoursCell.xib in Resources */,
|
||||
|
@ -5082,7 +5077,6 @@
|
|||
F6E2FDF01E097BA00083EBEC /* MWMOpeningHoursAddClosedTableViewCell.xib in Resources */,
|
||||
F6E2FDF61E097BA00083EBEC /* MWMOpeningHoursAddScheduleTableViewCell.xib in Resources */,
|
||||
F6E2FDFC1E097BA00083EBEC /* MWMOpeningHoursAllDayTableViewCell.xib in Resources */,
|
||||
345D661F1F0665890069E925 /* MAPSME.plist in Resources */,
|
||||
342639381EA0E60B0025EB89 /* local_ads_symbols.txt in Resources */,
|
||||
F6E2FE771E097BA00083EBEC /* MWMOpeningHoursCell.xib in Resources */,
|
||||
4554B6ED1E55F0F00084017F /* drules_proto_vehicle_clear.bin in Resources */,
|
||||
|
|
|
@ -51,7 +51,5 @@ struct HotelFacility;
|
|||
- (void)show:(place_page::Info const &)info;
|
||||
- (void)close;
|
||||
- (void)mwm_refreshUI;
|
||||
- (void)viewWillTransitionToSize:(CGSize)size
|
||||
withTransitionCoordinator:(id<UIViewControllerTransitionCoordinator>)coordinator;
|
||||
|
||||
@end
|
||||
|
|
Loading…
Add table
Reference in a new issue