Thread: cocoa help
View Single Post
  #1  
Old April 27th, 2008, 06:47 AM
jamesrichie54 jamesrichie54 is offline
Registered User
 
Join Date: Apr 2008
Posts: 3
Thanks: 0
Thanked 0 Times in 0 Posts
jamesrichie54 is on a distinguished road
cocoa help

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
Reply With Quote