Conditionally revealing symbols from a module only when SwiftUI is imported

This is a private/prototype feature called cross-import overlays; it's not been formalized for public use.

4 Likes