Blame view

BT Vendor/DatePickerViewController.h 879 Bytes
Imanol-Mikel Barba Sabariego authored
1
2
3
4
5
6
7
8
9
10
11
12
//
//  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>
13
#import "BTAppDelegate.h"
Imanol-Mikel Barba Sabariego authored
14
#import "ChildViewController.h"
Imanol-Mikel Barba Sabariego authored
15
16

@protocol DatePickerViewControllerDelegate <NSObject>
Imanol-Mikel Barba Sabariego authored
17
- (void)passDateViewController:(DatePickerViewController*)controller didFinishEnteringItem:(NSDate *)date;
Imanol-Mikel Barba Sabariego authored
18
19
20

@end
Imanol-Mikel Barba Sabariego authored
21
@interface DatePickerViewController : ChildViewController
Imanol-Mikel Barba Sabariego authored
22
23
24
25
26

@property (strong, nonatomic) IBOutlet UIView *datePickerView;
@property (strong, nonatomic) IBOutlet UIDatePicker *datePicker;
@property (nonatomic, strong) id <DatePickerViewControllerDelegate> delegate;
Imanol-Mikel Barba Sabariego authored
27
28
- (void) showInView:(UIView *)aView animated:(BOOL)animated;
- (IBAction) closePopup:(id)sender;
Imanol-Mikel Barba Sabariego authored
29
- (IBAction) cancel:(id)sender;
Imanol-Mikel Barba Sabariego authored
30
31

@end