Skip to content

tubie/JFCalendarPicker

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 

Repository files navigation

JFCalendarPicker

一个简单的日历表集成使用代码如下:

 JFCalendarPickerView *calendarPicker = [JFCalendarPickerView showOnView:self.view];
    calendarPicker.today = [NSDate date];
    calendarPicker.date = calendarPicker.today;
    calendarPicker.frame = CGRectMake(0, 65, CalendarPickerViewW, 360);
    calendarPicker.calendarBlock = ^(NSInteger day, NSInteger month, NSInteger year){
        JFDetailViewController *detailVC = [[JFDetailViewController alloc]init];
        [self presentViewController:detailVC animated:YES completion:^{
            detailVC.deteilLabel.text = [NSString stringWithFormat:@"\n日:%ld\n月:%ld\n年:%ld",(long)day, (long)month, (long)year];
            
        }];
    };

About

一个简单的日历表集成

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published