diff --git a/FSCalendar/FSCalendar.h b/FSCalendar/FSCalendar.h index 0379d097..581f280c 100644 --- a/FSCalendar/FSCalendar.h +++ b/FSCalendar/FSCalendar.h @@ -16,6 +16,7 @@ // #import +#import "FSCalendarCollectionView.h" #import "FSCalendarAppearance.h" #import "FSCalendarConstants.h" #import "FSCalendarCell.h" @@ -242,6 +243,8 @@ NS_ASSUME_NONNULL_BEGIN IB_DESIGNABLE @interface FSCalendar : UIView +@property (weak , nonatomic) FSCalendarCollectionView *collectionView; + /** * The object that acts as the delegate of the calendar. */ diff --git a/FSCalendar/FSCalendar.m b/FSCalendar/FSCalendar.m index baa8bd64..a104436f 100644 --- a/FSCalendar/FSCalendar.m +++ b/FSCalendar/FSCalendar.m @@ -54,7 +54,6 @@ @interface FSCalendar ()