JLChen
2021-11-04 1443556e9ccb1a19ed8e6710c16c8adc4d4f4fb3
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
//
//  Copyright © 2018年 dahua. All rights reserved.
//
 
#import "LCUIKit.h"
 
 
@class LCActionSheet;
@protocol LCActionSheetDelegate <NSObject>
 
- (void)actionSheetSubmit:(LCActionSheet *)actionSheet;
- (void)actionSheetCancel:(LCActionSheet *)actionSheet;
 
@end
 
@interface LCActionSheet : UIView
 
@property (nonatomic, assign) id<LCActionSheetDelegate> delegate;
@property (nonatomic, strong) NSString *selectedData;//当前选中的数据
 
- (instancetype)initWithDataArray:(NSArray *)dataArray delegate:(id<LCActionSheetDelegate>)delegate title:(NSString *)title unit:(NSString *)unit cancelButtonTitle:(NSString *)cancelButtonTitle submitButtonTitle:(NSString *)submitButtonTitle;
 
- (void)show;
- (void)dismiss;
@end