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
in Core Data. Perhaps NSDistantObject instances have a unique identifier I
can store in the data graph and use as a key to retrieve the live instance?
For this I have considered the hash function or using the actual pointer
value. However, I am not sure if either are very safe.

On a related note, I obviously wouldn't want these references to
NSDistantObjects to be saved to the persistent store. Is there a way to mark
an entity in Core Data as temporary so they are not saved or restored?

Thank You,
Bridger Maxwell
_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to