Last active
March 16, 2021 09:48
-
-
Save OhhhThatVarun/aa19c09b5099ffb7c0718a8206793071 to your computer and use it in GitHub Desktop.
Declaring a module in SwDin
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
let module = Module { | |
Single.init { _ in DatabaseClient()} | |
Factory.init {_ in MyViewModel()} | |
Single.init { _ in ApiClient()} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment