redirecting delegates
redirecting delegates
- Subject: redirecting delegates
- From: Alexander Cohen <email@hidden>
- Date: Mon, 10 Oct 2005 14:51:31 -0400
i have setup a default category on NSObject that pretty much
implements all delegates that are possible to be implemented in Cocoa
and have them pretty much doing nothing. I would like to be able to
intercept calls to those delegates and redirect them to different
function pointers depending on what selector is actually being
performed.
What functions should i be looking at replacing to actually be able
to do this? Oh, and i need to do this without subclassing anything. I
hope to not have to put a lot of code into each function i
implemented in the category. Im hoping to write 1 function that
actually takes the calls, looks at them and redirects them if needed.
Any info appreciated.
thanks
Alex
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden