Skip to content

Commit

Permalink
✏️ :: [#144] HomeFeature / Demo에 UseCase 주입
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Aug 2, 2023
1 parent ea21cb4 commit d8a9af0
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion Projects/Feature/HomeFeature/Demo/Sources/AppDelegate.swift
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,7 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
let cancelMassageUseCase = CancelMassageUseCaseSpy()
let modifyMassagePersonnelUseCase = ModifyMassagePersonnelUseCaseSpy()
let logoutUseCase = LogoutUseCaseSpy()
let withdrawalUseCase = WithdrawalUseCaseSpy()
let store = HomeStore(
repeatableTimer: repeatableTimerStub,
fetchSelfStudyInfoUseCase: fetchSelfStudyInfoUseCase,
Expand All @@ -46,7 +47,8 @@ final class AppDelegate: UIResponder, UIApplicationDelegate {
applyMassageUseCase: applyMassageUseCase,
cancelMassageUseCase: cancelMassageUseCase,
modifyMassagePersonnelUseCase: modifyMassagePersonnelUseCase,
logoutUseCase: logoutUseCase
logoutUseCase: logoutUseCase,
withdrawalUseCase: withdrawalUseCase
)
let viewController = Inject.ViewControllerHost(
UINavigationController(rootViewController: HomeViewController(store: store))
Expand Down

0 comments on commit d8a9af0

Please sign in to comment.