lpw
2021-02-02 4ae86a682de87b00d87eb2783b51b2d0f844a798
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