Re: CoreData warning: File.children -- to-many relationship does not have an inverse:
Re: CoreData warning: File.children -- to-many relationship does not have an inverse:
- Subject: Re: CoreData warning: File.children -- to-many relationship does not have an inverse:
- From: Ignacio Enriquez <email@hidden>
- Date: Thu, 5 Aug 2010 02:50:16 +0900
Thank you Quincey!
I think I got the right way this time, But I would appreciate one last
explanation.
First: This is what I did:
"Child" entity relationships:
Child.children ->> Child and its inverse : parentChild #1
Child.parentChild ->>Child and its inverse : children #2
Child.parentFile ->> File and its inverse: children #3
"File" entity relationships:
File.children->>Child and its inverse: parentChild #4
File.files->>File and its inverse: parentFile #5
File.parentFile->>File and its inverse: files #6
I understood why #1, #2, #5 and #6 are the way they are but why is #3 and #4?
I think they are right because there is really not other option in the
pull-down menu for each of them (#3 and #4).
What would it be a good explanation for a inverse?
ie.: Regarding #1
"children" contains many "Child" and ...???... "parentChild".
What would be the verb/word that completes above sentence?
Thanks for your help in advance
Ignacio
BTW: I couldn't interpret what File <-parentFile- File was in:
> Now let's add the inverses:
>
> File -files->> File
> File <-parentFile- File (This line)
>
> Child -children->> Child
> Child <-parentChild- Child (This line)
>
> File -children->> Child
> File <-parentFile- Child (Also this one)
>
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden