Skip to content

Commit 7027365

Browse files
mbrandonwmluisbrown
authored andcommitted
Depend on SwiftUINavigation for TextState, AlertState, etc... (#1685)
* Use `swiftui-navigation` for alerts * wip * wip * wip * wip * wip Co-authored-by: Stephen Celis <[email protected]> (cherry picked from commit 0a1958115c05978478139105a67a556871ed8e1a) # Conflicts: # Package.swift # Sources/ComposableArchitecture/Internal/Deprecations.swift # Sources/ComposableArchitecture/SwiftUI/Alert.swift # Sources/ComposableArchitecture/SwiftUI/ConfirmationDialog.swift # Sources/ComposableArchitecture/SwiftUI/TextState.swift # Tests/ComposableArchitectureTests/DebugTests.swift
1 parent 676d677 commit 7027365

File tree

11 files changed

+720
-1964
lines changed

11 files changed

+720
-1964
lines changed

ComposableArchitecture.xcworkspace/xcshareddata/swiftpm/Package.resolved

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.resolved

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Package.swift

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -28,6 +28,7 @@ let package = Package(
2828
.package(url: "https://github.com/pointfreeco/swift-clocks", from: "0.1.4"),
2929
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "0.6.0"),
3030
.package(url: "https://github.com/pointfreeco/swift-identified-collections", from: "0.4.1"),
31+
.package(url: "https://github.com/pointfreeco/swiftui-navigation", from: "0.4.1"),
3132
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.5.0"),
3233
],
3334
targets: [
@@ -39,6 +40,7 @@ let package = Package(
3940
.product(name: "CustomDump", package: "swift-custom-dump"),
4041
.product(name: "IdentifiedCollections", package: "swift-identified-collections"),
4142
.product(name: "ReactiveSwift", package: "ReactiveSwift"),
43+
.product(name: "_SwiftUINavigationState", package: "swiftui-navigation"),
4244
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
4345
]
4446
),

Sources/ComposableArchitecture/Documentation.docc/Extensions/SwiftUI.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -25,12 +25,6 @@ The Composable Architecture can be used to power applications built in many fram
2525
- ``BindingReducer``
2626
- ``ViewStore/binding(_:file:fileID:line:)``
2727

28-
### View state
29-
30-
- ``AlertState``
31-
- ``ConfirmationDialogState``
32-
- ``TextState``
33-
3428
<!--DocC: Can't currently document `View` extensions-->
3529
<!--### View Modifiers-->
3630

0 commit comments

Comments
 (0)