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: 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