You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@@ -45,17 +45,17 @@ If you don't like cocoapods or Carthage or Cocoapods-Rome, you can still import
45
45
##Customize it
46
46
47
47
###Calendar
48
-
*`firstDate` : When the calendar must starts. If you don't specify anything, it will default to the first day of the current month (based on `[NSDate date]`).
49
-
*`lastDate` : When the calendar must ends. If you don't specify anything, it will default to the last day of the next year (based on `firstDate`).
48
+
*`firstDate` : When the calendar must starts. If you don't specify anything, it will default to the first day of the current month (based on `[NSDate date]`). If `firstDate` is not the 1st of the month, the calendar will display the full month, but dates < `firstDate` will be disabled.
49
+
*`lastDate` : When the calendar must ends. If you don't specify anything, it will default to the last day of the next year (based on `firstDate`). If `lastDate` is not the last day of the month, the calendar will display the full month, but dates > `lastDate` will be disabled.
50
50
*`calendar` : Which calendar to use for display and date calculations. You can set any calendar supported by `NSCalendar`. the default value will be `[NSCalendar currentCalendar]`.
51
-
52
-
**New in 0.6**: if you specify a 'firstDate' and/or 'lastDate' the calendar will display the full month, but dates < firstDate or > lastDate will be disabled. You can see this behavior in the demo app.
51
+
*`weekdayHeaderEnabled`: If enabled, add an extra header on top of the calendar with the days of the week. Default is NO.
52
+
*`weekdayTextType`: If weekday header is enabled, you can customize the format of the label. (Short (3 letters), VeryShort (1 letter), StandAlone (Full name of the day))
53
53
54
54
55
55
###Colors
56
56
You can change the display of the calendar using `backgroundColor` & `overlayTextColor` properties on `PDTSimpleCalendarViewController`.
57
57
58
-
Other colors can be set using UIAppearance on `PDTSimpleCalendarViewCell`& `PDTSimpleCalendarViewHeader`
58
+
Other colors can be set using UIAppearance on `PDTSimpleCalendarViewCell`, `PDTSimpleCalendarViewHeader`& `PDTSimpleCalendarViewWeekdayHeader`
0 commit comments