From b033061c1bd3ff70ff63ba78e5721e9120aed129 Mon Sep 17 00:00:00 2001 From: Wenchao Ding Date: Thu, 15 Dec 2016 16:04:18 +0800 Subject: [PATCH] Fix issue #514 --- FSCalendar/FSCalendar.m | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/FSCalendar/FSCalendar.m b/FSCalendar/FSCalendar.m index f6822e5c..e55154e0 100644 --- a/FSCalendar/FSCalendar.m +++ b/FSCalendar/FSCalendar.m @@ -792,7 +792,7 @@ - (void)setToday:(NSDate *)today if (self.hasValidateVisibleLayout) { [_collectionView.visibleCells makeObjectsPerformSelector:@selector(setDateIsToday:) withObject:@NO]; [[_collectionView cellForItemAtIndexPath:[self.calculator indexPathForDate:today]] setValue:@YES forKey:@"dateIsToday"]; - [_collectionView.visibleCells makeObjectsPerformSelector:@selector(setNeedsLayout)]; + [_collectionView.visibleCells makeObjectsPerformSelector:@selector(configureAppearance)]; } }