我需要遍历一个 fetchedResultsController 但有一些问题。这是代码;
for (NSFetchedResultsController *singleResult in _fetchedResultsController) {
//For logic
}
警告是;
Collection expression type 'NSFetchedResultsController *' may not respond to 'countByEnumeratingWithState:objects:count:'
这样做的正确方法是什么?