1
它给出未知类型名称错误。我也导入了“billSummary”类,但不知道为什么xcode给出这个错误。未知类型名称错误Iphone
#import <UIKit/UIKit.h>
#import "customiseForItems.h"
#import "billSummary.h"
@interface itemsInParty : UITableViewController<UIAlertViewDelegate>{
IBOutlet customiseForItems *tblCell;
IBOutlet UIToolbar *billSummaryTool;
CGFloat percValue;
billSummary *billSummaryToShow; //ERROR UNKNOWN TYPE NAME BILL SUMMARY
UIAlertView *alertForPercentage;
NSMutableArray *selectedEntriesPath;
BOOL descTapped;
}
嗯,它有帮助。我可以问为什么要使用@class而不是#import? –
当然。看到这[链接](http://stackoverflow.com/questions/9743432/import-header-files) –