Implementation detail modulemaps. How to hide them?

That's correct: Swift currently does not have a supported way to hide dependencies from clients. We're experimenting with one solution under the spelling @_implementationOnly import, but it still has a bunch of caveats (and bugs). I'm hoping to post more about that soon; if you're interested in the general area you can also see some more ambitious discussion in @_exported and fixing import visibility.

3 Likes