hcd

HcdDateTimePicker

A beautiful DateTimePicker. 自定义的一个漂亮的有多种时间格式选择的时间选择器.

Showing:

Popularity

Downloads/wk

0

GitHub Stars

109

Maintenance

Last Commit

1yr ago

Contributors

2

Package

Dependencies

0

License

MIT

Categories

Readme

HcdDateTimePicker

Version License Platform Tag Author

A beautiful DateTimePicker.

Alt Text

Requirements

  • Xcode 6 or higher
  • iOS 7.0 or higher
  • ARC

Installation

Manual Install

All you need to do is drop HCDDateTimePicker files into your project, and add #include HCDDateTimePicker.h to the top of classes that will use it.

Cocoapods

Change to the directory of your Xcode project:

$ cd /path/to/YourProject
$ touch Podfile
$ edit Podfile

Edit your project's Podfile and add the following:

pod 'HcdDateTimePicker'

Install into your Xcode project:

pod setup
pod install

Example

HcdDateTimePickerView *dateTimePickerView = [[HcdDateTimePickerView alloc] initWithDatePickerMode:DatePickerDateMode defaultDateTime:[[NSDate alloc]initWithTimeIntervalSinceNow:0]];
dateTimePickerView.clickedOkBtn = ^(NSString * datetimeStr){
    NSLog(@"%@", datetimeStr);
};
[self.view addSubview:dateTimePickerView];
[dateTimePickerView showHcdDateTimePicker];

TODO

  • DatePickerDateMode
  • DatePickerTimeMode
  • DatePickerDateTimeMode
  • DatePickerYearMonthMode
  • DatePickerMonthDayMode
  • DatePickerHourMinuteMode
  • DatePickerDateHourMinuteMode

Contact me

If you find some bugs or you have some suggest, please contact me or post me an issue.Thank you!

Rate & Review

Great Documentation0
Easy to Use0
Performant0
Highly Customizable0
Bleeding Edge0
Responsive Maintainers0
Poor Documentation0
Hard to Use0
Slow0
Buggy0
Abandoned0
Unwelcoming Community0
100