• 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: Inheritance question
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Inheritance question


  • Subject: Re: Inheritance question
  • From: Simone Tellini <email@hidden>
  • Date: Fri, 17 Aug 2007 12:27:51 +0200


Il giorno 17/ago/07, alle ore 12:23, Daniel Angermeier ha scritto:

In the context of MyClass:
[(MySuperClass *)self theMethod];

However, this call does not invoke MySuperClass's implementation but
that of MyClass.
How can force it to use the method in MySuperClass ?

[super theMethod];

--
Simone Tellini
http://www.tellini.org



_______________________________________________

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: 
 >Inheritance question (From: "Daniel Angermeier" <email@hidden>)

  • Prev by Date: Re: When does an object own its instance variable?
  • Next by Date: RE: How to enable menu items for the submenu of NSPopupButton?
  • Previous by thread: Inheritance question
  • Next by thread: Re: Inheritance question
  • Index(es):
    • Date
    • Thread