From d70051f035dc07c75f4a7f1bc48ba4ecc4faf665 Mon Sep 17 00:00:00 2001 From: Vlad Z Date: Tue, 11 May 2021 12:09:57 -0400 Subject: [PATCH] Make collectionView public in FSCalendar --- FSCalendar/FSCalendar.h | 3 +++ FSCalendar/FSCalendar.m | 1 - 2 files changed, 3 insertions(+), 1 deletion(-) 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 ()