IGCompactCalendarViewDelegate Protocol Reference

Conforms to NSObject
Declared in IGCompactCalendarView.h

Overview

The delegate of a IGCompactCalendarView object must adopt the IGCompactCalendarViewDelegate protocol. Optional methods of the protocol allow the delegate to manage navigation and interactions within the IGCompactCalendarView.

– compactCalendarView:monthChanged:

Tells the delegate that IGCompactCalendarView has navigated to a different month.

- (void)compactCalendarView:(IGCompactCalendarView *)calendarView monthChanged:(NSDate *)date

Parameters

date

The first day of the month that was just navigated to.

calView

The IGCompactCalendarView providing the information.

Declared In

IGCompactCalendarView.h

– compactCalendarView:activeDayWillChange:

Tells the delegate that a new day will be made active on the calendar.

- (BOOL)compactCalendarView:(IGCompactCalendarView *)calendarView activeDayWillChange:(NSDate *)date

Parameters

date

The actual date being made active.

calView

The IGCompactCalendarView providing the information.

Return Value

YES if you want to allow the date to be made active. Or no if you would like to cancel the activation of the date

Discussion

Return YES if you want to allow the day being selected to become active.

Declared In

IGCompactCalendarView.h

– compactCalendarView:activeDayChanged:

Tells the delegate that a new day hass been made active on the calendar.

- (void)compactCalendarView:(IGCompactCalendarView *)calendarView activeDayChanged:(NSDate *)date

Parameters

date

The actual date being that was made active.

calView

The IGCompactCalendarView providing the information.

Declared In

IGCompactCalendarView.h