NSUndoManager for loaded documents
NSUndoManager for loaded documents
- Subject: NSUndoManager for loaded documents
- From: Sander Stoks <email@hidden>
- Date: Sat, 27 Feb 2010 14:54:12 +0100
Hello all,
Is there something special I need to do so that my NSDocument derivative's "undoManager" method will return an NSUndoManager for documents loaded from disk..? When I create a new document, my undo functionality works, but when I load a document from disk, I get "nil" back. Even when I override hasUndoManager to return YES (the message is never received) or do a setHasUndoManager:YES in my init.
Thanks,
Sander_______________________________________________
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