File tree Expand file tree Collapse file tree 4 files changed +5
-6
lines changed
Sources/GutenbergKit/Sources Expand file tree Collapse file tree 4 files changed +5
-6
lines changed Original file line number Diff line number Diff line change @@ -5,7 +5,7 @@ import PackageDescription
55
66let package = Package (
77 name: " GutenbergKit " ,
8- platforms: [ . iOS( . v15 ) , . macOS( . v14) ] ,
8+ platforms: [ . iOS( . v17 ) , . macOS( . v14) ] ,
99 products: [
1010 . library( name: " GutenbergKit " , targets: [ " GutenbergKit " ] )
1111 ] ,
Original file line number Diff line number Diff line change 309309 INFOPLIST_KEY_UILaunchScreen_Generation = YES;
310310 INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
311311 INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
312+ IPHONEOS_DEPLOYMENT_TARGET = 17.0;
312313 LD_RUNPATH_SEARCH_PATHS = (
313314 "$(inherited)",
314315 "@executable_path/Frameworks",
340341 INFOPLIST_KEY_UILaunchScreen_Generation = YES;
341342 INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
342343 INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight";
344+ IPHONEOS_DEPLOYMENT_TARGET = 17.0;
343345 LD_RUNPATH_SEARCH_PATHS = (
344346 "$(inherited)",
345347 "@executable_path/Frameworks",
Original file line number Diff line number Diff line change @@ -91,10 +91,7 @@ private struct _EditorView: UIViewControllerRepresentable {
9191 func makeUIViewController( context: Context ) -> EditorViewController {
9292 let viewController = EditorViewController ( configuration: configuration)
9393 viewController. delegate = context. coordinator
94-
95- if #available( iOS 16 . 4 , * ) {
96- viewController. webView. isInspectable = true
97- }
94+ viewController. webView. isInspectable = true
9895 viewController. startEditorSetup ( )
9996 return viewController
10097 }
Original file line number Diff line number Diff line change 11import Foundation
22
3- public struct EditorConfiguration {
3+ public struct EditorConfiguration : Sendable {
44 /// Initial title for populating the editor
55 public let title : String
66 /// Initial content for populating the editor
You can’t perform that action at this time.
0 commit comments