Re: processPendingChanges and disableUndoRegistration

2008-12-25 Thread Quincey Morris
On Dec 25, 2008, at 18:52, christophe mckeon gonzalez de leon wrote: please pardon the rambling, but i'm just trying to wrap my head around the semantics involved here. I think it's simpler than you're assuming it to be. All processPendingChanges does (as far as undo is concerned) is to hand

Re: processPendingChanges and disableUndoRegistration

2008-12-25 Thread christophe mckeon gonzalez de leon
thanks for the pointer. please pardon the rambling, but i'm just trying to wrap my head around the semantics involved here. according to Quincey Morris who answered your question, the way that apple has it in their tutorial: dur (disable undo registration) mmoc (somehow mutate managed object con

Re: processPendingChanges and disableUndoRegistration

2008-12-25 Thread Jerry Krinock
I asked almost the same question a couple months ago. Read the replies to this: http://www.cocoabuilder.com/archive/message/cocoa/2008/10/25/220970 and let us know if that does not answer your question. ___ Cocoa-dev mailing list (Cocoa-dev@lists.

processPendingChanges and disableUndoRegistration

2008-12-25 Thread christophe mckeon gonzalez de leon
hi, in the NSPersistentDocument Core Data tutorial, apple includes the below code. my question is whether there should not also be another call to processPendingChanges before the call to disableUndoRegistration? i have seen several examples of code online which do call it twice, and it would seem