<div dir="ltr">Robert,<div><br></div><div>Thanks for your feedback.</div><div><br></div><div>However, I tend to disagree with you. </div><div><br></div><div><span style="font-size:12.800000190734863px"><i>"The proposal, as it stands, does nothing to indicate how this is much different from internal - all examples given would trivially be solved by internal members."</i></span><br></div><div>This proposal aims at covering all of the cases in which you <b>do not want</b> to expose your properties <b>internally. </b>For instance, you might want to access a member of a view controller from an extension of this view controller on another file, but not make it accessible from other members in the module (which is what <b>internal </b>does).</div><div><br></div><div>Best,</div><div>Gonçalo</div></div><div class="gmail_extra"><br><div class="gmail_quote">2016-11-29 15:53 GMT+00:00 Robert Widmann <span dir="ltr"><<a href="mailto:devteam.codafi@gmail.com" target="_blank">devteam.codafi@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div style="word-wrap:break-word"><div>The proposal, as it stands, does nothing to indicate how this is much different from internal - all examples given would trivially be solved by internal members. I don’t think we need finer-grained access control to address this, I think we need extensions, at least in the same file as their parent declarations, to be able to define variables.</div><br><div><blockquote type="cite"><div><div class="h5"><div>On Nov 29, 2016, at 10:24 AM, Gonçalo Alvarez Peixoto via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:</div><br class="m_6032781764413388469Apple-interchange-newline"></div></div><div><div><div class="h5"><div dir="ltr">Hello, everyone!<div><br></div><div>I would like to introduce a new proposal to swift evolution, but first I would love to run it by all of you so I get everyone's feedback and enrich it.</div><div><br></div><div>This proposal consists of introducing a new <b>typeprivate </b>access control level which allows for members to be accessed in all extensions of a given <b>type,</b> whether lying within or in another file.</div><div><br></div><div>You'll find the proposal draft in:</div><div><a href="https://github.com/goncaloalvarez/swift-evolution/blob/master/proposals/NNNN-introduce-typeprivate-access-control-level.md" target="_blank">https://github.com/goncaloalva<wbr>rez/swift-evolution/blob/<wbr>master/proposals/NNNN-<wbr>introduce-typeprivate-access-<wbr>control-level.md</a></div><div><br></div><div>Thanks in advance for taking the time to evaluate the proposal.</div><div><br></div><div>Best regards,</div><div>Gonçalo</div></div></div></div><span class="">
______________________________<wbr>_________________<br>swift-evolution mailing list<br><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution</a><br></span></div></blockquote></div><br></div></blockquote></div><br></div>