Re: Calling original functions from overriding Category functions
Re: Calling original functions from overriding Category functions
- Subject: Re: Calling original functions from overriding Category functions
- From: Ondra Cada <email@hidden>
- Date: Thu, 18 Mar 2004 19:38:21 +0100
Eric,
On Thursday, Mar 18, 2004, at 19:03 Europe/Prague, Eric Forget wrote:
I've never tried for myself, but there may be way, by using Objective-C
low-level runtime functions like:
well, somebody please correct me if I am wrong, but IIRC, category
functionality is (used to be?) implemented by the category
implementation actually *replacing* the original one in the class
tables. Therefore (and unless I am wrong), no luck.
Unless you recorded the original implementation before the category was
loaded of course, in which case you can stay at the OO level using the
methodForSelector: message.
---
Ondra Hada
OCSoftware: email@hidden
http://www.ocs.cz
private email@hidden
http://www.ocs.cz/oc
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.