DatePickerViewController.h 796 Bytes
//
//  PopupViewController.h
//  DUREX test
//
//  Created by Imanol Barba on 9/2/14.
//  Copyright (c) 2014 Emmoco. All rights reserved.
//

@class DatePickerViewController;

#import <UIKit/UIKit.h>
#import <QuartzCore/QuartzCore.h>
#import "DUREXAppDelegate.h"

@protocol DatePickerViewControllerDelegate <NSObject>
- (void)passDateViewController:(DatePickerViewController*)controller didFinishEnteringItem:(NSDate *)date;

@end

@interface DatePickerViewController : UIViewController

@property (strong, nonatomic) IBOutlet UIView *datePickerView;
@property (strong, nonatomic) IBOutlet UIDatePicker *datePicker;
@property (nonatomic, strong) id <DatePickerViewControllerDelegate> delegate;

- (void)showInView:(UIView *)aView animated:(BOOL)animated;
- (IBAction)closePopup:(id)sender;

@end