Let's say I have two Entity classes: SocialApp
and SocialAppType
In SocialApp
I have one Attribute: appURL
and one Relationship: type
.
In SocialAppType
I have three Attributes: baseURL
, name
and favicon
.
The destination of the SocialApp
relationship type
is a single record in SocialAppType
.
As an example, for multiple Flickr accounts, there would be a number of SocialApp
records, with each record holding a link to a person's account. There would be one SocialAppType
record for the "Flickr" type, that all SocialApp
records would point to.
When I build an application with this schema, I get a warning that there is no inverse relationship between SocialAppType
and SocialApp
.
/Users/username/Developer/objc/TestApp/TestApp.xcdatamodel:SocialApp.type: warning: SocialApp.type -- relationship does not have an inverse
Do I need an inverse, and why?