I'm really hesitant to ask this question, since it's sure to have such a terribly easy answer, but I just can't figure it out. Here goes:
I have this Objective-C code in a file called Copier.h
:
#import <Cocoa/Cocoa.h>
#import "CopyQueue.h";
@interface Copier : NSObject {
IBOutlet NSTextField *statusField;
IBOutlet NSTextField *toField;
CopyQueue *queue;
}
- (IBAction)startCopy:(id)sender;
- (void)dropFile:(NSString *)theFileName;
@end
And whenever I try to compile my project in Xcode, I get a syntax error in the line where it says CopyQueue *queue;
What am I doing wrong?
The file compiles when I change the line to id *queue;
, but that can't be the solution, can it? Replacing all typed references with generic ones?