Re: When to call super
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