XuniCalendarViewDaySlot Class Reference

Inherits from XuniCalendarDaySlotBase : UIView
Declared in CalendarViewDaySlot.h

Overview

XuniCalendarViewDaySlot Class. Represents a day slot containing a custom view.

  customView

Gets or sets the custom view.

@property (nonatomic) UIView *customView

Discussion

Gets or sets the custom view.

Declared In

CalendarViewDaySlot.h

  xuniCalendar

Gets or sets the calendar.

@property (nonatomic) XuniCalendar *xuniCalendar

Discussion

Gets or sets the calendar.

Declared In

CalendarViewDaySlot.h

  date

Gets or sets the date of the day slot.

@property (nonatomic) NSDate *date

Discussion

Gets or sets the date of the day slot.

Declared In

CalendarViewDaySlot.h

  state

Gets or sets the state of day slot.

@property (nonatomic) XuniDaySlotState state

Discussion

Gets or sets the state of day slot.

Declared In

CalendarViewDaySlot.h

– initWithCalendar:frame:

Initializes and returns a newly allocated XuniCalendarViewDaySlot object with the specified calendar and frame rectangle.

- (id)initWithCalendar:(XuniCalendar *)calendar frame:(CGRect)frame

Parameters

calendar

The XuniCalendar object.

frame

The frame rectangle for the XuniCalendarViewDaySlot, measured in points.

Return Value

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

Discussion

Initializes and returns a newly allocated XuniCalendarViewDaySlot object with the specified calendar and frame rectangle.

Declared In

CalendarViewDaySlot.h

– isSelected

Returns whether the day slot is selected.

- (BOOL)isSelected

Return Value

YES if the day slot is selected, otherwise NO.

Discussion

Returns whether the day slot is selected.

Declared In

CalendarViewDaySlot.h

– isToday

Returns whether the day slot’s date is today.

- (BOOL)isToday

Return Value

YES if the day slot’s date is today, otherwise NO.

Discussion

Returns whether the day slot’s date is today.

Declared In

CalendarViewDaySlot.h

– isAdjacent

Returns whether the day slot is adjacent.

- (BOOL)isAdjacent

Return Value

YES if the day slot is adjacent, otherwise NO.

Discussion

Returns whether the day slot is adjacent.

Declared In

CalendarViewDaySlot.h