Re: Calling original method implementation from category
Re: Calling original method implementation from category
- Subject: Re: Calling original method implementation from category
- From: Axel Andersson <email@hidden>
- Date: Mon, 25 Apr 2005 15:05:40 +0200
On Apr 25, 2005, at 14:52, Georg Tuparev wrote:
I would like to use the same selector in my category. Otherwise there
is no point running through all this pain and instead of the code you
are suggesting I can just type:
Read my code again. It adds a method -SE_domain, then repoints the
implementation for -domain to that of -SE_domain, and keeps the
original implementation -domain around. The end result is that -domain
is your overridden method, and _originalMethodImplementation is a
pointer back to the original -domain.
--
Axel Andersson
email@hidden
http://www.zankasoftware.com/
_______________________________________________
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