Re: Private Methods
Re: Private Methods
- Subject: Re: Private Methods
- From: Richard Charles <email@hidden>
- Date: Tue, 18 Aug 2015 12:28:47 -0600
> On Aug 18, 2015, at 11:20 AM, Jens Alfke <email@hidden> wrote:
>
> Yeah, there’s no way for the runtime to tell the difference between an ‘expected’ method override and an ‘unexpected’ one.
How about an annotation for the compiler. Something like _Override or _NSOverride where you declare your intent to intentionally override a method or property.
Does the compiler know about Objective-C method or property overrides?
--Richard Charles
_______________________________________________
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