-
Notifications
You must be signed in to change notification settings - Fork 0
/
NewKidForm.h
32 lines (27 loc) · 1006 Bytes
/
NewKidForm.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
//
// KidForm.h
// Allowance
//
// Created by Pablo Collins on 6/12/10.
//
#import <UIKit/UIKit.h>
#import "EditableCell.h"
#import "EditableCurrencyCell.h"
#import "ModalEditorDelegate.h"
#import "AmountEditor.h"
@interface NewKidForm : UIViewController<UITableViewDelegate, UIAlertViewDelegate, UITextFieldDelegate> {
id<ModalEditorDelegate> __unsafe_unretained opener;
UITableViewCell *allowanceCell;
UITextField *nameField;
int startingAmount;
bool payToday;
}
@property (nonatomic, unsafe_unretained) id<ModalEditorDelegate> opener;
- (NSInteger)tableView:(UITableView *)table numberOfRowsInSection:(NSInteger)section;
- (UITableViewCell *)tableView:(UITableView *)tableView cellForRowAtIndexPath:(NSIndexPath *)indexPath;
- (NSInteger)numberOfSectionsInTableView:(UITableView *)tableView;
- (void)setAmount:(NSNumber *)amount;
- (void)save:(id)sender;
- (void)cancel:(id)sender;
- (void)alertView:(UIAlertView *)alertView clickedButtonAtIndex:(NSInteger)buttonIndex;
@end