XuniCalendarYearSlotLoadingEventArgs Class Reference

Inherits from XuniEventArgs : NSObject
Declared in CalendarEventArgs.h

Overview

XuniCalendarYearSlotLoadingEventArgs Class. Arguments for yearSlotLoading event.

  year

Gets the year in the calendar.

@property (readonly) NSUInteger year

Discussion

Gets the year in the calendar.

Declared In

CalendarEventArgs.h

  isAdjacentYear

Gets whether or not the year is an adjacent year in the calendar.

@property (readonly) BOOL isAdjacentYear

Discussion

Gets whether or not the year is an adjacent year in the calendar.

Declared In

CalendarEventArgs.h

  yearSlot

Gets or sets the visual element shown in the year slot.

@property (nonatomic) XuniCalendarYearSlotBase *yearSlot

Discussion

Gets or sets the visual element shown in the year slot.

Declared In

CalendarEventArgs.h

– initWithYear:isAdjacentYear:yearSlot:

Initializes and returns a newly allocated XuniCalendarYearSlotLoadingEventArgs object.

- (instancetype)initWithYear:(NSUInteger)year isAdjacentYear:(BOOL)isAdjacentYear yearSlot:(XuniCalendarYearSlotBase *)yearSlot

Parameters

year

The year for the current year slot.

isAdjacentYear

Adjacent year flag.

yearSlot

The visual element for year slot

Return Value

An initialized XuniCalendarYearSlotLoadingEventArgs object or nil if the object couldn’t be created.

Discussion

Initializes and returns a newly allocated XuniCalendarYearSlotLoadingEventArgs object.

Declared In

CalendarEventArgs.h