• 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: Using performSelector: on super
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Using performSelector: on super


  • Subject: Re: Using performSelector: on super
  • From: Andy Lee <email@hidden>
  • Date: Tue, 05 Aug 2008 16:20:39 -0400

On Aug 5, 2008, at 3:39 PM, I. Savant wrote:
 I'm going to make a bold statement: You should only ever call [super
someMethod] from within an overridden someMethod implementation. I
believe this is true in all cases (because I can't at the moment
imagine a case where you'd do otherwise). Third party opinions are
welcome.

The one case that comes to mind is when a designated initializer calls its superclass's different designated initializer.


--Andy


_______________________________________________

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


  • Follow-Ups:
    • Re: Using performSelector: on super
      • From: Negm-Awad Amin <email@hidden>
    • Re: Using performSelector: on super
      • From: "I. Savant" <email@hidden>
References: 
 >Using performSelector: on super (From: "email@hidden" <email@hidden>)
 >Re: Using performSelector: on super (From: James Bucanek <email@hidden>)
 >Re: Using performSelector: on super (From: "I. Savant" <email@hidden>)

  • Prev by Date: Re: Loading a class with a specific superclass from a bundle
  • Next by Date: Re: Using performSelector: on super
  • Previous by thread: Re: Using performSelector: on super
  • Next by thread: Re: Using performSelector: on super
  • Index(es):
    • Date
    • Thread