Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Extract utils code in local Swift package #19045

Open
mokagio opened this issue Jul 14, 2022 · 0 comments
Open

Extract utils code in local Swift package #19045

mokagio opened this issue Jul 14, 2022 · 0 comments
Labels
Tooling Build, Release, and Validation Tools [Type] Core

Comments

@mokagio
Copy link
Contributor

mokagio commented Jul 14, 2022

Xcode 14 promises build time improvements for modular apps, by "eagerly producing Swift modules". So let's get modularizing!

One way to start is by extracting utils-like code in a dedicated module or modules. That's what I prefer doing when there are no clear boundaries or the code has intricate internal dependencies. Now, I'm not saying that's the case in this codebase, but I for one haven't got a clear picture of the internal relationship between the various parts of the code, so that's where I would start.

For example, there are 32 matches for extension String when searching through Xcode:

image

@mokagio mokagio added Tooling Build, Release, and Validation Tools [Type] Core labels Jul 18, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Tooling Build, Release, and Validation Tools [Type] Core
Projects
None yet
Development

No branches or pull requests

1 participant