//
//  InviteRegulationView.h
//  Open
//
//  Created by 雷俊博 on 2019/9/16.
//  Copyright © 2019 黄江涛 . All rights reserved.
//

#import <UIKit/UIKit.h>

NS_ASSUME_NONNULL_BEGIN

@class InviteRegulationView;

@protocol CQDeclareAlertViewDelegate <NSObject>

/** 弹窗按钮点击的回调 */
- (void)CQDeclareAlertView:(InviteRegulationView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;

@end

@interface InviteRegulationView : UIView

@property (nonatomic, weak) id <CQDeclareAlertViewDelegate> delegate;

- (instancetype)initWithTitle:(NSString *)title message:(NSString *)message delegate:(id)delegate ButtonTitle:(NSString *)buttonTitle;

/** show出这个弹窗 */
- (void)show;

@end

NS_ASSUME_NONNULL_END
