Inherits from TKCalendarCell : UIView
Declared in TKCalendarYearNumberCell.h

Overview

A calendar cell used to present year numbers.

Properties

date

Returns the date for this cell.

@property (nonatomic, strong, readonly) NSDate *date

Declared In

TKCalendarYearNumberCell.h

state

  • The cell state.
  • @discussion The available cell states are specified below:
@property (nonatomic) TKCalendarYearNumberState state

Discussion

typedef enum TKCalendarYearNumberState { TKCalendarYearNumberStateSelected // The year is selected TKCalendarYearNumberStateDisabled // The year is disabled (it is outside of the selectable range) } TKCalendarYearNumberState

Declared In

TKCalendarYearNumberCell.h

Instance Methods

attachWithCalendar:withDate:

Attaches an owner and date to the cell.

- (void)attachWithCalendar:(TKCalendar *__nonnull)owner withDate:(NSDate *__nonnull)date

Parameters

owner

The owner, an instance of TKCalendar.

date

The date for the cell.

Declared In

TKCalendarYearNumberCell.h