0
我想取我有救了我的核心數據對象的值,但是我得到這個錯誤閱讀
Use of undeclared identifier 'error'
這指向的地方,我在refrence &錯誤現貨的代碼下面的和平
// Test listing all FailedBankInfos from the store
NSFetchRequest *fetchRequest = [[NSFetchRequest alloc] init];
NSEntityDescription *entity = [NSEntityDescription entityForName:@"Manuf" inManagedObjectContext:context];
[fetchRequest setEntity:entity];
NSArray *fetchedObjects = [context executeFetchRequest:fetchRequest error:&error];
for (Manuf *manuf in fetchedObjects) {
// Log all of the values in the object
}
任何幫助,將不勝感激