Skip to content

Clone of UIDatePicker. Allows to select month and year only

License

Notifications You must be signed in to change notification settings

ajonnet/UIMonthYearPicker

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

#UIMonthYearPicker

UIMonthYearPicker is a UIPickerView subclass that allows you select date from month and year only, no days.

How to use UIMonthYearPicker

  • Place a UIPickerView object in the storyboard or XIB editor. Rename class to UIMonthYearPicker. or Create an instance of the UIMonthYearPicker manually.

  • Implement UIMonthYearPickerDelegate protocol

- (void)viewDidLoad
{
    [super viewDidLoad];
    datePicker._delegate = self;
}

- (void) pickerView:(UIPickerView *)pickerView didChangeDate:(NSDate *)newDate {
}

Sample Screenshots

Credits

base on the souce code by Igor Fedorchuk https://stackoverflow.com/questions/3348247/uidatepicker-select-month-and-year

About

Clone of UIDatePicker. Allows to select month and year only

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Objective-C 100.0%