ESDatePicker 1.4

ESDatePicker 1.4

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
 

  • By
  • Bas van Kuijck

A custom date picker similar like the date picker of the Sunrise app and the Google Calendar android app

Example


Example

Features

  • Works both in ARC as in MRC
  • Choose your own colors (background, highlight, selection, text)
  • Choose your own font
  • Completelly usable in your own viewcontroller or view

Installation

Use cocoapods:

pod 'ESDatePicker'

And then import the desired .h file:

#import "ESDatePicker.h"

Implementation

- (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);
}

Documentation

The official documentation can be found here.

Dependencies

License

Copyright (C) 2014 e-sites, http://e-sites.nl/. Licensed under the BSD license.