Re: Sensible way to extend base class?
Re: Sensible way to extend base class?
- Subject: Re: Sensible way to extend base class?
- From: Jerry Krinock <email@hidden>
- Date: Wed, 20 May 2009 08:40:59 -0700
On 2009 May 20, at 08:14, Michael Ash wrote:
The new -forwardingTargetForSelector: method in Leopard makes this
sort of forwarding super easy
Until some months later, when you're debugging a "unrecognized
selector sent to class B" message. Ah, three hours later, you realize
that the message was actually sent to class A but was forwarded to
class B.
All this dynamagic is great when you really need it for a really
special hack. But life will be better if, before using it, you
carefully consider how you might make your great idea fit into a
standard design pattern.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden