BBASMActionSheet.h 1.57 KB
//
//  BBAActionSheet.h
//  SWAN
//
//  Created by baidu on 2018/7/18.
//  Copyright © 2018年 Baidu. All rights reserved.
//

#import "BBAActionSheet.h"

@interface BBASMActionSheet : BBAActionSheet

/**
 * @brief 如果支持分组,返还分组样式,这个字符串代码分割线,写到otherbuttons里面即可
 * @return 返回一个内部定义的特殊字符串
 */
+(NSString *)contentSeperator;

/**
 * @brief 手百默认样式的ActionSheet
 * @param title actionSheet标题
 * @param delegate 代理
 * @param cancelButtonTitle 取消按钮标题
 * @param otherButtonTitles 其他按钮标题
 * @return 返回BBAActionSheet对象
 */
+ (instancetype)defaultActionSheetWithTitle:(NSString *)title
                                   delegate:(id<BBAActionSheetDelegate>)delegate
                          cancelButtonTitle:(NSString *)cancelButtonTitle
                          otherButtonTitles:(NSString *)otherButtonTitles, ...;

/**
 * @brief 手百默认样式的ActionSheet
 * @param title actionSheet标题
 * @param titleColor 标题颜色
 * @param selectCallBack 选择后的回调
 * @param cancelButtonTitle 取消按钮标题
 * @param otherButtonTitles 其他按钮标题
 * @return 返回BBAActionSheet对象
 */
+ (instancetype)defaultActionSheetWithTitle:(NSString *)title
                                 titleColor:(NSString *)titleColor
                             selectCallBack:(void(^)(NSInteger))selectCallBack
                          cancelButtonTitle:(NSString *)cancelButtonTitle
                          otherButtonTitles:(NSArray *)otherButtonTitles;
@end