Anyone want to take a stab at explaining to me as thoroughly as possible why
        [super respondsToSelector: aSelector]

doesn't actually do what it looks like it should do?

Bonus points if you can explain why I can override the respondsToSelector:(SEL)aSelector method in my object and as long as I include the above line at the end of my overridden version my object reports back correctly that the object serves as a delegate and the delegate methods get called appropriately.

It seems like either an infinite loop should occur if respondsToSelector is really being called on self, or it should return NO if it's called on super, in which case my delegate method in self should never get called.

Puzzled.


_______________________________________________

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