Understanding the inner workings: getting to know how functions are called
Understanding the inner workings: getting to know how functions are called
- Subject: Understanding the inner workings: getting to know how functions are called
- From: Mattias Arrelid <email@hidden>
- Date: Tue, 22 Jan 2008 17:05:46 +0100
Hi everyone,
Sometimes when I subclass an existing Cocoa class, I wonder how its
methods are called; when in time, from what other function (possible
from another instance of another class) etc.
The "idiot" way of implementing this could of course be to add _all_
method names of the class in question and then just call [super
methodName] in each method, and then use some debug macro before and
after that call that prints the name of the method in question. That
really isn't that productive and seems like a waste of time.
Could anyone point me in the right direction here? I'm open to all
suggestions...
Regards
Mattias
_______________________________________________
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