CoreData: Fetching all child entities for a common attribute using polymorphism
I have a Core Data model with an abstract entity called Shape
. Shape
is a parent entity of Cube
, Pyramid
, Prism
, Cylinder
, and Sphere
. Each of these child entities has a “volume” attribute.