From 9ecb641a3006bb237e8ce2d93cd3a3f5c6906214 Mon Sep 17 00:00:00 2001 From: Ashley Streb Date: Thu, 1 Dec 2016 18:29:54 -0500 Subject: [PATCH] Make selectedDate nullable If the property is not marked nullable then a forced unwrapping is occuring which is causing a crash. --- FSCalendar/FSCalendar.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FSCalendar/FSCalendar.h b/FSCalendar/FSCalendar.h index df3941f..582f9b4 100644 --- a/FSCalendar/FSCalendar.h +++ b/FSCalendar/FSCalendar.h @@ -417,7 +417,7 @@ IB_DESIGNABLE /** A date object identifying the section of the selected date. (read-only) */ -@property (readonly, nonatomic) NSDate *selectedDate; +@property (nullable, readonly, nonatomic) NSDate *selectedDate; /** The dates representing the selected dates. (read-only)