<div dir="ltr">-1 from me.</div><div class="gmail_extra"><br><div class="gmail_quote">On Thu, Dec 8, 2016 at 7:39 AM, Jim Malak via swift-evolution <span dir="ltr"><<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>></span> wrote:<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>Ok, thanks<br>
<br>
<div class="m_7048761840719026283acompli_signature">- Jim</div>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_7048761840719026283divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Adrian Zubarev <<a href="mailto:adrian.zubarev@devandartist.com" target="_blank">adrian.zubarev@devandartist.<wbr>com</a>><br>
<b>Sent:</b> Thursday, December 8, 2016 7:38:22 AM<br>
<b>To:</b> Jim Malak<br>
<b>Cc:</b> <a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><div><div class="h5"><br>
<b>Subject:</b> Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?</div></div></font>
<div> </div>
</div><div><div class="h5">
<div>
<div class="m_7048761840719026283bloop_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="m_7048761840719026283bloop_original_html">
<div id="m_7048761840719026283bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;margin:0px;line-height:auto">
<br>
</div>
<br>
<div id="m_7048761840719026283bloop_sign_1481200573051155200" class="m_7048761840719026283bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">-- <br>
Adrian Zubarev<br>
Sent with Airmail</div>
</div>
<br>
<p class="m_7048761840719026283airmail_on">Am 8. Dezember 2016 um 13:35:56, Jim Malak (<a href="mailto:jim.malak@beryle-lee.com" target="_blank">jim.malak@beryle-lee.com</a>) schrieb:</p>
<blockquote type="cite" class="m_7048761840719026283clean_bq"><span>
<div style="word-wrap:break-word">
<div></div>
<div>
<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="m_7048761840719026283acompli_signature">Kind regards,<br>
Jim Malak<br>
Director<br>
Beryle & Lee, Inc,<br>
O <a href="tel:(330)%20818-2600" value="+13308182600" target="_blank">+1-330-818-2600</a><br>
M <a href="tel:(234)%20716-2658" value="+12347162658" target="_blank">+1-234-716-2658</a><br>
F <a href="tel:(330)%20818-2560" value="+13308182560" target="_blank">+1-330-818-2560</a><br>
<br>
email/Skype: <a dir="ltr" href="mailto:jim.malak@beryle-lee.com" target="_blank">jim.malak@beryle-lee.com</a><br>
<a dir="ltr" href="http://beryle-lee.com" target="_blank">http://beryle-lee.com</a><br>
<a dir="ltr" href="http://linkedin.com/in/jamesmalak" target="_blank">http://linkedin.com/in/<wbr>jamesmalak</a><br>
<a dir="ltr" href="https://www.facebook.com/BeryleLeeInc" target="_blank">https://www.facebook.com/<wbr>BeryleLeeInc</a></div>
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_7048761840719026283divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" color="#000000" style="font-size:11pt"><b>From:</b> Aron Lindberg <<a href="mailto:aronl@me.com" target="_blank">aronl@me.com</a>><br>
<b>Sent:</b> Thursday, December 8, 2016 7:34:06 AM<br>
<b>To:</b> Jim Malak<br>
<b>Cc:</b> Adrian Zubarev; <a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a><br>
<b>Subject:</b> Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?</font>
<div> </div>
</div>
<div>
<div>Since Xcode is not a requirement for Swift development no, I was talking about a file system folder.</div>
<br>
<div>
<blockquote type="cite">
<div>On 8 Dec 2016, at 13.30, Jim Malak via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:</div>
<br class="m_7048761840719026283Apple-interchange-newline">
<div>
<div style="word-wrap:break-word">
<div>I totally agree. 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><br>
</div>
<div>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><br>
<div class="m_7048761840719026283acompli_signature">Kind regards,<br>
Jim Malak<br>
Director<br>
Beryle & Lee, Inc,<br>
O <a href="tel:(330)%20818-2600" value="+13308182600" target="_blank">+1-330-818-2600</a><br>
M <a href="tel:(234)%20716-2658" value="+12347162658" target="_blank">+1-234-716-2658</a><br>
F <a href="tel:(330)%20818-2560" value="+13308182560" target="_blank">+1-330-818-2560</a><br>
<br>
email/Skype: <a dir="ltr" href="mailto:jim.malak@beryle-lee.com" target="_blank">jim.malak@beryle-lee.com</a><br>
<a dir="ltr" href="http://beryle-lee.com/" target="_blank">http://beryle-lee.com</a><br>
<a dir="ltr" href="http://linkedin.com/in/jamesmalak" target="_blank">http://linkedin.com/in/<wbr>jamesmalak</a><br>
<a dir="ltr" href="https://www.facebook.com/BeryleLeeInc" target="_blank">https://www.facebook.com/<wbr>BeryleLeeInc</a></div>
<br>
</div>
<hr style="display:inline-block;width:98%">
<div id="m_7048761840719026283divRplyFwdMsg" dir="ltr"><font face="Calibri, sans-serif" style="font-size:11pt"><b>From:</b> Aron Lindberg <<a href="mailto:aronl@me.com" target="_blank">aronl@me.com</a>><br>
<b>Sent:</b> Thursday, December 8, 2016 6:26:10 AM<br>
<b>To:</b> Adrian Zubarev<br>
<b>Cc:</b> Jim Malak; <a href="mailto:swift-evolution@swift.org" target="_blank">
swift-evolution@swift.org</a><br>
<b>Subject:</b> Re: [swift-evolution] Any consideration for directoryprivate as a compliment to fileprivate?</font>
<div> </div>
</div>
<div>
<div>I think this is a great idea!</div>
<div><br>
</div>
<div>I would prefer calling it folderprivate tho.</div>
<div><br>
</div>
<div>
<blockquote type="cite">
<div>On 8 Dec 2016, at 08.29, Adrian Zubarev via swift-evolution <<a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a>> wrote:</div>
<br class="m_7048761840719026283Apple-interchange-newline">
<div>
<div class="m_7048761840719026283bloop_markdown" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)">
<p style="margin:15px 0px">Whoops I meant<span class="m_7048761840719026283Apple-converted-space"> </span><code 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="m_7048761840719026283Apple-converted-space"> </span>not<span class="m_7048761840719026283Apple-converted-space"> </span><code 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">dic<wbr>tionaryprivate</code>.
I’m probably still sleepy.<span class="m_7048761840719026283Apple-converted-space"> </span></p>
<div style="margin:15px 0px"><br class="m_7048761840719026283webkit-block-placeholder">
</div>
</div>
<div class="m_7048761840719026283bloop_original_html" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)">
<div id="m_7048761840719026283bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;margin:0px">
<br>
</div>
<br>
<div id="m_7048761840719026283bloop_sign_1481182058496196864" class="m_7048761840719026283bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">-- <br>
Adrian Zubarev<br>
Sent with Airmail</div>
</div>
<br>
<p class="m_7048761840719026283airmail_on" style="margin:15px 0px">Am 8. Dezember 2016 um 08:18:24, Adrian Zubarev (<a href="mailto:adrian.zubarev@devandartist.com" style="color:rgb(65,131,196);background-color:inherit;text-decoration:none" target="_blank">adrian.zubarev@devandartist.<wbr>com</a>)
schrieb:</p>
<blockquote type="cite" class="m_7048761840719026283clean_bq" style="margin:15px 0px">
<div style="word-wrap:break-word">
<div></div>
<div>
<div class="m_7048761840719026283bloop_markdown">
<p style="margin:15px 0px"><span style="margin-top:0px;margin-bottom:0px">You haven’t seen this in the list because no one requested<span class="m_7048761840719026283Apple-converted-space"> </span><code 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="m_7048761840719026283Apple-converted-space"> </span>ye<wbr>t.
:D</span></p>
<hr style="height:0.2em;border:0px;color:rgb(204,204,204);background-color:rgb(204,204,204);display:inherit">
<p style="margin:15px 0px">@core-team: See what you have done with<span class="m_7048761840719026283Apple-converted-space"> </span><code 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<<private</code><span class="m_7048761840719026283Apple-converted-space"> </span>thing.<span class="m_7048761840719026283Apple-converted-space"> </span><code 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">ty<wbr>perprivate</code>,<span class="m_7048761840719026283Apple-converted-space"> </span><code 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="m_7048761840719026283Apple-converted-space"> </span>all
these requests for new access modifiers.<span class="m_7048761840719026283Apple-converted-space"> </span><img src="http://t1.gstatic.com/images?q=tbn:ANd9GcT3cujrbG_i0xySoXKp-suW9lZkpwPtIl2MeORabYg8_sdj0KArU6rA" alt="facepalm"></p>
<p style="margin:15px 0px">Instead of just going with</p>
<pre 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="m_7048761840719026283swift" 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 style="margin:15px 0px">I know there would be some people that would forget about<span class="m_7048761840719026283Apple-converted-space"> </span><code 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="m_7048761840719026283Apple-converted-space"> </span>and
write only<span class="m_7048761840719026283Apple-converted-space"> </span><code 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="m_7048761840719026283Apple-converted-space"> </span>everywhere,
which is probably the main reason why we have<span class="m_7048761840719026283Apple-converted-space"> </span><code 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="m_7048761840719026283Apple-converted-space"> </span>now.</p>
<hr style="height:0.2em;border:0px;color:rgb(204,204,204);background-color:rgb(204,204,204);display:inherit">
<p style="margin:15px 0px">Anyways let’s be a little more constructive here.</p>
<p style="margin:15px 0px">Hi Jim, regarding your request, it feels like this is something that falls into the topic of<span class="m_7048761840719026283Apple-converted-space"> </span><strong>submodules</strong>. :) Correct me if I’m wrong here.</p>
</div>
<div class="m_7048761840719026283bloop_original_html">
<div id="m_7048761840719026283bloop_customfont" style="font-family:Helvetica,Arial;font-size:13px;margin:0px">
<br>
</div>
<br>
<div id="m_7048761840719026283bloop_sign_1481180858140833792" class="m_7048761840719026283bloop_sign">
<div style="font-family:helvetica,arial;font-size:13px">-- <br>
Adrian Zubarev<br>
Sent with Airmail</div>
</div>
<br>
<p class="m_7048761840719026283airmail_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" style="color:rgb(65,131,196);background-color:inherit;text-decoration:none" target="_blank">swift-evolution@swift.org</a>)
schrieb:</p>
<blockquote type="cite" class="m_7048761840719026283clean_bq" style="margin:15px 0px">
<div style="margin-top:0px;margin-bottom:0px">
<div>
<div><span>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. </span></div>
<div><span><br>
</span></div>
<div><span>I would like to be able to have my class or structure file in a directory that contains my associated extensions (also in separate files) and be able to restrict the access of appropriate properties and 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><span><br>
</span></div>
<div><span>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><span><br>
</span>
<div class="m_7048761840719026283acompli_signature"><span>Kind regards,<br>
Jim Malak<br>
<br>
</span></div>
<span><br>
</span></div>
<span>______________________________<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>
</div>
</blockquote>
</div>
<div class="m_7048761840719026283bloop_markdown"></div>
</div>
</div>
</blockquote>
</div>
<div class="m_7048761840719026283bloop_markdown" style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)">
<div style="margin:15px 0px"><br class="m_7048761840719026283webkit-block-placeholder">
</div>
</div>
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254);float:none;display:inline!important">______________________________<wbr>_________________</span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)">
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254);float:none;display:inline!important">swift-evolution
mailing list</span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)">
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254);float:none;display:inline!important"><a href="mailto:swift-evolution@swift.org" target="_blank">swift-evolution@swift.org</a></span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)">
<span style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254);float:none;display:inline!important"><a href="https://lists.swift.org/mailman/listinfo/swift-evolution" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution</a></span><br style="font-family:Helvetica,Arial;font-size:13px;font-style:normal;font-weight:normal;letter-spacing:normal;text-align:start;text-indent:0px;text-transform:none;white-space:normal;word-spacing:0px;background-color:rgb(254,254,254)">
</div>
</blockquote>
</div>
<br>
</div>
</div>
______________________________<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>
</div>
</blockquote>
</div>
<br>
</div>
</div>
</div>
</span></blockquote>
</div>
<div class="m_7048761840719026283bloop_markdown">
<p></p>
</div>
</div>
</div></div></div>
<br>______________________________<wbr>_________________<br>
swift-evolution mailing list<br>
<a href="mailto:swift-evolution@swift.org">swift-evolution@swift.org</a><br>
<a href="https://lists.swift.org/mailman/listinfo/swift-evolution" rel="noreferrer" target="_blank">https://lists.swift.org/<wbr>mailman/listinfo/swift-<wbr>evolution</a><br>
<br></blockquote></div><br></div>