XuniCalendarHeaderView Class Reference

Inherits from UIView
Conforms to UIScrollViewDelegate
Declared in CalendarHeaderView.h

Overview

The header view for XuniCalendar.

  xuniCalendar

Gets or sets the calendar.

@property (nonatomic) XuniCalendar *xuniCalendar

Discussion

Gets or sets the calendar.

Declared In

CalendarHeaderView.h

  headerDate

Gets or sets the date of the header view.

@property (nonatomic) NSDate *headerDate

Discussion

Gets or sets the date of the header view.

Declared In

CalendarHeaderView.h

– setHeaderTextColor:

Set header text color.

- (void)setHeaderTextColor:(UIColor *)color

Parameters

color

The color.

Discussion

Set header text color.

Declared In

CalendarHeaderView.h

– updateButtonTextColor

Update header button text color.

- (void)updateButtonTextColor

Discussion

Update header button text color.

Declared In

CalendarHeaderView.h

– setHeaderFont:

Set header text font.

- (void)setHeaderFont:(UIFont *)font

Parameters

font

The font.

Discussion

Set header text font.

Declared In

CalendarHeaderView.h

– setHeaderMonthFormat:

Set header text format.

- (void)setHeaderMonthFormat:(NSString *)format

Parameters

format

The format.

Discussion

Set header text format.

Declared In

CalendarHeaderView.h

– setShowNavigationButtons:

Set whether show navigation buttons.

- (void)setShowNavigationButtons:(BOOL)show

Parameters

show

The bool value.

Discussion

Set whether show navigation buttons.

Declared In

CalendarHeaderView.h

– headerAnimationTask:next:

Deal with header animation.

- (void)headerAnimationTask:(double)time next:(BOOL)next

Parameters

time

The animation time.

next

Indicate next or prev.

Discussion

Deal with header animation.

Declared In

CalendarHeaderView.h

– headerAnimationFinished:

Header animation finished.

- (void)headerAnimationFinished:(BOOL)next

Parameters

next

Indicate next or prev.

Discussion

Header animation finished.

Declared In

CalendarHeaderView.h

– refresh

Refresh the header view.

- (void)refresh

Discussion

Refresh the header view.

Declared In

CalendarHeaderView.h

– changeViewModeAsync:date:

Changes the view mode asynchronously performing an animation.

- (void)changeViewModeAsync:(XuniCalendarViewMode)mode date:(NSDate *)date

Parameters

mode

The view mode.

date

The display date.

Discussion

Changes the view mode asynchronously performing an animation.

Declared In

CalendarHeaderView.h

– onHeaderLoading:

Raise the headerLoading event when calendar header is loading.

- (void)onHeaderLoading:(XuniCalendarHeaderLoadingEventArgs *)args

Parameters

args

the event arguments.

Discussion

Raise the headerLoading event when calendar header is loading.

Declared In

CalendarHeaderView.h