Possible duplicate:
Should the opposite be true for each data core?
Example. If I had two Person and Car objects, and each of them should be connected to the Image object - what should it look like?
Right now, I would make only three entities: Person, Car, Image. This way, people and cars can reference the Image object. They are 1: 1 related to the Image object.
But now, Core Data dude said relationships should be modeled in both directions. Is it stupid or not? Then I need two image objects. CarImage and PersonImage. Or one weird Image object that has two relationships: from one to the auto object and one to the Person object.
How would you formulate this?
source share