Re: Creating temporary NSManagedObjects
Re: Creating temporary NSManagedObjects
- Subject: Re: Creating temporary NSManagedObjects
- From: Joanna Carter <email@hidden>
- Date: Tue, 27 Apr 2010 18:50:36 +0100
Hi Vincent
> There is a simple reason: the objects in the Managed object context get "represented" on a third window, whose contents are drawn from an Entity mode NSArrayController that prepares its contents automatically. If I add my temporary object to the MOC, it automatically gets fetched and displayed in that window the very moment it is inserted; that's what I wanted to avoid because it is confusing and thus undesirable.
Which is why I use the dictionary approach. It allows me to represent the single object, with all its relationships fetched from the MOC, without affecting the display of any other array controllers.
I have a tutorial that uses this approach. Would it help if I sent it to you?
Joanna
--
Joanna Carter
Carter Consulting
_______________________________________________
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