Skip to content

Latest commit

 

History

History
16 lines (12 loc) · 380 Bytes

README.md

File metadata and controls

16 lines (12 loc) · 380 Bytes

HYCalendar

A simple calendar view

MyCalendarItem *calendarView = [[MyCalendarItem alloc] init];
calendarView.frame = CGRectMake(10, 50, 355, 300);
[self.view addSubview:calendarView];

calendarView.date = [NSDate date];
calendarView.calendarBlock =  ^(NSInteger day, NSInteger month, NSInteger year){

    NSLog(@"%li-%li-%li", year,month,day);
};