We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Like in https://github.com/Clean-Swift/CleanStore/blob/master/CleanStore/Scenes/ListOrders/ListOrdersConfigurator.swift
You said that "There should be only one configurator for each scene, and the connection setup code should run once and only once" (http://clean-swift.com/clean-swift-ios-architecture/)
Why not let it be instance? Just create it (or DI) and let it do the job?
The text was updated successfully, but these errors were encountered:
+1 for DI, but no singletons pls.. let's keep it clean ;)
Sorry, something went wrong.
I wonder if we can build a DI mechanism into Clean Swift like this: https://github.com/orakaro/Pure-Swift-Dependency-Injection
No branches or pull requests
Like in https://github.com/Clean-Swift/CleanStore/blob/master/CleanStore/Scenes/ListOrders/ListOrdersConfigurator.swift
You said that "There should be only one configurator for each scene, and the connection setup code should run once and only once" (http://clean-swift.com/clean-swift-ios-architecture/)
Why not let it be instance? Just create it (or DI) and let it do the job?
The text was updated successfully, but these errors were encountered: