• 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: When to call super
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: When to call super


  • Subject: Re: When to call super
  • From: Sean McBride <email@hidden>
  • Date: Tue, 12 Aug 2014 15:27:48 -0400
  • Organization: Rogue Research Inc.

On Tue, 12 Aug 2014 13:02:54 +0000, McLaughlin, Michael P. said:

>Is there a sure-fire way to know when it is necessary to call super in
>an override?

Checking the docs is best, but sometimes the compiler will warn you if you fail to call super, if the method was tagged with NS_REQUIRES_SUPER.

Cheers,

--
____________________________________________________________
Sean McBride, B. Eng                 email@hidden
Rogue Research                        www.rogue-research.com
Mac Software Developer              Montréal, Québec, Canada



_______________________________________________

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: 
 >When to call super (From: "McLaughlin, Michael P." <email@hidden>)

  • Prev by Date: Re: How to get SDK at compile time?
  • Next by Date: Re: Common Date between Swift and ObjC
  • Previous by thread: Re: When to call super
  • Next by thread: Common Date between Swift and ObjC
  • Index(es):
    • Date
    • Thread