Core Data: multiple entities related to a single entity
I have an entity called 'SyncInfo' (including 开发者_高级运维a UUID and a modified date) that I want other entities in my data model to have an instance of (i.e. employee/department).
Is there a simple way to get Core Data to allow me to do this without requiring that SyncInfo have relationships with every single one of the other entities in the data model? I'm sure I'm overlooking something simple, I've only been doing Core Data stuff for a short while now.
You are not required to have an inverse relationship from the SyncInfo entity back to any of the entities that have a relationship with SyncInfo.
Xcode will give you a warning about the missing inverse relationship which can be ignored.
精彩评论