7#import <Foundation/Foundation.h>
10NS_ASSUME_NONNULL_BEGIN
18@protocol AlertViewManagerDelegate <NSObject>
26- (void)alertSelect:(nonnull NSDictionary *)info;
32- (void)alertClose:(nonnull NSDictionary *)info;
73- (void)makeAlert:(
int)type
74 delegate:(nullable
id<AlertViewManagerDelegate>)delegate
76 title:(nullable NSString *)title
77 msg:(nullable NSString *)msg
78 cancel:(nullable NSString *)cancelBtnText
79 btnText:(nullable NSArray<NSString *> *)otherButtonTitles
81 viewController:(nullable UIViewController *)viewController;
96- (void)makeAlert:(
int)type
97 delegate:(nullable
id<AlertViewManagerDelegate>)delegate
99 title:(nullable NSString *)title
100 msg:(nullable NSString *)msg
101 cancel:(nullable NSString *)cancelBtnText
102 btnText:(nullable NSArray<NSString *> *)otherButtonTitles
The process-wide alert manager.
Definition AlertViewManager.h:41
void showUpdateAlert()
Presents the localised "App update is required." alert, whose only button opens the App Store.
Definition AlertViewManager.m:208
void closeAlert()
Dismisses the currently presented alert, if any.
Definition AlertViewManager.m:78
instancetype sharedManager()
The shared singleton, created once on first access.
Definition AlertViewManager.m:45