// // BlockAlertController.h // MIT_Endorsement // // Created by 翟玉磊 on 2018/4/2. // Copyright © 2018年 翟玉磊. All rights reserved. // #import @interface BlockAlertController : NSObject + (UIAlertController *)actionSheetWithTitle:(NSString *)title message:(NSString *)message actionTitles:(NSArray *)titles cancelTitle:(NSString *)cancelTitle clickAction:(void(^)(UIAlertAction *action))completion; + (UIAlertController *)alertWithTitle:(NSString *)title message:(NSString *)message cancelTitle:(NSString *)cancelTitle sureTitle:(NSString *)sureTitle clickAction:(void(^)(UIAlertAction *action))completion; + (UIAlertController *)alertWithTitle:(NSString *)title message:(NSString *)message cancelTitle:(NSString *)cancelTitle cancelTitleColor:(UIColor *)cancelTitleColor sureTitle:(NSString *)sureTitle sureTitleColor:(UIColor *)sureTitleColor clickAction:(void(^)(UIAlertAction *action))completion; @end