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

SwiftUI Preview issues with module names #11

Open
npvisual opened this issue Jul 16, 2020 · 0 comments
Open

SwiftUI Preview issues with module names #11

npvisual opened this issue Jul 16, 2020 · 0 comments

Comments

@npvisual
Copy link

Just a quick FYI on module naming and SwiftUI Previews.

As described in the section "Structuring Xcode Project", multiple modules are created to represent each layer of the Binder Architecture.

Now, the View layer gets a "Views" module (plural). In my own project I decided to keep the layer name (i.e. "View") and use that as the name of the module. Well, it turns out that this has some ramifications when you start using SwiftUI.

So be extra careful when naming your modules to match your architecture layers !

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant