You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
30 lines
705 B
30 lines
705 B
![]()
2 years ago
|
//
|
||
|
// EBCalendarView.h
|
||
|
// EBCalendarViewDemo
|
||
|
//
|
||
|
// Created by HoYo on 2018/4/25.
|
||
|
// Copyright © 2018年 HoYo. All rights reserved.
|
||
|
//
|
||
|
|
||
|
#import <UIKit/UIKit.h>
|
||
|
|
||
|
@protocol EBCalendarViewDelegate;
|
||
|
|
||
|
@interface EBCalendarView : UIView
|
||
|
// 默认-1不做限制
|
||
|
@property (nonatomic, assign) NSInteger maxLastMonths;
|
||
|
// 默认-1不做限制
|
||
|
@property (nonatomic, assign) NSInteger maxNextMonths;
|
||
|
|
||
|
/// <#arguments#>
|
||
|
@property (nonatomic ,strong) NSMutableArray *signDate;
|
||
|
- (void)signViewUpdate;
|
||
|
|
||
|
@property (nonatomic, weak) id<EBCalendarViewDelegate> delegate;
|
||
|
@end
|
||
|
|
||
|
@protocol EBCalendarViewDelegate <NSObject>
|
||
|
@optional
|
||
|
- (void)calendarView:(EBCalendarView*)calendarView didSelectedDate:(NSDate*)date;
|
||
|
@end
|