On Mon, Jan 19, 2009 at 8:39 AM, Antoine Maillard
<antoinemaill...@gmail.com> wrote:
> How can I convert a NSManagedObject of type A into type B ?

How often do you do this in regular code?  Is it common for a method
to change the identity of the receiver before returning?  Hopefully
the answer is no (KVO trickery aside ;) ).

Just remove the object and replace it with an managed object of entity B.

--Kyle Sluder
_______________________________________________

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 arch...@mail-archive.com

Reply via email to