Re: Replacing a method via categorys
Re: Replacing a method via categorys
- Subject: Re: Replacing a method via categorys
- From: Ondra Cada <email@hidden>
- Date: Mon, 27 Jun 2005 23:58:59 +0200
Theodore,
On 27.6.2005, at 23:48, Theodore H. Smith wrote:
If I want to replace a method in a category, how can I get that
replacement method to call the original method?
In short: you can't. That's the very principle of categories.
(Well in fact there are somewhat dirty runtime-based tricks to do
that, but do avoid them unless you have no other option :))
---
Ondra Čada
OCSoftware: email@hidden http://www.ocs.cz
private email@hidden http://www.ocs.cz/oc
Attachment:
smime.p7s
Description: S/MIME cryptographic signature
_______________________________________________
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