Wuyx
2017-01-04 0ba5a82e9ec833aa36729dfbad7deffbf3ea05c6
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