File tree Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Expand file tree Collapse file tree 2 files changed +3
-6
lines changed Original file line number Diff line number Diff line change 1
- // swift-tools-version: 5.9
1
+ // swift-tools-version: 6.1
2
2
// The swift-tools-version declares the minimum version of Swift required to build this package.
3
3
4
4
import PackageDescription
5
5
6
6
let package = Package (
7
7
name: " GutenbergKit " ,
8
- platforms: [ . iOS( . v15 ) , . macOS( . v14) ] ,
8
+ platforms: [ . iOS( . v17 ) , . macOS( . v14) ] ,
9
9
products: [
10
10
. library( name: " GutenbergKit " , targets: [ " GutenbergKit " ] )
11
11
] ,
Original file line number Diff line number Diff line change @@ -91,10 +91,7 @@ private struct _EditorView: UIViewControllerRepresentable {
91
91
func makeUIViewController( context: Context ) -> EditorViewController {
92
92
let viewController = EditorViewController ( configuration: configuration)
93
93
viewController. delegate = context. coordinator
94
-
95
- if #available( iOS 16 . 4 , * ) {
96
- viewController. webView. isInspectable = true
97
- }
94
+ viewController. webView. isInspectable = true
98
95
viewController. startEditorSetup ( )
99
96
return viewController
100
97
}
You can’t perform that action at this time.
0 commit comments