-
Notifications
You must be signed in to change notification settings - Fork 0
/
ItemFormViewController.h
60 lines (45 loc) · 1.72 KB
/
ItemFormViewController.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
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
//
// AddDailyItemFormViewController.h
// daily Expenses
//
// Created by renan veloso silva on 02/07/13.
// Copyright (c) 2013 renan veloso silva. All rights reserved.
//
#import <UIKit/UIKit.h>
#import "PopoverView.h"
#import "ItemModel.h"
#import "TPKeyboardAvoidingScrollView.h"
#import "SSCheckBoxView.h"
@interface ItemFormViewController : UIViewController <UITextFieldDelegate, UITableViewDataSource, UITableViewDelegate, PopoverViewDelegate, UIPickerViewDelegate, UIPickerViewDataSource>{
ItemModel *item;
UIDatePicker *datePicker;
UIButton *dataPickerDoneBt;
UIPickerView *parcelPicker;
UIButton *parcelPickerDoneBt;
NSArray *parcelDatasource;
NSDictionary * categoryList;
UIButton *categoryTableDoneBt;
UITableView *categoryTableView;
UIView *bgView;
UIButton *closeKeyboardBt;
NSString *state;
SSCheckBoxView* spent;
SSCheckBoxView* credit;
}
@property (assign, nonatomic) IBOutlet UITextField *label;
@property (retain, nonatomic) IBOutlet UILabel *typeLabel;
@property (assign, nonatomic) IBOutlet UITextField *parcel;
@property (assign, nonatomic) IBOutlet UITextField *value;
@property (assign, nonatomic) IBOutlet UITextField *dateStr;
@property (assign, nonatomic) IBOutlet UITextView *note;
@property (assign, nonatomic) IBOutlet TPKeyboardAvoidingScrollView *tpScrollView;
@property (assign, nonatomic) IBOutlet UIButton *typeBt;
@property (assign, nonatomic) IBOutlet UIBarButtonItem *add;
@property (retain, nonatomic) IBOutlet UIView *typeView;
-(IBAction)cadastrar:(id)sender;
-(IBAction)back:(id)sender;
- (IBAction)selectType:(id)sender;
- (IBAction)showDatePicker:(id)sender;
- (IBAction)showParcelPicker:(id)sender;
-(id)initWithId:(NSString*)itemId;
@end