-
Notifications
You must be signed in to change notification settings - Fork 0
/
AddFloViewController.h
38 lines (28 loc) · 1.08 KB
/
AddFloViewController.h
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
30
31
32
33
34
35
36
37
38
//
// AddFloViewController.h
// flojuggler
//
// Created by Selino Valdes on 11/4/13.
// Copyright (c) 2013 Selino Valdes. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "Flos.h"
@protocol AddFloViewControllerDelegate;
@interface AddFloViewController : UIViewController
@property (weak, nonatomic) IBOutlet UITextField *nameField;
@property (weak, nonatomic) IBOutlet UITextField *cycleField;
@property (weak, nonatomic) IBOutlet UITextField *lengthField;
@property (weak, nonatomic) IBOutlet UIDatePicker *startDatePicker;
@property (nonatomic, strong) Flos *currentFlo;
@property (nonatomic, weak) id <AddFloViewControllerDelegate> delegate;
- (IBAction)cancelFlo:(id)sender;
- (IBAction)saveFlo:(id)sender;
- (IBAction)addPhotoBtn;
- (BOOL)disablesAutomaticKeyboardDismissal;
- (void)touchesBegan:(NSSet *)touches withEvent:(UIEvent *)event;
- (IBAction)KeyboardDoneKeyPressed:(id)sender;
@end
@protocol AddFloViewControllerDelegate
-(void)addFloViewControllerDidSave;
-(void)addFloViewControllerDidCancel:(Flos *)floToDelete;
@end