Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

grimreaper1377

macrumors regular
Original poster
Oct 20, 2007
218
0
Hi,

I'm going through the NSUndoManager tutorial on cocoadev and it says that the first thing you always need to do is called
Code:
prepareWithInvocationTarget:self
Just a quick question: why is the argument always self? When would it be something else?

Thanks
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.