开发者

calling a viewController problem

开发者 https://www.devze.com 2023-02-12 06:57 出处:网络
Hi everyone i need help i added a new view to a recent project and when i call it i get an error in my header file. here is a snippet of it

Hi everyone i need help i added a new view to a recent project and when i call it i get an error in my header file. here is a snippet of it

#import "HowtoPlay.h"
#import <iAd/iAd.h>

@interface SplashViewController : UIViewController <ADBannerViewDelegate> {
    id myCreator;
    SettingsWindow *settingsWindow;
    H开发者_如何学CowtoPlay *HowtoPlay1;
    ADBannerView *bannerView;


}

im having the problem with the HowtoPlay *HowtoPlay1; line the error message says ( expected specific qualifier list before " HowtoPlay" ) but in all my efforts cannot get it to work does anyone know whats going on? the line before it SettingsWindow *settingsWindow; works just fine and i call them both the same way in my implementation file.


I am not sure abt it...But remove #import "HowtoPlay.h" and put @class HowtoPlay...

0

精彩评论

暂无评论...
验证码 换一张
取 消