Iphone 应为说明符限定符列表错误
嘿,伙计们,我知道这个问题是由于缺少导入头造成的 但在我的例子中,我已经包括了标题,但我仍然得到了错误?!会发生什么Iphone 应为说明符限定符列表错误,iphone,objective-c,ios4,iphone-sdk-3.0,Iphone,Objective C,Ios4,Iphone Sdk 3.0,嘿,伙计们,我知道这个问题是由于缺少导入头造成的 但在我的例子中,我已经包括了标题,但我仍然得到了错误?!会发生什么 #import <Foundation/Foundation.h> #import "WikitudeARCustomMenuButtonDelegate.h" #import "DetailedARViewController.h" @interface CustomMenuButtonDelegateImpl1 : NSObject <WikitudeAR
#import <Foundation/Foundation.h>
#import "WikitudeARCustomMenuButtonDelegate.h"
#import "DetailedARViewController.h"
@interface CustomMenuButtonDelegateImpl1 : NSObject <WikitudeARCustomMenuButtonDelegate>
{
DetailedARViewController *ARViewController;
}
@end
#导入
#导入“wikitudearcustommenubuttonelegate.h”
#导入“DetailedARViewController.h”
@接口CustomMenuButtonElegateImpl1:NSObject
{
DetailedARViewController*ARViewController;
}
@结束
确保“DetailedARViewController.h”确实定义了DetailedARViewController
;特别是,检查拼写错误或声明被意外注释掉等细微错误。WikitudearCustomMenuButtoneLegate.h和DetailedARViewController.h的内容是什么?WikitudearCustomMenuButtoneLegate.h是协议。DetailedARViewController.h是我自己的类。