Re: Can an object's relationship point to itself?
Re: Can an object's relationship point to itself?
- Subject: Re: Can an object's relationship point to itself?
- From: Mike Zornek <email@hidden>
- Date: Fri, 20 May 2005 22:28:08 -0400
Well I've gotten it to work, though I think I may have found a bug (need to
test more to be sure)...
linksTo and linkedFrom are inverse relationships, and as such I was only
ever setting the linkedFrom and then testing linksTo which Core Data manages
(is suppose to) automatically. Well it seems that this wasn't the case for a
"pointer" to itself. When I would set the linkedFrom relationship a linksTo
relationship was never added.
In my code I now set the relationship for each manually and it works. When I
get some time I'll try to recreate it for a possible radar bug. Am posting
it here for the archive.
Thanks for your help!
~ Mike Zornek
-----
Shameless promotion
Personal site: <http://MikeZornek.com>
Philly Apple Devs: <http://PHAD.org>
ADHOC / MacHack (July 27-31): <http://www.adhocconference.com>
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden