Inherits from UIView
Declared in TKCalendarDayViewAllDayEventsView.h

Overview

View that displays the all-day events in TKCalendarDayView view.

Properties

date

The date displayed by the TKCalendarDayView.

@property (nonatomic, weak, readonly, nullable) NSDate *date

Declared In

TKCalendarDayViewAllDayEventsView.h

events

The collection of all-day events displayed in the TKCalendarDayView.

@property (nonatomic, weak, readonly, nullable) NSArray<id<TKCalendarEventProtocol> > *events

Declared In

TKCalendarDayViewAllDayEventsView.h

eventsView

The collection view that displays the events.

@property (nonatomic, strong, readonly, nonnull) UICollectionView *eventsView

Declared In

TKCalendarDayViewAllDayEventsView.h

labelView

The all-day label.

@property (nonatomic, strong, readonly, nonnull) UIView *labelView

Declared In

TKCalendarDayViewAllDayEventsView.h

style

Provides settings to customize the layout of the TKCalendarDayViewAllDayEventsView.

@property (nonatomic, strong, readonly, nonnull) TKCalendarDayViewAllDayEventsViewStyle *style

Declared In

TKCalendarDayViewAllDayEventsView.h

Instance Methods

attachWithEvents:forDate:

Updates the displayed events data.

- (void)attachWithEvents:(NSArray<id<TKCalendarEventProtocol> > *__nullable)events forDate:(NSDate *__nullable)date

Parameters

events

The all-day events that will be displayed in the eventsView.

date

The displayed date.

Declared In

TKCalendarDayViewAllDayEventsView.h

createEventsView

Creates the collection view that displays the events.

- (UICollectionView *__nonnull)createEventsView

Return Value

The events view.

Declared In

TKCalendarDayViewAllDayEventsView.h

createLabelView

Creates the label.

- (UIView *__nonnull)createLabelView

Return Value

The label view.

Declared In

TKCalendarDayViewAllDayEventsView.h

updateLayout

Call this method to apply any changes that affect the layout of the events view.

- (void)updateLayout

Declared In

TKCalendarDayViewAllDayEventsView.h