grimreaper1377
May 4, 2009, 01:03 PM
Hi,
I'm going through the NSUndoManager tutorial on cocoadev (http://www.cocoadev.com/index.pl?NSUndoManagerTutorial) and it says that the first thing you always need to do is called prepareWithInvocationTarget:self Just a quick question: why is the argument always self? When would it be something else?
Thanks
I'm going through the NSUndoManager tutorial on cocoadev (http://www.cocoadev.com/index.pl?NSUndoManagerTutorial) and it says that the first thing you always need to do is called prepareWithInvocationTarget:self Just a quick question: why is the argument always self? When would it be something else?
Thanks
