[swift-evolution] [Review] SE-0169: Improve Interaction Between private Declarations and Extensions
Charlie Monroe
charlie at charliemonroe.net
Thu Apr 6 23:38:52 CDT 2017
> On Apr 7, 2017, at 2:38 AM, Charles Srstka via swift-evolution <swift-evolution at swift.org> wrote:
>
>> On Apr 6, 2017, at 7:34 PM, Xiaodi Wu via swift-evolution <swift-evolution at swift.org <mailto:swift-evolution at swift.org>> wrote:
>>
>> `private` works for extensions exactly how the authors of SE-0025 intended it to do. Your comments do not address what would happen for those people who are making use of this functionality currently to isolate methods to the extension only.
>
> Who is currently doing that?
>
> Charles
On many occasions. If you have an extension that is a UITableViewDataSource, you may want private methods that prepare the cell, etc. Maybe not the most convincing example, but yes, there are such cases.
>
> _______________________________________________
> 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/20170407/a3312596/attachment.html>
More information about the swift-evolution
mailing list