TestsTested | ✗ |
LangLanguage | Obj-CObjective C |
License | BSD |
ReleasedLast Release | Nov 2015 |
Maintained by Bas van Kuijck.
Depends on: | |
Masonry | ~> 0.6 |
ESDateHelper | ~> 1.2 |
ESObjectPool | ~> 1.3 |
A custom date picker similar like the date picker of the Sunrise app and the Google Calendar android app
Use cocoapods:
pod 'ESDatePicker'
And then import the desired .h file:
#import "ESDatePicker.h"
- (void)viewDidLoad
{
ESDatePicker *p = [[ESDatePicker alloc] initWithFrame:CGRectMake(20, 50, 280, 300)];
[p setDelegate:self];
[p show];
[self.view addSubview:p];
}
- (void)datePicker:(ESDatePicker *)datePicker dateSelected:(NSDate *)date
{
NSLog(@"Selected date: %@", date);
}
The official documentation can be found here.
Copyright (C) 2014 e-sites, http://e-sites.nl/. Licensed under the BSD license.