2,000 Imports: Organizing My Apps’ SwiftPM Modules

<h1>The Problem</h1> <p>I recently decided to work on the&nbsp;<a href="https://github.com/FlineDev/RemafoX/issues/13?ref=fline.dev" rel="noopener ugc nofollow" target="_blank">biggest feature</a>&nbsp;for RemafoX to date and while I was thinking about where to start, I found myself drowning in over 70 targets for my less-than-one-year-old project. Note that I&rsquo;m modularizing my app for clear code segregation and faster build times (= faster SwiftUI previews, tests &amp; more) using the vanilla SwiftPM-based method presented by Point-Free in&nbsp;<a href="https://www.pointfree.co/episodes/ep171-modularization-part-1?ref=fline.dev" rel="noopener ugc nofollow" target="_blank">this free episode</a>.</p> <p>Because I plan on working on this app for years to come (the&nbsp;<a href="https://github.com/FlineDev/RemafoX/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22&amp;ref=fline.dev" rel="noopener ugc nofollow" target="_blank">27 features</a>&nbsp;online are just the tip of the iceberg, I have many more ideas), I&rsquo;ve decided to first clean up this mess. After all, a round of refactoring between features keeps the code base clean and makes the developer happy!&nbsp;</p> <p><a href="https://betterprogramming.pub/2-000-imports-organizing-my-apps-swiftpm-modules-f7c68c22ebd2"><strong>Click Here</strong></a></p>