Skip to content

Commit

Permalink
🧩 :: 알림 설정 뷰 의존성
Browse files Browse the repository at this point in the history
  • Loading branch information
ray3238 committed Aug 20, 2024
1 parent 5de931e commit 2a9c905
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions Projects/Presentation/Sources/DI/PresentationAssembly.swift
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,14 @@ public final class PresentationAssembly: Assembly {
)
}

container.register(NotificationSettingViewModel.self) { resolver in
NotificationSettingViewModel()
}

container.register(NotificationSettingViewController.self) { resolver in
NotificationSettingViewController(resolver.resolve(NotificationSettingViewModel.self)!)
}

container.register(NoticeViewModel.self) { resolver in
NoticeViewModel(
fetchNoticeListUseCase: resolver.resolve(FetchNoticeListUseCase.self)!
Expand Down

0 comments on commit 2a9c905

Please sign in to comment.