Inherits from TKCalendarPresenterBase : UIView
Declared in TKCalendarDayViewPresenter.h

Overview

A calendar presenter responsible for rendering TKCalendar in day view display mode.

Properties

dayNamesHidden

Determines whether day names should be hidden.

@property (nonatomic) BOOL dayNamesHidden

Declared In

TKCalendarDayViewPresenter.h

dayNamesView

Gets the presenter view that holds day names.

@property (nonatomic, strong, readonly) UIView *dayNamesView

Declared In

TKCalendarDayViewPresenter.h

dayView

Gets the presenter view that displays events on a time line for specific date.

@property (nonatomic, strong, readonly) TKCalendarDayView *dayView

Declared In

TKCalendarDayViewPresenter.h

owner

Gets an instance of TKCalendar, the owner of this presenter class.

@property (nonatomic, weak, readonly) TKCalendar *owner

Declared In

TKCalendarDayViewPresenter.h

style

Gets the presenter style. Use the style properties to customize the visual appearance of TKCalendar in day view.

@property (nonatomic, strong, readonly) TKCalendarDayViewPresenterStyle *style

Declared In

TKCalendarDayViewPresenter.h

titleHidden

Determines whether the month name should be hidden.

@property (nonatomic) BOOL titleHidden

Declared In

TKCalendarDayViewPresenter.h

titleView

Gets the presenter title view.

@property (nonatomic, strong, readonly) UIView *titleView

Declared In

TKCalendarDayViewPresenter.h

weekHidden

Determines whether week view should be hidden.

@property (nonatomic) BOOL weekHidden

Declared In

TKCalendarDayViewPresenter.h

weekNumbersHidden

Determines whether week numbers should be hidden.

@property (nonatomic) BOOL weekNumbersHidden

Declared In

TKCalendarDayViewPresenter.h

weekView

Gets the presenter view that holds week days.

@property (nonatomic, strong, readonly) UIView *weekView

Declared In

TKCalendarDayViewPresenter.h

weekendsHidden

Determines whether weekends should be hidden.

@property (nonatomic) BOOL weekendsHidden

Declared In

TKCalendarDayViewPresenter.h

Instance Methods

cellForDate:

Returns the cell responsible for presenting the specified date (if it is currently displayed).

- (TKCalendarDayCell *__nullable)cellForDate:(NSDate *__nonnull)date

Parameters

date

The date.

Return Value

An instance of TKCalendarDayCell which represents the date if successfull.

Declared In

TKCalendarDayViewPresenter.h

createCellWithType:

Creates a cell based on the specified cell type.

- (TKCalendarCell *__nonnull)createCellWithType:(TKCalendarCellType)cellType

Parameters

cellType

The type of the cell that is requested.

Declared In

TKCalendarDayViewPresenter.h