Fix remaining retain cycles, allow coordinators to be weakly referenced and make sure the NavigationStackCoordinator cleans up after itself

This commit is contained in:
Stefan Ceriu
2023-02-02 10:15:31 +02:00
committed by Stefan Ceriu
parent 93997efef9
commit 594f6f85dd
14 changed files with 63 additions and 36 deletions
@@ -67,6 +67,6 @@ class NavigationRootCoordinatorTests: XCTestCase {
}
}
private struct SomeTestCoordinator: CoordinatorProtocol {
private class SomeTestCoordinator: CoordinatorProtocol {
let id = UUID()
}
@@ -269,6 +269,6 @@ class NavigationSplitCoordinatorTests: XCTestCase {
}
}
private struct SomeTestCoordinator: CoordinatorProtocol {
private class SomeTestCoordinator: CoordinatorProtocol {
let id = UUID()
}
@@ -212,6 +212,6 @@ class NavigationStackCoordinatorTests: XCTestCase {
}
}
private struct SomeTestCoordinator: CoordinatorProtocol {
private class SomeTestCoordinator: CoordinatorProtocol {
let id = UUID()
}