RE: Creating a managed object without adding it to the context?
RE: Creating a managed object without adding it to the context?
- Subject: RE: Creating a managed object without adding it to the context?
- From: Ulai Beekam <email@hidden>
- Date: Sat, 24 Jan 2009 23:51:25 +0000
- Importance: Normal
> You indicated in your first sentence that you know which managed
> object context the new object is destined for. I don't see the
> problem. Just insert it when you create it.
My problem is that when I add directly to the managed object context, the item is not getting selected automatically in the array controller (by the way, I see the selection visually by means of the table view bound to the array controller) even if I have checked the "select on insert" checkbox on the array controller in Interface Builder.
That's why I asked about this. But yes, when I come to think about it now as you say it, it kind of makes little sense to be creating a managed object that is not in the context.
_________________________________________________________________
News, entertainment and everything you care about at Live.com. Get it now!
http://www.live.com/getstarted.aspx_______________________________________________
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