Hi folks

Now which one of you here hasn't read the docs fully and properly before asking 
a question?  :-)

Jerry Krinock dropped me a private line and suggested that the title for this 
thread should have been  "How to register Undo when syncing MOCs with 
mergeChangesFromContextDidSaveNotification:". Thank you Jerry, that was just 
the nudge I needed.

Regardless of any messing around with secondary MOCs in separate windows and 
controllers, the simple truth of the matter is:

The default implementation of Undo in a MOC only undoes *uncommitted* changes 
to that MOC. Once you've called save: on the MOC there is no (automatic) going 
back.

But, now I know what does and doesn't happen, I have a cunning plan...

I'll let you know when I get it sorted.

Joanna

--
Joanna Carter
Carter Consulting

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to arch...@mail-archive.com

Reply via email to