From b3dd20dd98beaaebb3adea8f46d03cb2bec044e4 Mon Sep 17 00:00:00 2001 From: Econa77 Date: Thu, 20 Jun 2024 12:08:49 +0900 Subject: [PATCH] Support iOS18 --- .../project.xcworkspace/xcshareddata/swiftpm/Package.resolved | 4 ++-- Package.resolved | 4 ++-- Package.swift | 2 +- Package@swift-5.8.swift | 2 +- Sources/Refresher/Refresher.swift | 2 +- 5 files changed, 7 insertions(+), 7 deletions(-) diff --git a/Examples/RefresherTest.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Examples/RefresherTest.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 230cee0..ae530ba 100644 --- a/Examples/RefresherTest.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Examples/RefresherTest.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/siteline/SwiftUI-Introspect.git", "state" : { - "revision" : "3ced72fccb284235c266c1e8a32f1bf93129fc74", - "version" : "1.1.0" + "revision" : "668a65735751432b640260c56dfa621cec568368", + "version" : "1.2.0" } }, { diff --git a/Package.resolved b/Package.resolved index 230cee0..ae530ba 100644 --- a/Package.resolved +++ b/Package.resolved @@ -5,8 +5,8 @@ "kind" : "remoteSourceControl", "location" : "https://github.com/siteline/SwiftUI-Introspect.git", "state" : { - "revision" : "3ced72fccb284235c266c1e8a32f1bf93129fc74", - "version" : "1.1.0" + "revision" : "668a65735751432b640260c56dfa621cec568368", + "version" : "1.2.0" } }, { diff --git a/Package.swift b/Package.swift index c4050ff..c0c4855 100644 --- a/Package.swift +++ b/Package.swift @@ -17,7 +17,7 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "1.0.0"), + .package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "1.2.0"), .package(url: "https://github.com/gh123man/SwiftUI-RenderLock", from: "1.0.2"), ], targets: [ diff --git a/Package@swift-5.8.swift b/Package@swift-5.8.swift index 2097d13..dd2e8b6 100644 --- a/Package@swift-5.8.swift +++ b/Package@swift-5.8.swift @@ -16,7 +16,7 @@ let package = Package( ], dependencies: [ // Dependencies declare other packages that this package depends on. - .package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "1.0.0"), + .package(url: "https://github.com/siteline/SwiftUI-Introspect.git", from: "1.2.0"), .package(url: "https://github.com/gh123man/SwiftUI-RenderLock", from: "1.0.2"), ], targets: [ diff --git a/Sources/Refresher/Refresher.swift b/Sources/Refresher/Refresher.swift index ecd6613..e7ba4c8 100644 --- a/Sources/Refresher/Refresher.swift +++ b/Sources/Refresher/Refresher.swift @@ -219,7 +219,7 @@ public struct RefreshableScrollView: View { refreshSpinner } } - .introspect(.scrollView, on: .iOS(.v14, .v15, .v16, .v17)) { scrollView in + .introspect(.scrollView, on: .iOS(.v14, .v15, .v16, .v17, .v18)) { scrollView in DispatchQueue.main.async { uiScrollView = scrollView }