- UI的配置: CalendarView的成员变量 appearance设置(CalendarViewAppearance)
- 事件的响应:选中dayView, 当前时间更新等事件,通过delegate回调
calendarDelegate : CalendarViewDelegate?
-
UI的配置: appearanceDelegate : WeekTimeAppearanceDelegate
-
事件的响应: weekTimeDelegate : WeekTimeTableDelegate?
UI配置: weekTimeAppearanceDelegate : WeekTimeAppearanceDelegate?
init(frame: CGRect, appearance: CalendarViewAppearance = CalendarViewAppearance())
事件响应: weekTimeDelegate : WeekTimeTableDelegate?
optional func weekTimeTableAddEvent(starTime: NSDate, endTime: NSDate) -> Void optional func weekTimeTableDidSelectEvent(event: AnyObject?) -> Void optional func weekTimeWeekTimeUpdated(starTime: NSDate) -> Void