• 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: SA Dev <email@hidden>
  • Date: Fri, 20 May 2005 22:01:38 -0400


Sure it can. Some of Apple's examples show this. It's not really a 'pointer' so much as a reference to another instance of that entity by its objectID (which boils down to a URI that looks like "x- coredata://.....";), an archivable reference. Basically, yes, this is perfectly legal and acceptable practice.




On May 20, 2005, at 9:57 PM, Mike Zornek wrote:

I'm creating a core data app and in it there is an entity that models like a
HTML page. It had relationships like linksTo and linkedFrom. In early
testing I seems my attempts set a relationship saying that the page has a
link to itself aren't working.


Is there some rule that says a entity's relationship can't include a pointer
to itself?


~ 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:
40silentalcove.net


This email sent to email@hidden


_______________________________________________ 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: Mike Zornek <email@hidden>
References: 
 >Can an object's relationship point to itself? (From: Mike Zornek <email@hidden>)

  • Prev by Date: Can an object's relationship point to itself?
  • Next by Date: Re: Can an object's relationship point to itself?
  • Previous by thread: Can an object's relationship point to itself?
  • Next by thread: Re: Can an object's relationship point to itself?
  • Index(es):
    • Date
    • Thread