Core data: can NSFetchedResultsController fetch two different entities?
问题 I am working on an iPhone app, and in a particular view I need to load two different entities: One that will populate a UITableView , and another that will populate a UITextView . Is it possible to fetch both properties using a single NSFetchedResultsController ? Or do I need to use two different NSFetchedResultsController s? Any ideas on how to best approach this problem? 回答1: Each fetch request has only one entity and each fetched results controller has only one fetch. Therefore, you need