[swift-evolution] Replace Fileprivate with Hidden + Import Hidden

Charles Srstka cocoadev at charlessoft.com
Mon Oct 17 13:26:49 CDT 2016


> On Oct 17, 2016, at 12:47 PM, Jonathan Hull via swift-evolution <swift-evolution at swift.org> wrote:
> 
>> On Oct 17, 2016, at 12:37 AM, Rien <Rien at Balancingrock.nl <mailto:Rien at Balancingrock.nl>> wrote:
>> 
>> -1.
>> 
>> If an API designer wants to allow access to a “hidden’ member, he should be in control of that access.
> This seems to be one of the biggest internal arguments within the swift community.  Who is in control of the use of frameworks?  The author or the user?

To me, it seems that if the author has control already. If s/he needs to hide symbols from outside the framework, the “internal” keyword already exists for that.

Charles

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


More information about the swift-evolution mailing list