<div dir="ltr">Hello everybody.<div><br></div><div>I sent these two messages before, but I’m afraid this was a popular requested feature or, I hope, it was gone unnoticed.<br><div><br></div><div><b>#import (project scope import)</b><br></div><div><a href="https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160125/008461.html">https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160125/008461.html</a><br></div><div><br></div><div><b>Pre-imported modules (sort of PCH)</b><br></div><div><a href="https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160125/007706.html">https://lists.swift.org/pipermail/swift-evolution/Week-of-Mon-20160125/007706.html</a><br></div></div><div><br></div><div>In many languages, including Swift, when we are developing apps (frameworks are other history), we have to include/import dozens of libraries references. The proposal is to have for app projects (maybe not for frameworks projects) a way to say to Swift compiler that we are using some module everywhere in the project code files, so we can expect the module to be always available without a `import` on the top of each file. I suggest one of the two alternatives:</div><div><br></div><div>1) To have a special type of import, `#import`.</div><div>2) have a kind of “PCH” file where we can list all modules we want to be globally available at project scope.</div><div><br></div><div>Regards,</div><div><br></div><div>-Van</div><div><br></div></div>