[swift-evolution] [Proposal] Protected Access Level

Rod Brown rodney.brown6 at icloud.com
Mon May 30 00:59:24 CDT 2016


I have to agree with Charlie Monroe that while this is doable, it's clear this is a workaround to a problem, not a viable long term language solution.

- Rod



Sent from my iPhone
> On 30 May 2016, at 2:49 PM, Callionica (Swift) <swift-callionica at callionica.com> wrote:
> 
> I've written up how to provide protected access control for Swift code today here:
> 
> http://www.callionica.com/developer/#swift-protected
> 
> No compiler changes necessary for this technique and it distinguishes between methods that can only be overridden and methods that can be both called and overridden.
>-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160530/9b765f53/attachment.html>


More information about the swift-evolution mailing list