The question does not make much sense. NSFetchedResultsController data is the result of a fetch request. For fetchedObjects be empty, the fetch request would have to return an empty set. This means that there were no objects matching the query. If there are objects fetchedObjects request, fetchedObjects will not be empty. You ask how to ensure that the sample does not produce results.
I'm not even sure why you need it. If you are not going to use the results of extraction anymore, just get rid of NSFetchedResultsController . Why store it if you no longer want its results?
source share