TKCalendarMonthViewDelegate Protocol Reference
Conforms to | NSObject |
Declared in | TKCalendarMonthView.h |
Overview
The delegate of a TKCalendarMonthView
object must adopt the TKCalendarMonthViewDelegate
protocol.
Tasks
-
– calendarMonthView:didSelectDate:
The highlighed date changed.
-
– calendarMonthView:monthShouldChange:animated:
The calendar should change the current month to grid shown.
-
– calendarMonthView:monthWillChange:animated:
The calendar will change the current month to grid shown.
-
– calendarMonthView:monthDidChange:animated:
The calendar did change the current month to grid shown.
Instance Methods
calendarMonthView:didSelectDate:
The highlighed date changed.
- (void)calendarMonthView:(TKCalendarMonthView *)monthView didSelectDate:(NSDate *)date
Parameters
- monthView
The calendar month view.
- date
The highlighted date.
Discussion
The highlighed date changed.
Declared In
TKCalendarMonthView.h
calendarMonthView:monthDidChange:animated:
The calendar did change the current month to grid shown.
- (void)calendarMonthView:(TKCalendarMonthView *)monthView monthDidChange:(NSDate *)month animated:(BOOL)animated
Parameters
- monthView
The calendar month view.
- month
The month date.
- animated
Animation flag
Discussion
The calendar did change the current month to grid shown.
Declared In
TKCalendarMonthView.h
calendarMonthView:monthShouldChange:animated:
The calendar should change the current month to grid shown.
- (BOOL)calendarMonthView:(TKCalendarMonthView *)monthView monthShouldChange:(NSDate *)month animated:(BOOL)animated
Parameters
- monthView
The calendar month view.
- month
The month date.
- animated
Animation flag
Return Value
YES if the month should change. NO otherwise
Discussion
The calendar should change the current month to grid shown.
Declared In
TKCalendarMonthView.h
calendarMonthView:monthWillChange:animated:
The calendar will change the current month to grid shown.
- (void)calendarMonthView:(TKCalendarMonthView *)monthView monthWillChange:(NSDate *)month animated:(BOOL)animated
Parameters
- monthView
The calendar month view.
- month
The month date.
- animated
Animation flag
Discussion
The calendar will change the current month to grid shown.
Declared In
TKCalendarMonthView.h