What's wrong with this?
What's wrong with this?
- Subject: What's wrong with this?
- From: Graham Cox <email@hidden>
- Date: Sun, 29 May 2011 14:29:22 +1000
#import <UIKit/UIKit.h>
@class SGBoard; //<------ error: Expected '{' before 'class'
@interface GameViewController : UIViewController
{
IBOutlet UIView* mGameView;
IBOutlet SGBoard* mBoard;
}
- (SGBoard*) board;
@end
This is occurring on one header file out of many which have exactly the same import and forward class declaration, but this one just won't compile. I've tried deleting the text and starting over in case it was a rogue hidden character, but to no avail. What's going on here?
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden