无法找到' classA'的界面声明< classB'的子类

时间:2016-01-19 10:16:32

标签: ios objective-c

classA继承classCclassB继承classA,我已为classA导入.h文件。

CLASSA:

#import <Foundation/Foundation.h>
#ifndef ClientExecutor_h
#define ClientExecutor_h

#endif /* ClientExecutor_h */
#import "ASOrder.h"
#import "BlueManager.h"
#import "Config.h"
#import "Order+Notification.h"
#import "Client.h"
#import "PublisherCode.h"
#import "Protocol.h"
#import "Thread.h"


@interface ClientExecutor : Thread

-(void)doRequest:(Order*) order;
-(int) doLogic:(Order*) order content:(NSString*) content;

@end

CLASSB:

#ifndef CashCard_executor_h
#define CashCard_executor_h

#import "ClientExecutor.h"
#endif /* CashCard_executor_h */

//@class ClientExecutor;
@interface CashCard:ClientExecutor

@end

如果我清理项目,语法将会遗漏,但是,当我构建项目时,我再次收到错误。

感谢您的帮助。

0 个答案:

没有答案