18 lines
748 B
Objective-C
Executable File
18 lines
748 B
Objective-C
Executable File
//
|
|
// HttpManager.h
|
|
// myhome
|
|
//
|
|
// Created by hkh on 16/11/6.
|
|
//
|
|
#import <Foundation/Foundation.h>
|
|
#import <UIKit/UIKit.h>
|
|
|
|
@interface Msg: NSObject
|
|
+ (void)alert:(NSString *)msg;
|
|
+ (void)Alert:(UIViewController *)page Msg:(NSString *)msg;
|
|
+ (UIAlertController *)Waiting:(UIViewController *)page Msg:(NSString *)msg SelectedHandler:(void (^)(void)) handler;
|
|
+ (void)MessageBox:(UIViewController *)page Msg:(NSString *)msg SelectedHandler:(void (^)(int index)) handler;
|
|
+ (UIAlertController *)OpendoorByPwd:(UIViewController *)page SelectedHandler:(void (^)(int index)) handler ;
|
|
+ (void)Select:(UIViewController *)page SourceView:(UIView *)view Title:(NSString *)title Options:(NSArray *)arr SelectedHandler:(void (^)(int index)) handler;
|
|
@end
|