//
//  UIAlertView+LTAlert.h
//  LTUtility
//
//  Created by 孙泉 on 2018/5/17.
//  Copyright © 2018年 longtugame. All rights reserved.
//

#import <UIKit/UIKit.h>

typedef void(^LTAlertClickBlock)(NSInteger index);

@interface UIAlertView (LTAlert)

@property (nonatomic, copy) LTAlertClickBlock clickBlock;

/**
 显示提示框

 @param title 标题
 @param message 内容
 @param cancel 取消按钮
 @param others 其他按钮
 @param click 点击回调
 */
+ (void)ltAlert_showTitle:(NSString *)title
                  message:(NSString *)message
                   cancel:(NSString *)cancel
                   others:(NSArray<NSString *> *)others
                    click:(LTAlertClickBlock)click;

@end
