Re: How to hide new objects in a NSTableView?
Re: How to hide new objects in a NSTableView?
- Subject: Re: How to hide new objects in a NSTableView?
- From: Jerry Krinock <email@hidden>
- Date: Tue, 23 Mar 2010 18:59:50 -0700
On 2010 Mar 23, at 12:13, Joanna Carter wrote:
> So, I am now left thinking the only way around this is to insert an editing object in a secondary MOC, then, upon saving, insert a second object in the main MOC, copy the properties over from the editing object to the object in the main MOC, before rolling back the inserted object in the secondary MOC.
>
> Wow!!! that is a whole load of hassle.
I believe this is the standard approach, and with dictionaryWithValuesForKeys:, it's not too bad. This thread has some advice from Mr. Trumbull on the topic --
http://www.cocoabuilder.com/archive/cocoa/225972-copying-managed-objects-from-app-to-doc-mocontext.html
_______________________________________________
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