<html><head><style>
body {
        font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
        padding:1em;
        margin:auto;
        background:#fefefe;
}

h1, h2, h3, h4, h5, h6 {
        font-weight: bold;
}

h1 {
        color: #000000;
        font-size: 28pt;
}

h2 {
        border-bottom: 1px solid #CCCCCC;
        color: #000000;
        font-size: 24px;
}

h3 {
        font-size: 18px;
}

h4 {
        font-size: 16px;
}

h5 {
        font-size: 14px;
}

h6 {
        color: #777777;
        background-color: inherit;
        font-size: 14px;
}

hr {
        height: 0.2em;
        border: 0;
        color: #CCCCCC;
        background-color: #CCCCCC;
    display: inherit;
}

p, blockquote, ul, ol, dl, li, table, pre {
        margin: 15px 0;
}

a, a:visited {
        color: #4183C4;
        background-color: inherit;
        text-decoration: none;
}

#message {
        border-radius: 6px;
        border: 1px solid #ccc;
        display:block;
        width:100%;
        height:60px;
        margin:6px 0px;
}

button, #ws {
        font-size: 12 pt;
        padding: 4px 6px;
        border-radius: 5px;
        border: 1px solid #bbb;
        background-color: #eee;
}

code, pre, #ws, #message {
        font-family: Monaco;
        font-size: 10pt;
        border-radius: 3px;
        background-color: #F8F8F8;
        color: inherit;
}

code {
        border: 1px solid #EAEAEA;
        margin: 0 2px;
        padding: 0 5px;
}

pre {
        border: 1px solid #CCCCCC;
        overflow: auto;
        padding: 4px 8px;
}

pre > code {
        border: 0;
        margin: 0;
        padding: 0;
}

#ws { background-color: #f8f8f8; }


.bloop_markdown table {
border-collapse: collapse;  
font-family: Helvetica, arial, freesans, clean, sans-serif;  
color: rgb(51, 51, 51);  
font-size: 15px; line-height: 25px;
padding: 0; }

.bloop_markdown table tr {
border-top: 1px solid #cccccc;
background-color: white;
margin: 0;
padding: 0; }
     
.bloop_markdown table tr:nth-child(2n) {
background-color: #f8f8f8; }

.bloop_markdown table tr th {
font-weight: bold;
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }

.bloop_markdown table tr td {
border: 1px solid #cccccc;
margin: 0;
padding: 6px 13px; }

.bloop_markdown table tr th :first-child, table tr td :first-child {
margin-top: 0; }

.bloop_markdown table tr th :last-child, table tr td :last-child {
margin-bottom: 0; }

.bloop_markdown blockquote{
  border-left: 4px solid #dddddd;
  padding: 0 15px;
  color: #777777; }
  blockquote > :first-child {
    margin-top: 0; }
  blockquote > :last-child {
    margin-bottom: 0; }

code, pre, #ws, #message {
    word-break: normal;
    word-wrap: normal;
}

hr {
    display: inherit;
}

.bloop_markdown :first-child {
    -webkit-margin-before: 0;
}

code, pre, #ws, #message {
    font-family: Menlo, Consolas, Liberation Mono, Courier, monospace;
}


.send { color:#77bb77; }
.server { color:#7799bb; }
.error { color:#AA0000; }</style></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div class="bloop_markdown"><p>As an advice, you should first hear out what the community thinks about the idea, before writing anything, because one person might share your idea. Others including myself may not like it. Wait for more feedback first. ;)</p>

<p></p></div><div class="bloop_original_html"><style>body{font-family:Helvetica,Arial;font-size:13px}</style><div id="bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px; color: rgba(0,0,0,1.0); margin: 0px; line-height: auto;"><br></div> <br> <div id="bloop_sign_1481200573051155200" class="bloop_sign"><div style="font-family:helvetica,arial;font-size:13px">--&nbsp;<br>Adrian Zubarev<br>Sent with Airmail</div></div> <br><p class="airmail_on">Am 8. Dezember 2016 um 13:35:56, Jim Malak (<a href="mailto:jim.malak@beryle-lee.com">jim.malak@beryle-lee.com</a>) schrieb:</p> <blockquote type="cite" class="clean_bq"><span><div class="" style="word-wrap:break-word"><div></div><div>




<title></title>


<div>Great. Is there some other steps I should go through or is the
next step to write a draft proposal?<br>
<br>
<div class="acompli_signature">Kind regards,<br>
Jim Malak<br>
Director<br>
Beryle &amp; Lee, Inc,<br>
O +1-330-818-2600<br>
M +1-234-716-2658<br>
F +1-330-818-2560<br>
<br>
email/Skype: <a dir="ltr" href="mailto:jim.malak@beryle-lee.com">jim.malak@beryle-lee.com</a><br>

<a dir="ltr" href="http://beryle-lee.com">http://beryle-lee.com</a><br>
<a dir="ltr" href="http://linkedin.com/in/jamesmalak">http://linkedin.com/in/jamesmalak</a><br>

<a dir="ltr" href="https://www.facebook.com/BeryleLeeInc">https://www.facebook.com/BeryleLeeInc</a></div>
<br></div>
<hr tabindex="-1" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Aron Lindberg
&lt;aronl@me.com&gt;<br>
<b>Sent:</b> Thursday, December 8, 2016 7:34:06 AM<br>
<b>To:</b> Jim Malak<br>
<b>Cc:</b> Adrian Zubarev; swift-evolution@swift.org<br>
<b>Subject:</b> Re: [swift-evolution] Any consideration for
directoryprivate as a compliment to fileprivate?</font>
<div>&nbsp;</div>
</div>
<div>
<div class="">Since Xcode is not a requirement for Swift
development no, I was talking about a file system folder.</div>
<br class="">
<div>
<blockquote type="cite" class="">
<div class="">On 8 Dec 2016, at 13.30, Jim Malak via
swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">

<div class="" style="word-wrap:break-word">
<div class="">I totally agree. &nbsp;For clarity, are we in
agreement that the definition of "folder" is the underlying file
system's implementation of a folder rather than some metadata
setting? I am thinking of how Xcode as a view of project folder
that at times can leave on one confused.</div>
<div class=""><br class=""></div>
<div class="">My preference is to keep it simple, to use the
underlying file system to decide what is a folder. Does that sound
ok?</div>
<div class=""><br class="">
<div class="acompli_signature">Kind regards,<br class="">
Jim Malak<br class="">
Director<br class="">
Beryle &amp; Lee, Inc,<br class="">
O +1-330-818-2600<br class="">
M +1-234-716-2658<br class="">
F +1-330-818-2560<br class="">
<br class="">
email/Skype: <a dir="ltr" href="mailto:jim.malak@beryle-lee.com" class="">jim.malak@beryle-lee.com</a><br class="">
<a dir="ltr" href="http://beryle-lee.com/" class="">http://beryle-lee.com</a><br class="">
<a dir="ltr" href="http://linkedin.com/in/jamesmalak" class="">http://linkedin.com/in/jamesmalak</a><br class="">
<a dir="ltr" href="https://www.facebook.com/BeryleLeeInc" class="">https://www.facebook.com/BeryleLeeInc</a></div>
<br class=""></div>
<hr tabindex="-1" class="" style="display:inline-block; width:98%">
<div id="divRplyFwdMsg" dir="ltr" class=""><font face="Calibri, sans-serif" class="" style="font-size:11pt"><b class="">From:</b> Aron Lindberg &lt;<a href="mailto:aronl@me.com" class="">aronl@me.com</a>&gt;<br class="">
<b class="">Sent:</b> Thursday, December 8, 2016 6:26:10
AM<br class="">
<b class="">To:</b> Adrian Zubarev<br class="">
<b class="">Cc:</b> Jim Malak; <a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">
<b class="">Subject:</b> Re: [swift-evolution] Any consideration
for directoryprivate as a compliment to fileprivate?</font>
<div class="">&nbsp;</div>
</div>
<div class="">
<div class="">I think this is a great idea!</div>
<div class=""><br class=""></div>
<div class="">I would prefer calling it folderprivate tho.</div>
<div class=""><br class=""></div>
<div class="">
<blockquote type="cite" class="">
<div class="">On 8 Dec 2016, at 08.29, Adrian Zubarev via
swift-evolution &lt;<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a>&gt; wrote:</div>
<br class="Apple-interchange-newline">
<div class="">
<div class="bloop_markdown" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254)">
<p class="" style="margin:15px 0px">Whoops I meant<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">directoryprivate</code><span class="Apple-converted-space">&nbsp;</span>not<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">dictionaryprivate</code>.
I’m probably still sleepy.<span class="Apple-converted-space">&nbsp;</span></p>
<div class="" style="margin:15px 0px"><br class="webkit-block-placeholder"></div>
</div>
<div class="bloop_original_html" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254)">
<div id="bloop_customfont" class="" style="font-family:Helvetica,Arial; font-size:13px; margin:0px">
<br class=""></div>
<br class="">
<div id="bloop_sign_1481182058496196864" class="bloop_sign">
<div class="" style="font-family:helvetica,arial; font-size:13px">
--&nbsp;<br class="">
Adrian Zubarev<br class="">
Sent with Airmail</div>
</div>
<br class="">
<p class="airmail_on" style="margin:15px 0px">Am 8. Dezember 2016
um 08:18:24, Adrian Zubarev (<a href="mailto:adrian.zubarev@devandartist.com" class="" style="color:rgb(65,131,196); background-color:inherit; text-decoration:none">adrian.zubarev@devandartist.com</a>)
schrieb:</p>
<blockquote type="cite" class="clean_bq" style="margin:15px 0px">
<div class="" style="word-wrap:break-word">
<div class=""></div>
<div class="">
<div class="bloop_markdown">
<p class="" style="margin:15px 0px"><span class="" style="margin-top:0px; margin-bottom:0px">You haven’t seen this in the
list because no one requested<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">dictionaryprivate</code><span class="Apple-converted-space">&nbsp;</span>yet.
:D</span></p>
<hr class="" style="height:0.2em; border:0px; color:rgb(204,204,204); background-color:rgb(204,204,204); display:inherit">

<p class="" style="margin:15px 0px">@core-team: See what you have
done with<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">&gt;&gt;file&lt;&lt;private</code><span class="Apple-converted-space">&nbsp;</span>thing.<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">typerprivate</code>,<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">typepublic</code><span class="Apple-converted-space">&nbsp;</span>all
these requests for new access modifiers.<span class="Apple-converted-space">&nbsp;</span><img src="http://t1.gstatic.com/images?q=tbn:ANd9GcT3cujrbG_i0xySoXKp-suW9lZkpwPtIl2MeORabYg8_sdj0KArU6rA" alt="facepalm" class=""></p>
<p class="" style="margin:15px 0px">Instead of just going with</p>
<pre class="" style="margin:15px 0px; font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(204,204,204); overflow:auto; padding:4px 8px; word-break:normal; word-wrap:normal"><code class="swift" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:0px; margin:0px; padding:0px; word-break:normal; word-wrap:normal">private
private(file)

// for new one    
private(type)
</code></pre>
<p class="" style="margin:15px 0px">I know there would be some
people that would forget about<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">(file/type)</code><span class="Apple-converted-space">&nbsp;</span>and
write only<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">private</code><span class="Apple-converted-space">&nbsp;</span>everywhere,
which is probably the main reason why we have<span class="Apple-converted-space">&nbsp;</span><code class="" style="font-family:Menlo,Consolas,'Liberation Mono',Courier,monospace; font-size:10pt; border-top-left-radius:3px; border-top-right-radius:3px; border-bottom-right-radius:3px; border-bottom-left-radius:3px; background-color:rgb(248,248,248); color:inherit; border:1px solid rgb(234,234,234); margin:0px 2px; padding:0px 5px; word-break:normal; word-wrap:normal">fileprivate</code><span class="Apple-converted-space">&nbsp;</span>now.</p>
<hr class="" style="height:0.2em; border:0px; color:rgb(204,204,204); background-color:rgb(204,204,204); display:inherit">

<p class="" style="margin:15px 0px">Anyways let’s be a little more
constructive here.</p>
<p class="" style="margin:15px 0px">Hi Jim, regarding your request,
it feels like this is something that falls into the topic
of<span class="Apple-converted-space">&nbsp;</span><strong class="" style="">submodules</strong>. :) Correct me if I’m wrong here.</p>
</div>
<div class="bloop_original_html">
<div id="bloop_customfont" class="" style="font-family:Helvetica,Arial; font-size:13px; margin:0px">
<br class=""></div>
<br class="">
<div id="bloop_sign_1481180858140833792" class="bloop_sign">
<div class="" style="font-family:helvetica,arial; font-size:13px">
--&nbsp;<br class="">
Adrian Zubarev<br class="">
Sent with Airmail</div>
</div>
<br class="">
<p class="airmail_on" style="margin:15px 0px">Am 8. Dezember 2016
um 07:50:07, Jim Malak via swift-evolution (<a href="mailto:swift-evolution@swift.org" class="" style="color:rgb(65,131,196); background-color:inherit; text-decoration:none">swift-evolution@swift.org</a>)
schrieb:</p>
<blockquote type="cite" class="clean_bq" style="margin:15px 0px">
<div class="" style="margin-top:0px; margin-bottom:0px">
<div class="">
<div class=""><span class="">My apologies up front if I am going
about this incorrectly. I have been exploring extensions in Swift 3
both as a part of protocol-oriented programming and as a way to
encapsulate related code to improve readability and maintainablity
of otherwise more complex classes I have designed. I am able to
encapsulate methods and calculated properties in extensions and
restrict their use to the object type I am extending as long as
everything is in one file via fileprivate.&nbsp;</span></div>
<div class=""><span class=""><br class=""></span></div>
<div class=""><span class="">I would like to be able to have my
class or structure file in a directory that contains my associated
extensions &nbsp;(also in separate files) and be able to restrict
the access &nbsp;of appropriate properties and &nbsp;methods to
that common directory. This would allow the same level
encapsulation as fileprivate with the benifit of being able to
organize code into sepereate files based on function.</span></div>
<div class=""><span class=""><br class=""></span></div>
<div class=""><span class="">I did not see this in the commonly
rejected list but am unsure if this is something that is out of
scope for 4.0. Is this something I can write up a proposal for? Is
there some other approach that I missed that I should be using
instead?</span></div>
<div class=""><span class=""><br class=""></span>
<div class="acompli_signature"><span class="">Kind
regards,<br class="">
Jim Malak<br class="">
<br class=""></span></div>
<span class=""><br class=""></span></div>
<span class="">_______________________________________________<br class="">
swift-evolution mailing list<br class="">
<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a><br class="">
</span></div>
</div>
</blockquote>
</div>
<div class="bloop_markdown"></div>
</div>
</div>
</blockquote>
</div>
<div class="bloop_markdown" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254)">
<div class="" style="margin:15px 0px"><br class="webkit-block-placeholder"></div>
</div>
<span class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254); float:none; display:inline!important">_______________________________________________</span><br class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254)">

<span class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254); float:none; display:inline!important">
swift-evolution mailing list</span><br class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254)">

<span class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254); float:none; display:inline!important">
<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a></span><br class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254)">

<span class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254); float:none; display:inline!important">
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" class="">https://lists.swift.org/mailman/listinfo/swift-evolution</a></span><br class="" style="font-family:Helvetica,Arial; font-size:13px; font-style:normal; font-weight:normal; letter-spacing:normal; orphans:auto; text-align:start; text-indent:0px; text-transform:none; white-space:normal; widows:auto; word-spacing:0px; background-color:rgb(254,254,254)">
</div>
</blockquote>
</div>
<br class=""></div>
</div>
_______________________________________________<br class="">
swift-evolution mailing list<br class="">
<a href="mailto:swift-evolution@swift.org" class="">swift-evolution@swift.org</a><br class="">
https://lists.swift.org/mailman/listinfo/swift-evolution<br class=""></div>
</blockquote>
</div>
<br class=""></div>


</div></div></span></blockquote></div><div class="bloop_markdown"><p></p></div></body></html>