Skip to content

Commit 2aa885e

Browse files
authored
Rename _SwiftUINavigationState to SwiftUINavigationCore (pointfreeco#112)
* wip * wip
1 parent 78a4e30 commit 2aa885e

File tree

11 files changed

+12
-12
lines changed

11 files changed

+12
-12
lines changed

Package.swift

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,8 @@ let package = Package(
1616
targets: ["SwiftUINavigation"]
1717
),
1818
.library(
19-
name: "_SwiftUINavigationState",
20-
targets: ["_SwiftUINavigationState"]
19+
name: "SwiftUINavigationCore",
20+
targets: ["SwiftUINavigationCore"]
2121
),
2222
],
2323
dependencies: [
@@ -27,17 +27,10 @@ let package = Package(
2727
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.8.0"),
2828
],
2929
targets: [
30-
.target(
31-
name: "_SwiftUINavigationState",
32-
dependencies: [
33-
.product(name: "CustomDump", package: "swift-custom-dump"),
34-
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
35-
]
36-
),
3730
.target(
3831
name: "SwiftUINavigation",
3932
dependencies: [
40-
"_SwiftUINavigationState",
33+
"SwiftUINavigationCore",
4134
.product(name: "CasePaths", package: "swift-case-paths"),
4235
]
4336
),
@@ -47,5 +40,12 @@ let package = Package(
4740
"SwiftUINavigation"
4841
]
4942
),
43+
.target(
44+
name: "SwiftUINavigationCore",
45+
dependencies: [
46+
.product(name: "CustomDump", package: "swift-custom-dump"),
47+
.product(name: "XCTestDynamicOverlay", package: "xctest-dynamic-overlay"),
48+
]
49+
),
5050
]
5151
)
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
@_exported import CasePaths
2-
@_exported import _SwiftUINavigationState
2+
@_exported import SwiftUINavigationCore

Sources/SwiftUINavigation/Switch.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import SwiftUI
2-
@_spi(RuntimeWarn) import _SwiftUINavigationState
2+
@_spi(RuntimeWarn) import SwiftUINavigationCore
33

44
/// A view that can switch over a binding of enum state and exhaustively handle each case.
55
///

0 commit comments

Comments
 (0)