Search code examples
core-datansfetchedresultscontroller

CoreData-- how many NSFetchedResultsControllers do I need?


I have some data query in several ways. Is it enough to use just one NSFetchedResultsController for multiple types of queries, or do I need one per query type?


Solution

  • If you need the data queried in various ways at the same time. I would suggest to use multiple NSFetchedResultsController. So you can react on changes of the data for each query.