TKCalendarDayViewDataSource Protocol Reference
Conforms to | NSObject |
Declared in | TKCalendarDayView.h |
Overview
The data source of a TKCalendarDayView
object must adopt the TKCalendarDayViewDataSource
protocol.
Tasks
-
– calendarDayTimelineView:eventsForDate:
A data source that will request event views for particular dates.
required method
Instance Methods
calendarDayTimelineView:eventsForDate:
A data source that will request event views for particular dates.
- (NSArray *)calendarDayTimelineView:(TKCalendarDayView *)calendarDay eventsForDate:(NSDate *)date
Parameters
- calendarDay
The calendar day view.
- date
The date of the events that should be returned.
Return Value
Returns an array of TKCalendarDayEventView
objects.
Discussion
A data source that will request event views for particular dates.
Declared In
TKCalendarDayView.h