LPW
2022-01-05 0b97cfb3490c70664ec62cd5f9e5f01abd912270
commit | author | age
6e1425 1 //
H 2 //  WASDKAlertView.h
3 //  WASDKAlertView
4 //
5 //  Created by wuyx on 16/1/15.
6 //  Copyright © 2016年 GHW. All rights reserved.
7 //
8
9 #import <UIKit/UIKit.h>
10 #import <WACommon/WACommon.h>
11 typedef enum WASDKAlertViewClicked{
12     WASDKAlertViewClickedButtonCancel = 1,
13     WASDKAlertViewClickedButtonOther
14 }WASDKAlertViewClicked;
15 @interface WASdkAlertView : UIView
16 @property(nonatomic,strong)NSString* title;
17 @property(nonatomic,strong)NSString* message;
18 @property(nonatomic,strong)NSString* cancelButtonTitle;
19 @property(nonatomic,strong)NSString* otherButtonTitles;
20 @property(nonatomic,strong)id delegate;
21 - (instancetype)initWithTitle:(NSString *)title message:(NSString *)message cancelButtonTitle:(NSString *)cancelButtonTitle otherButtonTitles:(NSString*)otherButtonTitles block:(void(^)(WASDKAlertViewClicked click))block;
22 -(void)show;
23 @end