[swift-evolution] [Review] SE-0169: Improve Interaction Between private Declarations and Extensions
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?
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
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the swift-evolution