-
Notifications
You must be signed in to change notification settings - Fork 0
/
BIDViewController.h
55 lines (43 loc) · 1.03 KB
/
BIDViewController.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
//
// BIDViewController.h
// iOS task
//
// Created by Kundan Jadhav on 01/07/14.
// Copyright (c) 2014 Kundan Jadhav. All rights reserved.
//
#import <UIKit/UIKit.h>
@interface BIDViewController : UIViewController<UITextFieldDelegate,UITextViewDelegate>
{
UIButton *dot;
UIButton *zero;
UIButton *one;
UIButton *two;
UIButton *three;
UIButton *four;
UIButton *five;
UIButton *six;
UIButton *seven;
UIButton *eight;
UIButton *nine;
UIButton *cancel;
UIButton *div;
UIButton *mult;
UIButton *add;
UIButton *sub;
UIButton *result;
UITextView *textViewA1;
UIButton *div1;
UIButton *mult1;
UIButton *add1;
UIButton *sub1;
UIButton *result1;
UIButton *dot1;
}
@property (nonatomic) BOOL typingNumber;
@property (nonatomic) float firstNumber;
@property (nonatomic) float secondNumber;
@property (nonatomic, copy) NSString *operation;
- (void)numberPressed:(UIButton *)sender;
- (void)calculationPressed:(id)sender;
- (void)equalsPressed;
@end