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
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
//
//  Copyright © 2020 dahua. All rights reserved.
//
 
#import <UIKit/UIKit.h>
 
NS_ASSUME_NONNULL_BEGIN
 
typedef void(^LCDeviceSwitchCellValueChangeBlock)(BOOL value);
 
@interface LCDeviceSwitchCell : UITableViewCell
 
/**
 操作结果返回
 */
@property (copy,nonatomic) LCDeviceSwitchCellValueChangeBlock block;
 
/**
 title
 */
@property (strong,nonatomic) NSString * title;
 
/**
 设定开关
 
 @param switchValue 开关状态
 */
-(void)setSwitch:(BOOL)switchValue;
 
/**
 设定状态
 
 @param enable 控制状态
 */
-(void)setEnable:(BOOL)enable;
 
 
 
 
@end
 
NS_ASSUME_NONNULL_END