Inherits from NSObject
Declared in SCalendarStyle.h
Availability
Related samples

Overview

Customises the appearence of a ShinobiCalendar.

Tasks

  •   activeYearStyle

    The style applied to year views within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

    property
  •   inactiveYearStyle

    The style applied to years outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

    property
  •   activeMonthStyle

    The style applied to the month views within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

    property
  •   inactiveMonthStyle

    The style applied to the month views outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

    property
  •   activeDayLabelStyle

    The style aplied to day indicators within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

    property
  •   inactiveDayLabelStyle

    The style applied to day indicators outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

    property
  •   todayLabelStyle

    The style for the day label for the current date.

    property
  •   activeEventStyle

    The style applied to events within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

    property
  •   inactiveEventStyle

    The style applied to events outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

    property
  •   hourLineStyle

    The style for the hour lines displayed when the calendar is at the day zoom level.

    property
  •   hourLabelStyle

    The style for the hour labels displayed when the calendar is at the day zoom level.

    property
  •   hourLineFrequency

    The frequency of the lines representing each hour at the day zoom level. Defaults to 1, which shows every hour line. Setting this property to 3, for example, will show hour lines at 3am, 6am, 9am, midday, etc.

    property
  •   activeIndicatorStyle

    The style applied to event indicators within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

    property
  •   inactiveIndicatorStyle

    The style applied to event indicators outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

    property
  •   moreEventsFormatString

    The format string that is used to present the “x more events…” label when there is not enough room to show all the events on a single day in week view. NOTE: The number will be passed to the format string as an NSNumber. The default value is “and %@ more…”.

    property
  •   monthTitleFormatString

    The format string for the month title. The default value is “MMM”.

    property
  •   monthViewHorizontalPaddingAtYearZoomLevel

    The horizontal padding between months when the calendar is at the year zoom level. Increasing the padding will decrease the size of the month views at the year zoom level.

    property
  •   yearLabelPaddingTop

    The padding above the year label.

    property
  •   yearLabelPaddingBottom

    The padding below the year label.

    property
  •   monthViewPaddingTop

    The padding above each month view.

    property
  •   monthViewPaddingBottom

    The padding below each month view.

    property
  •   weekViewPaddingTop

    The padding above each week view.

    property
  •   weekViewPaddingBottom

    The padding below each week view.

    property

Properties

activeDayLabelStyle

The style aplied to day indicators within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

@property (nonatomic, strong) SCalendarDayStyle *activeDayLabelStyle

Declared In

SCalendarStyle.h

activeEventStyle

The style applied to events within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

@property (nonatomic, strong) SCalendarEventStyle *activeEventStyle

Declared In

SCalendarStyle.h

activeIndicatorStyle

The style applied to event indicators within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

@property (nonatomic, strong) SCalendarIndicatorStyle *activeIndicatorStyle

Declared In

SCalendarStyle.h

activeMonthStyle

The style applied to the month views within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

@property (nonatomic, strong) SCalendarMonthStyle *activeMonthStyle

Declared In

SCalendarStyle.h

activeYearStyle

The style applied to year views within the minimum and maximum dates. If there are no minimum or maximum dates, then this style is used everywhere.

@property (nonatomic, strong) SCalendarYearStyle *activeYearStyle

Declared In

SCalendarStyle.h

hourLabelStyle

The style for the hour labels displayed when the calendar is at the day zoom level.

@property (nonatomic, strong) SCalendarHourLabelStyle *hourLabelStyle

Declared In

SCalendarStyle.h

hourLineFrequency

The frequency of the lines representing each hour at the day zoom level. Defaults to 1, which shows every hour line. Setting this property to 3, for example, will show hour lines at 3am, 6am, 9am, midday, etc.

@property (nonatomic, assign) NSInteger hourLineFrequency

Declared In

SCalendarStyle.h

hourLineStyle

The style for the hour lines displayed when the calendar is at the day zoom level.

@property (nonatomic, strong) SCalendarHourLineStyle *hourLineStyle

Declared In

SCalendarStyle.h

inactiveDayLabelStyle

The style applied to day indicators outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

@property (nonatomic, strong) SCalendarDayStyle *inactiveDayLabelStyle

Declared In

SCalendarStyle.h

inactiveEventStyle

The style applied to events outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

@property (nonatomic, strong) SCalendarEventStyle *inactiveEventStyle

Declared In

SCalendarStyle.h

inactiveIndicatorStyle

The style applied to event indicators outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

@property (nonatomic, strong) SCalendarIndicatorStyle *inactiveIndicatorStyle

Declared In

SCalendarStyle.h

inactiveMonthStyle

The style applied to the month views outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

@property (nonatomic, strong) SCalendarMonthStyle *inactiveMonthStyle

Declared In

SCalendarStyle.h

inactiveYearStyle

The style applied to years outside of the minimum and maximum dates. If there are no minimum or maximum dates, then this style is not used.

@property (nonatomic, strong) SCalendarYearStyle *inactiveYearStyle

Declared In

SCalendarStyle.h

monthTitleFormatString

The format string for the month title. The default value is “MMM”.

@property (nonatomic, strong) NSString *monthTitleFormatString

Declared In

SCalendarStyle.h

monthViewHorizontalPaddingAtYearZoomLevel

The horizontal padding between months when the calendar is at the year zoom level. Increasing the padding will decrease the size of the month views at the year zoom level.

@property (nonatomic, assign) CGFloat monthViewHorizontalPaddingAtYearZoomLevel

Declared In

SCalendarStyle.h

monthViewPaddingBottom

The padding below each month view.

@property (nonatomic, assign) CGFloat monthViewPaddingBottom

Declared In

SCalendarStyle.h

monthViewPaddingTop

The padding above each month view.

@property (nonatomic, assign) CGFloat monthViewPaddingTop

Declared In

SCalendarStyle.h

moreEventsFormatString

The format string that is used to present the “x more events…” label when there is not enough room to show all the events on a single day in week view. NOTE: The number will be passed to the format string as an NSNumber. The default value is “and %@ more…”.

@property (nonatomic, strong) NSString *moreEventsFormatString

Declared In

SCalendarStyle.h

todayLabelStyle

The style for the day label for the current date.

@property (nonatomic, strong) SCalendarTodayLabelStyle *todayLabelStyle

Declared In

SCalendarStyle.h

weekViewPaddingBottom

The padding below each week view.

@property (nonatomic, assign) CGFloat weekViewPaddingBottom

Declared In

SCalendarStyle.h

weekViewPaddingTop

The padding above each week view.

@property (nonatomic, assign) CGFloat weekViewPaddingTop

Declared In

SCalendarStyle.h

yearLabelPaddingBottom

The padding below the year label.

@property (nonatomic, assign) CGFloat yearLabelPaddingBottom

Declared In

SCalendarStyle.h

yearLabelPaddingTop

The padding above the year label.

@property (nonatomic, assign) CGFloat yearLabelPaddingTop

Declared In

SCalendarStyle.h