On May 30, 2008, at 11:43 PM, Jens Alfke wrote:
If you actually want to ask a question of your class's superclass, you have to do so directly:
        [[[self class] superclass] instancesRespondToSelector: aSelector]

Well... yeah... you *can* do that.

But *don't do that*. (And I know Jens knows better -- I'm just pointing something out).

Any code that relies upon *skipping* super's implementation of something to get something done is just asking for trouble.

b.bum

_______________________________________________

Cocoa-dev mailing list (Cocoa-dev@lists.apple.com)

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:
http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com

This email sent to [EMAIL PROTECTED]

Reply via email to