Skip to content

Commit

Permalink
✨ :: [#72] App / SplashAssembly DI
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Jul 23, 2023
1 parent 1f88aeb commit 011f117
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Projects/App/Sources/Application/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import SelfStudyDomain
import SelfStudyFeature
import SigninFeature
import SignupFeature
import SplashFeature
import Swinject
import Timer
import UIKit
Expand All @@ -37,6 +38,7 @@ class AppDelegate: UIResponder, UIApplicationDelegate {
NetworkingAssembly(),
TimerAssembly(),
DatabaseAssembly(),
SplashAssembly(),
HomeAssembly(),
NoticeAssembly(),
SelfStudyAssembly(),
Expand Down
Original file line number Diff line number Diff line change
@@ -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)!)
}
}
}

0 comments on commit 011f117

Please sign in to comment.