Make selectedDate nullable
If the property is not marked nullable then a forced unwrapping is occuring which is causing a crash.
This commit is contained in:
parent
f7ca21461f
commit
9ecb641a30
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Reference in New Issue