請現在任何人如何刪除奇怪的括號?奇怪的括號?
Tasting *tasting = [self.fetchedResultsController objectAtIndexPath:indexPath];
cell.creationDate.text = [[tasting valueForKey:@"creationDate"] description];
cell.wineName.text = [[[tasting wine]valueForKey:@"wineName"]description];
我們渴望上下文!你如何期望我們知道你的任意類中有什麼? – borrrden
向我們顯示您的源JSON數據(使用它填充您的表格)。 – Bhavin
請發佈以下內容:'NSLog(@「wineName =%@」,NSStringFromClass([[[品酒] valueForKey:@「wineName」] class]));'。 – trojanfoe