[swift-evolution] Swift evolution proposal: introduce typeprivate access control level

Tino Heth 2th at gmx.de
Tue Nov 29 10:16:53 CST 2016


As you pointed out, Swift already has quite a lot access levels…
Comparing the usefulness, "typeprivate" would clearly win over (Swift 3) "private" for me — but it adds a "new dimension" to the game, and I guess this will be a dealbreaker:
Should it be possible to access typeprivate data from another module in an extension or subclass?

- Tino


More information about the swift-evolution mailing list