CLWeeklyCalendarView自定义的日历视图
CLWeeklyCalendarView是一款能够自定义的日历视图。支持点击日期的delegate方法,支持多种属性修改。日历以周为周期,双击空白的地方能够定位到当天日期,支持左右滚动。
初始化:
//Initialize -(CLWeeklyCalendarView *)calendarView { if(!_calendarView){ _calendarView = [[CLWeeklyCalendarView alloc] initWithFrame:CGRectMake(0, 0, self.view.bounds.size.width, 100)]; _calendarView.delegate = self; } return _calendarView; } //Add it into parentView [self.view addSubview:self.calendarView];
评论