Re: NSDistantObject in Core Data
Re: NSDistantObject in Core Data
- Subject: Re: NSDistantObject in Core Data
- From: "Bridger Maxwell" <email@hidden>
- Date: Fri, 14 Nov 2008 19:38:01 -0700
>
>
> 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
> its value:
>
>
> http://developer.apple.com/documentation/Cocoa/Conceptual/CoreData/Articles/cdAccessorMethods.html#/
> /apple_ref/doc/uid/TP40002154-SW14
>
>
That worked perfectly. Thanks!
_______________________________________________
Cocoa-dev mailing list (email@hidden)
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:
This email sent to email@hidden