#import <UIKit/UIKit.h>
@class game;
@class MainMenu;
@interface gameOver : UIViewController {
IBOutlet UIButton *paButton;
IBOutlet UILabel *fScore;
game *playagain;
back *MainMenu;
IBOutlet int hs;
}
@property (nonatomic, retain) UIButton *paButton;
- (id)initWithNibName:(NSString *)nibNameOrNil bundle:(NSBundle *)nibBundleOrNil highScore:(int)highScore;
-(IBAction) playAgain;
-(IBAction) goBack;
@end
答案 0 :(得分:0)
您尚未在任何地方声明back
。如果它也是Objective-C类,只需将以下内容添加到前向声明中:
@class back;