Created
June 20, 2023 19:48
-
-
Save ivanopcode/0a49e53949d078f1ce554e5af99a1530 to your computer and use it in GitHub Desktop.
IoC initialization function for SwiftUI-lifecycle based apps
This file contains hidden or 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
// MIT | |
// Alexey Grigorev, Ivan Oparin | |
@MainActor | |
static private func configureIoC() { | |
ObjectFactory.initialize(with: DIContainerBuilder.container) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment