Skip to content

Commit b4fb7cf

Browse files
authored
Use advanced introspection (#85)
1 parent 8b42ebf commit b4fb7cf

File tree

3 files changed

+7
-7
lines changed

3 files changed

+7
-7
lines changed

Package.resolved

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

Package.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ let package = Package(
1515
// MARK: Dependencies
1616

1717
package.dependencies = [
18-
.package(url: "https://github.com/siteline/swiftui-introspect", from: "0.6.0"),
18+
.package(url: "https://github.com/siteline/swiftui-introspect", from: "0.8.0"),
1919
.package(url: "https://github.com/pointfreeco/swift-custom-dump", from: "0.10.3"), // dev
2020
.package(url: "https://github.com/pointfreeco/xctest-dynamic-overlay", from: "0.8.5"), // dev
2121
]

Sources/NavigationTransitions/NavigationTransition+SwiftUI.swift

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
import SwiftUI
2-
@_implementationOnly import SwiftUIIntrospect
2+
@_implementationOnly @_spi(Advanced) import SwiftUIIntrospect
33

44
// MARK: iOS 16
55

@@ -53,7 +53,7 @@ extension View {
5353
) -> some View {
5454
self.introspect(
5555
.navigationView(style: .stack),
56-
on: .iOS(.v13, .v14, .v15, .v16, .v17), .tvOS(.v13, .v14, .v15, .v16, .v17),
56+
on: .iOS(.v13...), .tvOS(.v13...),
5757
scope: [.receiver, .ancestor]
5858
) { controller in
5959
controller.setNavigationTransition(transition, interactivity: interactivity)

0 commit comments

Comments
 (0)