Conforms to NSObject
Declared in IGCalendarThemeDefinition.h

Overview

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

All methods and properties in this protocol are optional.

The protocol is designed to simplify whats neccessary. For example, you don’t need to provide all the font sizes used by calendar. Instead you provide a range, which is used to calculate the font size that should be used in various areas of the calendar. The same goes with colors and fonts.

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

Tasks

  •   fontNameNormal

    The name of a font that represents objects such as title bar text.

    property
  •   fontNameHeavy

    The name of a font that represents objects such as appointment text.

    property
  •   fontNameLight

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

    property
  •   fontSizeYearLabel

    The FontSize of the year displayed in the IGCalendarViewDisplayTypeYear

    property
  •   fontSizeMax

    The high end of the range of font sizes that should be used.

    property
  •   fontSizeMin

    The low end of the range of font sizes that should be used.

    property
  •   yearViewMonthSpacing

    The horizontal and vertical spacing that should be between months in the IGCalendarViewDisplayTypeYear

    property
  •   highlightColor

    The tint color that should be used to highlight things such as Today, and month names.

    property
  •   majorColor

    The color primarily used for text color

    property
  •   minorColor

    The color used for areas such as the Title bar.

    property
  •   backingColor

    The main background color of the calendar

    property
  •   outLineColor

    The color used for borders such as the IGCalendarViewDisplayTypeMonth separators

    property
  •   lightTextColor

    The color used for standard appointments in IGCalendarViewDisplayTypeMonth

    property
  •   weekDayDisplayType

    The format that the week day names should be displayed in.

    property

Properties

backingColor

The main background color of the calendar

@property (nonatomic, readonly) UIColor *backingColor

Declared In

IGCalendarThemeDefinition.h

fontNameHeavy

The name of a font that represents objects such as appointment text.

@property (nonatomic, readonly) NSString *fontNameHeavy

Declared In

IGCalendarThemeDefinition.h

fontNameLight

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

@property (nonatomic, readonly) NSString *fontNameLight

Declared In

IGCalendarThemeDefinition.h

fontNameNormal

The name of a font that represents objects such as title bar text.

@property (nonatomic, readonly) NSString *fontNameNormal

Declared In

IGCalendarThemeDefinition.h

fontSizeMax

The high end of the range of font sizes that should be used.

@property (nonatomic, readonly) CGFloat fontSizeMax

Declared In

IGCalendarThemeDefinition.h

fontSizeMin

The low end of the range of font sizes that should be used.

@property (nonatomic, readonly) CGFloat fontSizeMin

Declared In

IGCalendarThemeDefinition.h

fontSizeYearLabel

The FontSize of the year displayed in the IGCalendarViewDisplayTypeYear

@property (nonatomic, readonly) CGFloat fontSizeYearLabel

Declared In

IGCalendarThemeDefinition.h

highlightColor

The tint color that should be used to highlight things such as Today, and month names.

@property (nonatomic, readonly) UIColor *highlightColor

Declared In

IGCalendarThemeDefinition.h

lightTextColor

The color used for standard appointments in IGCalendarViewDisplayTypeMonth

@property (nonatomic, readonly) UIColor *lightTextColor

Declared In

IGCalendarThemeDefinition.h

majorColor

The color primarily used for text color

@property (nonatomic, readonly) UIColor *majorColor

Declared In

IGCalendarThemeDefinition.h

minorColor

The color used for areas such as the Title bar.

@property (nonatomic, readonly) UIColor *minorColor

Declared In

IGCalendarThemeDefinition.h

outLineColor

The color used for borders such as the IGCalendarViewDisplayTypeMonth separators

@property (nonatomic, readonly) UIColor *outLineColor

Declared In

IGCalendarThemeDefinition.h

weekDayDisplayType

The format that the week day names should be displayed in.

@property (nonatomic, readonly) IGCalendarWeekDayDisplayType weekDayDisplayType

Declared In

IGCalendarThemeDefinition.h

yearViewMonthSpacing

The horizontal and vertical spacing that should be between months in the IGCalendarViewDisplayTypeYear

@property (nonatomic, readonly) CGSize yearViewMonthSpacing

Declared In

IGCalendarThemeDefinition.h