[swift-evolution] [Pitch] Overridable Members in Extensions
erica at ericasadun.com
Thu Feb 18 12:29:07 CST 2016
>> I'm presuming that this will not allow you to swap out one implementation for another? If not then it may be necessary to be able to call or refer to the original version of the method.
> This is only for subclass-overriding, not ObjC-category-style method replacement.
I hate to go all Abrahams on you, but do you have any use-cases where you're delivered a subclass and a superclass in a module, where there's no subclass implementation, and you want to add one that's an override via an extension rather than just sub-subclassing?
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution