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