Skip to content

Commit

Permalink
♻️ :: [#128] ConfirmationDialogFeature / Interface 분리
Browse files Browse the repository at this point in the history
  • Loading branch information
baekteun committed Aug 29, 2023
1 parent ff05d86 commit a0cbc5c
Show file tree
Hide file tree
Showing 7 changed files with 15 additions and 10 deletions.
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
import BaseFeature
import BaseFeatureInterface
import UIKit

public protocol ConfirmationDialogFactory {
func makeViewController(
title: String,
description: String,
confirmAction: @escaping () async -> Void
) -> any StoredViewControllable
) -> any RoutedViewControllable
}

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
import ConfirmationDialogFeatureInterface
import Swinject

public final class ConfirmationDialogAssembly: Assembly {
Expand Down
Original file line number Diff line number Diff line change
@@ -1,12 +1,14 @@
import BaseFeature
import BaseFeatureInterface
import ConfirmationDialogFeatureInterface
import UIKit

final class ConfirmationDialogFactoryImpl: ConfirmationDialogFactory {
func makeViewController(
title: String,
description: String,
confirmAction: @escaping () async -> Void
) -> any StoredViewControllable {
) -> any RoutedViewControllable {
let store = ConfirmationDialogStore(confirmAction: confirmAction)
return ConfirmationDialogViewController(
title: title,
Expand Down

This file was deleted.

Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
//
// MyViolationListFactory.swift
// MyViolationListFeatureInterface
//
// Created by 최형우 on 2023/08/29.
// Copyright © 2023 com.msg. All rights reserved.
//

import Foundation

This file was deleted.

0 comments on commit a0cbc5c

Please sign in to comment.