Popularity
2.6
Growing
Activity
0.0
Stable
92
3
16

Code Quality Rank: L4
Programming language: Objective-C
Tags: UI     PickerView    

AIDatePickerController alternatives and similar libraries

Based on the "PickerView" category

Do you think we are missing an alternative of AIDatePickerController or a related project?

Add another 'PickerView' Library

README

AIDatePickerController

Installation

Manually

  1. Download and drop /AIDatePickerControllerfolder in your project.
  2. Congratulations!

Usage

// Create a date
NSDateFormatter *dateFormatter=[[NSDateFormatter alloc] init];
[dateFormatter setDateFormat:@"yyyy-MM-dd"];
NSDate *date = [dateFormatter dateFromString:@"1955-02-24"];


// Create an instance of the picker
AIDatePickerController *datePickerViewController = [AIDatePickerController pickerWithDate:date selectedBlock:^(NSDate *selectedDate) {
    // Do what you want with the picked date.
} cancelBlock:^{
    // Do what you want when the user pressed the cancel button.
}];

// Present it
[self presentViewController:datePickerViewController animated:YES completion:nil];

Requirements

  • iOS >= 7.0
  • ARC

Credits

Inspired by Roland Moers's RMDateSelectionViewController.

Contact

Ali Karagoz

License

AIDatePickerController is available under the MIT license. See the LICENSE file for more info.


*Note that all licence references and agreements mentioned in the AIDatePickerController README section above are relevant to that project's source code only.