Add FSCalendarCaseOptions

1. Add FSCalendarCaseOptions
2. Deprecate useVeryShortWeekdaySymbols
This commit is contained in:
dingwenchao
2015-10-21 18:59:36 +08:00
parent 8a8ebf212c
commit 0104a03dc6
11 changed files with 104 additions and 61 deletions
@@ -34,6 +34,7 @@
calendar.pagingEnabled = NO; // important
calendar.allowsMultipleSelection = YES;
calendar.backgroundColor = [UIColor whiteColor];
// calendar.appearance.caseOptions = FSCalendarCaseOptionsWeekdayUsesSingleUpperCase;
[self.view addSubview:calendar];
self.calendar = calendar;
}
@@ -42,6 +43,10 @@
{
[super viewDidLoad];
// dispatch_after(dispatch_time(DISPATCH_TIME_NOW, (int64_t)(2.0 * NSEC_PER_SEC)), dispatch_get_main_queue(), ^{
// _calendar.appearance.caseOptions = FSCalendarCaseOptionsWeekdayUsesDefaultCase|FSCalendarCaseOptionsHeaderUsesUpperCase;
// });
#if 0
FSCalendarTestSelectDate
#endif