Pavel Yurchenko 1 year ago
parent
commit
285c61202d

+ 0 - 2
CoordinatorSUI/Sources/CoordinatorSUI/BaseCoordinator.swift

@@ -38,8 +38,6 @@ open class BaseCoordinator: Coordinator {
 
     public init() { }
 
-    open func run() -> any View { EmptyView() }
-
     deinit {
         print("\(self.self) deinit")
     }

+ 0 - 12
SUIExamples/Core/DI.swift

@@ -1,12 +0,0 @@
-//
-//  DI.swift
-//  SUIExamples
-//
-//  Created by Pavel Yurchenko on 27.11.2024.
-//
-
-import Foundation
-
-final class DI {
-    static var shared: DI = .init()
-}

+ 17 - 0
SUIExamples/Flows/Route.swift

@@ -0,0 +1,17 @@
+//
+//  Route.swift
+//  SUIExamples
+//
+//  Created by Pavel Yurchenko on 27.11.2024.
+//
+
+import CoordinatorSUI
+import SwiftUI
+
+enum Route: Hashable {
+    case main
+    case products
+    case product(id: Int)
+    case cart
+    case feedback
+}