Good afternoon! In my project I use
Create an abstract entity, from which both of your entityes inherit.
Also, don't use two
NSFetchedResultsController if you're only showing one
UITableView, becuase how will you combine the two of them? How will you order it?
Do like this instead:
For example if you want to show
Motorcycles in the the
NSFetchedResultsController, you create a class
Vehicle and fetch
Vehicles instead. Then make sure you set the
Parent Entity to
Vechicle for both
Motorcycle in the coredata-model editor:
EDIT: Here's a answer suggesting the same thing (for fetch requests in general, not specifically
NSFetchedResultController Core data: any way to fetch multiple entities?)