Re: Setting up a UI where changes are only applied when OK clicked?
Re: Setting up a UI where changes are only applied when OK clicked?
- Subject: Re: Setting up a UI where changes are only applied when OK clicked?
- From: mmalc crawford <email@hidden>
- Date: Wed, 11 Jul 2007 13:56:35 -0700
On Jul 11, 2007, at 1:00 PM, Sean McBride wrote:
I seem to remember something about making a duplicate moc that is
swapped/merged with the original when the OK button is pressed, but I
just can't find it in the archives/docs...
I will RTFM if someone could kindly point me there. :)
The pattern is illustrated in the Persistent Document tutorial:
<http://developer.apple.com/documentation/Cocoa/Conceptual/NSPersistentDocumentTutorial/08_CreationSheet/chapter_9_section_1.html
>
although you'd have to adapt it slightly to editing an existing object
(fetch the object in question into the new MOC, then apply changes to
the existing MO).
mmalc
_______________________________________________
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