From 8828a6509818e992b8c0cad2af2dfab234ea6f34 Mon Sep 17 00:00:00 2001 From: "Byungkook Hwang (Marty)" Date: Sat, 6 Apr 2024 09:13:03 +0900 Subject: [PATCH] add LoggedInDependency protocol (#461) --- .../MVC/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift | 6 +++++- .../TicTacToe/Sources/LoggedIn/LoggedInComponent.swift | 6 +++++- 2 files changed, 10 insertions(+), 2 deletions(-) diff --git a/Sample/MVC/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift b/Sample/MVC/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift index 257f014..84ce32c 100644 --- a/Sample/MVC/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift +++ b/Sample/MVC/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift @@ -17,7 +17,11 @@ import NeedleFoundation import UIKit -class LoggedInComponent: Component, LoggedInBuilder { +protocol LoggedInDependency: Dependency { + +} + +class LoggedInComponent: Component, LoggedInBuilder { public var scoreStream: ScoreStream { return mutableScoreStream diff --git a/Sample/SwiftUI-MVVM/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift b/Sample/SwiftUI-MVVM/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift index 3062d74..f54653f 100644 --- a/Sample/SwiftUI-MVVM/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift +++ b/Sample/SwiftUI-MVVM/TicTacToe/Sources/LoggedIn/LoggedInComponent.swift @@ -17,7 +17,11 @@ import NeedleFoundation import SwiftUI -class LoggedInComponent: Component, LoggedInBuilder { +protocol LoggedInDependency: Dependency { + +} + +class LoggedInComponent: Component, LoggedInBuilder { public var scoreStream: ScoreStream { return mutableScoreStream