Skip to content

Commit dbe7423

Browse files
committed
Support iOS 26
1 parent a8017b6 commit dbe7423

File tree

5 files changed

+11
-6
lines changed

5 files changed

+11
-6
lines changed

Examples/ContentView.swift

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -63,3 +63,8 @@ extension Task where Success == Never, Failure == Never {
6363
try! await Task.sleep(nanoseconds: duration)
6464
}
6565
}
66+
67+
68+
#Preview {
69+
ContentView()
70+
}

Examples/ScrollViewLoaderTest.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved

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

Package.resolved

Lines changed: 2 additions & 2 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
@@ -16,7 +16,7 @@ let package = Package(
1616
],
1717
dependencies: [
1818
// Dependencies declare other packages that this package depends on.
19-
.package(name: "SwiftUIIntrospect", url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "1.0.0"),
19+
.package(name: "SwiftUIIntrospect", url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "1.4.0-beta.2"),
2020
],
2121
targets: [
2222
// Targets are the basic building blocks of a package. A target can define a module or a test suite.

Sources/ScrollViewLoader/ScrollViewLoader.swift

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ struct DelegateHolder<Content: View>: View {
4747

4848
var body: some View {
4949
content
50-
.introspect(.scrollView, on: .iOS(.v15, .v16, .v17, .v18)) { scrollView in
50+
.introspect(.scrollView, on: .iOS(.v15, .v16, .v17, .v18, .v26)) { scrollView in
5151
scrollView.delegate = offsetNotifier
5252
offsetNotifier.scrollView = scrollView
5353
offsetNotifier.scrollViewDidScroll(scrollView)

0 commit comments

Comments
 (0)