• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Forwarding to Super
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Forwarding to Super


  • Subject: Re: Forwarding to Super
  • From: Herr Witten <email@hidden>
  • Date: Thu, 1 Jul 2004 14:42:41 -0400

Yes, that's what I did, but you see, the receiver is then screwed up, so if a super implementation calls another method, it won't call the subclass's version.

On 1 Jul 2004, at 14:21, Gwynne wrote:

If I understand at all what you're trying to do, wouldn't it be easier to just swizzle the isa pointer of the destination object with its superclass' isa, send the invocation, and then swizzle it back?
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


  • Follow-Ups:
    • Re: Forwarding to Super
      • From: Herr Witten <email@hidden>
References: 
 >Re: Forwarding to Super (From: Herr Witten <email@hidden>)
 >Re: Forwarding to Super (From: Gwynne <email@hidden>)

  • Prev by Date: Re: Consistent naming interfaces across all the Apple's Framework
  • Next by Date: Re: Rotating text fields
  • Previous by thread: Re: Forwarding to Super
  • Next by thread: Re: Forwarding to Super
  • Index(es):
    • Date
    • Thread