TKCalendarMonthViewDataSource Protocol Reference
Conforms to | NSObject |
Declared in | TKCalendarMonthView.h |
Overview
The data source of a TKCalendarMonthView
object must adopt the TKCalendarMonthViewDataSource
protocol.
Tasks
-
– calendarMonthView:marksFromDate:toDate:
A data source that will correspond to marks for the calendar month grid for a particular month.
required method
Instance Methods
calendarMonthView:marksFromDate:toDate:
A data source that will correspond to marks for the calendar month grid for a particular month.
- (NSArray *)calendarMonthView:(TKCalendarMonthView *)monthView marksFromDate:(NSDate *)startDate toDate:(NSDate *)lastDate
Parameters
- monthView
The calendar month grid.
- startDate
The first date shown by the calendar month grid.
- lastDate
The last date shown by the calendar month grid.
Return Value
Returns an array of NSNumber objects corresponding the number of days specified in the start and last day parameters. Each NSNumber variable will give a BOOL value that will be used to display a dot under the day.
Discussion
A data source that will correspond to marks for the calendar month grid for a particular month.
Declared In
TKCalendarMonthView.h