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