diff --git a/Projects/Feature/ConfirmationDialogFeature/Sources/Factory/ConfirmationDialogFactory.swift b/Projects/Feature/ConfirmationDialogFeature/Interface/ConfirmationDialogFactory.swift similarity index 74% rename from Projects/Feature/ConfirmationDialogFeature/Sources/Factory/ConfirmationDialogFactory.swift rename to Projects/Feature/ConfirmationDialogFeature/Interface/ConfirmationDialogFactory.swift index da6219ef..a9ad41e9 100644 --- a/Projects/Feature/ConfirmationDialogFeature/Sources/Factory/ConfirmationDialogFactory.swift +++ b/Projects/Feature/ConfirmationDialogFeature/Interface/ConfirmationDialogFactory.swift @@ -1,4 +1,4 @@ -import BaseFeature +import BaseFeatureInterface import UIKit public protocol ConfirmationDialogFactory { @@ -6,5 +6,5 @@ public protocol ConfirmationDialogFactory { title: String, description: String, confirmAction: @escaping () async -> Void - ) -> any StoredViewControllable + ) -> any RoutedViewControllable } diff --git a/Projects/Feature/ConfirmationDialogFeature/Interface/Interface.swift b/Projects/Feature/ConfirmationDialogFeature/Interface/Interface.swift deleted file mode 100644 index b1853ce6..00000000 --- a/Projects/Feature/ConfirmationDialogFeature/Interface/Interface.swift +++ /dev/null @@ -1 +0,0 @@ -// This is for Tuist diff --git a/Projects/Feature/ConfirmationDialogFeature/Sources/Assembly/ConfirmationDialogAssembly.swift b/Projects/Feature/ConfirmationDialogFeature/Sources/Assembly/ConfirmationDialogAssembly.swift index b26960b8..d5e4076a 100644 --- a/Projects/Feature/ConfirmationDialogFeature/Sources/Assembly/ConfirmationDialogAssembly.swift +++ b/Projects/Feature/ConfirmationDialogFeature/Sources/Assembly/ConfirmationDialogAssembly.swift @@ -1,3 +1,4 @@ +import ConfirmationDialogFeatureInterface import Swinject public final class ConfirmationDialogAssembly: Assembly { diff --git a/Projects/Feature/ConfirmationDialogFeature/Sources/Factory/ConfirmationDialogFactoryImpl.swift b/Projects/Feature/ConfirmationDialogFeature/Sources/Factory/ConfirmationDialogFactoryImpl.swift index 95d48fed..1f2b5376 100644 --- a/Projects/Feature/ConfirmationDialogFeature/Sources/Factory/ConfirmationDialogFactoryImpl.swift +++ b/Projects/Feature/ConfirmationDialogFeature/Sources/Factory/ConfirmationDialogFactoryImpl.swift @@ -1,4 +1,6 @@ import BaseFeature +import BaseFeatureInterface +import ConfirmationDialogFeatureInterface import UIKit final class ConfirmationDialogFactoryImpl: ConfirmationDialogFactory { @@ -6,7 +8,7 @@ final class ConfirmationDialogFactoryImpl: ConfirmationDialogFactory { title: String, description: String, confirmAction: @escaping () async -> Void - ) -> any StoredViewControllable { + ) -> any RoutedViewControllable { let store = ConfirmationDialogStore(confirmAction: confirmAction) return ConfirmationDialogViewController( title: title, diff --git a/Projects/Feature/MyViolationListFeature/Interface/Interface.swift b/Projects/Feature/MyViolationListFeature/Interface/Interface.swift deleted file mode 100644 index b1853ce6..00000000 --- a/Projects/Feature/MyViolationListFeature/Interface/Interface.swift +++ /dev/null @@ -1 +0,0 @@ -// This is for Tuist diff --git a/Projects/Feature/MyViolationListFeature/Interface/MyViolationListFactory.swift b/Projects/Feature/MyViolationListFeature/Interface/MyViolationListFactory.swift new file mode 100644 index 00000000..ed3a6adb --- /dev/null +++ b/Projects/Feature/MyViolationListFeature/Interface/MyViolationListFactory.swift @@ -0,0 +1,9 @@ +// +// MyViolationListFactory.swift +// MyViolationListFeatureInterface +// +// Created by 최형우 on 2023/08/29. +// Copyright © 2023 com.msg. All rights reserved. +// + +import Foundation diff --git a/Projects/Feature/MyViolationListFeature/Sources/Factory/MyViolationListFactory.swift b/Projects/Feature/MyViolationListFeature/Sources/Factory/MyViolationListFactory.swift deleted file mode 100644 index 6946e066..00000000 --- a/Projects/Feature/MyViolationListFeature/Sources/Factory/MyViolationListFactory.swift +++ /dev/null @@ -1,5 +0,0 @@ -import BaseFeature - -public protocol MyViolationListFactory { - func makeViewController() -> any StoredViewControllable -}