diff --git a/Development/FluidInterfaceKit.xcodeproj/project.pbxproj b/Development/FluidInterfaceKit.xcodeproj/project.pbxproj index 434a642cc..f6278d2d6 100644 --- a/Development/FluidInterfaceKit.xcodeproj/project.pbxproj +++ b/Development/FluidInterfaceKit.xcodeproj/project.pbxproj @@ -672,7 +672,7 @@ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", @@ -702,7 +702,7 @@ INFOPLIST_KEY_UILaunchStoryboardName = LaunchScreen; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPad = "UIInterfaceOrientationPortrait UIInterfaceOrientationPortraitUpsideDown UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; INFOPLIST_KEY_UISupportedInterfaceOrientations_iPhone = "UIInterfaceOrientationPortrait UIInterfaceOrientationLandscapeLeft UIInterfaceOrientationLandscapeRight"; - IPHONEOS_DEPLOYMENT_TARGET = 13.0; + IPHONEOS_DEPLOYMENT_TARGET = 15.0; LD_RUNPATH_SEARCH_PATHS = ( "$(inherited)", "@executable_path/Frameworks", diff --git a/Development/FluidInterfaceKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved b/Development/FluidInterfaceKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved index 1a94ef7e0..d8b58cb4c 100644 --- a/Development/FluidInterfaceKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved +++ b/Development/FluidInterfaceKit.xcodeproj/project.xcworkspace/xcshareddata/swiftpm/Package.resolved @@ -150,7 +150,7 @@ "repositoryURL": "https://github.com/FluidGroup/swiftui-support.git", "state": { "branch": "main", - "revision": "78c2d634a3f6255c04e405e32bb7584207e7906f", + "revision": "121e000c402f957a926de1c97b6fc2b1a15f3e4f", "version": null } }, diff --git a/Development/Sources/FluidInterfaceKit-Demo/DemoRideauIntegrationViewController.swift b/Development/Sources/FluidInterfaceKit-Demo/DemoRideauIntegrationViewController.swift index 7f7c3df74..9ec34b43f 100644 --- a/Development/Sources/FluidInterfaceKit-Demo/DemoRideauIntegrationViewController.swift +++ b/Development/Sources/FluidInterfaceKit-Demo/DemoRideauIntegrationViewController.swift @@ -141,16 +141,23 @@ final class DemoRideauIntegrationViewController: FluidStackController { import SwiftUI import SwiftUISupport +import SwiftUIHosting private final class SwiftUIContentViewController: UIViewController { override func viewDidLoad() { super.viewDidLoad() - let hostingView = HostingView { _ in + let hostingView = SwiftUIHostingView { ZStack { Color.red VStack(spacing: 0) { + LocalState(initial: "") { $state in + TextField("Hello", text: $state) + } + .padding() + .background(Color(white: 0.5, opacity: 0.5)) + .padding() ForEach.inefficient(items: [Color.orange, .yellow, .purple]) { view in view.frame(width: 100, height: 100) }