UndoManager Notifications
UndoManager Notifications
- Subject: UndoManager Notifications
- From: Saman Ali <email@hidden>
- Date: Fri, 30 Jan 2004 00:31:28 -0800
Hallo all
My application contains many objects of various types, some of them are
observers for the NSUndoManagerWillUndoChangeNotification,
NSUndoManagerWillRedoChangeNotification
NSUndoManagerDidUndoChangeNotification,
NSUndoManagerDidRedoChangeNotification,
I have a problem by using these Notifications, because the notification
does not contain userInfo , so the only information available is the
undoActionName, which may not help when the undo manger undo or redo a
group of actions at one time.
The result is that all objects response to the notifications which
cause errors in my application.
I have test the private variable id _target; of the undoManager
class, but it seems to be always nil,
Is it possible to try self to assign the target by
prepareWithInvocationTarget:, to get benifit of it in the notification
method or have the pointer _target self a value assigned to any time or
any where?
greetings
Saman Ali
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.