TKCalendarMonthView Class Reference
Inherits from | UIView |
Declared in | TKCalendarMonthView.h |
Tasks
-
– initWithTimeZone:
Initialize a Calendar Month Grid.
-
– initWithSundayAsFirst:timeZone:
Initialize a Calendar Month Grid.
-
– initWithSundayAsFirst:
Initialize a Calendar Month Grid.
-
delegate
The delegate must adopt the
propertyTKCalendarMonthViewDelegate
protocol. The delegate is not retained. -
dataSource
The data source must adopt the
propertyTKCalendarMonthViewDataSource
protocol. The data source is not retained. -
timeZone
The time zone for calendar grid.
property -
– dateSelected
The current date highlighted on the month grid.
-
– monthDate
The current month date being displayed.
-
– selectDate:
Selects a specific date in the month grid.
-
– reloadData
Reloads the current month grid.
-
– animateToNextOrPreviousMonth:
Animates the calendar to the next or previous month.
Properties
dataSource
The data source must adopt the TKCalendarMonthViewDataSource
protocol. The data source is not retained.
@property (nonatomic, assign) id<TKCalendarMonthViewDataSource> dataSource
Discussion
The data source must adopt the TKCalendarMonthViewDataSource
protocol. The data source is not retained.
Declared In
TKCalendarMonthView.h
delegate
The delegate must adopt the TKCalendarMonthViewDelegate
protocol. The delegate is not retained.
@property (nonatomic, assign) id<TKCalendarMonthViewDelegate> delegate
Discussion
The delegate must adopt the TKCalendarMonthViewDelegate
protocol. The delegate is not retained.
Declared In
TKCalendarMonthView.h
Instance Methods
animateToNextOrPreviousMonth:
Animates the calendar to the next or previous month.
- (void)animateToNextOrPreviousMonth:(BOOL)next
Parameters
- next
YES for next month, NO for previous month.
Discussion
Animates the calendar to the next or previous month.
Declared In
TKCalendarMonthView.h
dateSelected
The current date highlighted on the month grid.
- (NSDate *)dateSelected
Return Value
An NSDate
object set to the month, year and day of the current selection.
Discussion
The current date highlighted on the month grid.
Declared In
TKCalendarMonthView.h
initWithSundayAsFirst:
Initialize a Calendar Month Grid.
- (id)initWithSundayAsFirst:(BOOL)sunday
Parameters
- sunday
Flag to setup the grid with Monday or Sunday as the leftmost day.
Return Value
A TKCalendarMonthView
object or nil.
Discussion
Initialize a Calendar Month Grid.
Declared In
TKCalendarMonthView.h
initWithSundayAsFirst:timeZone:
Initialize a Calendar Month Grid.
- (id)initWithSundayAsFirst:(BOOL)sunday timeZone:(NSTimeZone *)timeZone
Parameters
- sunday
Flag to setup the grid with Monday or Sunday as the leftmost day.
- timeZone
The time zone of the grid,
Return Value
A TKCalendarMonthView
object or nil.
Discussion
Initialize a Calendar Month Grid.
Declared In
TKCalendarMonthView.h
initWithTimeZone:
Initialize a Calendar Month Grid.
- (id)initWithTimeZone:(NSTimeZone *)timeZone
Parameters
- timeZone
The time zone of the grid,
Return Value
A TKCalendarMonthView
object or nil.
Discussion
Initialize a Calendar Month Grid.
Declared In
TKCalendarMonthView.h
monthDate
The current month date being displayed.
- (NSDate *)monthDate
Return Value
An NSDate
object set to the month and year of the current month grid.
Discussion
The current month date being displayed.
Declared In
TKCalendarMonthView.h