IGCompactCalendarView Class Reference

Inherits from UIView
Declared in IGCompactCalendarView.h

Overview

The IGCompactCalendarView is a view that displays different a month in a compact format. Unlike the IGCalendarView you cannot navigate to differnt views. Instead, the control just allows you to quickly look through a calendar and see what days you have appointments.

  maxYear

The maximum year the IGCompactCalendarView should display. If the max year is hit, it will automatically loop around to the min year.

@property (nonatomic, assign) NSInteger maxYear

Declared In

IGCompactCalendarView.h

  minYear

The minimum year the IGCompactCalendarView should display. If the min year is hit, it will automatically loop around to the max year.

@property (nonatomic, assign) NSInteger minYear

Declared In

IGCompactCalendarView.h

  appointmentDataSource

The object that provides the appointment information for the calendar view.

@property (nonatomic, weak) id<IGCompactCalendarAppointmentDataSource> appointmentDataSource

Discussion

The datasource must adopt the IGCompactCalendarAppointmentDataSource protocol.

Declared In

IGCompactCalendarView.h

  theme

The object that provides the theme information for the calendar view.

@property (nonatomic, weak) id<IGCompactCalendarViewThemeDefinition> theme

Discussion

The theme must adopt the IGCompactCalendarViewThemeDefinition protocol.

Declared In

IGCompactCalendarView.h

  delegate

The object that acts as the delegate of the calendar view.

@property (nonatomic, weak) id<IGCompactCalendarViewDelegate> delegate

Discussion

The delegate must adopt the IGCompactCalendarViewDelegate protocol.

Declared In

IGCompactCalendarView.h

– setActiveDay:navigateToInView:

Sets the active day in the IGCompactCalendarView

- (void)setActiveDay:(NSDate *)date navigateToInView:(BOOL)navigate

Parameters

date

The date that should be made active.

navigate

YES if you want the calendar to navigate so the active day is visible.

Declared In

IGCompactCalendarView.h

– setActiveDay:month:year:navigateToInView:

Sets the active day in the IGCompactCalendarView

- (void)setActiveDay:(NSInteger)day month:(NSInteger)month year:(NSInteger)year navigateToInView:(BOOL)navigate

Parameters

day

The day that should be made active.

month

The month of the day that should be made active.

navigate

YES if you want the calendar to navigate so the active day is visible.

tear

The year of the month of the day that should be made active.

Declared In

IGCompactCalendarView.h

– invalidate

Causes the IGCompactCalendarView to completely invalidate itself and reload the theme and any appointments getting displayed.

- (void)invalidate

Declared In

IGCompactCalendarView.h

  activeDay

Gets the active day in the IGCompactCalendarView.

@property (nonatomic, readonly) NSDate *activeDay

Declared In

IGCompactCalendarView.h