IGCompactCalendarViewThemeDefinition Protocol Reference

Conforms to NSObject
Declared in IGCompactCalendarView.h

Overview

The IGCompactCalendarViewThemeDefinition protocol is adopted by an object that mediates key styling points of a IGCompactCalendarView object. The theme provides the calendar view object with the information it needs to style specific areas of the calendar view.

The protocol is designed to simplify whats neccessary. For example, you don’t need to provide any font sizes used by calendar. Instead you just provide the names of the font, and the calendar will autmoatically pick the best font sizes.

If an option is not provided the default theme will be used.

– headerFontName required method

The name of a font that represents objects such as the header area of the calendar.

- (NSString *)headerFontName

Declared In

IGCompactCalendarView.h

– dayFontName required method

The name of a font that represents objects such as the day numbers of the calendar.

- (NSString *)dayFontName

Declared In

IGCompactCalendarView.h

– weekDayFontName required method

The name of a font that represents objects such as the week day values of the calendar.

- (NSString *)weekDayFontName

Declared In

IGCompactCalendarView.h

  highlightColor required method

The tint color that should be used to highlight things such as Today and the currently selected day..

@property (nonatomic, readonly) UIColor *highlightColor

Declared In

IGCompactCalendarView.h

  highlightOffsetColor required method

The color used as the opposite of the tint color. It’s mainly used fo the text color of currently selected day.

@property (nonatomic, readonly) UIColor *highlightOffsetColor

Declared In

IGCompactCalendarView.h

  dayTextColor required method

The color used for the text of days

@property (nonatomic, readonly) UIColor *dayTextColor

Declared In

IGCompactCalendarView.h

  weekDayTextColor required method

The color used for the text of week days

@property (nonatomic, readonly) UIColor *weekDayTextColor

Declared In

IGCompactCalendarView.h

  headerTextColor required method

The color used for the text of the header where the month name and year are displayed

@property (nonatomic, readonly) UIColor *headerTextColor

Declared In

IGCompactCalendarView.h

  headerBackgroundColor required method

The color used for the background area of the header of the calendar

@property (nonatomic, readonly) UIColor *headerBackgroundColor

Declared In

IGCompactCalendarView.h