Skip to content

zhang646702205/SZCalendarPicker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 

Repository files navigation

SZCalendarPicker

a datepicker with calendar style

SZCalendarPicker.gif

usage


  • add class floder to your project
  • #import "SZCalendarPicker.h"
- (IBAction)showAction:(id)sender
{
    SZCalendarPicker *calendarPicker = [SZCalendarPicker showOnView:self.view];
    calendarPicker.today = [NSDate date];
    calendarPicker.date = calendarPicker.today;
    calendarPicker.frame = CGRectMake(0, 100, self.view.frame.size.width, 352);
    calendarPicker.calendarBlock = ^(NSInteger day, NSInteger month, NSInteger year){
        
        NSLog(@"%i-%i-%i", year,month,day);
    };
}

THX


@nathanwhy and his demo HYCalendar

About

a datepicker with calendar style

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%