-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathController.h
30 lines (25 loc) · 836 Bytes
/
Controller.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
//
// TipCalculator.h
// TipperAssignment
//
// Created by David Pullar on 3/2/2014.
// Copyright (c) 2014 David Pullar. All rights reserved.
//
#import <Foundation/Foundation.h>
@interface Controller : NSObject {
IBOutlet UISlider *customPercentSlider;
IBOutlet UITextField *billTotalField;
IBOutlet UILabel *tipTenPercentField;
IBOutlet UILabel *tipFifteenPercentField;
IBOutlet UILabel *tipTwentyPercentField;
IBOutlet UILabel *customPercentLabel;
IBOutlet UILabel *totalTenField;
IBOutlet UILabel *totalFifteenField;
IBOutlet UILabel *totalTwentyField;
IBOutlet UILabel *totalCustomField;
IBOutlet UILabel *tipCustomPercentField;
NSString *billTotal; // "Bill Total" field
}
- (IBAction)calculateTip:(UITextField*)sender;
- (IBAction)updateCustom:(UISlider*)sender;
@end