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
//
//  Copyright © 2020 dahua. All rights reserved.
//。日期控件
 
#import <UIKit/UIKit.h>
#import "LCUIKit.h"
NS_ASSUME_NONNULL_BEGIN
 
typedef void(^videoDateControlBlock)(NSDate * date);
 
@interface LCVideotapeListDateControl : UIView
///前一天按钮
@property (strong, nonatomic)LCButton *lastDay;
///日期展示
@property (strong, nonatomic)UILabel *dateLab;
///后一天按钮
@property (strong, nonatomic)LCButton *nextDay;
///选择的时间
@property (copy, nonatomic) videoDateControlBlock result;
/// 当前日期
@property (strong, nonatomic) NSDate *nowDate;
/// enable
@property (nonatomic) BOOL enable;
 
@end
 
NS_ASSUME_NONNULL_END