• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Can an object's relationship point to itself?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

  • Follow-Ups:
    • Re: Can an object's relationship point to itself?
      • From: mmalcolm crawford <email@hidden>
References: 
 >Re: Can an object's relationship point to itself? (From: SA Dev <email@hidden>)

  • Prev by Date: Re: New Document With A Default Name and Default Path
  • Next by Date: Re: CoreData and NSTextView
  • Previous by thread: Re: Can an object's relationship point to itself?
  • Next by thread: Re: Can an object's relationship point to itself?
  • Index(es):
    • Date
    • Thread