diff --git a/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm b/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm index 3562d9ed9b..be874c7453 100644 --- a/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm +++ b/iphone/Maps/Classes/CustomAlert/AlertController/MWMAlertViewController.mm @@ -87,7 +87,7 @@ static NSString * const kAlertControllerNibIdentifier = @"MWMAlertViewController - (void)presentIncorrectFeauturePositionAlert { - [self displayAlert:[MWMAlert incorrectFeauturePositionAlert]]; + [self displayAlert:[MWMAlert incorrectFeaturePositionAlert]]; } - (void)presentInternalErrorAlert { [self displayAlert:[MWMAlert internalErrorAlert]]; } diff --git a/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.h b/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.h index cb90b11bb7..0df68767c6 100644 --- a/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.h +++ b/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.h @@ -26,7 +26,7 @@ using MWMDownloadBlock = void (^)(storage::TCountriesVec const &, MWMVoidBlock); + (MWMAlert *)deleteMapProhibitedAlert; + (MWMAlert *)unsavedEditsAlertWithOkBlock:(MWMVoidBlock)okBlock; + (MWMAlert *)locationServiceNotSupportedAlert; -+ (MWMAlert *)incorrectFeauturePositionAlert; ++ (MWMAlert *)incorrectFeaturePositionAlert; + (MWMAlert *)internalErrorAlert; + (MWMAlert *)notEnoughSpaceAlert; + (MWMAlert *)invalidUserNameOrPasswordAlert; diff --git a/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm b/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm index bcc3cdb5e3..edd2382905 100644 --- a/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm +++ b/iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.mm @@ -83,9 +83,9 @@ } } -+ (MWMAlert *)incorrectFeauturePositionAlert ++ (MWMAlert *)incorrectFeaturePositionAlert { - return [MWMDefaultAlert incorrectFeauturePositionAlert]; + return [MWMDefaultAlert incorrectFeaturePositionAlert]; } + (MWMAlert *)internalErrorAlert { return [MWMDefaultAlert internalErrorAlert]; } diff --git a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.h b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.h index ed7935aac1..7a5bc3774f 100644 --- a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.h +++ b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.h @@ -8,7 +8,7 @@ + (instancetype)startPointNotFoundAlert; + (instancetype)intermediatePointNotFoundAlert; + (instancetype)internalRoutingErrorAlert; -+ (instancetype)incorrectFeauturePositionAlert; ++ (instancetype)incorrectFeaturePositionAlert; + (instancetype)internalErrorAlert; + (instancetype)notEnoughSpaceAlert; + (instancetype)invalidUserNameOrPasswordAlert; diff --git a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm index 8266787688..70e7e28d0f 100644 --- a/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm +++ b/iphone/Maps/Classes/CustomAlert/DefaultAlert/MWMDefaultAlert.mm @@ -164,7 +164,7 @@ static NSString * const kDefaultAlertNibName = @"MWMDefaultAlert"; statisticsEvent:@"Internal Routing Error Alert"]; } -+ (instancetype)incorrectFeauturePositionAlert ++ (instancetype)incorrectFeaturePositionAlert { return [self defaultAlertWithTitle:L(@"dialog_incorrect_feature_position") message:L(@"message_invalid_feature_position") diff --git a/iphone/Maps/UI/Editor/Cells/MWMEditorSwitchTableViewCell.mm b/iphone/Maps/UI/Editor/Cells/MWMEditorSwitchTableViewCell.mm index 4510bea8d6..365b03a63b 100644 --- a/iphone/Maps/UI/Editor/Cells/MWMEditorSwitchTableViewCell.mm +++ b/iphone/Maps/UI/Editor/Cells/MWMEditorSwitchTableViewCell.mm @@ -23,10 +23,10 @@ self.icon.mwm_coloring = MWMImageColoringBlack; self.label.text = text; self.switchControl.on = on; - [self setTextColorWithSwithValue:on]; + [self setTextColorWithSwitchValue:on]; } -- (void)setTextColorWithSwithValue:(BOOL)value +- (void)setTextColorWithSwitchValue:(BOOL)value { self.label.textColor = value ? [UIColor blackPrimaryText] : [UIColor blackHintText]; } @@ -35,7 +35,7 @@ { BOOL const value = self.switchControl.on; [self.delegate cell:self changeSwitch:value]; - [self setTextColorWithSwithValue:value]; + [self setTextColorWithSwitchValue:value]; } @end diff --git a/iphone/Maps/UI/PlacePage/MWMPlacePageButtonsProtocol.h b/iphone/Maps/UI/PlacePage/MWMPlacePageButtonsProtocol.h index 67bbcca6ea..c5857c8eb0 100644 --- a/iphone/Maps/UI/PlacePage/MWMPlacePageButtonsProtocol.h +++ b/iphone/Maps/UI/PlacePage/MWMPlacePageButtonsProtocol.h @@ -16,7 +16,7 @@ typedef UIView * _Nullable (^MWMPlacePageButtonsDismissBlock)(NSInteger); referenceView:(nullable UIView *)referenceView referenceViewWhenDismissingHandler: (nonnull MWMPlacePageButtonsDismissBlock)referenceViewWhenDismissingHandler; -- (void)showGalery; +- (void)showGallery; - (void)openLocalAdsURL; - (void)reviewOn:(NSInteger)starNumber; diff --git a/iphone/Maps/UI/PlacePage/MWMPlacePageManager.mm b/iphone/Maps/UI/PlacePage/MWMPlacePageManager.mm index 4aeba657bd..89eb1b7490 100644 --- a/iphone/Maps/UI/PlacePage/MWMPlacePageManager.mm +++ b/iphone/Maps/UI/PlacePage/MWMPlacePageManager.mm @@ -551,7 +551,7 @@ void logSponsoredEvent(MWMPlacePageData * data, NSString * eventName) [[MapViewController controller] presentViewController:photoVC animated:YES completion:nil]; } -- (void)showGalery +- (void)showGallery { auto data = self.data; if (!data) diff --git a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPHotelCarouselCell.swift b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPHotelCarouselCell.swift index 61cba56c60..456bf66532 100644 --- a/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPHotelCarouselCell.swift +++ b/iphone/Maps/UI/PlacePage/PlacePageLayout/Content/BookingCells/PPHotelCarouselCell.swift @@ -52,7 +52,7 @@ extension PPHotelCarouselCell: UICollectionViewDelegate, UICollectionViewDataSou guard let d = delegate else { return } if isLastCell(indexPath) { - d.showGalery() + d.showGallery() } else { let section = indexPath.section d.showPhoto(at: indexPath.item,