diff --git a/Projects/App/Sources/Application/AppDelegate.swift b/Projects/App/Sources/Application/AppDelegate.swift index b1874dc8..5e8a8d87 100644 --- a/Projects/App/Sources/Application/AppDelegate.swift +++ b/Projects/App/Sources/Application/AppDelegate.swift @@ -17,6 +17,7 @@ import SelfStudyDomain import SelfStudyFeature import SigninFeature import SignupFeature +import SplashFeature import Swinject import Timer import UIKit @@ -37,6 +38,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate { NetworkingAssembly(), TimerAssembly(), DatabaseAssembly(), + SplashAssembly(), HomeAssembly(), NoticeAssembly(), SelfStudyAssembly(), diff --git a/Projects/Feature/SplashFeature/Sources/Assembly/SplashAssembly.swift b/Projects/Feature/SplashFeature/Sources/Assembly/SplashAssembly.swift new file mode 100644 index 00000000..2dd41976 --- /dev/null +++ b/Projects/Feature/SplashFeature/Sources/Assembly/SplashAssembly.swift @@ -0,0 +1,11 @@ +import AuthDomainInterface +import Swinject + +public final class SplashAssembly: Assembly { + public init() {} + public func assemble(container: Container) { + container.register(SplashFactory.self) { resolver in + SplashFactoryImpl(checkIsLoggedInUseCase: resolver.resolve(CheckIsLoggedInUseCase.self)!) + } + } +}