Re: multiple UndoManagers
Re: multiple UndoManagers
- Subject: Re: multiple UndoManagers
- From: Keith Duncan <email@hidden>
- Date: Sun, 06 Jul 2008 19:52:13 +0100
I have a rather complicated undo setting
I encountered a similar situation where I had multiple plugins each
with their own NSManagedObjectContext and thus their own undo manager.
I solved it by implementing an NSProxy subclass which held references
to all the undo managers and was returned by -
windowWillReturnUndoManager, it then forwarded messages to the
appropriate undo manager object.
Keith Duncan
email@hidden, 33software.com
_______________________________________________
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