2,000 Imports: Organizing My Apps’ SwiftPM Modules
<h1>The Problem</h1>
<p>I recently decided to work on the <a href="https://github.com/FlineDev/RemafoX/issues/13?ref=fline.dev" rel="noopener ugc nofollow" target="_blank">biggest feature</a> 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’m modularizing my app for clear code segregation and faster build times (= faster SwiftUI previews, tests & more) using the vanilla SwiftPM-based method presented by Point-Free in <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 <a href="https://github.com/FlineDev/RemafoX/issues?q=is%3Aopen+is%3Aissue+label%3A%22Feature+Request%22&ref=fline.dev" rel="noopener ugc nofollow" target="_blank">27 features</a> online are just the tip of the iceberg, I have many more ideas), I’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! </p>
<p><a href="https://betterprogramming.pub/2-000-imports-organizing-my-apps-swiftpm-modules-f7c68c22ebd2"><strong>Click Here</strong></a></p>