One answer is to use a transient attribute to represent the relationship.
Set the attribute's kind to Undefined, and use a custom NSManagedObject
subclass. Define an instance variable in the subclass to hold the actual
NSDistantObject pointer, and write custom accessors to get and manipulate
are
transient, it probably has the same effect.
Best,
Sebastian
Am 13.11.2008 um 08:53 schrieb Bridger Maxwell:
Hey,
I am creating a server in which I would like to somehow add a
relationship
to an NSDistantObject in my Core Data object graph. I know
NSDistantObjects
can't be archived. I will have
On Nov 12, 2008, at 23:53, Bridger Maxwell wrote:
I am creating a server in which I would like to somehow add a
relationship
to an NSDistantObject in my Core Data object graph. I know
NSDistantObjects
can't be archived. I will have an an array of all of the live
NSDistantObjects in my
Hey,
I am creating a server in which I would like to somehow add a relationship
to an NSDistantObject in my Core Data object graph. I know NSDistantObjects
can't be archived. I will have an an array of all of the live
NSDistantObjects in my application, I just need to relate them to entities