jamesrichie54
Registered
hello my name is james and im just starting out as a programmer and so far i ve programed two apps thi being my second and ive encountered a problem
#import "AppController.h"
@implementation AppController
- (IBAction)add3id)sender {
[textBox1 setIntValue:[textBox1 intValue] + 3];
}
- (IBAction)subtract3id)sender {
[textBox1 setIntValue:[textBox1 intValue] - 3];
}
@end
it says theres a syntax error after { but i see no problem
could you guys help me out thanks
#import "AppController.h"
@implementation AppController
- (IBAction)add3id)sender {
[textBox1 setIntValue:[textBox1 intValue] + 3];
}
- (IBAction)subtract3id)sender {
[textBox1 setIntValue:[textBox1 intValue] - 3];
}
@end
it says theres a syntax error after { but i see no problem
could you guys help me out thanks