Blame view

DUREX Vendor Control/DatePickerViewController.h 812 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
//
//  DatePickerViewController.h
//  DUREX Vendor Control
//
//  Created by Imanol Barba on 03/09/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)addItemViewController:(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