Closed ramunasjurgilas closed 9 months ago
In the source code I have found, that platform can be specified with open range like this: .iOS(.v13...).
struct ContentView: View { var body: some View { ScrollView { // ... } .introspect(.scrollView, on: .iOS(.v13...)) { scrollView in // ... } } }
Cannot convert value of type '()' to expected argument type 'PlatformViewVersion<iOSVersion, ScrollViewType, PlatformSpecificEntity>'
It must to compile without an error.
.introspect(.scrollView, on: .iOS(.v13...)) { scrollView in // ... }
1.1.2
iOS17 & iOS16
Version 15.2 (15C500b)
arm64-apple-macosx14.0
https://github.com/siteline/swiftui-introspect/issues/354#issuecomment-1712177770
Description
In the source code I have found, that platform can be specified with open range like this: .iOS(.v13...).
Source code:
Getting this error:
Cannot convert value of type '()' to expected argument type 'PlatformViewVersion<iOSVersion, ScrollViewType, PlatformSpecificEntity>'
Checklist
Expected behavior
It must to compile without an error.
Actual behavior
Getting this error:
Cannot convert value of type '()' to expected argument type 'PlatformViewVersion<iOSVersion, ScrollViewType, PlatformSpecificEntity>'
Steps to reproduce
Add this code to the source code:
Version information
1.1.2
Destination operating system
iOS17 & iOS16
Xcode version information
Version 15.2 (15C500b)
Swift Compiler version information