Re: Using performSelector: on super
Re: Using performSelector: on super
- Subject: Re: Using performSelector: on super
- From: "I. Savant" <email@hidden>
- Date: Tue, 5 Aug 2008 09:43:10 -0400
On Tue, Aug 5, 2008 at 9:38 AM, Clark Cox <email@hidden> wrote:
>> If [super performSelector:closeSelector] is replaced by [super close] then
>> the super object receives the close message as expected.
>
> Remember, there is no such thing as a "super object". "super" is just
> a keyword that tells the compiler to skip searching the current class
> for methods. It doesn't change which object the message is sent to.
Or, for the documentation's take:
http://developer.apple.com/documentation/Cocoa/Conceptual/ObjectiveC/Articles/chapter_9_section_5.html#
--
I.S.
_______________________________________________
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