On Sep 23, 2010, at 9:45 AM, Matt Neuburg wrote:

> Is there a cool dynamic Cocoa way to call super with the same parameters
> that came to me?

Nope.

> I guess what I'm looking for is a pre-configured invocation
> of the current command where I can just change the target to super.

Super isn't an object, so it can't be set as the target of an invocation.  The 
'super' keyword tells the compiler to use a different Objective-C runtime 
function to dispatch the message: objc_msgSendSuper instead of objc_msgSend.  
That function uses a different search to find the implementation function 
corresponding to the sent message.

(The receiver of the message is still 'self'.  There is no distinction between 
the object which received the first message and the object which receives the 
message targeted at 'super'.)

Regards,
Ken

_______________________________________________

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 arch...@mail-archive.com

Reply via email to