• 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: overriding every method of an object
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: overriding every method of an object


  • Subject: Re: overriding every method of an object
  • From: Kyle Sluder <email@hidden>
  • Date: Fri, 16 Jul 2010 14:07:46 -0700

Instead of subclassing, why not create a proxy whose implementation of -forwardInvocation: does what you need?

--Kyle Sluder
(Sent from the road)

On Jul 16, 2010, at 1:17 PM, Alexander Cohen <email@hidden> wrote:

> Hello,
>
> Is there a way for a subclass to override every method of its superclass?
>
> thx
>
> AC
> _______________________________________________
>
> 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
_______________________________________________

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

References: 
 >overriding every method of an object (From: Alexander Cohen <email@hidden>)

  • Prev by Date: overriding every method of an object
  • Next by Date: Where did the icon come from?
  • Previous by thread: overriding every method of an object
  • Next by thread: Where did the icon come from?
  • Index(es):
    • Date
    • Thread