Re: Disabling Undo in Core Data
Re: Disabling Undo in Core Data
- Subject: Re: Disabling Undo in Core Data
- From: mmalc Crawford <email@hidden>
- Date: Sat, 01 Aug 2009 13:58:07 -0700
On Aug 1, 2009, at 5:11 AM, Squ Aire wrote:
1) In awakeFromNib, call either [[self managedObjectContext]
setUndoManager:nil]; or [[[self managedObjectContext]
undoManager] disableUndoRegistration]; This certainly works, but
the problem with this is that the
NSManagedObjectContextObjectsDidChangeNotification will stop being
sent when the context changes!
It's not clear why you make this assertion? A simple test shows this
is not the case...
Did you register for
NSManagedObjectContextObjectsDidChangeNotification or
@"NSManagedObjectContextObjectsDidChangeNotification"?
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