Add iOS 18 to the Introspect supported versions. (#3248)

This commit is contained in:
Doug
2024-09-10 13:24:17 +01:00
committed by GitHub
parent c8cb65c92b
commit 539452394e
4 changed files with 13 additions and 20 deletions
+1 -1
View File
@@ -7799,7 +7799,7 @@
repositoryURL = "https://github.com/element-hq/compound-ios"; repositoryURL = "https://github.com/element-hq/compound-ios";
requirement = { requirement = {
kind = revision; kind = revision;
revision = ab79d0cc5e5bb2ef3624b76c99471e414c12e8da; revision = 22f9d801dd001e8aaed0f62546cdb42c7594cf92;
}; };
}; };
F76A08D0EA29A07A54F4EB4D /* XCRemoteSwiftPackageReference "swift-collections" */ = { F76A08D0EA29A07A54F4EB4D /* XCRemoteSwiftPackageReference "swift-collections" */ = {
@@ -6,8 +6,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-design-tokens", "location" : "https://github.com/element-hq/compound-design-tokens",
"state" : { "state" : {
"revision" : "b9723186abc3623c9648b1500c6e3d56e4571179", "revision" : "2af7bb571eb30cbfbd67cdda6617500507ef46aa",
"version" : "1.7.0" "version" : "1.8.0"
} }
}, },
{ {
@@ -15,7 +15,7 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/element-hq/compound-ios", "location" : "https://github.com/element-hq/compound-ios",
"state" : { "state" : {
"revision" : "ab79d0cc5e5bb2ef3624b76c99471e414c12e8da" "revision" : "22f9d801dd001e8aaed0f62546cdb42c7594cf92"
} }
}, },
{ {
@@ -185,8 +185,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/BarredEwe/Prefire", "location" : "https://github.com/BarredEwe/Prefire",
"state" : { "state" : {
"revision" : "237f4005c81f74d5359eddb534d2d10925ef2787", "revision" : "0b7b6e6fe98af7e12b1440ca8fe81b3033ecf873",
"version" : "2.8.0" "version" : "2.9.0"
} }
}, },
{ {
@@ -248,8 +248,8 @@
"kind" : "remoteSourceControl", "kind" : "remoteSourceControl",
"location" : "https://github.com/pointfreeco/swift-snapshot-testing", "location" : "https://github.com/pointfreeco/swift-snapshot-testing",
"state" : { "state" : {
"revision" : "c097f955b4e724690f0fc8ffb7a6d4b881c9c4e3", "revision" : "6d932a79e7173b275b96c600c86c603cf84f153c",
"version" : "1.17.2" "version" : "1.17.4"
} }
}, },
{ {
@@ -5,30 +5,23 @@
// Please see LICENSE in the repository root for full details. // Please see LICENSE in the repository root for full details.
// //
import UIKit import SwiftUI
import SwiftUIIntrospect import SwiftUIIntrospect
extension PlatformViewVersionPredicate<WindowType, UIWindow> {
static var supportedVersions: Self {
.iOS(.v16, .v17)
}
}
extension PlatformViewVersionPredicate<TextFieldType, UITextField> { extension PlatformViewVersionPredicate<TextFieldType, UITextField> {
static var supportedVersions: Self { static var supportedVersions: Self {
.iOS(.v16, .v17) .iOS(.v16, .v17, .v18)
} }
} }
extension PlatformViewVersionPredicate<ScrollViewType, UIScrollView> { extension PlatformViewVersionPredicate<ScrollViewType, UIScrollView> {
static var supportedVersions: Self { static var supportedVersions: Self {
.iOS(.v16, .v17) .iOS(.v16, .v17, .v18)
} }
} }
extension PlatformViewVersionPredicate<ViewControllerType, UIViewController> { extension PlatformViewVersionPredicate<ViewControllerType, UIViewController> {
static var supportedVersions: Self { static var supportedVersions: Self {
.iOS(.v16, .v17) .iOS(.v16, .v17, .v18)
} }
} }
+1 -1
View File
@@ -64,7 +64,7 @@ packages:
# path: ../matrix-rust-sdk # path: ../matrix-rust-sdk
Compound: Compound:
url: https://github.com/element-hq/compound-ios url: https://github.com/element-hq/compound-ios
revision: ab79d0cc5e5bb2ef3624b76c99471e414c12e8da revision: 22f9d801dd001e8aaed0f62546cdb42c7594cf92
# path: ../compound-ios # path: ../compound-ios
AnalyticsEvents: AnalyticsEvents:
url: https://github.com/matrix-org/matrix-analytics-events url: https://github.com/matrix-org/matrix-analytics-events