/
githubmirror
/
omim
Обзор
Документация
Войти
/
githubmirror
/
omim
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
iphone/Maps/Classes/CustomAlert/BaseAlert/MWMAlert.h
61 строка
3 KB
Alexander Boriskov
[iOS] Added error message on failed authorization
21 окт 2020, 17:29
21 окт 2020, 17:29
b8604b8
Код
Авторство
О чём код?
@class MWMAlertViewController; @interface MWMAlert : UIView @property(weak, nonatomic) MWMAlertViewController *alertController; + (MWMAlert *)rateAlert; + (MWMAlert *)authErrorAlertWithRetryBlock:(MWMVoidBlock)retryBlock; + (MWMAlert *)locationAlertWithCancelBlock:(MWMVoidBlock)cancelBlock; + (MWMAlert *)routingDisclaimerAlertWithOkBlock:(MWMVoidBlock)block; + (MWMAlert *)disabledLocationAlert; + (MWMAlert *)noWiFiAlertWithOkBlock:(MWMVoidBlock)okBlock andCancelBlock:(MWMVoidBlock)cancelBlock; + (MWMAlert *)noConnectionAlert; + (MWMAlert *)searchQuickFilterNoConnectionAlert; + (MWMAlert *)deleteMapProhibitedAlert; + (MWMAlert *)unsavedEditsAlertWithOkBlock:(MWMVoidBlock)okBlock; + (MWMAlert *)locationServiceNotSupportedAlert; + (MWMAlert *)incorrectFeaturePositionAlert; + (MWMAlert *)internalErrorAlert; + (MWMAlert *)notEnoughSpaceAlert; + (MWMAlert *)invalidUserNameOrPasswordAlert; + (MWMAlert *)point2PointAlertWithOkBlock:(MWMVoidBlock)okBlock needToRebuild:(BOOL)needToRebuild; + (MWMAlert *)disableAutoDownloadAlertWithOkBlock:(MWMVoidBlock)okBlock; + (MWMAlert *)downloaderNoConnectionAlertWithOkBlock:(MWMVoidBlock)okBlock cancelBlock:(MWMVoidBlock)cancelBlock; + (MWMAlert *)downloaderNotEnoughSpaceAlert; + (MWMAlert *)downloaderInternalErrorAlertWithOkBlock:(MWMVoidBlock)okBlock cancelBlock:(MWMVoidBlock)cancelBlock; + (MWMAlert *)downloaderNeedUpdateAlertWithOkBlock:(MWMVoidBlock)okBlock; + (MWMAlert *)placeDoesntExistAlertWithBlock:(MWMStringBlock)block; + (MWMAlert *)resetChangesAlertWithBlock:(MWMVoidBlock)block; + (MWMAlert *)deleteFeatureAlertWithBlock:(MWMVoidBlock)block; + (MWMAlert *)editorViralAlert; + (MWMAlert *)osmAuthAlert; + (MWMAlert *)personalInfoWarningAlertWithBlock:(MWMVoidBlock)block; + (MWMAlert *)trackWarningAlertWithCancelBlock:(MWMVoidBlock)block; + (MWMAlert *)infoAlert:(NSString *)title text:(NSString *)text; + (MWMAlert *)createBookmarkCategoryAlertWithMaxCharacterNum:(NSUInteger)max minCharacterNum:(NSUInteger)min callback:(MWMCheckStringBlock)callback; + (MWMAlert *)convertBookmarksAlertWithCount:(NSUInteger)count block:(MWMVoidBlock)block; + (MWMAlert *)spinnerAlertWithTitle:(NSString *)title cancel:(MWMVoidBlock)cancel; + (MWMAlert *)bookmarkConversionErrorAlert; + (MWMAlert *)restoreBookmarkAlertWithMessage:(NSString *)message rightButtonAction:(MWMVoidBlock)rightButton leftButtonAction:(MWMVoidBlock)leftButton; + (MWMAlert *)tagsLoadingErrorAlertWithOkBlock:okBlock cancelBlock:cancelBlock; + (MWMAlert *)defaultAlertWithTitle:(NSString *)title message:(NSString *)message rightButtonTitle:(NSString *)rightButtonTitle leftButtonTitle:(NSString *)leftButtonTitle rightButtonAction:(MWMVoidBlock)action; - (void)close:(MWMVoidBlock)completion; - (void)setNeedsCloseAlertAfterEnterBackground; - (void)willRotateToInterfaceOrientation:(UIInterfaceOrientation)orientation; - (void)rotate:(UIInterfaceOrientation)toInterfaceOrientation duration:(NSTimeInterval)duration; - (void)addControllerViewToWindow; @end