Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon. Entire thread

syntax error before 'AT_NAME' token

Name: Anonymous 2009-06-06 7:01

just starting to learn xcode after having used vim and the terminal for years.

the worlds simplest app, like a cocoa hello world, and i get a syntax error before 'AT_NAME' token on line 1 of this file
#import "BeepController.h"

@implementation BeepController
- (IBAction)sendBeep:(id)sender {
    NSBeep();
}
@end


presumably because there is no @end in this header file but there is
#import <Cocoa/Cocoa.h>

@interface BeepController : NSObject {
}

- (IBAction)sendBeep:(id)sender:
@end


there must be some macfags here who know the score

Name: Anonymous 2009-11-18 11:41

>>9
You-mean,Ruby-and-Perl-are-C-like?

Sorry-for-no-spaces,but-I'm-on-VNC-and-space-does-not-work-for-non-obvious-reason.

Newer Posts
Don't change these.
Name: Email:
Entire Thread Thread List