Re: Replacing a method via categorys
Re: Replacing a method via categorys
- Subject: Re: Replacing a method via categorys
- From: "Theodore H. Smith" <email@hidden>
- Date: Tue, 28 Jun 2005 13:35:50 +0100
On 28 Jun 2005, at 12:49, Pandaa wrote:
27 jun 2005 kl. 23.48 skrev Theodore H. Smith:
I'm trying to replace a method in NSCell, via categories.
Instead of swizzling, I suspect that in your case it will be much
easier to use a custom sub-class and tell your table view to use
that class.
Well, subclassing avoids hacking. Swizzling is a pretty serious hack.
So I've decided to subclass, instead.
--
http://elfdata.com/plugin/ Industrial strength string processing,
made easy.
"All things are logical. Putting free-will in the slot for premises in
a logical system, makes all of life both understandable, and free."
_______________________________________________
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