1
移動我的舊的應用程序,以ARC,我得到這個錯誤:接收器類型「XXX」例如消息爲轉發聲明
Receiver type 'Customer_info' for instance message is a forward declaration
這裏是我的相關代碼:
[params setValue:[_bill.Customer_info valueForKey:@"date"] forKey:kBillCustomerDate];
_bill
是核心數據生成的模型類的對象。 Customer_info
也是Core Data生成的另一個模型類的對象,它是_bill
的類中的一個屬性。
核心數據導入預編譯頭文件app_Prefix.pch
。