Created
June 26, 2022 07:43
-
-
Save alibahaaa/97cbe084410b5f3abdd67c83038268d1 to your computer and use it in GitHub Desktop.
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
import SwiftUI | |
import shared | |
func startKoin() { | |
_koin = InjectorKt.doInitKoin().koin | |
} | |
private var _koin: Koin_coreKoin? | |
var koin: Koin_coreKoin { | |
return _koin! | |
} | |
extension Koin_coreKoin { | |
func get() -> GetOrigamiUseCase { | |
return koin.getDependency(objCClass: GetOrigamiUseCase.self) as! GetOrigamiUseCase | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment