Skip to content

Commit

Permalink
Update
Browse files Browse the repository at this point in the history
  • Loading branch information
muukii committed May 7, 2024
1 parent aa54dfe commit 945ffe3
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 4 deletions.
4 changes: 2 additions & 2 deletions Development/FluidInterfaceKit.xcodeproj/project.pbxproj
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down Expand Up @@ -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",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -150,7 +150,7 @@
"repositoryURL": "https://github.com/FluidGroup/swiftui-support.git",
"state": {
"branch": "main",
"revision": "78c2d634a3f6255c04e405e32bb7584207e7906f",
"revision": "121e000c402f957a926de1c97b6fc2b1a15f3e4f",
"version": null
}
},
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
Expand Down

0 comments on commit 945ffe3

Please sign in to comment.