[swift-evolution] [Proposal] Protected Access Level

Charlie Monroe charlie at charliemonroe.net
Mon May 30 00:22:39 CDT 2016


That's a nice workaround - but nice in a sense that that it's a hack, not a solution IMHO.


> On May 30, 2016, at 6:49 AM, Callionica (Swift) via swift-evolution <swift-evolution at swift.org> wrote:
> 
> I've written up how to provide protected access control for Swift code today here:
> 
> http://www.callionica.com/developer/#swift-protected <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.
> ‚Äč
> _______________________________________________
> swift-evolution mailing list
> swift-evolution at swift.org
> https://lists.swift.org/mailman/listinfo/swift-evolution

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://lists.swift.org/pipermail/swift-evolution/attachments/20160530/48a41b31/attachment.html>


More information about the swift-evolution mailing list